public abstract class Node extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Set<org.apache.chemistry.opencmis.commons.enums.Action> |
allowableActions |
protected org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Comment> |
comments |
protected boolean |
isDeleted |
protected String |
nodeId |
protected List<FolderNode> |
parents |
protected String |
path |
protected Map<String,Object> |
properties |
protected org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Rating> |
ratings |
protected org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Tag> |
tags |
| Modifier | Constructor and Description |
|---|---|
protected |
Node() |
| Modifier and Type | Method and Description |
|---|---|
static Node |
createNode(org.apache.chemistry.opencmis.client.api.CmisObject o)
Create a Node from the CMIS CmisObject parameter.
|
static Node |
createNode(org.apache.chemistry.opencmis.client.api.FileableCmisObject fco)
Create a Node from the CMIS FileableCmisObject parameter.
|
static Node |
createNode(org.apache.chemistry.opencmis.client.api.QueryResult qr)
Create a Node from the CMIS QueryResult parameter.
|
static Node |
createNode(org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.FileableCmisObject> tree)
Create a Node and descendants from the CMIS tree parameter.
|
Set<org.apache.chemistry.opencmis.commons.enums.Action> |
getAllowableActions()
Get allowable actions for the node.
|
org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Comment> |
getComments() |
String |
getNodeId() |
List<FolderNode> |
getParents() |
String |
getPath() |
Map<String,Object> |
getProperties()
Get all properties.
|
Object |
getProperty(String name)
Get a specific property.
|
org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Rating> |
getRatings() |
String |
getRawNodeId() |
org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Tag> |
getTags() |
boolean |
isDeleted() |
abstract boolean |
isFolder()
Is this a folder node?
Override in subclasses.
|
void |
setAllowableActions(Set<org.apache.chemistry.opencmis.commons.enums.Action> allowableActions)
Set allowable CMIS actions for the node.
|
void |
setComments(org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Comment> comments) |
void |
setDeleted(boolean isDeleted) |
void |
setNodeId(String nodeId)
Set node id.
|
void |
setParents(List<FolderNode> parents) |
void |
setPath(String path)
Set path.
|
void |
setProperties(List<org.apache.chemistry.opencmis.client.api.Property<?>> properties) |
void |
setProperties(Map<String,Object> properties)
Set properties.
|
void |
setRatings(org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Rating> ratings) |
void |
setTags(org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Tag> tags) |
String |
toString() |
protected String nodeId
protected String path
protected List<FolderNode> parents
protected Set<org.apache.chemistry.opencmis.commons.enums.Action> allowableActions
protected org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Tag> tags
protected org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Comment> comments
protected org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Rating> ratings
protected boolean isDeleted
public boolean isDeleted()
public void setDeleted(boolean isDeleted)
public org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Comment> getComments()
public org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Rating> getRatings()
public void setComments(org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Comment> comments)
public void setRatings(org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Rating> ratings)
public org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Tag> getTags()
public void setTags(org.springframework.social.alfresco.api.entities.AlfrescoList<org.springframework.social.alfresco.api.entities.Tag> tags)
public Set<org.apache.chemistry.opencmis.commons.enums.Action> getAllowableActions()
public void setAllowableActions(Set<org.apache.chemistry.opencmis.commons.enums.Action> allowableActions)
allowableActions - public String getRawNodeId()
public List<FolderNode> getParents()
public String getNodeId()
public String getPath()
public abstract boolean isFolder()
public void setNodeId(String nodeId)
nodeId - public void setPath(String path)
path - public void setProperties(Map<String,Object> properties)
properties - public void setProperties(List<org.apache.chemistry.opencmis.client.api.Property<?>> properties)
public Object getProperty(String name)
name - property namepublic static Node createNode(org.apache.chemistry.opencmis.client.api.QueryResult qr)
qr - query resultpublic void setParents(List<FolderNode> parents)
public static Node createNode(org.apache.chemistry.opencmis.client.api.Tree<org.apache.chemistry.opencmis.client.api.FileableCmisObject> tree)
tree - CMIS tree objectpublic static Node createNode(org.apache.chemistry.opencmis.client.api.CmisObject o)
o - CMISobjectpublic static Node createNode(org.apache.chemistry.opencmis.client.api.FileableCmisObject fco)
fco - Copyright © 2015. All rights reserved.