1 17 package org.alfresco.repo.security.permissions.impl; 18 19 import org.alfresco.repo.security.permissions.NodePermissionEntry; 20 import org.alfresco.repo.security.permissions.PermissionEntry; 21 import org.alfresco.repo.security.permissions.PermissionReference; 22 import org.alfresco.service.cmr.repository.NodeRef; 23 24 29 public interface PermissionsDAO 30 { 31 37 public NodePermissionEntry getPermissions(NodeRef nodeRef); 38 39 45 public void deletePermissions(NodeRef nodeRef); 46 47 53 public void deletePermissions(NodePermissionEntry nodePermissionEntry); 54 55 56 62 public void deletePermissions(PermissionEntry permissionEntry); 63 64 74 public void deletePermissions(NodeRef nodeRef, String authority, PermissionReference perm, boolean allow); 75 76 86 public void setPermission(NodeRef nodeRef, String authority, PermissionReference perm, boolean allow); 87 88 93 public void setPermission(PermissionEntry permissionEntry); 94 95 100 public void setPermission(NodePermissionEntry nodePermissionEntry); 101 102 108 public void setInheritParentPermissions(NodeRef nodeRef, boolean inheritParentPermissions); 109 110 116 public boolean getInheritParentPermissions(NodeRef nodeRef); 117 118 124 public void clearPermission(NodeRef nodeRef, String authority); 125 126 130 public void deleteAllPermissionsForAuthority(String authority); 131 132 } 133 | Popular Tags |