|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents the ID of a Document in the repository.
The String representation of this DocumentId
object can be obtained by calling the toString() method.
The format of the value returned by the toString() method
is not documented, and should not be created manually as it may not be
relied upon.
| Method Summary | |
com.ibm.workplace.wcm.api.DocumentLibrary |
getContainingLibrary()
Retrieves the DocumentLibary for the object with
this ID. |
java.lang.String |
getName()
Returns the name of the Document with this
DocumentId. |
com.ibm.workplace.wcm.api.DocumentType |
getType()
Returns the type of the Document with this
DocumentId. |
boolean |
isDraft()
Returns true if the Document
represented by this DocumentId is a draft document. |
boolean |
isExpired()
Returns true if the Document
represented by this DocumentId is a expired document. |
boolean |
isOfType(com.ibm.workplace.wcm.api.DocumentType type)
Returns true if and only if the type of the Document
represented by this DocumentId is the same as the
DocumentType argument. |
boolean |
isPublished()
Returns true if the Document
represented by this DocumentId is a published document. |
java.lang.String |
toString()
Returns a String representation of this
DocumentId. |
| Method Detail |
public java.lang.String getName()
Document with this
DocumentId.
public com.ibm.workplace.wcm.api.DocumentType getType()
Document with this
DocumentId.
public boolean isOfType(com.ibm.workplace.wcm.api.DocumentType type)
Document
represented by this DocumentId is the same as the
DocumentType argument.
type - the type to compare
Document
represented by this DocumentId is the same as the
DocumentType argument; false otherwise.public java.lang.String toString()
String representation of this
DocumentId.
Note: Format should not be relied upon.
toString in class java.lang.ObjectString representation of this
DocumentIdpublic com.ibm.workplace.wcm.api.DocumentLibrary getContainingLibrary()
DocumentLibary for the object with
this ID.
DocumentLibrary of this object.public boolean isDraft()
Document
represented by this DocumentId is a draft document.
Document
represented by this DocumentId is a draft document;
false otherwise.public boolean isPublished()
Document
represented by this DocumentId is a published document.
Document
represented by this DocumentId is a published document;
false otherwise.public boolean isExpired()
Document
represented by this DocumentId is a expired document.
Document
represented by this DocumentId is a expired document;
false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||