Security.DocDBs
persistent class Security.DocDBs extends %Library.Persistent, %XML.Adaptor, %SYSTEM.Help
SQL Table Name: Security.DocDBs
The table for this class should be manipulated only through object access, the published API's or through the System Management Portal. It should not be updated through direct SQL access.Property Inventory
Method Inventory
Properties
property Description as %String (MAXLEN = 256);
Description of the Doc DB.
Property methods: DescriptionDisplayToLogical(), DescriptionGet(), DescriptionGetStored(), DescriptionIsValid(), DescriptionLogicalToDisplay(), DescriptionLogicalToOdbc(), DescriptionNormalize(), DescriptionSet()
property Enabled as Security.Datatype.BooleanYN [ InitialExpression = 1 , Required ];
Doc DB enabled.
Property methods: EnabledDisplayToLogical(), EnabledGet(), EnabledGetStored(), EnabledIsValid(), EnabledLogicalToDisplay(), EnabledLogicalToOdbc(), EnabledLogicalToXSD(), EnabledNormalize(), EnabledOdbcToLogical(), EnabledSet(), EnabledXSDToLogical()
property Name as %Dictionary.Classname;
Name of the Doc DB.
Property methods: NameGet(), NameGetStored(), NameIsValid(), NameSet()
property Namespace as %String (MAXLEN = 64, MINLEN = 1);
Property methods: NamespaceDisplayToLogical(), NamespaceGet(), NamespaceGetStored(), NamespaceIsValid(), NamespaceLogicalToDisplay(), NamespaceLogicalToOdbc(), NamespaceNormalize(), NamespaceSet()
property Resource as %String (MAXLEN = 64, MINLEN = 0);
Property methods: ResourceDisplayToLogical(), ResourceGet(), ResourceGetStored(), ResourceIsValid(), ResourceLogicalToDisplay(), ResourceLogicalToOdbc(), ResourceNormalize(), ResourceSet()
Methods
classmethod CheckAdmin() as %Status
Create a Doc DB.
Create a Doc DB in the Security database.
Parameters:
Name - Name of the Doc DB
Namespace - Namespace of location of the Doc DB Description - Description of the Doc DB
Enabled - Enabled for auditing - 0/1
Resource - Resource controlling the Doc DB.
Create a Doc DB in the Security database.
Parameters:
Name - Name of the Doc DB
Namespace - Namespace of location of the Doc DB Description - Description of the Doc DB
Enabled - Enabled for auditing - 0/1
Resource - Resource controlling the Doc DB.
Delete a Doc DB.
This method will delete an Doc DB from the security database.
Parameters:
Name - Name of the Doc DB
Namespace - Namespace of the DOC DB
This method also clears the in memory counters.
This method will delete an Doc DB from the security database.
Parameters:
Name - Name of the Doc DB
Namespace - Namespace of the DOC DB
This method also clears the in memory counters.
classmethod Exists(Name As %String = "", Namespace As %String = "", ByRef DocDB As %ObjectHandle, ByRef Status As %Status) as %Boolean
Doc DB exists.
This method checks for the existence of a Doc DB in the security database.
Parameters:
Name - Name of the Doc DB
Namespace - Namespace of the Doc DB Return values:
If Value of the method = 0 (Doc DB does not exist, or some error occured)
DocDB = Null
Status = Doc DB "x" does not exist, or other error message
If Value of the method = 1 (Doc DB exists)
Doc DB = Object handle to Doc DB
Status = $$$OK
This method checks for the existence of a Doc DB in the security database.
Parameters:
Name - Name of the Doc DB
Namespace - Namespace of the Doc DB Return values:
If Value of the method = 0 (Doc DB does not exist, or some error occured)
DocDB = Null
Status = Doc DB "x" does not exist, or other error message
If Value of the method = 1 (Doc DB exists)
Doc DB = Object handle to Doc DB
Status = $$$OK
classmethod Export(FileName As %String = "DocDBsExport.xml", ByRef NumExported As %Integer, Names As %String = "*", Namespaces As %String = "*") as %Status
This method exports Doc DB records to a file in xml format.
Parameters:
Filename - Output file name
NumExported (byref) - Returns number of records exported.
Names - Comma separated list of Doc DBs to export, "*" = All
Namespaces - Comma separated list of Namespaces to export, "*" = All
Parameters:
Filename - Output file name
NumExported (byref) - Returns number of records exported.
Names - Comma separated list of Doc DBs to export, "*" = All
Namespaces - Comma separated list of Namespaces to export, "*" = All
Get a Doc DBs properties.
Gets a Doc DBs properties from the security database.
Parameters:
Name - Name of the Doc DB
namespace - Namespace of the Doc DB
Return values:
Properties - Array of properties
"Description" - Description of the Doc DB
"Enabled" - Doc DB is enabled
"Resource" - Resource of the Doc DB
Gets a Doc DBs properties from the security database.
Parameters:
Name - Name of the Doc DB
namespace - Namespace of the Doc DB
Return values:
Properties - Array of properties
"Description" - Description of the Doc DB
"Enabled" - Doc DB is enabled
"Resource" - Resource of the Doc DB
classmethod Import(FileName As %String = "DocDBsExport.xml", ByRef NumImported As %Integer, Flags As %Integer = 0) as %Status
Import Doc DB records from an xml file.
Parameters:
FileName - Filename to import Doc DB records from
NumImported (byref) - Returns number of records imported
Flags - Control import
Bit 0 - Do not import records, just return count
Note: On failure, no records will be imported
Parameters:
FileName - Filename to import Doc DB records from
NumImported (byref) - Returns number of records imported
Flags - Control import
Bit 0 - Do not import records, just return count
Note: On failure, no records will be imported
classmethod Modify(Name As %String = "", Namespace As %String = "", ByRef Properties As %String) as %Status
Modify a Doc DBs properties.
Modifies a Doc DBs properties from the security database.
Parameters:
Name - Name of the Doc DB
Namespace - Namespace of the Doc DB
See the Get() method for a description of the Properties parameter.
If a specific property is not passed in the properties array, the value is not modified.
Modifies a Doc DBs properties from the security database.
Parameters:
Name - Name of the Doc DB
Namespace - Namespace of the Doc DB
See the Get() method for a description of the Properties parameter.
If a specific property is not passed in the properties array, the value is not modified.
Queries
Indexes
index (SourceTypeNameLowerCaseIndex on NameLowerCase,NamespaceLowerCase) [IdKey, Type = key, Unique];
Index methods: SourceTypeNameLowerCaseIndexCheck(), SourceTypeNameLowerCaseIndexDelete(), SourceTypeNameLowerCaseIndexExists(), SourceTypeNameLowerCaseIndexOpen(), SourceTypeNameLowerCaseIndexSQLCheckUnique(), SourceTypeNameLowerCaseIndexSQLExists(), SourceTypeNameLowerCaseIndexSQLFindPKeyByConstraint(), SourceTypeNameLowerCaseIndexSQLFindRowIDByConstraint()
Inherited Members
Inherited Methods
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- Help()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
Storage
Storage Model: Storage (Security.DocDBs)
^|$$$SecurityMapDocDBs|SYS("Security","DocDBsD")(ID) |
= | %%CLASSNAME
Description
Enabled
Name
Namespace
Resource
Version
|