|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.security.administrators.PermissionsAdministratorBuilder
public class PermissionsAdministratorBuilder
Builds the various permisssions administrators for the permissions actions. It injects the required managers and fields.
Constructor Summary | |
---|---|
PermissionsAdministratorBuilder()
|
Method Summary | |
---|---|
EditPermissionsAdministrator |
buildEditGlobalPermissionAdministrator(com.atlassian.user.User user)
|
EditPermissionsAdministrator |
buildEditGlobalPermissionAdministrator(com.atlassian.user.User user,
java.util.List<java.lang.String> usersToAdd,
java.util.List<java.lang.String> groupsToAdd)
Returns a global edit permissions administrator and populates its fields. |
EditPermissionsAdministrator |
buildEditSpaceAdministrator(Space space,
com.atlassian.user.User user,
java.util.List<java.lang.String> usersToAdd,
java.util.List<java.lang.String> groupsToAdd)
Returns a space edit permissions administrator and populates its fields. |
PermissionsAdministrator |
buildGlobalPermissionAdministrator()
Returns a global permissions administrator (for viewiing) and populates its fields. |
PermissionsAdministrator |
buildSpacePermissionAdministrator(Space space)
Returns a space permissions administrator (for viewiing) and populates its fields. |
void |
setSearchEntitiesManager(SearchEntitiesManager searchEntitiesManager)
|
void |
setSetSpacePermissionChecker(SetSpacePermissionChecker setSpacePermissionChecker)
|
void |
setSettingsManager(SettingsManager settingsManager)
Deprecated. since 5.1. |
void |
setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
|
void |
setUserChecker(UserChecker userChecker)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PermissionsAdministratorBuilder()
Method Detail |
---|
public void setSettingsManager(SettingsManager settingsManager)
public void setSetSpacePermissionChecker(SetSpacePermissionChecker setSpacePermissionChecker)
public void setSearchEntitiesManager(SearchEntitiesManager searchEntitiesManager)
public void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
public void setUserChecker(UserChecker userChecker)
public EditPermissionsAdministrator buildEditSpaceAdministrator(Space space, com.atlassian.user.User user, java.util.List<java.lang.String> usersToAdd, java.util.List<java.lang.String> groupsToAdd)
space
- space to administeruser
- current logged in userusersToAdd
- list of users to add permissions togroupsToAdd
- list of groups to add permissions to
public EditPermissionsAdministrator buildEditGlobalPermissionAdministrator(com.atlassian.user.User user, java.util.List<java.lang.String> usersToAdd, java.util.List<java.lang.String> groupsToAdd)
user
- current logged in userusersToAdd
- list of users to add permissions togroupsToAdd
- list of groups to add permissions to
public EditPermissionsAdministrator buildEditGlobalPermissionAdministrator(com.atlassian.user.User user)
public PermissionsAdministrator buildGlobalPermissionAdministrator()
public PermissionsAdministrator buildSpacePermissionAdministrator(Space space)
space
- space to administer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |