Package com.emc.documentum.rest.model
Class ContentfulObject
java.lang.Object
com.emc.documentum.rest.model.AbstractLinkable
com.emc.documentum.rest.model.PersistentObject
com.emc.documentum.rest.model.SysObject
com.emc.documentum.rest.model.ContentfulObject
- All Implemented Interfaces:
com.emc.documentum.rest.conditional.Digestible,Linkable
- Direct Known Subclasses:
DocumentObject
A contentful sysobject
-
Field Summary
Fields inherited from class com.emc.documentum.rest.model.SysObject
DEFAULT_FIELDS, INTERNAL_FIELDS, MANDATORY_FIELDS, OPTIONAL_FIELDSFields inherited from class com.emc.documentum.rest.model.PersistentObject
id, isLightweight, isMaterialized, isSnapshot, isVirtual, mandatoryAttributes, optionalAttributes, parentId, permissions, properties, reqDigest, type, typeDef, versionPolicyFields inherited from class com.emc.documentum.rest.model.AbstractLinkable
links -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.booleanbooleanbooleanvoidsetCharsets(Iterator<String> charsets) voidsetContentAttributes(List<ContentAttribute> contentAttributes) voidsetContentLengths(Iterator<Long> sizes) voidsetContentOnly(boolean contentOnly) voidsetDfcFormat(String dfcFormat) voidsetFormats(Iterator<String> formats) voidsetModifiers(Iterator<String> modifiers) voidvoidsetSize(int size) intsize()Methods inherited from class com.emc.documentum.rest.model.SysObject
addDcWriteUrl, getBindingLabel, getDcWriteUrls, getHref, getInternalFields, getMandatoryFields, getObjectAspects, getObjectLifecycle, getOptionalFields, getSharingParent, isDeepCopy, isIncludeBroken, isReplicateVdChildren, isRetainAcl, setBindingLabel, setDeepCopy, setHref, setIncludeBroken, setObjectAspects, setObjectLifecycle, setReplicateVdChildren, setRetainAcl, setSharingParentMethods inherited from class com.emc.documentum.rest.model.PersistentObject
addAttribute, addMandatoryAttribute, addOptionalAttribute, calculatesDigest, convertDate, geOptionalAttribute, getAttributeByName, getAttributes, getId, getMandatoryAttribute, getParentId, getPermissions, getReqDigest, getType, getTypeDef, getVersionPolicy, hasAttribute, hasAttributeValue, hasOptionalAttribute, isLightweight, isMatchedWithReqDigest, isMaterialized, isSnapshot, isVirtualDocument, reInitAttributes, removeAttributeIfExisted, setId, setIsSnapshot, setIsVirtualDocument, setLightweight, setMaterialized, setParentId, setPermissions, setReqDigest, setType, setTypeDef, setVersionPolicy, toStringMethods inherited from class com.emc.documentum.rest.model.AbstractLinkable
getLinks, setLinks
-
Constructor Details
-
ContentfulObject
public ContentfulObject()
-
-
Method Details
-
getContents
Deprecated.usenextContent()orsetParts(Iterator)insteadReturn the content list of the object Only the first element is valid- Returns:
- the content list of the object
-
setParts
-
setSize
public void setSize(int size) -
setFormats
-
setContentLengths
-
setCharsets
-
setModifiers
-
hasContent
public boolean hasContent()- Returns:
- whether the object has content
-
hasContentAttributes
public boolean hasContentAttributes() -
size
public int size()- Returns:
- the content count
-
nextContent
- Returns:
- the next ContentDataSource
-
getDfcFormat
- Returns:
- the calculated dfc format for the content
-
setDfcFormat
-
setContentOnly
public void setContentOnly(boolean contentOnly) -
isContentOnly
public boolean isContentOnly() -
getContentAttributes
-
setContentAttributes
-
nextContent()orsetParts(Iterator)instead