Perform preliminary operations before a Document of this type is created. Pre-creation operations only occur for the client which requested the operation. Modifications to the pending document before it is persisted should be performed with this.updateSource().
The initial data object provided to the document creation request
Additional options which modify the creation request
The User requesting the document creation
Perform preliminary operations before a Document of this type is updated. Pre-update operations only occur for the client which requested the operation.
The differential data that is changed relative to the documents prior values
Additional options which modify the update request
The User requesting the document update
Test whether a given User has a sufficient role in order to create Documents of this type in general.
The User being tested
Does the User have a sufficient role to create?
Default metadata which applies to each instance of this Document type.
The default icon used for newly created Actor documents.
The allowed set of Actor types which may exist.
The Document definition for an Actor. Defines the DataSchema and common behaviors for an Actor which are shared between both client and server.
ActorData
documents
Initial data from which to construct the Actor
Construction context options