Object
Document
A Document implementation backed by a content Node.
This is really only designed to be used by the pz_compat_taglib.jar versions of the pz: tags in conjunction with the 7.0 ContentManager adapter to 8.1 content management.
Object
NodeDocument
ConfigurableEntity, Content, Document, Serializable
Constructor Summary |
|
Method Summary |
public |
|
public |
|
public byte[] |
|
public byte[] |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public long |
|
public long |
|
public long |
|
public |
|
public void | |
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void | |
public void |
|
public void |
|
public void |
|
public static |
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface com.bea.p13n.property. |
|
Methods from interface com.bea.p13n.content. |
|
Methods from interface com.bea.p13n.content.document. |
|
Constructor Detail |
public NodeDocument(Node node)
Method Detail |
publicGet the author of the document.StringgetAuthor()
throwsRemoteException
RemoteException
publicGet the document comments.StringgetComments()
throwsRemoteException
RemoteException
public byte[] getContent()Description copied from
throwsRemoteException
Document.getContent()
This currently doesn't support files larger than 2^31 bytes.
RemoteException
public byte[] getContentBlock(long start,
long length)
throws RemoteException
Description copied from Document.getContentBlock(long, long)
This currently just calls getContent() and returns a subarray. However, this will support retrieving large files when large files are supported.
RemoteException
DEPRECATED No longer needed - Use Content object instead.
publicReturn the content value object.ContentValuegetContentByValue()
throwsRemoteException
RemoteException
publicGet the date the document was created.TimestampgetCreationDate()
throwsRemoteException
RemoteException
publicGet the description.StringgetDescription()
throwsRemoteException
RemoteException
DEPRECATED No longer needed - use Document object instead.
publicGet the document value for this.DocumentValuegetDocumentByValue()
throwsRemoteException
RemoteException
publicGet the identifier for the content object.StringgetIdentifier()
throwsRemoteException
RemoteException
public String getJndiName()
Retrieve the jndi name for an entity. A combination of pk string
and jndi name is always unique between entities.
publicGet the locker of the document.StringgetLockedBy()
throwsRemoteException
RemoteException
publicGet the mime type of the content object.StringgetMimeType()
throwsRemoteException
RemoteException
publicGet last modifier of the document.StringgetModifiedBy()
throwsRemoteException
RemoteException
publicGet the date the document was last modified.TimestampgetModifiedDate()
throwsRemoteException
RemoteException
publicGet the document name.StringgetName()
throwsRemoteException
RemoteException
publicRetrieve the pk string for an entity. A combination of pk string and jndi name is always unique between entities.StringgetPkString()
throwsRemoteException
RemoteException
publicRetrieves a property value.ObjectgetProperty(StringpropertySet,StringpropertyName)
throwsRemoteException
This is the driving get method. All other getters should call this one.
RemoteException
publicRetrieves a property value as a string.StringgetPropertyAsString(StringpropertySet,StringpropertyName)
throwsRemoteException
RemoteException
publicRetrieves a property value without using a default value.ObjectgetPropertyNoDefault(StringpropertySet,Stringname)
throwsRemoteException
This is the driving get method. All other getters should call this one.
RemoteException
public long getSize()Get the size of the document.
throwsRemoteException
RemoteException
public long getUniqueId()Retrieve the unique identifier generated for this ConfigurableEntity. The unique identifier is used by the EntityPropertyManager to optimize the foreign keys in the persistent storage. This method may not be implemented in a lightweight implementation of ConfigurableEntity.
public long getVersion()Get the document version number.
throwsRemoteException
RemoteException
publicRemove the property associated with the named key in the specified property set.ObjectremoveProperty(StringpropertySet,StringpropertyName)
This method does nothing.
public void setAuthor(String author)
This method does nothing
public void setComments(String s)
This method does nothing
DEPRECATED Not implemented.
public void setContentByValue(ContentValue val)
This method does nothing.
public void setCreationDate(Timestamp date)
This method does nothing
public void setDescription(String s)
This method does nothing
DEPRECATED Not implemented.
public void setDocumentByValue(DocumentValue val)
This method does nothing
public void setLockedBy(String s)
This method does nothing
public void setMimeType(String mimeType)
Set the mime type of the document object.
public void setModifiedBy(String s)
This method does nothing
public void setModifiedDate(Timestamp d)
This method does nothing
public void setName(String s)
This method does nothing
public void setProperty(Associate the specified value with the named key in the specified property set.StringpropertySet,StringpropertyName,Objectvalue)
This method does nothing.
public void setSize(long size)This method does nothing
public void setVersion(long ver)This method does nothing
public staticTimestamptoTimestamp(Calendarc)