com.adobe.repository.infomodel.bean
Class Script

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

public class Script
extends Resource
implements java.io.Serializable

A Script is a Resource describing a source file of a particular script type. Examples of script types include JavaScript and XFA-wrapped JavaScript. The Script MIME type should be used to indicate the type of the Script instance.

See Also:
Serialized Form

Field Summary
static int ATTRIBUTE_ID_STRING
          Contains the attribute identifier value which represents Script instances.
static int OBJECT_TYPE_SCRIPT
          Contains the object type value which represents Script instances.
 
Fields inherited from class com.adobe.repository.infomodel.bean.Resource
ATTRIBUTE_ACL_ID, ATTRIBUTE_APPSTORE_VERSION, 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
Script()
          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, getContent, getCreatedBy, getCustomStatus, getDeploymentStatus, getDescription, getETag, getHead, getId, getLid, getLocks, getMajorVersion, getMinorVersion, getName, getObjectStatus, getObjectType, getOwnerUserId, getPath, getResourceProperties, isProjected, removeLock, removeResourceProperty, setAclId, setContent, setCreatedBy, setCustomStatus, setDeploymentStatus, setDescription, setETag, setHead, setId, setLid, setMajorVersion, setMinorVersion, setName, setObjectStatus, setObjectType, setOwnerUserId, setPath, setRepositoryLoadProfile
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECT_TYPE_SCRIPT

public static final int OBJECT_TYPE_SCRIPT
Contains the object type value which represents Script instances.

See Also:
Constant Field Values

ATTRIBUTE_ID_STRING

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

See Also:
Constant Field Values
Constructor Detail

Script

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


[an error occurred while processing this directive] [an error occurred while processing this directive]