LibraryStructureObject Class

Base class for all library objects

Definition

Namespace: FileHold.LibraryManager
Assembly: FileHold.LibraryManager (in FileHold.LibraryManager.dll) Version: 17.1.0.0
C#
public abstract class LibraryStructureObject
Inheritance
Object    LibraryStructureObject
Derived

Constructors

LibraryStructureObject(Principal) Parameterless constructor
LibraryStructureObject(Principal, IDataReader, LoadCriteria, Database, DbTransaction)Initializes a new instance of the LibraryStructureObject class
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

Properties

Methods

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

Fields

Extension Methods

See Also