|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xcmis.spi.model.ObjectInfo
public final class ObjectInfo
This interface is provided methods for object information holder. Particular
this info is useful for AtomPub binding. AtomPub binding needs some
information to build correct Atom document but this info may be excluded by
property filter provided by client application. Method for retrieving CMIS
object in Connection has additional parameter
includeObjectInfo, e.g.
Connection#getObject(String, boolean, org.xcmis.spi.IncludeRelationships, boolean, boolean, boolean, String, String)
. If this parameter is true caller if method must get additional
information about object, see CmisObject.getObjectInfo().
| Constructor Summary | |
|---|---|
ObjectInfo()
|
|
ObjectInfo(BaseType baseType,
String typeId,
String id,
String name,
String createdBy,
Calendar creationDate,
String lastModifiedBy,
Calendar lastModificationDate,
String changeToken,
String parentId,
Boolean latestVersion,
Boolean majorVersion,
Boolean latestMajorVersion,
String versionSeriesId,
String versionSeriesCheckedOutId,
String versionSeriesCheckedOutBy,
String versionLabel,
String contentStreamMimeType,
String sourceId,
String targetId)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectInfo()
public ObjectInfo(BaseType baseType,
String typeId,
String id,
String name,
String createdBy,
Calendar creationDate,
String lastModifiedBy,
Calendar lastModificationDate,
String changeToken,
String parentId,
Boolean latestVersion,
Boolean majorVersion,
Boolean latestMajorVersion,
String versionSeriesId,
String versionSeriesCheckedOutId,
String versionSeriesCheckedOutBy,
String versionLabel,
String contentStreamMimeType,
String sourceId,
String targetId)
| Method Detail |
|---|
public BaseType getBaseType()
BaseTypepublic String getTypeId()
public String getId()
CmisConstants.OBJECT_ID.
public String getName()
CmisConstants.NAME.
public String getCreatedBy()
CmisConstants.CREATED_BY.
public Calendar getCreationDate()
CmisConstants.CREATION_DATE.
public String getLastModifiedBy()
CmisConstants.LAST_MODIFIED_BY.
public Calendar getLastModificationDate()
CmisConstants.LAST_MODIFICATION_DATE.
public String getChangeToken()
CmisConstants.CHANGE_TOKEN.
null if change token feature
is not supportedpublic String getParentId()
CmisConstants.PARENT_ID.
null for object with base type other then
'cmis:folder'public Boolean isLatestVersion()
CmisConstants.IS_LATEST_VERSION.
null for non-document object and always
true versionable document. Not versionable document
also has exactly one versionpublic Boolean isMajorVersion()
CmisConstants.IS_MAJOR_VERSION.
null for non-document object not versionable documentpublic Boolean isLatestMajorVersion()
CmisConstants.IS_LATEST_MAJOR_VERSION.
null for non-document object or not versionable
documentpublic String getVersionSeriesId()
CmisConstants.VERSION_SERIES_ID.
null for non-document objectpublic String getVersionSeriesCheckedOutId()
CmisConstants.VERSION_SERIES_CHECKED_OUT_ID.
null for
non-document object or not versionable documentpublic String getVersionSeriesCheckedOutBy()
CmisConstants.VERSION_SERIES_CHECKED_OUT_BY.
null for non-document object or not versionable
documentpublic String getVersionLabel()
CmisConstants.VERSION_LABEL.
null for non-document objectpublic String getContentStreamMimeType()
CmisConstants.CONTENT_STREAM_MIME_TYPE.
null for non-document object or document without
contentpublic String getSourceId()
CmisConstants.SOURCE_ID.
null for objects with base type other then
'cmis:relationship'public String getTargetId()
CmisConstants.TARGET_ID.
null for objects with base type other then
'cmis:relationship'public void setBaseType(BaseType baseType)
public void setTypeId(String typeId)
public void setId(String id)
public void setName(String name)
public void setCreatedBy(String createdBy)
public void setCreationDate(Calendar creationDate)
public void setLastModifiedBy(String lastModifiedBy)
public void setLastModificationDate(Calendar lastModificationDate)
public void setChangeToken(String changeToken)
public void setParentId(String parentId)
public void setLatestVersion(Boolean latestVersion)
public void setMajorVersion(Boolean majorVersion)
public void setLatestMajorVersion(Boolean latestMajorVersion)
public void setVersionSeriesId(String versionSeriesId)
public void setVersionSeriesCheckedOutId(String versionSeriesCheckedOutId)
public void setVersionSeriesCheckedOutBy(String versionSeriesCheckedOutBy)
public void setVersionLabel(String versionLabel)
public void setContentStreamMimeType(String contentStreamMimeType)
public void setSourceId(String sourceId)
public void setTargetId(String targetId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||