public interface Node extends Serializable, android.os.Parcelable
Modifier and Type | Method and Description |
---|---|
List<String> |
getAspects()
Returns all the aspects applied to the node.
|
GregorianCalendar |
getCreatedAt()
Returns the timestamp in the session’s locale when the node was created.
|
String |
getCreatedBy()
Returns the username of the person who created the node.
|
String |
getDescription()
Returns the description of the Node.
|
String |
getIdentifier()
Returns unique identifier of the node.
|
GregorianCalendar |
getModifiedAt()
Gets the modified at.
|
String |
getModifiedBy()
Returns the username of the person who modified the node.
|
String |
getName()
Returns the name of the node.
|
Map<String,Property> |
getProperties()
Returns a Map of all available properties for the specific node object.
|
Property |
getProperty(String name)
Returns the requested property.
|
<T> T |
getPropertyValue(String name)
Returns the value of the property with the given name.
|
String |
getTitle()
Returns the title of the Node.
|
String |
getType()
Returns the type of this Node.
|
boolean |
hasAllProperties()
Indicates whether the node has all it’s metadata populated.
|
boolean |
hasAspect(String aspectName)
Determines if the node has the specified aspect.
|
boolean |
isDocument()
Return true if this instance represents a document, false if this
represents a folder.
|
boolean |
isFolder()
Return true if this instance represents a folder, false if this
represents a document.
|
String getIdentifier()
String getName()
String getTitle()
String getDescription()
String getType()
TYPE_CONTENT
in document case or
TYPE_FOLDER
in folder case.String getCreatedBy()
GregorianCalendar getCreatedAt()
String getModifiedBy()
GregorianCalendar getModifiedAt()
Property getProperty(String name)
name
- : unique identifier of your property.Map<String,Property> getProperties()
<T> T getPropertyValue(String name)
name
- : unique identifier label of the propertyboolean hasAspect(String aspectName)
aspectName
- : unique identifier of aspect Name.List<String> getAspects()
boolean hasAllProperties()
boolean isFolder()
boolean isDocument()
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.