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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanAdminister(ConfluenceUser user, PersonalInformation target) booleancanCreate(ConfluenceUser user, Object container) booleancanCreateInTarget(ConfluenceUser user, Class typeToCreate) booleancanEdit(ConfluenceUser user, PersonalInformation target) booleancanExport(ConfluenceUser user, PersonalInformation target) booleancanRemove(ConfluenceUser user, PersonalInformation target) booleancanSetPermissions(ConfluenceUser user, PersonalInformation target) booleancanView(ConfluenceUser user) booleancanView(ConfluenceUser user, PersonalInformation target) voidsetUserPermissionsDelegate(UserPermissionsDelegate userPermissionsDelegate) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
canViewin interfacePermissionDelegate<PersonalInformation>- Returns:
- true if user can view the specified target.
-
canView
- Specified by:
canViewin interfacePermissionDelegate<PersonalInformation>- Returns:
- true if the user can view all instances of targets handled by this permission delegate
-
canEdit
- Specified by:
canEditin interfacePermissionDelegate<PersonalInformation>
-
canSetPermissions
- Specified by:
canSetPermissionsin interfacePermissionDelegate<PersonalInformation>
-
canRemove
- Specified by:
canRemovein interfacePermissionDelegate<PersonalInformation>
-
canExport
- Specified by:
canExportin interfacePermissionDelegate<PersonalInformation>
-
canAdminister
- Specified by:
canAdministerin interfacePermissionDelegate<PersonalInformation>
-
canCreate
- Specified by:
canCreatein interfacePermissionDelegate<PersonalInformation>- Returns:
- true if the specified user can create new instances of the target type in the specified container.
-
canCreateInTarget
- Specified by:
canCreateInTargetin 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
-