Class IndividualAnnotationPermission

java.lang.Object
com.levigo.jadice.annotation.auth.web.IndividualAnnotationPermission
All Implemented Interfaces:
Permission<Annotation>, Serializable

public final class IndividualAnnotationPermission extends Object implements Permission<Annotation>, Serializable
This class is a web technology adaption of the jadice document platform version. The original can be found in IndividualAnnotationPermission. When using jadice web toolkit, it is expected to use this implementation on the client at all times.

The default behavior is the following: on the server side, document platform permissions are automatically transformed into a json object when sending data to the client. On the opposite way, i.e. sending a message from client side to be later prcessed by a MessageListener, the json-serialized permissions are transformed again into corresponding document platform versions.

Whenever it is necessary to set permissions on the server side (e.g. inside a DocumentDataProvider implementation or in the server side code of an update, triggered by the client), the original document platform permission implementation IndividualAnnotationPermission must be used.

See Also: