|
||||||||||
| 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. 'Live' access has been removed from WCM. 'Live' access methods are deprecated and 'Read' access method calls should be used instead. Calling 'Live' access methods have the same effect as calling 'Read' access.
| 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. |
com.ibm.workplace.wcm.api.HistoryLogIterator |
getHistoryLog()
Returns the history log of this document |
com.ibm.workplace.wcm.api.DocumentId |
getId()
Returns the DocumentId of this Document object. |
java.lang.String[] |
getLiveAccessMembers()
Deprecated. This method is deprecated from version 6.0. Calls to 'Live' access methods have the same effect as 'Read' access method calls. |
java.util.Date |
getModifiedDate()
Returns the modified date of this document |
java.lang.String |
getName()
Returns the name of this Document object. |
com.ibm.workplace.wcm.api.DocumentLibrary |
getOwnerLibrary()
Returns the library in which this Document object is
stored. |
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. |
java.lang.String |
getTitle()
Returns the title of the controllable object that this Document refers to. |
boolean |
hasDeleteAccess()
Checks if the user of the Workspace associated with the current Document has
Delete access to this document. |
boolean |
hasDeleteAccess(com.ibm.workplace.wcm.api.UserProfile 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(com.ibm.workplace.wcm.api.UserProfile user)
Checks if the UserProfile has Edit access to this document. |
boolean |
hasLiveAccess()
Deprecated. This method is deprecated from version 6.0. Calls to 'Live' access methods have the same effect as 'Read' access method calls. |
boolean |
hasLiveAccess(com.ibm.workplace.wcm.api.UserProfile user)
Deprecated. This method is deprecated from version 6.0. Calls to 'Live' access methods have the same effect as 'Read' access method calls. |
boolean |
hasReadAccess()
Checks if the user of the Workspace associated with the current Document has
Read access to this document. |
boolean |
hasReadAccess(com.ibm.workplace.wcm.api.UserProfile user)
Checks if the UserProfile has Read access to this document. |
| Method Detail |
public com.ibm.workplace.wcm.api.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 getTitle()
Returns null if this Document does not have a title or a name.
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(com.ibm.workplace.wcm.api.UserProfile user)
UserProfile has Live access to this document.
user - the UserProfile to perform the access check for
public boolean hasReadAccess(com.ibm.workplace.wcm.api.UserProfile user)
UserProfile has Read access to this document.
user - the UserProfile to perform the access check for
public boolean hasEditAccess(com.ibm.workplace.wcm.api.UserProfile user)
UserProfile has Edit access to this document.
user - the UserProfile to perform the access check for
public boolean hasDeleteAccess(com.ibm.workplace.wcm.api.UserProfile user)
UserProfile has Delete access to this document.
user - the UserProfile to perform the access check for
public com.ibm.workplace.wcm.api.DocumentLibrary getOwnerLibrary()
Document object is
stored.
Returns null if this Document object
has not been saved.
DocumentLibrary that this Document
object is stored in.public java.util.Date getModifiedDate()
public com.ibm.workplace.wcm.api.HistoryLogIterator getHistoryLog()
The returned iterator iterates over HistoryLogEntry
objects.
HistoryLogIterator, never null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||