CommonDatabaseFunctions Class

Scanjour Workflow4 Reference Manual
Common database functions.
Inheritance Hierarchy

SystemObject
  Scanjour.Workflow4.BaseCommonDatabaseFunctions

Namespace:  Scanjour.Workflow4.Base
Assembly:  Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 19.0.1.0 (19.0.1.0)
Syntax

public static class CommonDatabaseFunctions

The CommonDatabaseFunctions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAddRecordUpdateCode(ODataService, String, String)
Adds an update code to a record.
Public methodStatic memberAddRecordUpdateCode(Uri, String, String)
Adds an update code to a record.
Public methodStatic memberAddressExists
Determines if an address entities exists for the provided address key.
Public methodStatic memberClearRecordUpdateCode(ODataService, String)
Clears the update code of the specified record.
Public methodStatic memberClearRecordUpdateCode(Uri, String)
Clears the update code of the specified record.
Public methodStatic memberDeleteObjects
Public methodStatic memberExecuteODataQuery
Executes an OData query. The method expects that the result contains zero or one entities.
Public methodStatic memberExecuteODataQueryForMultiple
Executes an OData query. The method expects that the result is an enumeration of entities.
Public methodStatic memberGetActualImpersonator
Resolves the SecurityContext in case a user is a department
Public methodStatic memberGetAddressCount
Determines the number of address entities for the provided address key.
Public methodStatic memberGetAddressEnddate
Gets the address enddate for a recipient.
Public methodStatic memberGetAddressKeyFromUsername
Retrives the key to the address that belongs to a username.
Public methodStatic memberGetCombinedRecordLength
Gets the DocLength of records from list
Public methodStatic memberGetCultureNameFromOData
Get the current user culture in the Users register from OData. Default system culture if current user has no culture info.
Public methodStatic memberGetCustomDomains
Retrieves the customs domain entities of a specific domain type.
Public methodStatic memberGetCustomDomainValues
Gets the custom domain values, based on a domain type.
Public methodStatic memberGetDispatcher
Retrives a single dispatcher entity (if any) by its identity.
Public methodStatic memberGetDispatcherIds
Gets a list of dispatcher identities, based on the provided sequence identity.
Public methodStatic memberGetEmployee
Gets employee based on the identity.
Public methodStatic memberGetFileOfficerFromFileKey
Retrieves the Officer of a case.
Public methodStatic memberGetInfo
Gets the corrosponding info message text
Public methodStatic memberGetLocalizedError
Retrieves a localized validation error, formatted with arguments.
Public methodStatic memberGetNextProcessDisplayOrder
Gets next Process DisplayOrder. If processDisplayOrder is provided - it will return a next free value.
Public methodStatic memberGetODataServiceForUser
Gets odata service context for an impersonated user
Public methodStatic memberGetOuDomain
Gets the OU (Organizational Unit) domain based on its value.
Public methodStatic memberGetRecordAppendixes
Gets a collection of appendixe entities based on a record identity.
Public methodStatic memberGetRecordFileKey
Gets the record file key, based on a record identity.
Public methodStatic memberGetRecordResponsibleOu
Gets a records responsible ou based on the record identity.
Public methodStatic memberGetRecordState
Gets the state of a record entity.
Public methodStatic memberGetReferencedRecords
Gets a list of referenced record entitiess, based on record identity.
Public methodStatic memberGetSortedChannelPriorities
Gets the order of shipment types
Public methodStatic memberGetSystemOwner
Get the SystemOwner from OData.
Public methodStatic memberGetUserEmailAddress
Retrives an email address based on the address key.
Public methodStatic memberGetUsernameFromOData
Get the current user name in the Users register from OData.
Public methodStatic memberGetValidContactTypes
Gets all valid contact types.
Public methodStatic memberGetValidResponsibleOu
Determines the valid ResponsibleOu (Organizational Unit) from the record identity.
Public methodStatic memberGetWorkflowInstanceFileKey
Gets the file key from the case that started the process.
Public methodStatic memberHasExpired
Determine whether an object has expired due to its end date.
Public methodStatic memberHasFileAccess
Determines whether the current user has access to update a specific file entity.
Public methodStatic memberHasRecordAccess
Determines whether the current user has access to update a specific record entity.
Public methodStatic memberHasRegisterAccess
Determines whether the current user has access to update the specified entity in the specified register.
Public methodStatic memberUserHasEmailAddress
Determine whether a user has an email address.
Top
See Also

Reference