Click or drag to resize

LibraryStructureObject Class

Base class for all library objects
Inheritance Hierarchy

Namespace:  FileHold.LibraryManager
Assembly:  FileHold.LibraryManager (in FileHold.LibraryManager.dll) Version: 17.0.0.0
Syntax
C#
public abstract class LibraryStructureObject

The LibraryStructureObject type exposes the following members.

Constructors
  NameDescription
Public methodLibraryStructureObject(Principal)
Parameterless constructor
Protected methodLibraryStructureObject(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
Protected methodLibraryStructureObject(Principal, Boolean, Int32, Int32, LoadCriteria, Database, DbTransaction)
Constructor prepared exclusively for categories - have drawerId parameter which is required during category initialization
Top
Properties
Methods
  NameDescription
Protected methodStatic memberAddLibraryObject
Adds new library object
Protected methodApplyParentRights
Protected methodApplyRightsWithinObject
Calculates user rights within library object and applys them
Protected methodCalculateEligibleActions
Calculates actions current user is eligible to within library object (invoked after changing to appropriate user context)
Protected methodCalculateRights
Calculates all rights for this library object
Protected methodCreateDbCommand
Creates DbCommand based on library object's type
Protected methodCreateDbCommandSetWeight
Protected methodStatic memberGetMemberGuids
Converts list of members in roles into list of guids
Protected methodLoadPropertiesFromDatabase
Loads both common and type specific library objects' properties from database
Protected methodLoadTypeSpecificProperties
Loads from reader type specific properties
Protected methodMove
Moves current instance of the library object into another object
Protected methodStatic memberMoveLibraryObject
Moves specified library object into another parent
Protected methodStatic memberReadMemberInRoles
Reads members with their roles from the reader
Protected methodSaveAsNew
Saves new instance of the library object
Public methodSetWeight
Public methodUpdate
Saves changes made in current instance of the library object
Top
Fields
Extension Methods
See Also