|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The representation of a document's metadata.
Method Summary | |
java.lang.Object |
getAttribute(java.lang.String attributeName)
Return the value of the named attribute. |
java.util.Collection |
getAttributeNames()
Return the list of all the attribute names in this metedata. |
java.lang.String |
getAuthor()
Get the identifier of the user who created the document. |
java.lang.String |
getComments()
Get any free form text comments about the document. |
java.sql.Timestamp |
getCreationDate()
Get the date the document was created on. |
java.lang.String |
getDescription()
Get a free form text description of the document. |
java.lang.String |
getID()
Get the unique id of the document. |
java.lang.String |
getLastModifiedBy()
Get the identifier of the user who last modified the document. |
java.sql.Timestamp |
getLastModifiedDate()
Get the date the document was last modified on. |
java.lang.String |
getLockedBy()
Get the identifier of the user who has the document locked (null if not locked). |
java.lang.String |
getMimeType()
Get the mime type of the document, in "major/minor" MIME format (e.g. |
java.lang.String |
getName()
Get the name of the document. |
long |
getSize()
Get the size of the document in bytes. |
int |
getVersion()
Get the version number of the document. |
Method Detail |
public java.lang.Object getAttribute(java.lang.String attributeName) throws DocumentException
If the attribute is multi-valued, this can be a Collection. Otherwise, it will be a String, Number, Boolean, or Timestamp.
This only needs to return values for attributes that do not correspond to a get method on this interface.
attributeName
- the name of the attribute.DocumentException
- thrown on an error.public java.util.Collection getAttributeNames() throws DocumentException
This is not the list of all the possible values for this document (that comes from the DocumentSchemaDef).
DocumentException
- thrown on an error.public java.lang.String getID() throws DocumentException
DocumentException
- thrown on an error.public java.lang.String getName() throws DocumentException
This will generally correspond to the original file name of the document.
DocumentException
- thrown on an error.public int getVersion() throws DocumentException
DocumentException
- thrown on an error.public java.lang.String getLockedBy() throws DocumentException
DocumentException
- thrown on an error.public long getSize() throws DocumentException
DocumentException
- thrown on an error.public java.lang.String getAuthor() throws DocumentException
DocumentException
- thrown on an error.public java.sql.Timestamp getCreationDate() throws DocumentException
DocumentException
- thrown on an error.public java.lang.String getLastModifiedBy() throws DocumentException
DocumentException
- thrown on an error.public java.sql.Timestamp getLastModifiedDate() throws DocumentException
DocumentException
- thrown on an error.public java.lang.String getDescription() throws DocumentException
DocumentException
- thrown on an error.public java.lang.String getComments() throws DocumentException
DocumentException
- thrown on an error.public java.lang.String getMimeType() throws DocumentException
DocumentException
- thrown on an error.
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |