This is an automatically generated class, offering a functionally equivalent set of methods and queries as %iKnow.Utils.MaintenanceAPI, exposed as SqlProc methods.
classmethod AddEntityToSkipList(domainId As %Integer, skipListId As %Integer, entUniId As %Integer) as %Boolean [ SQLProc = MaintenanceQAPI_AddEntityToSkipList ]
Projected as the stored procedure: MaintenanceQAPI_AddEntityToSkipList
Adds an existing entity (by ID) to a SkipList.
For cross-domain SkipLists, use AddStringToSkipList()
classmethod AddStringToSkipList(domainId As %Integer, skipListId As %Integer, string As %String(MAXLEN=32767)) as %Boolean [ SQLProc = MaintenanceQAPI_AddStringToSkipList ]
Projected as the stored procedure: MaintenanceQAPI_AddStringToSkipList
Adds a string to a SkipList, adding it as an entity if it didn't exist in the domain before.
classmethod AddUserDictionaryEntry(userDictId As %Integer, rewriteFrom As %String(MAXLEN=32767), rewriteTo As %String(MAXLEN=32767), ByRef position As %Integer = 0) as %Boolean [ SQLProc = MaintenanceQAPI_AddUserDictionaryEntry ]
Projected as the stored procedure: MaintenanceQAPI_AddUserDictionaryEntry
Adds a single entry to a User Dictionary at position. If position <= 0 (default),
it is added at the bottom of the list, otherwise at the requested position, shifting
existing entries down if it was already taken.
classmethod ClearSkipList(pDomainId As %Integer, pSkipListId As %Integer) as %Boolean [ SQLProc = MaintenanceQAPI_ClearSkipList ]
Projected as the stored procedure: MaintenanceQAPI_ClearSkipList
Clears the contents of a single SkipList.
classmethod CreateSkipList(domainId As %Integer, name As %String(MAXLEN=32767), description As %String(MAXLEN=32767)="", Output scText As %String = "") as %Library.Integer [ SQLProc = MaintenanceQAPI_CreateSkipList ]
Projected as the stored procedure: MaintenanceQAPI_CreateSkipList
Create a new SkipList with the given name and description
classmethod CreateUserDictionary(name As %String(MAXLEN=32767), description As %String(MAXLEN=32767)="", Output scText As %String = "") as %Library.Integer [ SQLProc = MaintenanceQAPI_CreateUserDictionary ]
Projected as the stored procedure: MaintenanceQAPI_CreateUserDictionary
This method creates a User Dictionary with a given name and optional description and
returns the created user dictionary ID afterwards. This method will return -1 if an error occurred,
which is passed by reference as sc.
classmethod GetSkipListId(domainId As %Integer, name As %String(MAXLEN=32767), Output scText As %String = "") as %Library.Integer [ SQLProc = MaintenanceQAPI_GetSkipListId ]
Projected as the stored procedure: MaintenanceQAPI_GetSkipListId
Finds the SkipList ID corresponding to the supplied name.
classmethod GetUserDictionaryId(name As %String(MAXLEN=32767)) as %Library.Integer [ SQLProc = MaintenanceQAPI_GetUserDictionaryId ]
Projected as the stored procedure: MaintenanceQAPI_GetUserDictionaryId
Returns the ID corresponding to the supplied User Dictionary name.
classmethod HasSkipLists(pDomainId As %Integer) as %Library.Boolean [ SQLProc = MaintenanceQAPI_HasSkipLists ]
Projected as the stored procedure: MaintenanceQAPI_HasSkipLists
Returns whether or not there are any SkipLists in the domain
classmethod RemoveEntityFromSkipList(domainId As %Integer, skipListId As %Integer, entUniId As %Integer) as %Boolean [ SQLProc = MaintenanceQAPI_RemoveEntityFromSkipList ]
Projected as the stored procedure: MaintenanceQAPI_RemoveEntityFromSkipList
Removes an entity (by ID) from a SkipList (but not from the domain)
For cross-domain SkipLists, use RemoveStringFromSkipList()
classmethod RemoveStringFromSkipList(domainId As %Integer, skipListId As %Integer, string As %String(MAXLEN=32767)) as %Boolean [ SQLProc = MaintenanceQAPI_RemoveStringFromSkipList ]
Projected as the stored procedure: MaintenanceQAPI_RemoveStringFromSkipList
Removes a string from a SkipList (but not from the domain)
classmethod RemoveUserDictionaryEntry(userDictId As %Integer, position As %Integer) as %Boolean [ SQLProc = MaintenanceQAPI_RemoveUserDictionaryEntry ]
Projected as the stored procedure: MaintenanceQAPI_RemoveUserDictionaryEntry
Removes the User Dictionary entry registered at position. This method will
not impact the order or position of any remaning entries.
classmethod SkipListContainsElement(domainId As %Integer, skipListId As %Integer, entUniId As %Integer, Output scText As %String = "") as %Library.Boolean [ SQLProc = MaintenanceQAPI_SkipListContainsElement ]
Projected as the stored procedure: MaintenanceQAPI_SkipListContainsElement
Returns whether or not the SkipList identified by skipListId contains the
supplied entity.
classmethod SkipListContainsString(domainId As %Integer, skipListId As %Integer, entity As %String(MAXLEN=32767), Output scText As %String = "") as %Library.Boolean [ SQLProc = MaintenanceQAPI_SkipListContainsString ]
Projected as the stored procedure: MaintenanceQAPI_SkipListContainsString
Returns whether or not the SkipList identified by skipListId contains the
supplied entity.
Queries
query GetSkipListElements(domainId As %Integer, skipListId As %Integer)
Selects entUniId As %Integer, entity As %String(MAXLEN=32767)
Retrieves a list of all the strings in the specified SkipList
query GetSkipLists(domainId As %Integer, pIncludeCrossDomain As %Boolean = 0)
Selects skipListId As %Integer, name As %String(MAXLEN=32767), description As %String(MAXLEN=32767)
Retrieves a list of all the SkipLists registered in this domain.
deprecated query GetUserDictionaries()
Selects userDictId As %Integer, name As %String(MAXLEN=32767), description As %String(MAXLEN=32767)
Returns a list of all the User Dictionaries in this namespace.