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