Operation |
Details |
public getGrantedTo():String |
Sequential |
public getGrantType():String |
Sequential |
public getLastModificationDate():Date |
Sequential |
public getObjectRef():String |
Sequential Notes: | Delivers the object reference of the object the rights are granted for. | |
public getReference():GrantRO |
Sequential |
public getRole():String |
Sequential Notes: | Delivers the role that is granted. The value of this attribute matches the value the framework gives back as role (e. g. "escidoc:role-depositor"). If you want to check if the role matches a predefined role, use the according isPredefinedRole() method instead. | |
public GrantVO(): |
Sequential Notes: | Default constructor. | |
public GrantVO( String role, String object): |
Sequential Notes: | Constructor using fields. | |
public isDepositor( ReferenceObject objRef):boolean |
Sequential Notes: | Delivers true if the granted role is of type 'depositor' for the given object (normally a PubCollection). | |
public isModerator( ReferenceObject objRef):boolean |
Sequential Notes: | Delivers true if the granted role is of type 'moderator' for the given object (normally a PubCollection). | |
public setGrantedTo( String grantedTo):void |
Sequential |
public setGrantType( String grantType):void |
Sequential |
public setLastModificationDate( Date lastModificationDate):void |
Sequential |
public setObjectRef( String newVal):void |
Sequential Notes: | Sets the object reference of the object the rights are granted for. | |
public setReference( GrantRO reference):void |
Sequential |
public setRole( String newVal):void |
Sequential Notes: | Sets the role that is granted. The value of this attribute must match the value the framework expects as role (e. g. "escidoc:role-depositor"). | |
public toString():String |
Sequential |