The ICartellaObjectManager<(Of <(<'T>)>)> type exposes the following members.

Methods

  NameDescription
Public methodAssignObjectDelegates
Assign data procedure delegates to an object selected or created by this manager. This method is exposed, so concrete classes can override its behaviors
Public methodAssignRelationsDelegates<(Of <<'(TOwner, TTarget, TRelations>)>>)
Assign data procedure delegates to a relations object constructed by this manager. This method is exposed, so concrete classes can override its behaviors
Public methodCreate
Create object instance and it's corresponding data record. Assign procedure delegates to the object.
Public methodCreatePagedRelations<(Of <<'(TOwner, TTargetObject, TTarget>)>>)(TOwner)
Create a "Paged" Relations object, with given owner and target types. The procedure delegates will be assigned to the relations object.
Public methodCreatePagedRelations<(Of <<'(TOwner, TTargetObject, TTarget>)>>)(TOwner, Boolean, Nullable<(Of <<'(Boolean>)>>), Boolean)
Create a "Paged" Relations object with default page size, given owner and target types. The procedure delegates will be assigned to the relations object.
Public methodCreatePagedRelations<(Of <<'(TOwner, TTargetObject, TTarget>)>>)(TOwner, Int32, Boolean, Nullable<(Of <<'(Boolean>)>>), Boolean)
Create a "Paged" Relations object with specific page size, given owner and target types. The procedure delegates will be assigned to the relations object.
Public methodCreateRelations<(Of <<'(TOwner, TTargetObject, TTarget>)>>)(TOwner)
Create a CartellaRelations object, with given owner and target types. The procedure delegates will be assigned to the relations object.
Public methodCreateRelations<(Of <<'(TOwner, TTargetObject, TTarget>)>>)(TOwner, Boolean)
Create a relations object, with given owner and target types. The procedure delegates will be assigned to the relations object. We can decide if the relations is editable this this syntax.
Public methodCreateRelations<(Of <<'(TOwner, TTargetObject, TTarget>)>>)(TOwner, Boolean, array<IFieldCollection>[]()[][])
Create a relations object, with given owner and target types. The procedure delegates will be assigned to the relations object. List of Fields collection for target objects are passed in as parameters in this syntax.
Public methodDelete(String)
Delete an object. In this case, the object is simply marked for deletion.
Public methodDelete(String, Boolean)
Delete an object
Public methodPurge
Purge the given item that is makred as deleted from the database
Public methodRestore
Restore an object marked for deletion
Public methodSelect
Instantiates a cartella object with the given field collection Should only be used for objects already created in the data store
Public methodSelectSingle
Create object instance to represent an existing data record, with given unique ID value. Assign procedure delegates to the object.

Properties

  NameDescription
Public propertyCurrentUserState
Retrieve the on-going state for logged-in user. If nobody logged in, return null
Public propertyDeletedObjects
Retrieve the array of objects that has been marked for deletion.
Public propertyExecutingDataProcedures
Get the collection of all procedures involving the manager, its object type, and cartella relations with its object type as owner type. Readonly
Public propertyObjectType
Return the CartellaObject Type this manager is in charge of managing
(Inherited from IManager.)
Public propertyPermanentDeleteByDefault
Get the object deletion setting of this manager object, if it will delete object permenants. The value differs by object types.
Public propertyProcedure_Delete
Get the delete procedure delegate for the manager
Public propertyProcedure_Insert
Get the insert procedure delegate for the manager
Public propertyProcedure_Purge
Get the purge procedure delegate for the manager
Public propertyProcedure_Restore
Get the restore procedure delegate for the manager
Public propertyProcedure_SelectMultiple
Get the select-multiple procedure delegate for the manager
Public propertyProcedure_SelectSingle
Get the select-single procedure delegate for the manager
Public propertyReadOnly
The manager is read-only, if it cannot create, delete, remove, purge, restore objects. Read-only manager is only in charge of selecting objects and relations. Returns true if the manager is read-only.
Public propertySiteManager
Get the SiteManager for this manager.
(Inherited from IManager.)

Events

  NameDescription
Public eventObjectCreated
Event to fire, when object is created by manager
(Inherited from IManager.)
Public eventObjectFullRecordRetrieved
Event to fire, when object created or selected by this manager retrieved it full record. Only happens on objects that are partially constructed and performs lazy loading.
(Inherited from IManager.)
Public eventObjectRestored
Event to fire, when object is removed by manager
(Inherited from IManager.)
Public eventObjectsDeleted
Event to fire, when objects are deleted
(Inherited from IManager.)
Public eventObjectsPurged
Event to fire, when deleted objects are purged
(Inherited from IManager.)
Public eventObjectUpdated
Event to fire, when object created, or selected by this manager is updated.
(Inherited from IManager.)
Public eventRelationAdded
Event to fire, when a relations object constructed by the manager inserted a new target
(Inherited from IManager.)
Public eventRelationMoved
Event to fire, when a positioned relations object constructed by the manager, has target position moved. This event only happens, when 2 existing targets swap positions.
(Inherited from IManager.)
Public eventRelationRemoved
Event to fire, when a relations object constructed by the manager removed a target
(Inherited from IManager.)

See Also