public class NodeEntity extends Object implements Node, PermissionCheckValue, Serializable, Cloneable
| Constructor and Description |
|---|
NodeEntity()
Required default constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object obj) |
Long |
getAclId() |
AuditablePropertiesEntity |
getAuditableProperties() |
boolean |
getDeleted(QNameDAO qnameDAO)
Checks the
type of the node to determine if the node is deleted |
Long |
getId() |
Long |
getLocaleId() |
org.alfresco.util.Pair<Long,org.alfresco.service.cmr.repository.NodeRef> |
getNodePair() |
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef()
Get the underlying node value that needs to be permission checked.
|
org.alfresco.service.cmr.repository.NodeRef.Status |
getNodeStatus(QNameDAO qnameDAO) |
NodeVersionKey |
getNodeVersionKey()
Helper method to get a key that includes the node and its current version number
|
String |
getShardKey() |
StoreEntity |
getStore() |
TransactionEntity |
getTransaction() |
Long |
getTypeQNameId() |
String |
getUuid() |
Long |
getVersion() |
int |
hashCode() |
void |
incrementVersion() |
void |
lock()
Lock the entity against further updates to prevent accidental modification
|
void |
setAclId(Long aclId) |
void |
setAuditableProperties(AuditablePropertiesEntity auditableProperties) |
void |
setId(Long id) |
void |
setLocaleId(Long localeId) |
void |
setShardKey(String shardKey) |
void |
setStore(StoreEntity store) |
void |
setTransaction(TransactionEntity transaction) |
void |
setTypeQNameId(Long typeQNameId) |
void |
setUuid(String uuid) |
void |
setVersion(Long version) |
String |
toString() |
public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic NodeVersionKey getNodeVersionKey()
NodegetNodeVersionKey in interface Nodepublic void lock()
public void incrementVersion()
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
PermissionCheckValuegetNodeRef in interface NodegetNodeRef in interface PermissionCheckValuepublic org.alfresco.service.cmr.repository.NodeRef.Status getNodeStatus(QNameDAO qnameDAO)
getNodeStatus in interface Nodepublic org.alfresco.util.Pair<Long,org.alfresco.service.cmr.repository.NodeRef> getNodePair()
getNodePair in interface Nodepublic boolean getDeleted(QNameDAO qnameDAO)
Nodetype of the node to determine if the node is deletedgetDeleted in interface NodeqnameDAO - DAO to work out type IDsContentModel.TYPE_DELETEDpublic Long getId()
getId in interface NodeIdAndAclIdpublic void setId(Long id)
public Long getVersion()
getVersion in interface Nodepublic void setVersion(Long version)
public StoreEntity getStore()
public void setStore(StoreEntity store)
public void setUuid(String uuid)
public Long getTypeQNameId()
getTypeQNameId in interface Nodepublic void setTypeQNameId(Long typeQNameId)
public Long getLocaleId()
getLocaleId in interface Nodepublic void setLocaleId(Long localeId)
public Long getAclId()
getAclId in interface NodeIdAndAclIdpublic void setAclId(Long aclId)
public TransactionEntity getTransaction()
getTransaction in interface Nodepublic void setTransaction(TransactionEntity transaction)
public AuditablePropertiesEntity getAuditableProperties()
getAuditableProperties in interface Nodepublic void setAuditableProperties(AuditablePropertiesEntity auditableProperties)
public String getShardKey()
getShardKey in interface Nodepublic void setShardKey(String shardKey)
Copyright © 2005–2018 Alfresco Software. All rights reserved.