LibraryStructureObject Class |
Namespace: FileHold.LibraryManager
public abstract class LibraryStructureObject
The LibraryStructureObject type exposes the following members.
| Name | Description | |
|---|---|---|
| LibraryStructureObject(Principal) |
Parameterless constructor
| |
| LibraryStructureObject(Principal, Boolean, Int32, LoadCriteria, Database, DbTransaction) |
Base constructor for all library objects. Performs basic actions, which are:
- Loads basic parameters from database
- Loads type specific parameters from database
- Calculates rights for current user within particular library object by changing context
- Restores basic user context
| |
| LibraryStructureObject(Principal, Boolean, Int32, Int32, LoadCriteria, Database, DbTransaction) |
Constructor prepared exclusively for categories - have drawerId parameter which is required
during category initialization
|
| Name | Description | |
|---|---|---|
| AddLibraryObject |
Adds new library object
| |
| ApplyParentRights | ||
| ApplyRightsWithinObject |
Calculates user rights within library object and applys them
| |
| CalculateEligibleActions |
Calculates actions current user is eligible to within library object (invoked after changing to appropriate user context)
| |
| CalculateRights |
Calculates all rights for this library object
| |
| CreateDbCommand |
Creates DbCommand based on library object's type
| |
| CreateDbCommandSetWeight | ||
| GetMemberGuids |
Converts list of members in roles into list of guids
| |
| LoadPropertiesFromDatabase |
Loads both common and type specific library objects' properties from database
| |
| LoadTypeSpecificProperties |
Loads from reader type specific properties
| |
| Move |
Moves current instance of the library object into another object
| |
| MoveLibraryObject |
Moves specified library object into another parent
| |
| ReadMemberInRoles |
Reads members with their roles from the reader
| |
| SaveAsNew |
Saves new instance of the library object
| |
| SetWeight | ||
| Update |
Saves changes made in current instance of the library object
|
| Name | Description | |
|---|---|---|
| checkingCOMSettings | ||
| criteria | ||
| database | ||
| principal | ||
| transaction |
| Name | Description | |
|---|---|---|
| ConvertT | (Defined by ObjectExtension.) | |
| ToJson | (Defined by ObjectExtension.) |