|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Document
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[] |
getContributorAccessMembers()
Returns a string array of members who have Contributor access to this Document object. |
java.lang.String[] |
getDeleteAccessMembers()
Deprecated. Use getManagerAccessMembers() instead |
java.lang.String |
getDescription()
Returns the description of this Document object. |
java.lang.String[] |
getEditAccessMembers()
Deprecated. Use getEditorAccessMembers() instead |
java.lang.String[] |
getEditorAccessMembers()
Returns a string array of members who have Editor access to this Document object. |
HistoryLogIterator |
getHistoryLog()
Returns the history log of this document |
DocumentId |
getId()
Returns the DocumentId of this Document object. |
java.lang.String[] |
getInheritedContributorAccessMembers()
Returns a string array of members who have inherited Contributor access to this Document object. |
java.lang.String[] |
getInheritedEditorAccessMembers()
Returns a string array of members who have inherited Editor access to this Document object. |
java.lang.String[] |
getInheritedManagerAccessMembers()
Returns a string array of members who have inherited Manager access to this Document object. |
java.lang.String[] |
getInheritedUserAccessMembers()
Returns a string array of members who have inherited User access to this Document object. |
java.lang.String[] |
getLiveAccessMembers()
Deprecated. Use getUserAccessMembers() instead |
java.lang.String[] |
getManagerAccessMembers()
Returns a string array of members who have Manager 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. |
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()
Deprecated. Use getContributorAccessMembers() instead |
Workspace |
getSourceWorkspace()
Returns the Workspace of this Document object. |
java.lang.String |
getTitle()
Returns the title of the controllable object that this Document refers to. |
java.lang.String[] |
getUserAccessMembers()
Returns a string array of members who have User access to this Document object. |
boolean |
hasDeleteAccess()
Deprecated. This method is deprecated from version 6.0. Calls to This method will be deprecated in the future. Calls to 'Delete' access methods have the same effect as 'Manager' access method calls. Use Workspace.hasManagerAccess(DocumentId documentId) instead |
boolean |
hasDeleteAccess(UserProfile user)
Deprecated. This method is deprecated from version 6.0. Calls to This method will be deprecated in the future. Calls to 'Delete' access methods have the same effect as 'Manager' access method calls. Use Workspace.hasManagerAccess(DocumentId documentId) instead |
boolean |
hasEditAccess()
Deprecated. This method is deprecated from version 6.0. Calls to This method will be deprecated in the future. Calls to 'Edit' access methods have the same effect as 'Editor' access method calls. Use Workspace.hasEditorAccess(DocumentId documentId) instead |
boolean |
hasEditAccess(UserProfile user)
Deprecated. This method is deprecated from version 6.0. Calls to This method will be deprecated in the future. Calls to 'Edit' access methods have the same effect as 'Editor' access method calls. Use Workspace.hasEditorAccess(DocumentId documentId) instead |
boolean |
hasLiveAccess()
Deprecated. This method is deprecated from version 6.0. Calls to 'Live' access methods have the same effect as 'Contributor' access method calls. Use Workspace.hasContributorAccess(DocumentId documentId) instead |
boolean |
hasLiveAccess(UserProfile user)
Deprecated. This method is deprecated from version 6.0. Calls to 'Live' access methods have the same effect as 'Contributor' access method calls. Use Workspace.hasContributorAccess(DocumentId documentId) instead |
boolean |
hasReadAccess()
Deprecated. This method is deprecated from version 6.0. Calls to 'Live' access methods have the same effect as 'Contributor' access method calls. Use Workspace.hasContributorAccess(DocumentId documentId) instead |
boolean |
hasReadAccess(UserProfile user)
Deprecated. This method is deprecated from version 6.0. Calls to 'Live' access methods have the same effect as 'Contributor' access method calls. Use Workspace.hasContributorAccess(DocumentId documentId) instead |
boolean |
isContributorAccessInherited()
Checks if the Contributor access permissions will be inherited from the
parent of this Document. |
boolean |
isEditorAccessInherited()
Checks if the Editor access permissions will be inherited from the
parent of this Document. |
boolean |
isManagerAccessInherited()
Checks if the Manager access permissions will be inherited from the
parent of this Document. |
boolean |
isUserAccessInherited()
Checks if the User access permissions will be inherited from the
parent of this Document. |
boolean |
isWorkflowed()
Return true if this Document object is workflowed. |
| Method Detail |
|---|
Workspace getSourceWorkspace()
Workspace of this Document object.
Workspace of this DocumentDocumentId 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 setjava.lang.String getName()
Document object.
Returns null if this Document does not have a name.
Document object.java.lang.String getTitle()
Returns null if this Document does not have a title or a name.
java.lang.String getDescription()
Document object.
Returns null if this Document object does not have
a description.
java.lang.String[] getAuthors()
Document object as a
string array. The strings are either the
users' common name or distinguished name, depending on the setting
on the Workspace. See Workspace.isDistinguishedNamesUsed().
The resultant array may contain the names of users or groups.
Returns an empty array if this Document object has no
authors.
java.lang.String[] getOwners()
Document object as a
string array. The strings are either the
users' common name or distinguished name, depending on the setting
on the Workspace. See Workspace.isDistinguishedNamesUsed().
The resultant array may contain the names of users or groups.
Returns an empty array if this Document object has
no owners.
java.lang.String[] getLiveAccessMembers()
getUserAccessMembers() instead
Document object. The strings are either the
users' common name or distinguished name, depending on the setting
on the Workspace. See Workspace.isDistinguishedNamesUsed().
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.java.lang.String[] getUserAccessMembers()
Document object. The strings are either the
users' common name or distinguished name, depending on the setting
on the Workspace. See Workspace.isDistinguishedNamesUsed().
The resultant array may contain the names of users or groups.
Returns an empty array if this Document object does
not have User access specified.
This method does not return array of members who have inherited User access.
To get array of members who have inherited User access use getInheritedUserAccessMembers()
Document object.java.lang.String[] getReadAccessMembers()
getContributorAccessMembers() instead
Document object. The strings are either the
users' common name or distinguished name, depending on the setting
on the Workspace. See Workspace.isDistinguishedNamesUsed().
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.java.lang.String[] getContributorAccessMembers()
Document object. The strings are either the
users' common name or distinguished name, depending on the setting
on the Workspace. See Workspace.isDistinguishedNamesUsed().
The resultant array may contain the names of users and groups.
Returns an empty array if this Document object does
not have Contributor access specified.
This method does not return array of members who have inherited Contributor access.
To get array of members who have inherited Contributor access use getInheritedContributorAccessMembers()
Document object.java.lang.String[] getEditAccessMembers()
getEditorAccessMembers() instead
Document object. The strings are either the
users' common name or distinguished name, depending on the setting
on the Workspace. See Workspace.isDistinguishedNamesUsed().
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.java.lang.String[] getEditorAccessMembers()
Document object. The strings are either the
users' common name or distinguished name, depending on the setting
on the Workspace. See Workspace.isDistinguishedNamesUsed().
The resultant array may contain the names of users and groups.
Returns an empty array if this Document object does
not have Editor access specified.
This method does not return array of members who have inherited Editor access.
To get array of members who have inherited Editor access use getInheritedEditorAccessMembers()
Document object.java.lang.String[] getInheritedContributorAccessMembers()
Document object. The strings are either the
users' common name or distinguished name, depending on the setting
on the Workspace. See Workspace.isDistinguishedNamesUsed().
The resultant array may contain the names of users or groups.
Returns an empty array if this Document object does
not have inherited Contributor access specified.
Document object.java.lang.String[] getInheritedEditorAccessMembers()
Document object. The strings are either the
users' common name or distinguished name, depending on the setting
on the Workspace. See Workspace.isDistinguishedNamesUsed().
The resultant array may contain the names of users or groups.
Returns an empty array if this Document object does
not have inherited Editor access specified.
Document object.java.lang.String[] getInheritedManagerAccessMembers()
Document object. The strings are either the
users' common name or distinguished name, depending on the setting
on the Workspace. See Workspace.isDistinguishedNamesUsed().
The resultant array may contain the names of users or groups.
Returns an empty array if this Document object does
not have inherited Manager access specified.
Document object.java.lang.String[] getInheritedUserAccessMembers()
Document object. The strings are either the
users' common name or distinguished name, depending on the setting
on the Workspace. See Workspace.isDistinguishedNamesUsed().
The resultant array may contain the names of users or groups.
Returns an empty array if this Document object does
not have inherited User access specified.
Document object.java.lang.String[] getDeleteAccessMembers()
getManagerAccessMembers() instead
Document object. The strings are either the
users' common name or distinguished name, depending on the setting
on the Workspace. See Workspace.isDistinguishedNamesUsed().
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.java.lang.String[] getManagerAccessMembers()
Document object. The strings are either the
users' common name or distinguished name, depending on the setting
on the Workspace. See Workspace.isDistinguishedNamesUsed().
The resultant array may contain the names of users and groups.
Returns an empty array if this Document object does
not have Manager access specified.
This method does not return array of members who have inherited Manager access.
To get array of members who have inherited Manager access use getInheritedManagerAccessMembers()
Document object.DocumentLibrary getOwnerLibrary()
Document object is
stored.
Returns null if this Document object
has not been saved.
DocumentLibrary that this Document
object is stored in.java.util.Date getModifiedDate()
HistoryLogIterator getHistoryLog()
The returned iterator iterates over HistoryLogEntry
objects.
HistoryLogIterator, never null
boolean hasLiveAccess(UserProfile user)
throws OperationFailedException
Workspace.hasContributorAccess(DocumentId documentId) instead
UserProfile has Live access to this document.
user - the UserProfile to perform the access check for
OperationFailedException - if error occured when accessing repository
boolean hasReadAccess(UserProfile user)
throws OperationFailedException
Workspace.hasContributorAccess(DocumentId documentId) instead
UserProfile has Read access to this document.
user - the UserProfile to perform the access check for
OperationFailedException - if error occured when accessing repository
boolean hasEditAccess(UserProfile user)
throws OperationFailedException
Workspace.hasEditorAccess(DocumentId documentId) instead
UserProfile has Edit access to this document.
user - the UserProfile to perform the access check for
OperationFailedException - if error occured when accessing repository
boolean hasDeleteAccess(UserProfile user)
throws OperationFailedException
Workspace.hasManagerAccess(DocumentId documentId) instead
UserProfile has Delete access to this document.
user - the UserProfile to perform the access check for
OperationFailedException - if error occured when accessing repository
boolean hasLiveAccess()
throws OperationFailedException
Workspace.hasContributorAccess(DocumentId documentId) instead
Workspace associated with the current Document has
Live access to this Document object.
OperationFailedException - if error occured when accessing repository
boolean hasReadAccess()
throws OperationFailedException
Workspace.hasContributorAccess(DocumentId documentId) instead
Workspace associated with the current Document has
Read access to this Document object.
OperationFailedException - if error occured when accessing repository
boolean hasEditAccess()
throws OperationFailedException
Workspace.hasEditorAccess(DocumentId documentId) instead
Workspace associated with the current Document has
Edit access to this Document object.
OperationFailedException - if error occured when accessing repository
boolean hasDeleteAccess()
throws OperationFailedException
Workspace.hasManagerAccess(DocumentId documentId) instead
UserProfile has Delete access to this document.
Delete access to this Document object.
OperationFailedException - if error occured when accessing repositoryboolean isUserAccessInherited()
User access permissions will be inherited from the
parent of this Document.
boolean isContributorAccessInherited()
Contributor access permissions will be inherited from the
parent of this Document.
boolean isEditorAccessInherited()
Editor access permissions will be inherited from the
parent of this Document.
boolean isManagerAccessInherited()
Manager access permissions will be inherited from the
parent of this Document.
boolean isWorkflowed()
Document object is workflowed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||