Class PersonalInformationPermissionsDelegate
java.lang.Object
com.atlassian.confluence.security.delegate.PersonalInformationPermissionsDelegate
- All Implemented Interfaces:
PermissionDelegate<PersonalInformation>
public class PersonalInformationPermissionsDelegate
extends Object
implements PermissionDelegate<PersonalInformation>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canAdminister
(ConfluenceUser user, PersonalInformation target) boolean
canCreate
(ConfluenceUser user, Object container) boolean
canCreateInTarget
(ConfluenceUser user, Class typeToCreate) boolean
canEdit
(ConfluenceUser user, PersonalInformation target) boolean
canExport
(ConfluenceUser user, PersonalInformation target) boolean
canRemove
(ConfluenceUser user, PersonalInformation target) boolean
canSetPermissions
(ConfluenceUser user, PersonalInformation target) boolean
canView
(ConfluenceUser user) boolean
canView
(ConfluenceUser user, PersonalInformation target) void
setUserPermissionsDelegate
(UserPermissionsDelegate userPermissionsDelegate) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.security.PermissionDelegate
canAdminister, canCreate, canCreateInTarget, canEdit, canExport, canMove, canMove, canRemove, canRemoveHierarchy, canRemoveHierarchy, canSetPermissions, canView, canView
-
Constructor Details
-
PersonalInformationPermissionsDelegate
public PersonalInformationPermissionsDelegate()
-
-
Method Details
-
canView
- Specified by:
canView
in interfacePermissionDelegate<PersonalInformation>
- Returns:
- true if user can view the specified target.
-
canView
- Specified by:
canView
in interfacePermissionDelegate<PersonalInformation>
- Returns:
- true if the user can view all instances of targets handled by this permission delegate
-
canEdit
- Specified by:
canEdit
in interfacePermissionDelegate<PersonalInformation>
-
canSetPermissions
- Specified by:
canSetPermissions
in interfacePermissionDelegate<PersonalInformation>
-
canRemove
- Specified by:
canRemove
in interfacePermissionDelegate<PersonalInformation>
-
canExport
- Specified by:
canExport
in interfacePermissionDelegate<PersonalInformation>
-
canAdminister
- Specified by:
canAdminister
in interfacePermissionDelegate<PersonalInformation>
-
canCreate
- Specified by:
canCreate
in interfacePermissionDelegate<PersonalInformation>
- Returns:
- true if the specified user can create new instances of the target type in the specified container.
-
canCreateInTarget
- Specified by:
canCreateInTarget
in interfacePermissionDelegate<PersonalInformation>
- Parameters:
user
- the user performing the createtypeToCreate
- the class of the entity to create- Returns:
- true if the specified user can create new instances of the specified typeToCreate within instances of target handled by this PermissionDelegate.
-
setUserPermissionsDelegate
-