com.adobe.repository.infomodel.bean
Class ResourceCollection

java.lang.Object
  extended by com.adobe.repository.infomodel.bean.Resource
      extended by com.adobe.repository.infomodel.bean.ResourceCollection
All Implemented Interfaces:
java.io.Serializable

public class ResourceCollection
extends Resource
implements java.io.Serializable

A ResourceCollection is a collection of logical resources. A ResourceCollection is not versionable.

See Also:
Serialized Form

Field Summary
static int ATTRIBUTE_ID_STRING
          Contains the attribute identifier value which represents ResourceCollection instances.
static short DEPTH_INFINITE
          Depth constant indicating that an operation should apply/return a resource collection and all members, or children.
static short DEPTH_ONE
          Depth constant indicating that an operation should apply/return a resource collection and its internal members, or immediate children.
static int OBJECT_TYPE_RESOURCECOLLECTION
          Contains the object type value which represents ResourceCollection instances (not subtypes).
 
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
ResourceCollection()
          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

DEPTH_ONE

public static final short DEPTH_ONE
Depth constant indicating that an operation should apply/return a resource collection and its internal members, or immediate children.

See Also:
Constant Field Values

DEPTH_INFINITE

public static final short DEPTH_INFINITE
Depth constant indicating that an operation should apply/return a resource collection and all members, or children.

See Also:
Constant Field Values

OBJECT_TYPE_RESOURCECOLLECTION

public static final int OBJECT_TYPE_RESOURCECOLLECTION
Contains the object type value which represents ResourceCollection instances (not subtypes).

See Also:
Constant Field Values

ATTRIBUTE_ID_STRING

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

See Also:
Constant Field Values
Constructor Detail

ResourceCollection

public ResourceCollection()
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.