public class NodeEntity extends java.lang.Object implements Node, PermissionCheckValue
| Constructor and Description |
|---|
NodeEntity()
Required default constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getAclId() |
AuditablePropertiesEntity |
getAuditableProperties() |
boolean |
getDeleted(QNameDAO qnameDAO)
Checks the
type of the node to determine if the node is deleted |
java.lang.Long |
getId() |
java.lang.Long |
getLocaleId() |
org.alfresco.util.Pair |
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
|
StoreEntity |
getStore() |
TransactionEntity |
getTransaction() |
java.lang.Long |
getTypeQNameId() |
java.lang.String |
getUuid() |
java.lang.Long |
getVersion() |
int |
hashCode() |
void |
incrementVersion() |
void |
lock()
Lock the entity against further updates to prevent accidental modification
|
void |
setAclId(java.lang.Long aclId) |
void |
setAuditableProperties(AuditablePropertiesEntity auditableProperties) |
void |
setId(java.lang.Long id) |
void |
setLocaleId(java.lang.Long localeId) |
void |
setStore(StoreEntity store) |
void |
setTransaction(TransactionEntity transaction) |
void |
setTypeQNameId(java.lang.Long typeQNameId) |
void |
setUuid(java.lang.String uuid) |
void |
setVersion(java.lang.Long version) |
java.lang.String |
toString() |
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic 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 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 java.lang.Long getId()
getId in interface NodeIdAndAclIdpublic void setId(java.lang.Long id)
public java.lang.Long getVersion()
getVersion in interface Nodepublic void setVersion(java.lang.Long version)
public StoreEntity getStore()
public void setStore(StoreEntity store)
public void setUuid(java.lang.String uuid)
public java.lang.Long getTypeQNameId()
getTypeQNameId in interface Nodepublic void setTypeQNameId(java.lang.Long typeQNameId)
public java.lang.Long getLocaleId()
getLocaleId in interface Nodepublic void setLocaleId(java.lang.Long localeId)
public java.lang.Long getAclId()
getAclId in interface NodeIdAndAclIdpublic void setAclId(java.lang.Long aclId)
public TransactionEntity getTransaction()
getTransaction in interface Nodepublic void setTransaction(TransactionEntity transaction)
public AuditablePropertiesEntity getAuditableProperties()
getAuditableProperties in interface Nodepublic void setAuditableProperties(AuditablePropertiesEntity auditableProperties)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.