|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SpacePermissionDao
| Method Summary | |
|---|---|
java.util.List |
findAllGlobalPermissions()
Retreives all global permissions |
java.util.List |
findAllGlobalPermissionsForType(java.lang.String permissionType)
Retrieves all global permissions of type permissionType |
java.util.List |
findPermissionsForGroup(java.lang.String group)
Retrieves all permissions for group |
java.util.List |
findPermissionsForSpace(Space space)
Retrieves all permissions for space |
java.util.List |
findPermissionsForUser(java.lang.String userName)
Retrieves all permissions for userName |
java.util.List |
findPermissionTypes(SpacePermission permission)
Find all permission types matching the combination of (space, user, group) in permission. |
SpacePermission |
getById(long id)
Retrieves a single SpacePermission by its ID |
boolean |
hasPermission(SpacePermission permission)
Determines whether permission exists in the data store |
void |
removePermissionsForGroup(java.lang.String group)
Removes all permissions for group |
void |
removePermissionsForSpace(Space space)
Removes all permissions in space |
void |
removePermissionsForUser(java.lang.String userName)
Removes all permissions for userName |
| Methods inherited from interface com.atlassian.confluence.core.persistence.VersionedObjectDao |
|---|
findLatestVersionsCount, findLatestVersionsIterator, save |
| Methods inherited from interface bucket.core.persistence.ObjectDao |
|---|
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw |
| Method Detail |
|---|
SpacePermission getById(long id)
id - the SpacePermission to retrieve
boolean hasPermission(SpacePermission permission)
permission - the SpacePermission to look up
java.util.List findAllGlobalPermissions()
java.util.List findAllGlobalPermissionsForType(java.lang.String permissionType)
permissionType - the SpacePermission type to look up
java.util.List findPermissionsForUser(java.lang.String userName)
userName - the username to look up
java.util.List findPermissionsForGroup(java.lang.String group)
group - the group to look up
java.util.List findPermissionsForSpace(Space space)
space - the Space to look up
void removePermissionsForUser(java.lang.String userName)
userName - the User whose permissions will be removedvoid removePermissionsForGroup(java.lang.String group)
group - the Group whose permissions will be removedvoid removePermissionsForSpace(Space space)
space - the Space that permissions will be removed fromjava.util.List findPermissionTypes(SpacePermission permission)
permission - the permission to look up
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||