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.String
getAuthor()
throwsRemoteException
RemoteException
publicGet the document comments.String
getComments()
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)Description copied from
throwsRemoteException
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.ContentValue
getContentByValue()
throwsRemoteException
RemoteException
publicGet the date the document was created.Timestamp
getCreationDate()
throwsRemoteException
RemoteException
publicGet the description.String
getDescription()
throwsRemoteException
RemoteException
DEPRECATED No longer needed - use Document object instead.
publicGet the document value for this.DocumentValue
getDocumentByValue()
throwsRemoteException
RemoteException
publicGet the identifier for the content object.String
getIdentifier()
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.String
getLockedBy()
throwsRemoteException
RemoteException
publicGet the mime type of the content object.String
getMimeType()
throwsRemoteException
RemoteException
publicGet last modifier of the document.String
getModifiedBy()
throwsRemoteException
RemoteException
publicGet the date the document was last modified.Timestamp
getModifiedDate()
throwsRemoteException
RemoteException
publicGet the document name.String
getName()
throwsRemoteException
RemoteException
publicRetrieve the pk string for an entity. A combination of pk string and jndi name is always unique between entities.String
getPkString()
throwsRemoteException
RemoteException
publicRetrieves a property value.Object
getProperty(String
propertySet,String
propertyName)
throwsRemoteException
This is the driving get method. All other getters should call this one.
RemoteException
publicRetrieves a property value as a string.String
getPropertyAsString(String
propertySet,String
propertyName)
throwsRemoteException
RemoteException
publicRetrieves a property value without using a default value.Object
getPropertyNoDefault(String
propertySet,String
name)
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.Object
removeProperty(String
propertySet,String
propertyName)
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.String
propertySet,String
propertyName,Object
value)
This method does nothing.
public void setSize(long size)This method does nothing
public void setVersion(long ver)This method does nothing
public staticTimestamp
toTimestamp(Calendar
c)