org.alfresco.repo.domain.node
Class NodeEntity

java.lang.Object
  extended by org.alfresco.repo.domain.node.NodeEntity
All Implemented Interfaces:
Node, NodeIdAndAclId, PermissionCheckValue
Direct Known Subclasses:
NodeUpdateEntity

public class NodeEntity
extends java.lang.Object
implements Node, PermissionCheckValue

Bean to convey alf_node data.

Since:
3.4

Constructor Summary
NodeEntity()
          Required default constructor
 
Method Summary
 java.lang.Long getAclId()
           
 AuditablePropertiesEntity getAuditableProperties()
           
 java.lang.Boolean getDeleted()
           
 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()
           
 StoreEntity getStore()
           
 TransactionEntity getTransaction()
           
 java.lang.Long getTypeQNameId()
           
 java.lang.String getUuid()
           
 java.lang.Long getVersion()
           
 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 setDeleted(java.lang.Boolean deleted)
           
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeEntity

public NodeEntity()
Required default constructor

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

lock

public void lock()
Lock the entity against further updates to prevent accidental modification

Specified by:
lock in interface Node

incrementVersion

public void incrementVersion()

getNodeRef

public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Description copied from interface: PermissionCheckValue
Get the underlying node value that needs to be permission checked.

Specified by:
getNodeRef in interface Node
Specified by:
getNodeRef in interface PermissionCheckValue
Returns:
the underlying value to filter

getNodeStatus

public org.alfresco.service.cmr.repository.NodeRef.Status getNodeStatus()
Specified by:
getNodeStatus in interface Node

getNodePair

public org.alfresco.util.Pair getNodePair()
Specified by:
getNodePair in interface Node

getId

public java.lang.Long getId()
Specified by:
getId in interface NodeIdAndAclId

setId

public void setId(java.lang.Long id)

getVersion

public java.lang.Long getVersion()
Specified by:
getVersion in interface Node

setVersion

public void setVersion(java.lang.Long version)

getStore

public StoreEntity getStore()
Specified by:
getStore in interface Node

setStore

public void setStore(StoreEntity store)

getUuid

public java.lang.String getUuid()
Specified by:
getUuid in interface Node

setUuid

public void setUuid(java.lang.String uuid)

getTypeQNameId

public java.lang.Long getTypeQNameId()
Specified by:
getTypeQNameId in interface Node

setTypeQNameId

public void setTypeQNameId(java.lang.Long typeQNameId)

getLocaleId

public java.lang.Long getLocaleId()
Specified by:
getLocaleId in interface Node

setLocaleId

public void setLocaleId(java.lang.Long localeId)

getAclId

public java.lang.Long getAclId()
Specified by:
getAclId in interface NodeIdAndAclId

setAclId

public void setAclId(java.lang.Long aclId)

getDeleted

public java.lang.Boolean getDeleted()
Specified by:
getDeleted in interface Node

setDeleted

public void setDeleted(java.lang.Boolean deleted)

getTransaction

public TransactionEntity getTransaction()
Specified by:
getTransaction in interface Node

setTransaction

public void setTransaction(TransactionEntity transaction)

getAuditableProperties

public AuditablePropertiesEntity getAuditableProperties()
Specified by:
getAuditableProperties in interface Node

setAuditableProperties

public void setAuditableProperties(AuditablePropertiesEntity auditableProperties)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.