|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.connectorforibmcm.dsc.client.DocInfo
public class DocInfo
Class used to pass the content and attributes of IBM Content Manager (IBM CM) objects to LiveCycle clients. It has list of content objects and each content object is represented as PartInfo.
Constructor Summary | |
---|---|
DocInfo()
|
Method Summary | |
---|---|
void |
addAttributeNameValue(java.lang.Object key,
java.lang.Object value)
Adds an key-value pair to the attribute. |
void |
addPartInfo(PartInfo partInfo)
Adds content as partInfo. |
java.util.Map |
getAttributeNameValue()
Retrieves an attribute's name-value pairs as a key-value pairs. |
Document |
getContent()
Retrieves the content of a document. |
java.lang.String |
getObjectType()
Retrieves the object type. |
java.lang.String |
getPid()
Retrieves the PID of the IBM CM object. |
java.lang.String |
getVersion()
Retrieves the version of the document. |
boolean |
isFolder()
|
void |
setAttributeNameValue(java.util.Map attributeNameValue)
Sets the name-value map pairs for an attribute. |
void |
setFolder(boolean isFolder)
|
void |
setObjectType(java.lang.String objectType)
Sets the object type of IBM CM object. |
void |
setPid(java.lang.String pid)
Sets the PID of IBM CM object. |
void |
setVersion(java.lang.String version)
Sets the version of the document to the value specified. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocInfo()
Method Detail |
---|
public java.lang.String getObjectType()
public void setObjectType(java.lang.String objectType)
objectType
- Object type to be set.public java.lang.String getPid()
public void setPid(java.lang.String pid)
pid
- The PID to be set.public void addPartInfo(PartInfo partInfo)
partInfo
- partInfo object with content.public java.util.Map getAttributeNameValue()
public void addAttributeNameValue(java.lang.Object key, java.lang.Object value)
key
- The key in the name-value pair.value
- The value in the name-value pair.public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- The version of the document.public Document getContent()
Document
object with contents of the document.public void setAttributeNameValue(java.util.Map attributeNameValue)
attributeNameValue
- A map
containing name-value pairs.public boolean isFolder()
public void setFolder(boolean isFolder)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |