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
-
-
Constructor Summary
Constructors Constructor Description Document()
Document(NodeRef nodeRef, NodeRef parentNodeRef, Map<org.alfresco.service.namespace.QName,Serializable> nodeProps, Map<String,UserInfo> mapUserInfo, ServiceRegistry sr)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ContentInfo
getContent()
String
getMimeType()
Deprecated.BigInteger
getSizeInBytes()
Deprecated.String
getVersionLabel()
Deprecated.void
setContent(ContentInfo contentInfoIn)
void
setMimeType(String mimeType)
Deprecated.void
setSizeInBytes(BigInteger sizeInBytes)
Deprecated.void
setVersionLabel(String versionLabel)
Deprecated.String
toString()
-
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<org.alfresco.service.namespace.QName,Serializable> nodeProps, Map<String,UserInfo> mapUserInfo, ServiceRegistry sr)
-
-
Method Detail
-
getContent
public ContentInfo getContent()
- Overrides:
getContent
in classNode
-
setContent
public void setContent(ContentInfo contentInfoIn)
- Overrides:
setContent
in classNode
-
getMimeType
public String getMimeType()
Deprecated.
-
getSizeInBytes
public BigInteger getSizeInBytes()
Deprecated.
-
getVersionLabel
public String getVersionLabel()
Deprecated.- Overrides:
getVersionLabel
in classNode
-
setMimeType
public void setMimeType(String mimeType)
Deprecated.
-
setSizeInBytes
public void setSizeInBytes(BigInteger sizeInBytes)
Deprecated.
-
setVersionLabel
public void setVersionLabel(String versionLabel)
Deprecated.- Overrides:
setVersionLabel
in classNode
-
-