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 Object
CloneNotSupportedException
public NodeVersionKey getNodeVersionKey()
Node
getNodeVersionKey
in interface Node
public void lock()
public void incrementVersion()
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
PermissionCheckValue
getNodeRef
in interface Node
getNodeRef
in interface PermissionCheckValue
public org.alfresco.service.cmr.repository.NodeRef.Status getNodeStatus(QNameDAO qnameDAO)
getNodeStatus
in interface Node
public org.alfresco.util.Pair<Long,org.alfresco.service.cmr.repository.NodeRef> getNodePair()
getNodePair
in interface Node
public boolean getDeleted(QNameDAO qnameDAO)
Node
type
of the node to determine if the node is deletedgetDeleted
in interface Node
qnameDAO
- DAO to work out type IDsContentModel.TYPE_DELETED
public Long getId()
getId
in interface NodeIdAndAclId
public void setId(Long id)
public Long getVersion()
getVersion
in interface Node
public void setVersion(Long version)
public StoreEntity getStore()
public void setStore(StoreEntity store)
public void setUuid(String uuid)
public Long getTypeQNameId()
getTypeQNameId
in interface Node
public void setTypeQNameId(Long typeQNameId)
public Long getLocaleId()
getLocaleId
in interface Node
public void setLocaleId(Long localeId)
public Long getAclId()
getAclId
in interface NodeIdAndAclId
public void setAclId(Long aclId)
public TransactionEntity getTransaction()
getTransaction
in interface Node
public void setTransaction(TransactionEntity transaction)
public AuditablePropertiesEntity getAuditableProperties()
getAuditableProperties
in interface Node
public void setAuditableProperties(AuditablePropertiesEntity auditableProperties)
public String getShardKey()
getShardKey
in interface Node
public void setShardKey(String shardKey)
Copyright © 2005–2017 Alfresco Software. All rights reserved.