|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface defining an object that exists as an entity in the repository.
| Field Summary | |
static java.lang.String |
COPYRIGHT
Copyright statement |
| Method Summary | |
java.lang.String[] |
getAuthors()
Returns the names of authors of this Document object as a
string array. |
java.lang.String[] |
getDeleteAccessMembers()
Returns a string array of members who have Delete access to this Document object. |
java.lang.String |
getDescription()
Returns the description of this Document object. |
java.lang.String[] |
getEditAccessMembers()
Returns a string array of members who have Edit access to this Document object. |
DocumentId |
getId()
Returns the DocumentId of this Document object. |
java.lang.String[] |
getLiveAccessMembers()
Returns a string array of members who have Live access to this Document object. |
java.util.Date |
getModifiedDate()
Returns the modified date of this document |
java.lang.String |
getName()
Returns the name of this Document object. |
java.lang.String[] |
getOwners()
Returns the names of owners of this Document object as a
string array. |
java.lang.String[] |
getReadAccessMembers()
Returns a string array of members who have Read access to this Document object. |
boolean |
hasDeleteAccess()
Checks if the user of the Workspace associated with the current Document has
Delete access to this document. |
boolean |
hasDeleteAccess(UserProfile p_user)
Checks if the UserProfile has Delete access to this document. |
boolean |
hasEditAccess()
Checks if the user of the Workspace associated with the current Document has
Edit access to this document. |
boolean |
hasEditAccess(UserProfile p_user)
Checks if the UserProfile has Edit access to this document. |
boolean |
hasLiveAccess()
Checks if the user of the Workspace associated with the current Document has
Live access to the document. |
boolean |
hasLiveAccess(UserProfile p_user)
Checks if the UserProfile has Live access to this document. |
boolean |
hasReadAccess()
Checks if the user of the Workspace associated with the current Document has
Read access to this document. |
boolean |
hasReadAccess(UserProfile p_user)
Checks if the UserProfile has Read access to this document. |
| Field Detail |
public static final java.lang.String COPYRIGHT
| Method Detail |
public DocumentId getId()
DocumentId of this Document object.
Note. Calling this method on a Document that does not have
a name set will result in a NullPointerException.
DocumentId of this Document
java.lang.NullPointerException - if the name of this Document has not
been setpublic java.lang.String getName()
Document object.
Returns null if this Document does not have a name.
Document object.public java.lang.String getDescription()
Document object.
Returns null if this Document object does not have
a description.
public java.lang.String[] getAuthors()
Document object as a
string array.
The resultant array may contain the names of users or groups.
Returns an empty array if this Document object has no
authors.
public java.lang.String[] getOwners()
Document object as a
string array.
The resultant array may contain the names of users or groups.
Returns an empty array if this Document object has
no owners.
public java.lang.String[] getLiveAccessMembers()
Document object.
The resultant array may contain the names of users or groups.
Returns an empty array if this Document object does
not have Live access specified.
Document object.public java.lang.String[] getReadAccessMembers()
Document object.
The resultant array may contain the names of users and groups.
Returns an empty array if this Document object does
not have Read access specified.
Document object.public java.lang.String[] getEditAccessMembers()
Document object.
The resultant array may contain the names of users and groups.
Returns an empty array if this Document object does
not have Edit access specified.
Document object.public java.lang.String[] getDeleteAccessMembers()
Document object.
The resultant array may contain the names of users and groups.
Returns an empty array if this Document object does
not have Delete access specified.
Document object.public boolean hasLiveAccess()
Workspace associated with the current Document has
Live access to the document.
public boolean hasReadAccess()
Workspace associated with the current Document has
Read access to this document.
public boolean hasEditAccess()
Workspace associated with the current Document has
Edit access to this document.
public boolean hasDeleteAccess()
Workspace associated with the current Document has
Delete access to this document.
public boolean hasLiveAccess(UserProfile p_user)
UserProfile has Live access to this document.
p_user - the UserProfile to perform the access check for
public boolean hasReadAccess(UserProfile p_user)
UserProfile has Read access to this document.
p_user - the UserProfile to perform the access check for
public boolean hasEditAccess(UserProfile p_user)
UserProfile has Edit access to this document.
p_user - the UserProfile to perform the access check for
public boolean hasDeleteAccess(UserProfile p_user)
UserProfile has Delete access to this document.
p_user - the UserProfile to perform the access check for
public java.util.Date getModifiedDate()
Returns null if the modified date can not be determined
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||