public class PublicAPINodeImpl extends Object implements Node
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<PublicAPINodeImpl> |
CREATOR |
Constructor and Description |
---|
PublicAPINodeImpl() |
PublicAPINodeImpl(android.os.Parcel o) |
PublicAPINodeImpl(String type,
Map<String,Object> json)
Default constructor of a Node based on CMIS service and object.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
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.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<PublicAPINodeImpl> CREATOR
public PublicAPINodeImpl()
public PublicAPINodeImpl(String type, Map<String,Object> json)
o
- public PublicAPINodeImpl(android.os.Parcel o)
public String getIdentifier()
Node
getIdentifier
in interface Node
public String getName()
Node
public String getTitle()
Node
public String getDescription()
Node
getDescription
in interface Node
public String getType()
Node
getType
in interface Node
TYPE_CONTENT
in document case or
TYPE_FOLDER
in folder case.public String getCreatedBy()
Node
getCreatedBy
in interface Node
public GregorianCalendar getCreatedAt()
Node
getCreatedAt
in interface Node
public String getModifiedBy()
Node
getModifiedBy
in interface Node
public GregorianCalendar getModifiedAt()
Node
getModifiedAt
in interface Node
public Property getProperty(String name)
Node
getProperty
in interface Node
name
- : unique identifier of your property.public Map<String,Property> getProperties()
Node
getProperties
in interface Node
public <T> T getPropertyValue(String name)
getPropertyValue
in interface Node
name
- : unique identifier label of the propertypublic boolean hasAspect(String aspectName)
Node
public List<String> getAspects()
Node
getAspects
in interface Node
public boolean hasAllProperties()
Node
hasAllProperties
in interface Node
public boolean isFolder()
Node
public boolean isDocument()
Node
isDocument
in interface Node
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.