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_FIELDS
Fields inherited from class com.emc.documentum.rest.model.PersistentObject
id, isLightweight, isMaterialized, isSnapshot, isVirtual, mandatoryAttributes, optionalAttributes, parentId, permissions, properties, reqDigest, type, typeDef, versionPolicy
Fields inherited from class com.emc.documentum.rest.model.AbstractLinkable
links
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.boolean
boolean
boolean
void
setCharsets
(Iterator<String> charsets) void
setContentAttributes
(List<ContentAttribute> contentAttributes) void
setContentLengths
(Iterator<Long> sizes) void
setContentOnly
(boolean contentOnly) void
setDfcFormat
(String dfcFormat) void
setFormats
(Iterator<String> formats) void
setModifiers
(Iterator<String> modifiers) void
void
setSize
(int size) int
size()
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, setSharingParent
Methods 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, toString
Methods 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