The ICommentManager 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
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
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
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodCreate
Create object instance and it's corresponding data record. Assign procedure delegates to the object.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodCreateComment
Create a new comment
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.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
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.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
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.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
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.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
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.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
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.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodDelete(String)
Delete an object. In this case, the object is simply marked for deletion.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodDelete(String, Boolean)
Delete an object
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodGetCommentsByUser
Public methodGetConnectionComments
Public methodGetEntityComments
retuns an IPaagedEntityChildrenList object used for retrieving comments from the datastore
Public methodGetMostRecentComments()()()()
Get all comments by descending order of CreationDate
Public methodGetMostRecentComments(IFolio)
Get all comments created under specified Folio(and its child FolioItems) by descending order of CreationDate
Public methodGetSubComments
retuns an IPaagedEntityChildrenList object used for retrieving comments from the datastore
Public methodGetUnapprovedComments
Gets unapproved comments below a given entity
Public methodPurge
Purge the given item that is makred as deleted from the database
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodPurgeComment
Purge comment
Public methodRemoveComment
Mark a comment as "Deleted"
Public methodRestore
Restore an object marked for deletion
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodSelect
Instantiates a cartella object with the given field collection Should only be used for objects already created in the data store
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public methodSelectSingle
Create object instance to represent an existing data record, with given unique ID value. Assign procedure delegates to the object.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)

Properties

  NameDescription
Public propertyCurrentUserState
Retrieve the on-going state for logged-in user. If nobody logged in, return null
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyDeletedObjects
Retrieve the array of objects that has been marked for deletion.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
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
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
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.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyProcedure_Delete
Get the delete procedure delegate for the manager
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyProcedure_Insert
Get the insert procedure delegate for the manager
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyProcedure_Purge
Get the purge procedure delegate for the manager
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyProcedure_Restore
Get the restore procedure delegate for the manager
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyProcedure_SelectMultiple
Get the select-multiple procedure delegate for the manager
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
Public propertyProcedure_SelectSingle
Get the select-single procedure delegate for the manager
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
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.
(Inherited from ICartellaObjectManager<(Of <(<'T>)>)>.)
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