Package org.alfresco.rest.api.model
Class Document
- java.lang.Object
-
- org.alfresco.rest.api.model.Node
-
- org.alfresco.rest.api.model.Document
-
- All Implemented Interfaces:
Comparable<Node>
public class Document extends Node
Representation of a document node.- Author:
- steveglover, janv
-
-
Field Summary
-
Fields inherited from class org.alfresco.rest.api.model.Node
allowableOperations, archivedAt, archivedByUser, aspectNames, association, contentInfo, createdAt, createdBy, createdByUser, definition, description, guid, isFavorite, isFile, isFolder, isLink, isLocked, location, modifiedAt, modifiedBy, modifiedByUser, name, nodeId, nodePermissions, nodeRef, parentNodeRef, pathInfo, prefixTypeQName, properties, relativePath, search, secondaryChildren, targets, title, versionComment
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ContentInfogetContent()StringgetMimeType()Deprecated.BigIntegergetSizeInBytes()Deprecated.StringgetVersionLabel()Deprecated.voidsetContent(ContentInfo contentInfoIn)voidsetMimeType(String mimeType)Deprecated.voidsetSizeInBytes(BigInteger sizeInBytes)Deprecated.voidsetVersionLabel(String versionLabel)Deprecated.StringtoString()-
Methods inherited from class org.alfresco.rest.api.model.Node
compareTo, equals, getAllowableOperations, getArchivedAt, getArchivedByUser, getAspectNames, getAssociation, getCreatedAt, getCreatedBy, getCreatedByUser, getDefinition, getDescription, getGuid, getIsFavorite, getIsFile, getIsFolder, getIsLink, getIsLocked, getLocation, getModifiedAt, getModifiedBy, getModifiedByUser, getName, getNodeId, getNodeRef, getNodeType, getParentId, getPath, getPermissions, getProperties, getRelativePath, getSearch, getSecondaryChildren, getTargets, getTitle, getValue, getVersionComment, lookupUserInfo, lookupUserInfo, mapMinimalInfo, setAllowableOperations, setArchivedAt, setArchivedByUser, setAspectNames, setAssociation, setCreated, setCreatedBy, setCreatedByUser, setDefinition, setDescription, setGuid, setIsFavorite, setIsFile, setIsFolder, setIsLink, setIsLocked, setLocation, setModifiedBy, setName, setNodeId, setNodeRef, setNodeType, setParentId, setPath, setPermissions, setProperties, setRelativePath, setSearch, setSecondaryChildren, setTargets, setTitle, setVersionComment
-
-
-
-
Constructor Detail
-
Document
public Document()
-
Document
public Document(NodeRef nodeRef, NodeRef parentNodeRef, Map<QName,Serializable> nodeProps, Map<String,UserInfo> mapUserInfo, ServiceRegistry sr)
-
-
Method Detail
-
getContent
public ContentInfo getContent()
- Overrides:
getContentin classNode
-
setContent
public void setContent(ContentInfo contentInfoIn)
- Overrides:
setContentin classNode
-
getMimeType
public String getMimeType()
Deprecated.
-
getSizeInBytes
public BigInteger getSizeInBytes()
Deprecated.
-
getVersionLabel
public String getVersionLabel()
Deprecated.- Overrides:
getVersionLabelin classNode
-
setMimeType
public void setMimeType(String mimeType)
Deprecated.
-
setSizeInBytes
public void setSizeInBytes(BigInteger sizeInBytes)
Deprecated.
-
setVersionLabel
public void setVersionLabel(String versionLabel)
Deprecated.- Overrides:
setVersionLabelin classNode
-
-