public class PersonalInformationPermissionsDelegate extends Object implements PermissionDelegate<PersonalInformation>
Constructor and Description |
---|
PersonalInformationPermissionsDelegate() |
Modifier and Type | Method and Description |
---|---|
boolean |
canAdminister(com.atlassian.user.User user,
PersonalInformation target) |
boolean |
canCreate(com.atlassian.user.User user,
Object container) |
boolean |
canCreateInTarget(com.atlassian.user.User user,
Class typeToCreate) |
boolean |
canEdit(com.atlassian.user.User user,
PersonalInformation target) |
boolean |
canExport(com.atlassian.user.User user,
PersonalInformation target) |
boolean |
canRemove(com.atlassian.user.User user,
PersonalInformation target) |
boolean |
canSetPermissions(com.atlassian.user.User user,
PersonalInformation target) |
boolean |
canView(com.atlassian.user.User user) |
boolean |
canView(com.atlassian.user.User user,
PersonalInformation target) |
void |
setUserPermissionsDelegate(UserPermissionsDelegate userPermissionsDelegate) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canMove, canRemoveHierarchy
public PersonalInformationPermissionsDelegate()
public boolean canView(com.atlassian.user.User user, PersonalInformation target)
canView
in interface PermissionDelegate<PersonalInformation>
public boolean canView(com.atlassian.user.User user)
canView
in interface PermissionDelegate<PersonalInformation>
public boolean canEdit(com.atlassian.user.User user, PersonalInformation target)
canEdit
in interface PermissionDelegate<PersonalInformation>
public boolean canSetPermissions(com.atlassian.user.User user, PersonalInformation target)
canSetPermissions
in interface PermissionDelegate<PersonalInformation>
public boolean canRemove(com.atlassian.user.User user, PersonalInformation target)
canRemove
in interface PermissionDelegate<PersonalInformation>
public boolean canExport(com.atlassian.user.User user, PersonalInformation target)
canExport
in interface PermissionDelegate<PersonalInformation>
public boolean canAdminister(com.atlassian.user.User user, PersonalInformation target)
canAdminister
in interface PermissionDelegate<PersonalInformation>
public boolean canCreate(com.atlassian.user.User user, Object container)
canCreate
in interface PermissionDelegate<PersonalInformation>
public boolean canCreateInTarget(com.atlassian.user.User user, Class typeToCreate)
canCreateInTarget
in interface PermissionDelegate<PersonalInformation>
user
- the user performing the createtypeToCreate
- the class of the entity to createpublic void setUserPermissionsDelegate(UserPermissionsDelegate userPermissionsDelegate)
Copyright © 2003–2020 Atlassian. All rights reserved.