com.adobe.livecycle.connectorforibmcm.dsc.client
Class PartInfo

java.lang.Object
  extended by com.adobe.livecycle.connectorforibmcm.dsc.client.PartInfo
All Implemented Interfaces:
java.io.Serializable

public class PartInfo
extends java.lang.Object
implements java.io.Serializable

Represents the content objects of a document stored in IBM Content Manager (IBM CM). In case of multi-content documents, each PartInfo's part number is mapped to an IBM CM content number.

See Also:
Serialized Form

Constructor Summary
PartInfo()
           
 
Method Summary
 java.lang.String getCreatedTimeStamp()
          Retrieves the time at which content was created.
 Document getDocContent()
          Retrieves the content of an object in an object of type Document.
 java.lang.String getModifiedTimeStamp()
          Retrieves the time at which the object was last modified.
 java.lang.String getObjectType()
          Retrieves the object type of content.
 int getPartNumber()
          Retrieves the part number of content.
 java.lang.String getPid()
          Retrieves the PID of an object.
 java.lang.String getVersion()
          Retrieves the version of the IBM CM object.
 void setCreatedTimeStamp(java.lang.String createdTimeStamp)
          Sets the time stamp when the content was created.
 void setDocContent(Document docContent)
          Sets the content of the object.
 void setModifiedTimeStamp(java.lang.String modifiedTimeStamp)
          Sets the time at which the object was last modified.
 void setObjectType(java.lang.String objectType)
          Sets object type of the content.
 void setPartNumber(int partNumber)
          Sets content number of content in a multi-content document.
 void setPid(java.lang.String pid)
          Sets the PID of an object.
 void setVersion(java.lang.String version)
          Sets the version of an IBM CM object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartInfo

public PartInfo()
Method Detail

getCreatedTimeStamp

public java.lang.String getCreatedTimeStamp()
Retrieves the time at which content was created.

Returns:
Time stamp when the content was created.

setCreatedTimeStamp

public void setCreatedTimeStamp(java.lang.String createdTimeStamp)
Sets the time stamp when the content was created.

Parameters:
createdTimeStamp - Time stamp that you want to set for the created content.

getDocContent

public Document getDocContent()
Retrieves the content of an object in an object of type Document.

Returns:
Content of IBM CM object

setDocContent

public void setDocContent(Document docContent)
Sets the content of the object.

Parameters:
docContent - Content that must be set.

getModifiedTimeStamp

public java.lang.String getModifiedTimeStamp()
Retrieves the time at which the object was last modified.

Returns:
Returns the time when the object was last modified.

setModifiedTimeStamp

public void setModifiedTimeStamp(java.lang.String modifiedTimeStamp)
Sets the time at which the object was last modified.

Parameters:
modifiedTimeStamp - Last modified time stamp that must be set on the object.

getVersion

public java.lang.String getVersion()
Retrieves the version of the IBM CM object.

Returns:
Version of the object.

setVersion

public void setVersion(java.lang.String version)
Sets the version of an IBM CM object.

Parameters:
version - Version that must be set.

getPartNumber

public int getPartNumber()
Retrieves the part number of content. Starts from 1.

Returns:
Part number of content a in multi-content document.

setPartNumber

public void setPartNumber(int partNumber)
Sets content number of content in a multi-content document. Starts from 1.

Parameters:
partNumber - Part number that should be set on the content.

getObjectType

public java.lang.String getObjectType()
Retrieves the object type of content.

Returns:
Object type of the content.

setObjectType

public void setObjectType(java.lang.String objectType)
Sets object type of the content.

Parameters:
objectType -

getPid

public java.lang.String getPid()
Retrieves the PID of an object.

Returns:
PID ID of the object.

setPid

public void setPid(java.lang.String pid)
Sets the PID of an object.

Parameters:
pid - The PID that must be set for the object.


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