class: CurrentGrants

public class: CurrentGrants
Author:
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 16.07.2009 15:13:27; Modified: 16.07.2009 15:23:29;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {2B60BC24-63CC-453e-A38F-D2A03A37DAE6}
<para> Following you will find information which elements and attributes are "required", "optional", "not-allowed" or will be "discarded" in the input XML-stream when creating or updating such an object. </para>
<para> In "create" the rule for creating a new object is defined.
</para>
<para> In "update" the rule for updating an object is defined.
</para>
<para> Possible values are: required | optional | not-allowed | discarded </para>
<para> required: this element or attribute has to be delivered
</para>
<para> optional: this element or attribute can be delivered and will be kept </para>
<para> not-allowed: this element or attribute is not allowed in delivery and will cause an exception </para>
<para> discarded: this element or attribute can be delivered but will not be used </para>
<comment>This is a read-only resource representing a list of the current grants of the user account. Neither create nor update is supported for this list.</comment> Schema fragment(s) for this class:
<pre> <xs:element xmlns:ns="http://www.escidoc.de/schemas/commontypes/0.4" xmlns:ns1="http://www.escidoc.de/schemas/grants/0.4" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="current-grants"> <xs:complexType> <xs:sequence> <xs:element ref="ns1:grant" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attributeGroup ref="ns:eSciDocRootElementAttributes"/> </xs:complexType> </xs:element> <xs:attributeGroup xmlns:ns="http://www.escidoc.de/schemas/commontypes/0.4" xmlns:ns1="http://www.escidoc.de/schemas/grants/0.4" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="eSciDocRootElementAttributes"> <xs:attribute type="xs:dateTime" name="last-modification-date"/> </xs:attributeGroup>
</pre>
 

Goto: Custom Properties, Fields, Methods

Extends: IntelligentVO

See also: IntelligentVO, GrantList

Appears in: grants

Connections
 
Custom Properties
 
CurrentGrants Attributes
Attribute Details
private ArrayList
  grantList
Initial: new ArrayList()
private Date
  lastModificationDate
 
CurrentGrants Methods
Operation Details
public
CurrentGrants(
   String userHandle,
   String userId,
   UserType type):
Sequential
Tags: throws=RuntimeException
Notes: Retrieves the grants for a given filter
public
CurrentGrants():
Sequential
public
getGrants():List
Sequential
Notes: Get the list of 'grant' element items.
@return list
public
getLastModificationDate():Date
Sequential
Notes: Get the 'last-modification-date' attribute value. <create>discarded</create>
<update>required</update>
<comment>required only in root element on update</comment>
@return value
public
revokeGrants(
   String userHandle,
   String revocationComment):void
Sequential
public
setGrants(
   List list):void
Sequential
Notes: Set the list of 'grant' element items.
public
setLastModificationDate(
   Date lastModificationDate):void
Sequential
Notes: Set the 'last-modification-date' attribute value. <create>discarded</create>
<update>required</update>
<comment>required only in root element on update</comment>