Package org.alfresco.rest.api.model
Class Node
- java.lang.Object
-
- org.alfresco.rest.api.model.Node
-
- All Implemented Interfaces:
Comparable<Node>
public class Node extends Object implements Comparable<Node>
Concrete class carrying general information for alf_node data- Author:
- steveglover, Gethin James, janv
-
-
Field Summary
-
Method Summary
-
-
-
Field Detail
-
nodeRef
protected NodeRef nodeRef
-
name
protected String name
-
createdAt
protected Date createdAt
-
modifiedAt
protected Date modifiedAt
-
createdByUser
protected UserInfo createdByUser
-
modifiedByUser
protected UserInfo modifiedByUser
-
archivedAt
protected Date archivedAt
-
archivedByUser
protected UserInfo archivedByUser
-
versionLabel
protected String versionLabel
-
versionComment
protected String versionComment
-
nodeId
protected String nodeId
-
isFolder
protected Boolean isFolder
-
isFile
protected Boolean isFile
-
isLink
protected Boolean isLink
-
isLocked
protected Boolean isLocked
-
parentNodeRef
protected NodeRef parentNodeRef
-
pathInfo
protected PathInfo pathInfo
-
prefixTypeQName
protected String prefixTypeQName
-
relativePath
protected String relativePath
-
secondaryChildren
protected List<AssocChild> secondaryChildren
-
targets
protected List<AssocTarget> targets
-
nodePermissions
protected NodePermissions nodePermissions
-
definition
protected NodeDefinition definition
-
search
protected SearchEntry search
-
location
protected String location
-
isFavorite
protected Boolean isFavorite
-
contentInfo
protected ContentInfo contentInfo
-
association
protected Assoc association
-
title
protected String title
-
guid
protected NodeRef guid
-
description
protected String description
-
createdBy
protected String createdBy
-
modifiedBy
protected String modifiedBy
-
-
Constructor Detail
-
Node
public Node(NodeRef nodeRef, NodeRef parentNodeRef, Map<QName,Serializable> nodeProps, Map<String,UserInfo> mapUserInfo, ServiceRegistry sr)
-
Node
public Node()
-
-
Method Detail
-
getValue
protected Object getValue(Map<String,org.apache.chemistry.opencmis.commons.data.PropertyData<?>> props, String name)
-
mapMinimalInfo
protected void mapMinimalInfo(Map<QName,Serializable> nodeProps, Map<String,UserInfo> mapUserInfo, ServiceRegistry sr)
-
lookupUserInfo
public static UserInfo lookupUserInfo(String userName, Map<String,UserInfo> mapUserInfo, PersonService personService)
-
lookupUserInfo
public static UserInfo lookupUserInfo(String userName, Map<String,UserInfo> mapUserInfo, PersonService personService, boolean displayNameOnly)
-
setNodeRef
public void setNodeRef(NodeRef nodeRef)
-
getCreatedAt
public Date getCreatedAt()
-
setCreated
public void setCreated(Date createdAt)
-
getModifiedAt
public Date getModifiedAt()
-
getModifiedByUser
public UserInfo getModifiedByUser()
-
getCreatedByUser
public UserInfo getCreatedByUser()
-
setCreatedByUser
public void setCreatedByUser(UserInfo createdByUser)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getPath
public PathInfo getPath()
-
setPath
public void setPath(PathInfo pathInfo)
-
getNodeType
public String getNodeType()
-
setNodeType
public void setNodeType(String prefixType)
-
getParentId
public NodeRef getParentId()
-
setParentId
public void setParentId(NodeRef parentNodeRef)
-
getIsFolder
public Boolean getIsFolder()
-
setIsFolder
public void setIsFolder(Boolean isFolder)
-
getIsFile
public Boolean getIsFile()
-
setIsFile
public void setIsFile(Boolean isFile)
-
getIsLink
public Boolean getIsLink()
-
setIsLink
public void setIsLink(Boolean isLink)
-
getIsLocked
public Boolean getIsLocked()
-
setIsLocked
public void setIsLocked(Boolean isLocked)
-
getIsFavorite
public Boolean getIsFavorite()
-
setIsFavorite
public void setIsFavorite(Boolean isFavorite)
-
getPermissions
public NodePermissions getPermissions()
-
setPermissions
public void setPermissions(NodePermissions nodePermissions)
-
getTargets
public List<AssocTarget> getTargets()
-
setTargets
public void setTargets(List<AssocTarget> targets)
-
getArchivedAt
public Date getArchivedAt()
-
setArchivedAt
public void setArchivedAt(Date archivedAt)
-
getArchivedByUser
public UserInfo getArchivedByUser()
-
setArchivedByUser
public void setArchivedByUser(UserInfo archivedByUser)
-
getVersionLabel
public String getVersionLabel()
-
setVersionLabel
public void setVersionLabel(String versionLabel)
-
getVersionComment
public String getVersionComment()
-
setVersionComment
public void setVersionComment(String versionComment)
-
getLocation
public String getLocation()
-
setLocation
public void setLocation(String location)
-
getNodeId
public String getNodeId()
-
setNodeId
public void setNodeId(String nodeId)
-
getRelativePath
public String getRelativePath()
-
setRelativePath
public void setRelativePath(String relativePath)
-
getSecondaryChildren
public List<AssocChild> getSecondaryChildren()
-
setSecondaryChildren
public void setSecondaryChildren(List<AssocChild> secondaryChildren)
-
getDefinition
public NodeDefinition getDefinition()
-
setDefinition
public void setDefinition(NodeDefinition definition)
-
compareTo
public int compareTo(Node node)
- Specified by:
compareTo
in interfaceComparable<Node>
-
setContent
public void setContent(ContentInfo contentInfo)
-
getContent
public ContentInfo getContent()
-
getAssociation
public Assoc getAssociation()
-
setAssociation
public void setAssociation(Assoc association)
-
getSearch
public SearchEntry getSearch()
-
setSearch
public void setSearch(SearchEntry search)
-
getGuid
public NodeRef getGuid()
Deprecated.
-
setGuid
public void setGuid(NodeRef guid)
Deprecated.
-
getTitle
public String getTitle()
Deprecated.
-
setTitle
public void setTitle(String title)
Deprecated.
-
getDescription
public String getDescription()
Deprecated.
-
setDescription
public void setDescription(String description)
Deprecated.
-
getCreatedBy
public String getCreatedBy()
Deprecated.
-
setCreatedBy
public void setCreatedBy(String createdBy)
Deprecated.
-
getModifiedBy
public String getModifiedBy()
Deprecated.
-
setModifiedBy
public void setModifiedBy(String modifiedBy)
Deprecated.
-
-