Class NodeEntity

    • Constructor Detail

      • NodeEntity

        public NodeEntity()
        Required default constructor
    • Method Detail

      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class java.lang.Object
        Throws:
        java.lang.CloneNotSupportedException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

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

        public NodeVersionKey getNodeVersionKey()
        Description copied from interface: Node
        Helper method to get a key that includes the node and its current version number
        Specified by:
        getNodeVersionKey in interface Node
      • 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​(QNameDAO qnameDAO)
        Specified by:
        getNodeStatus in interface Node
      • getNodePair

        public org.alfresco.util.Pair<java.lang.Long,​org.alfresco.service.cmr.repository.NodeRef> getNodePair()
        Specified by:
        getNodePair in interface Node
      • getDeleted

        public boolean getDeleted​(QNameDAO qnameDAO)
        Description copied from interface: Node
        Checks the type of the node to determine if the node is deleted
        Specified by:
        getDeleted in interface Node
        Parameters:
        qnameDAO - DAO to work out type IDs
        Returns:
        true if the node is ContentModel.TYPE_DELETED
      • 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)
      • 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)
      • setAclId

        public void setAclId​(java.lang.Long aclId)
      • getShardKey

        public java.lang.String getShardKey()
        Specified by:
        getShardKey in interface Node
      • getExplicitShardId

        public java.lang.Integer getExplicitShardId()
        Specified by:
        getExplicitShardId in interface Node
      • setShardKey

        public void setShardKey​(java.lang.String shardKey)
      • setExplicitShardId

        public void setExplicitShardId​(java.lang.Integer explicitShardId)