|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.security.delegate.UserPermissionsDelegate
public class UserPermissionsDelegate
Class for checking operations on users.
| Constructor Summary | |
|---|---|
UserPermissionsDelegate()
|
|
| Method Summary | |
|---|---|
boolean |
canAdminister(com.atlassian.user.User user,
java.lang.Object target)
Unsupported. |
boolean |
canCreate(com.atlassian.user.User user,
java.lang.Object container)
Determines if the specified user has permissions to create users |
boolean |
canEdit(com.atlassian.user.User user,
java.lang.Object target)
Determines if the specified user can edit the target user. |
boolean |
canExport(com.atlassian.user.User user,
java.lang.Object target)
Unsupported. |
boolean |
canRemove(com.atlassian.user.User user,
java.lang.Object target)
Determines if the specified user can remove the target user. |
boolean |
canSetPermissions(com.atlassian.user.User user,
java.lang.Object target)
Determines if the specified user can add new permissions or remove existing permissions on the target user. |
boolean |
canView(com.atlassian.user.User user,
java.lang.Object target)
Determines if the specified user can view the target user. |
void |
setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserPermissionsDelegate()
| Method Detail |
|---|
public boolean canView(com.atlassian.user.User user,
java.lang.Object target)
canView in interface PermissionDelegate
public boolean canEdit(com.atlassian.user.User user,
java.lang.Object target)
canEdit in interface PermissionDelegate
public boolean canRemove(com.atlassian.user.User user,
java.lang.Object target)
canRemove in interface PermissionDelegate
public boolean canCreate(com.atlassian.user.User user,
java.lang.Object container)
canCreate in interface PermissionDelegatecontainer - not required. Null can be specified here as it is not used at the moment.
public boolean canExport(com.atlassian.user.User user,
java.lang.Object target)
canExport in interface PermissionDelegate
public boolean canSetPermissions(com.atlassian.user.User user,
java.lang.Object target)
canSetPermissions in interface PermissionDelegate
public boolean canAdminister(com.atlassian.user.User user,
java.lang.Object target)
canAdminister in interface PermissionDelegatepublic void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||