Class NoopInternalUserPermissionDao

  • All Implemented Interfaces:
    com.atlassian.crowd.dao.permission.InternalUserPermissionDAO

    public class NoopInternalUserPermissionDao
    extends Object
    implements com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
    Crowd libraries currently need an implementation of this, but it's only applicable for Crowd the product.

    As far as this implementation is concerned, nobody has access to change anything in Crowd.

    Since:
    7.20.0
    • Constructor Detail

      • NoopInternalUserPermissionDao

        public NoopInternalUserPermissionDao()
    • Method Detail

      • exists

        public boolean exists​(com.atlassian.crowd.model.permission.InternalGrantedPermission permission)
        Specified by:
        exists in interface com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
      • revoke

        public boolean revoke​(com.atlassian.crowd.model.permission.InternalGrantedPermission permission)
        Specified by:
        revoke in interface com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
      • revokeAll

        public int revokeAll​(com.atlassian.crowd.model.application.DirectoryMapping directoryMapping)
        Specified by:
        revokeAll in interface com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
      • grant

        public void grant​(com.atlassian.crowd.model.permission.InternalGrantedPermission permission)
        Specified by:
        grant in interface com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
      • getGrantedPermissions

        public Collection<com.atlassian.crowd.manager.permission.PermittedGroup> getGrantedPermissions​(com.atlassian.crowd.model.permission.UserPermission permission)
        Specified by:
        getGrantedPermissions in interface com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
      • getGrantedPermissions

        public Collection<com.atlassian.crowd.manager.permission.PermittedGroup> getGrantedPermissions​(com.atlassian.crowd.model.permission.UserPermission permission,
                                                                                                       com.atlassian.crowd.model.application.Application application)
        Specified by:
        getGrantedPermissions in interface com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
      • findHighestPermissionPerGroupByPrefix

        public List<com.atlassian.crowd.manager.permission.PermittedGroup> findHighestPermissionPerGroupByPrefix​(String prefix,
                                                                                                                 int start,
                                                                                                                 int limit)
        Specified by:
        findHighestPermissionPerGroupByPrefix in interface com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
      • findHighestPermissionPerGroup

        public List<com.atlassian.crowd.manager.permission.PermittedGroup> findHighestPermissionPerGroup​(int start,
                                                                                                         int limit)
        Specified by:
        findHighestPermissionPerGroup in interface com.atlassian.crowd.dao.permission.InternalUserPermissionDAO
      • findAllPermissionsForGroup

        public List<com.atlassian.crowd.model.permission.InternalGrantedPermission> findAllPermissionsForGroup​(String groupName,
                                                                                                               long directoryId)
        Specified by:
        findAllPermissionsForGroup in interface com.atlassian.crowd.dao.permission.InternalUserPermissionDAO