com.adobe.repository.infomodel.bean
Class GenericDocument

java.lang.Object
  extended by com.adobe.repository.infomodel.bean.Resource
      extended by com.adobe.repository.infomodel.bean.GenericDocument
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Flash, FormTemplate, Pdf

public class GenericDocument
extends Resource
implements java.io.Serializable

A GenericDocument is a Resource and is the super class for documents that can be rendered, used in workflow processes, or served as static content.

See Also:
Serialized Form

Field Summary
static int ATTRIBUTE_ID_STRING
          Contains the attribute identifier value which represents GenericDocument instances.
static int OBJECT_TYPE_GENERICDOCUMENT
          Contains the object type value which represents a GenericDocument instance.
 
Fields inherited from class com.adobe.repository.infomodel.bean.Resource
ATTRIBUTE_ACL_ID, ATTRIBUTE_APPSTORE_VERSION, ATTRIBUTE_CONTACT_ID, ATTRIBUTE_CONTACT_USER_ID, ATTRIBUTE_CONTENT_IMPL_OID, ATTRIBUTE_CREATE_TIME, ATTRIBUTE_CREATED_BY, ATTRIBUTE_CUSTOM_STATUS, ATTRIBUTE_DEPLOYMENT_STATUS, ATTRIBUTE_DESCRIPTION, ATTRIBUTE_E_TAG, ATTRIBUTE_HEAD, ATTRIBUTE_ID, ATTRIBUTE_LID, ATTRIBUTE_MAJOR_VERSION, ATTRIBUTE_MINOR_VERSION, ATTRIBUTE_NAME, ATTRIBUTE_OBJECT_STATUS, ATTRIBUTE_OBJECT_TYPE, ATTRIBUTE_OWNER_USER_ID, ATTRIBUTE_PATH, ATTRIBUTE_UPDATE_TIME, DEPLOYMENT_STATUS_ACTIVE, DEPLOYMENT_STATUS_DEPLOYED, DEPLOYMENT_STATUS_INACTIVE, DEPLOYMENT_STATUS_UNSPECIFIED, DEPTH_ZERO, OBJECT_STATUS_DEPRECATED, OBJECT_STATUS_LATEST, OBJECT_STATUS_UNSPECIFIED, OBJECT_STATUS_UPDATED, OBJECT_TYPE_RESOURCE, RELATION_CONTENT, RELATION_LOCKS, RELATION_RESOURCE_PROPERTIES
 
Constructor Summary
GenericDocument()
          Default constructor.
 
Method Summary
 java.util.Date getCreateTime()
          Retrieves the time at which this resource was first written to the Repository.
 java.util.Date getUpdateTime()
          Retrieves the time at which this resource was last modified.
 void setCreateTime(java.util.Date createTime)
          Sets the time at which this resource was first written to the Repository.
 void setUpdateTime(java.util.Date updateTime)
          Sets the time at which this resource was last modified.
 
Methods inherited from class com.adobe.repository.infomodel.bean.Resource
addLock, addResourceProperty, getAclId, getContactId, getContactUserId, getContent, getCreatedBy, getCustomStatus, getDeploymentStatus, getDescription, getETag, getHead, getId, getLid, getLocks, getMajorVersion, getMinorVersion, getName, getObjectStatus, getObjectType, getOwnerUserId, getPath, getResourceProperties, isProjected, removeLock, removeResourceProperty, setAclId, setContactId, setContactUserId, setContent, setCreatedBy, setCustomStatus, setDeploymentStatus, setDescription, setETag, setHead, setId, setLid, setLocks, setMajorVersion, setMinorVersion, setName, setObjectStatus, setObjectType, setOwnerUserId, setPath, setRepositoryLoadProfile, setResourceProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECT_TYPE_GENERICDOCUMENT

public static final int OBJECT_TYPE_GENERICDOCUMENT
Contains the object type value which represents a GenericDocument instance.

See Also:
Constant Field Values

ATTRIBUTE_ID_STRING

public static final int ATTRIBUTE_ID_STRING
Contains the attribute identifier value which represents GenericDocument instances.

See Also:
Constant Field Values
Constructor Detail

GenericDocument

public GenericDocument()
Default constructor.

Method Detail

getUpdateTime

public java.util.Date getUpdateTime()
Retrieves the time at which this resource was last modified.

Overrides:
getUpdateTime in class Resource
Returns:
The time at which this resource was last modified.

setUpdateTime

public void setUpdateTime(java.util.Date updateTime)
Sets the time at which this resource was last modified.

Overrides:
setUpdateTime in class Resource
Parameters:
updateTime - The time at which this resource was last modified.

getCreateTime

public java.util.Date getCreateTime()
Retrieves the time at which this resource was first written to the Repository.

Overrides:
getCreateTime in class Resource
Returns:
The time at which this resource was first written to the Repository.

setCreateTime

public void setCreateTime(java.util.Date createTime)
Sets the time at which this resource was first written to the Repository.

Overrides:
setCreateTime in class Resource
Parameters:
createTime - The time at which this resource was first written to the Repository.