org.alfresco.repo.domain.hibernate
Class DMPermissionsDaoComponentImpl

java.lang.Object
  extended by org.alfresco.repo.domain.hibernate.AbstractPermissionsDaoComponentImpl
      extended by org.alfresco.repo.domain.hibernate.DMPermissionsDaoComponentImpl
All Implemented Interfaces:
PermissionsDaoComponent, TransactionalDao

public class DMPermissionsDaoComponentImpl
extends AbstractPermissionsDaoComponentImpl

Manage creation and deletion of ACL entries for the new DM ACL implementation


Field Summary
 
Fields inherited from class org.alfresco.repo.domain.hibernate.AbstractPermissionsDaoComponentImpl
aclDaoComponent, INHERIT_PERMISSIONS_DEFAULT
 
Constructor Summary
DMPermissionsDaoComponentImpl()
           
 
Method Summary
protected  org.alfresco.repo.domain.hibernate.AbstractPermissionsDaoComponentImpl.CreationReport createAccessControlList(NodeRef nodeRef, boolean inherit, DbAccessControlList existing)
           
 void deletePermissions(NodeRef nodeRef)
          Delete the access control list and all access control entries for the node.
static SimpleAccessControlListProperties getDefaultProperties()
          Get the default ACL properties
 
Methods inherited from class org.alfresco.repo.domain.hibernate.AbstractPermissionsDaoComponentImpl
beforeCommit, deletePermission, deletePermission, deletePermissions, deletePermissions, deletePermissions, deletePermissions, equals, flush, getAccessControlList, getAccessControlListProperties, getACLDAO, getAclDaoComponent, getInheritParentPermissions, getMutableAccessControlList, getPermissions, getPermissions, hashCode, isDirty, setAclDaoComponent, setDefaultACLDAO, setInheritParentPermissions, setPermission, setPermission, setPermission, setPermission, setProtocolToACLDAO
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DMPermissionsDaoComponentImpl

public DMPermissionsDaoComponentImpl()
Method Detail

createAccessControlList

protected org.alfresco.repo.domain.hibernate.AbstractPermissionsDaoComponentImpl.CreationReport createAccessControlList(NodeRef nodeRef,
                                                                                                                        boolean inherit,
                                                                                                                        DbAccessControlList existing)
Specified by:
createAccessControlList in class AbstractPermissionsDaoComponentImpl

deletePermissions

public void deletePermissions(NodeRef nodeRef)
Description copied from interface: PermissionsDaoComponent
Delete the access control list and all access control entries for the node.

Parameters:
nodeRef - the node for which to delete permission

getDefaultProperties

public static SimpleAccessControlListProperties getDefaultProperties()
Get the default ACL properties

Returns:
the default properties


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