org.alfresco.repo.domain.hibernate
Class NodeImpl
java.lang.Object
org.alfresco.repo.domain.hibernate.LifecycleAdapter
org.alfresco.repo.domain.hibernate.NodeImpl
- All Implemented Interfaces:
- java.io.Serializable, Node, org.hibernate.classic.Lifecycle
public class NodeImpl
- extends LifecycleAdapter
- implements Node, java.io.Serializable
Bean containing all the persistence data representing a node.
This implementation of the Node
interface is
Hibernate specific.
- See Also:
- Serialized Form
Fields inherited from interface org.hibernate.classic.Lifecycle |
NO_VETO, VETO |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
NodeImpl
public NodeImpl()
getNodeRef
public NodeRef getNodeRef()
- Thread-safe caching of the reference is provided
- Specified by:
getNodeRef
in interface Node
- Returns:
- Returns the reference to this node
getTypeQName
public QName getTypeQName(QNameDAO qnameDAO)
- Description copied from interface:
Node
- Convenience method to get the node's type
- Specified by:
getTypeQName
in interface Node
- Parameters:
qnameDAO
- the helper DAO
- Returns:
- the node's type QName
setTypeQName
public void setTypeQName(QNameDAO qnameDAO,
QName qname)
- Description copied from interface:
Node
- Convenience method to set the node's type
- Specified by:
setTypeQName
in interface Node
- Parameters:
qnameDAO
- the helper DAOqname
- the node's type QName
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
NodeImpl.getNodeRef()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getId
public java.lang.Long getId()
- Specified by:
getId
in interface Node
- Returns:
- Returns the auto-generated ID
getStore
public Store getStore()
- Specified by:
getStore
in interface Node
setStore
public void setStore(Store store)
- Specified by:
setStore
in interface Node
getUuid
public java.lang.String getUuid()
- Specified by:
getUuid
in interface Node
setUuid
public void setUuid(java.lang.String uuid)
- Specified by:
setUuid
in interface Node
getVersion
public java.lang.Long getVersion()
- Specified by:
getVersion
in interface Node
- Returns:
- Returns the current version number
getTransaction
public Transaction getTransaction()
- Specified by:
getTransaction
in interface Node
setTransaction
public void setTransaction(Transaction transaction)
- Specified by:
setTransaction
in interface Node
getDeleted
public boolean getDeleted()
- Specified by:
getDeleted
in interface Node
setDeleted
public void setDeleted(boolean deleted)
- Specified by:
setDeleted
in interface Node
getTypeQNameId
public java.lang.Long getTypeQNameId()
- Specified by:
getTypeQNameId
in interface Node
setTypeQNameId
public void setTypeQNameId(java.lang.Long typeQNameId)
- Specified by:
setTypeQNameId
in interface Node
getAccessControlList
public DbAccessControlList getAccessControlList()
- Specified by:
getAccessControlList
in interface Node
setAccessControlList
public void setAccessControlList(DbAccessControlList accessControlList)
- Specified by:
setAccessControlList
in interface Node
getAspects
public java.util.Set getAspects()
- Specified by:
getAspects
in interface Node
getProperties
public java.util.Map getProperties()
- Specified by:
getProperties
in interface Node
getAuditableProperties
public AuditableProperties getAuditableProperties()
- Specified by:
getAuditableProperties
in interface Node
setAuditableProperties
public void setAuditableProperties(AuditableProperties auditableProperties)
- Specified by:
setAuditableProperties
in interface Node
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.