|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.alfresco.repo.domain.hibernate.NodeAccessControlListDAO
public class NodeAccessControlListDAO
The Node implementation for getting and setting ACLs.
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
NodeAccessControlListDAO()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
forceCopy(NodeRef nodeRef)
|
DbAccessControlList |
getAccessControlList(NodeRef nodeRef)
Get the ACL from a node. |
DbAccessControlList |
getAccessControlList(StoreRef storeRef)
|
java.lang.Long |
getIndirectAcl(NodeRef nodeRef)
|
java.lang.Long |
getInheritedAcl(NodeRef nodeRef)
|
java.util.Map |
patchAcls()
|
void |
setAccessControlList(NodeRef nodeRef,
DbAccessControlList acl)
Set the ACL on a node. |
void |
setAccessControlList(NodeRef nodeRef,
java.lang.Long aclId)
Set the ACL on a node. |
void |
setAccessControlList(StoreRef storeRef,
DbAccessControlList acl)
|
java.util.List |
setInheritanceForChildren(NodeRef parent,
java.lang.Long inheritFrom)
Update inheritance |
void |
setNodeDaoService(NodeDaoService nodeDAOService)
|
void |
updateChangedAcls(NodeRef startingPoint,
java.util.List changes)
Update any associated ACLs |
| Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
|---|
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
| Methods inherited from class org.springframework.dao.support.DaoSupport |
|---|
afterPropertiesSet, initDao |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeAccessControlListDAO()
| Method Detail |
|---|
public void setNodeDaoService(NodeDaoService nodeDAOService)
public DbAccessControlList getAccessControlList(NodeRef nodeRef)
AccessControlListDAO
getAccessControlList in interface AccessControlListDAOnodeRef - The reference to the node.
public void setAccessControlList(NodeRef nodeRef,
DbAccessControlList acl)
AccessControlListDAO
setAccessControlList in interface AccessControlListDAOnodeRef - The reference to the node.acl - The ACL.
public void updateChangedAcls(NodeRef startingPoint,
java.util.List changes)
AccessControlListDAO
updateChangedAcls in interface AccessControlListDAO
public java.util.List setInheritanceForChildren(NodeRef parent,
java.lang.Long inheritFrom)
AccessControlListDAO
setInheritanceForChildren in interface AccessControlListDAOpublic java.lang.Long getIndirectAcl(NodeRef nodeRef)
getIndirectAcl in interface AccessControlListDAOpublic java.lang.Long getInheritedAcl(NodeRef nodeRef)
getInheritedAcl in interface AccessControlListDAOpublic void forceCopy(NodeRef nodeRef)
forceCopy in interface AccessControlListDAOpublic java.util.Map patchAcls()
patchAcls in interface AccessControlListDAOpublic DbAccessControlList getAccessControlList(StoreRef storeRef)
getAccessControlList in interface AccessControlListDAO
public void setAccessControlList(StoreRef storeRef,
DbAccessControlList acl)
setAccessControlList in interface AccessControlListDAO
public void setAccessControlList(NodeRef nodeRef,
java.lang.Long aclId)
AccessControlListDAO
setAccessControlList in interface AccessControlListDAOnodeRef - The reference to the node.aclId - The ID of the ACL entity.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||