public class NoopInternalUserPermissionDao extends Object implements com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
Constructor and Description |
---|
NoopInternalUserPermissionDao() |
Modifier and Type | Method and Description |
---|---|
boolean |
exists(com.atlassian.crowd.model.permission.InternalGrantedPermission permission) |
List<com.atlassian.crowd.model.permission.InternalGrantedPermission> |
findAllPermissionsForGroup(String groupName,
long directoryId) |
List<com.atlassian.crowd.manager.permission.PermittedGroup> |
findHighestPermissionPerGroup(int start,
int limit) |
List<com.atlassian.crowd.manager.permission.PermittedGroup> |
findHighestPermissionPerGroupByPrefix(String prefix,
int start,
int limit) |
Collection<com.atlassian.crowd.model.application.GroupMapping> |
getGroupMappingsWithGrantedPermission(com.atlassian.crowd.model.permission.UserPermission permission) |
void |
grant(com.atlassian.crowd.model.permission.InternalGrantedPermission permission) |
boolean |
revoke(com.atlassian.crowd.model.permission.InternalGrantedPermission permission) |
public boolean exists(com.atlassian.crowd.model.permission.InternalGrantedPermission permission)
exists
in interface com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
public boolean revoke(com.atlassian.crowd.model.permission.InternalGrantedPermission permission)
revoke
in interface com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
public void grant(com.atlassian.crowd.model.permission.InternalGrantedPermission permission)
grant
in interface com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
public Collection<com.atlassian.crowd.model.application.GroupMapping> getGroupMappingsWithGrantedPermission(com.atlassian.crowd.model.permission.UserPermission permission)
getGroupMappingsWithGrantedPermission
in interface com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
public List<com.atlassian.crowd.manager.permission.PermittedGroup> findHighestPermissionPerGroupByPrefix(String prefix, int start, int limit)
findHighestPermissionPerGroupByPrefix
in interface com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
public List<com.atlassian.crowd.manager.permission.PermittedGroup> findHighestPermissionPerGroup(int start, int limit)
findHighestPermissionPerGroup
in interface com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
Copyright © 2003–2015 Atlassian. All rights reserved.