|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DocumentId
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 | |
|---|---|
DocumentLibrary |
getContainingLibrary()
Retrieves the DocumentLibary for the object with
this ID. |
java.lang.String |
getId()
Returns the unique Id of the Document with this
DocumentId. |
java.lang.String |
getName()
Returns the name of the Document with this
DocumentId. |
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(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 |
|---|
java.lang.String getId()
Document with this
DocumentId.
java.lang.String getName()
Document with this
DocumentId.
DocumentType getType()
Document with this
DocumentId.
boolean isOfType(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.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
DocumentIdDocumentLibrary getContainingLibrary()
DocumentLibary for the object with
this ID.
DocumentLibrary of this object.boolean isDraft()
Document
represented by this DocumentId is a draft document.
Document
represented by this DocumentId is a draft document;
false otherwise.boolean isPublished()
Document
represented by this DocumentId is a published document.
Document
represented by this DocumentId is a published document;
false otherwise.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 | ||||||||