Package org.alfresco.rm.rest.api.model
Class RMNode
- java.lang.Object
-
- org.alfresco.rm.rest.api.model.RMNode
-
- Direct Known Subclasses:
FilePlan
,Record
,RecordCategory
,RecordCategoryChild
,RecordFolder
,TransferChild
,UnfiledChild
,UnfiledContainer
,UnfiledRecordFolder
public abstract class RMNode extends Object
Abstract base class carrying general information for an RM node- Since:
- 2.6
- Author:
- Ana Bozianu
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RMNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getAllowableOperations()
List<String>
getAspectNames()
org.alfresco.rest.api.model.Assoc
getAssociation()
Date
getCreatedAt()
org.alfresco.rest.api.model.UserInfo
getCreatedByUser()
Date
getModifiedAt()
org.alfresco.rest.api.model.UserInfo
getModifiedByUser()
String
getName()
org.alfresco.service.cmr.repository.NodeRef
getNodeRef()
String
getNodeType()
org.alfresco.service.cmr.repository.NodeRef
getParentId()
org.alfresco.rest.api.model.PathInfo
getPath()
Map<String,Object>
getProperties()
void
setAllowableOperations(List<String> allowableOperations)
void
setAspectNames(List<String> aspectNames)
void
setAssociation(org.alfresco.rest.api.model.Assoc association)
void
setCreatedAt(Date createdAt)
void
setCreatedByUser(org.alfresco.rest.api.model.UserInfo createdByUser)
void
setModifiedAt(Date modifiedAt)
void
setModifiedByUser(org.alfresco.rest.api.model.UserInfo modifiedByUser)
void
setName(String name)
void
setNodeRef(org.alfresco.service.cmr.repository.NodeRef nodeRef)
void
setNodeType(String nodeType)
void
setParentId(org.alfresco.service.cmr.repository.NodeRef parentNodeRef)
void
setPath(org.alfresco.rest.api.model.PathInfo path)
void
setProperties(Map<String,Object> properties)
-
-
-
Field Detail
-
PARAM_ID
public static final String PARAM_ID
- See Also:
- Constant Field Values
-
PARAM_PARENT_ID
public static final String PARAM_PARENT_ID
- See Also:
- Constant Field Values
-
PARAM_NAME
public static final String PARAM_NAME
- See Also:
- Constant Field Values
-
PARAM_NODE_TYPE
public static final String PARAM_NODE_TYPE
- See Also:
- Constant Field Values
-
PARAM_CREATED_AT
public static final String PARAM_CREATED_AT
- See Also:
- Constant Field Values
-
PARAM_MODIFIED_AT
public static final String PARAM_MODIFIED_AT
- See Also:
- Constant Field Values
-
PARAM_CREATED_BY_USER
public static final String PARAM_CREATED_BY_USER
- See Also:
- Constant Field Values
-
PARAM_MODIFIED_BY_USER
public static final String PARAM_MODIFIED_BY_USER
- See Also:
- Constant Field Values
-
PARAM_ASPECT_NAMES
public static final String PARAM_ASPECT_NAMES
- See Also:
- Constant Field Values
-
PARAM_PROPERTIES
public static final String PARAM_PROPERTIES
- See Also:
- Constant Field Values
-
PARAM_PATH
public static final String PARAM_PATH
- See Also:
- Constant Field Values
-
PARAM_ALLOWABLE_OPERATIONS
public static final String PARAM_ALLOWABLE_OPERATIONS
- See Also:
- Constant Field Values
-
PARAM_AUTO_RENAME
public static final String PARAM_AUTO_RENAME
- See Also:
- Constant Field Values
-
PARAM_ISPRIMARY
public static final String PARAM_ISPRIMARY
- See Also:
- Constant Field Values
-
PARAM_INCLUDE_SUBTYPES
public static final String PARAM_INCLUDE_SUBTYPES
- See Also:
- Constant Field Values
-
PARAM_HAS_RETENTION_SCHEDULE
public static final String PARAM_HAS_RETENTION_SCHEDULE
- See Also:
- Constant Field Values
-
PARAM_IS_CLOSED
public static final String PARAM_IS_CLOSED
- See Also:
- Constant Field Values
-
PARAM_INCLUDE_ASSOCIATION
public static final String PARAM_INCLUDE_ASSOCIATION
- See Also:
- Constant Field Values
-
FILE_PLAN_TYPE
public static final String FILE_PLAN_TYPE
- See Also:
- Constant Field Values
-
RECORD_CATEGORY_TYPE
public static final String RECORD_CATEGORY_TYPE
- See Also:
- Constant Field Values
-
RECORD_FOLDER_TYPE
public static final String RECORD_FOLDER_TYPE
- See Also:
- Constant Field Values
-
RECORD_TYPE
public static final String RECORD_TYPE
- See Also:
- Constant Field Values
-
UNFILED_RECORD_FOLDER_TYPE
public static final String UNFILED_RECORD_FOLDER_TYPE
- See Also:
- Constant Field Values
-
TRANSFER_TYPE
public static final String TRANSFER_TYPE
- See Also:
- Constant Field Values
-
TRANSFER_CONTAINER_TYPE
public static final String TRANSFER_CONTAINER_TYPE
- See Also:
- Constant Field Values
-
UNFILED_CONTAINER_TYPE
public static final String UNFILED_CONTAINER_TYPE
- See Also:
- Constant Field Values
-
FOLDER_TYPE
public static final String FOLDER_TYPE
- See Also:
- Constant Field Values
-
CONTENT_TYPE
public static final String CONTENT_TYPE
- See Also:
- Constant Field Values
-
NON_ELECTRONIC_RECORD_TYPE
public static final String NON_ELECTRONIC_RECORD_TYPE
- See Also:
- Constant Field Values
-
nodeRef
protected org.alfresco.service.cmr.repository.NodeRef nodeRef
-
parentNodeRef
protected org.alfresco.service.cmr.repository.NodeRef parentNodeRef
-
name
protected String name
-
nodeType
protected String nodeType
-
createdAt
protected Date createdAt
-
modifiedAt
protected Date modifiedAt
-
createdByUser
protected org.alfresco.rest.api.model.UserInfo createdByUser
-
modifiedByUser
protected org.alfresco.rest.api.model.UserInfo modifiedByUser
-
path
protected org.alfresco.rest.api.model.PathInfo path
-
association
protected org.alfresco.rest.api.model.Assoc association
-
-
Method Detail
-
getNodeRef
@UniqueId public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
-
setNodeRef
public void setNodeRef(org.alfresco.service.cmr.repository.NodeRef nodeRef)
-
getParentId
public org.alfresco.service.cmr.repository.NodeRef getParentId()
-
setParentId
public void setParentId(org.alfresco.service.cmr.repository.NodeRef parentNodeRef)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getNodeType
public String getNodeType()
-
setNodeType
public void setNodeType(String nodeType)
-
getCreatedAt
public Date getCreatedAt()
-
setCreatedAt
public void setCreatedAt(Date createdAt)
-
getModifiedAt
public Date getModifiedAt()
-
setModifiedAt
public void setModifiedAt(Date modifiedAt)
-
getCreatedByUser
public org.alfresco.rest.api.model.UserInfo getCreatedByUser()
-
setCreatedByUser
public void setCreatedByUser(org.alfresco.rest.api.model.UserInfo createdByUser)
-
getModifiedByUser
public org.alfresco.rest.api.model.UserInfo getModifiedByUser()
-
setModifiedByUser
public void setModifiedByUser(org.alfresco.rest.api.model.UserInfo modifiedByUser)
-
getPath
public org.alfresco.rest.api.model.PathInfo getPath()
-
setPath
public void setPath(org.alfresco.rest.api.model.PathInfo path)
-
getAssociation
public org.alfresco.rest.api.model.Assoc getAssociation()
-
setAssociation
public void setAssociation(org.alfresco.rest.api.model.Assoc association)
-
-