DatabaseUtils Class |
Namespace: PDTec.IceNet.Sdk.Utils
public static class DatabaseUtils
The DatabaseUtils type exposes the following members.
| Name | Description | |
|---|---|---|
| CheckIsActive |
Checks if a user is active (IsInactive property not set). Throws
exception otherwise. Typically call this in a login context.
| |
| CheckLogin |
Checks login parameters and IsInactive status of user. On success, an IUser
object is returned. Throws AuthenticationException if something fails. Accepts
empty password, if AutoLogin is enabled by configuration.
| |
| CreateFileContentBeforeConnectTransaction(IDatabaseRepository, String, Byte) |
Creates a file content from binary content outside a database transaction.
This avoids delaying the transaction commit because of possible network
communication issues during uploading the binary content to the vault.
| |
| CreateFileContentBeforeConnectTransaction(IDatabaseRepository, String, String, Int32) |
Creates a file content from binary content outside a database transaction.
This avoids delaying the transaction commit because of possible network
communication issues during uploading the binary content to the vault.
| |
| ExistsPartyId | ||
| ExistsPartyName | ||
| ExistsProfileId | ||
| ExistsProfileName | ||
| ExistsUserId | ||
| ExistsUserName | ||
| ExistsVaultId | ||
| ExistsVaultName | ||
| GetAllMembers | ||
| GetAllMemberships | ||
| GetAllUsers | ||
| GetAuthorizationExceptionInfo | ||
| GetAuthorizationLevels |
Retrieves all configured authorization levels together with their localized display text.
| |
| GetAuthorizationText(Int32) |
Retrieves the localized text for the authorization level.
| |
| GetAuthorizationText(Int32, CultureInfo) |
Retrieves the localized text for the authorization level.
| |
| GetAuthorizedChildFolders |
Gets authorized child folders.
| |
| GetDescription(IProfile) |
Gets the localized description of the profile.
| |
| GetDescription(IQualification) |
Gets the localized description of the qualification.
| |
| GetDescription(IProfile, CultureInfo) |
Gets the localized description of the profile.
| |
| GetDescription(IQualification, CultureInfo) |
Gets the localized description of the qualification.
| |
| GetDisplayName(IProfile) |
Gets the localized display name of the profile.
| |
| GetDisplayName(IQualification) |
Gets the localized display name of the qualification.
| |
| GetDisplayName(IProfile, CultureInfo) |
Gets the localized display name of the profile.
| |
| GetDisplayName(IQualification, CultureInfo) |
Gets the localized display name of the qualification.
| |
| GetExpandQuerySpecification(String) |
Gets a ExpandQuerySpecification from an XML string.
| |
| GetExpandQuerySpecification(Assembly, String) |
Gets a ExpandQuerySpecification from an XML resource.
| |
| GetFindQuerySpecification(String) |
Gets a FindQuerySpecification from an XML string.
| |
| GetFindQuerySpecification(Assembly, String) |
Gets a FindQuerySpecification from an XML resource.
| |
| GetJoinQuerySpecification(String) |
Gets a JoinQuerySpecification from an XML string.
| |
| GetJoinQuerySpecification(Assembly, String) |
Gets a JoinQuerySpecification from an XML resource.
| |
| GetObjectInstancesCount | ||
| GetProfileDescription(String, String) |
Gets the localized description of the profile.
| |
| GetProfileDescription(String, CultureInfo, String) |
Gets the localized description of the profile.
| |
| GetProfileDisplayName(String) |
Gets the localized display name of the profile.
| |
| GetProfileDisplayName(String, CultureInfo) |
Gets the localized display name of the profile.
| |
| GetProfilePermissionLevels | ||
| GetQualificationDescription(String, String) |
Gets the localized description of the qualification.
| |
| GetQualificationDescription(String, CultureInfo, String) |
Gets the localized description of the qualification.
| |
| GetQualificationDisplayName(String, String) |
Gets the localized display name of the qualification.
| |
| GetQualificationDisplayName(String, CultureInfo, String) |
Gets the localized display name of the qualification.
| |
| GetRelationshipInstancesCount | ||
| GetUsedVaultCapacity(IFile) |
Calculates the vault capacity used by a single Core.File object.
| |
| GetUsedVaultCapacity(IDatabaseRepository, IFolder, Boolean) |
Calculates the vault capacity used by the Core.File objects in the
folder tree.
| |
| GetUsersWithProfileAuthorization | ||
| IsBuiltInPartyName | ||
| IsGoodPartyName | ||
| IsMemberOf |
Retrieves if a party is a direct or an indirect member of a team.
| |
| MakeMutexTransaction | ||
| PatchAuditProperties | ||
| PrintQueryResultTResult(TextWriter, UTT) | ||
| PrintQueryResultTResult(ILogger, UTT) | ||
| PrintQueryResultTResult(TextWriter, UTT, Int32) | ||
| PrintQueryResultTResult(ILogger, UTT, Int32) | ||
| PrintQueryResultTResult(ILogger, LogLevel, UTT, Int32) | ||
| PrintResultSet(TextWriter, DbTable) | ||
| PrintResultSet(TextWriter, DbTable, Int32) |