%SYS.Portal.Resources
persistent class %SYS.Portal.Resources extends %Library.Persistent, %XML.Adaptor, %SYSTEM.Help
SQL Table Name: %SYS_Portal.Resources
This class will allow a user to associate resources with pages in the system management portal.Method Inventory
Methods
classmethod Export(FileName As %String = "CustomPortalResourcesExport.xml", ByRef NumExported As %Integer, Pages As %String = "*", Resources As %String = "*") as %Status
Export Custom Resource records to a file in XML format. The user must
have USE permissions on the %Admin_Secure resource to perform the export.
Parameters:
Parameters:
classmethod Import(FileName As %String = "ResourcesExport.xml", ByRef NumImported As %Integer, Flags As %Integer = 0) as %Status
Import Custom Resource records from an XML file. The user must have
USE permissions on the %Admin_Secure resource to perform the import.
Parameters:
Parameters:
- FileName - Filename to import Custom Resource records from.
- NumImported (ByRef) - Returns the number of records imported.
- InvalidRecords
- Flags - Control whether to import the records in the file. The supported bit flags at present are:
- Bit 0 - Do not import records, just return the count.
- Bit 1 - Do not require that the resource exists.
- Flags - Control whether to import the records in the file. The supported bit flags at present are:
Queries
List pages and associated resources. Note: the Page column lists the normalized page name.
Use the Pages and Resources arguments to restrict the list. The possible inputs for each argument is a comma-separated string with the following rules:
Use the Pages and Resources arguments to restrict the list. The possible inputs for each argument is a comma-separated string with the following rules:
- "*" - match all records.
- "String,String1" - match all records that match an element in the string
- "String*" - match all records starting with "String"
- "String,String1*,String2" - match any record equal to "String" or "String2", or starting with "String1"
Indexes
index (PageIndex on Page) [IdKey, Type = key];
Index methods: PageIndexCheck(), PageIndexDelete(), PageIndexExists(), PageIndexOpen(), PageIndexSQLCheckUnique(), PageIndexSQLExists(), PageIndexSQLFindPKeyByConstraint(), PageIndexSQLFindRowIDByConstraint()
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 (%SYS.Portal.Resources)
^|"^^"_$zu(12)|SYS("Portal","ResourcesD")(ID) |
= | %%CLASSNAME
Resource
|