public class PeopleMaintenanceService extends AbstractMaintenanceService
Constructor and Description |
---|
PeopleMaintenanceService() |
Modifier and Type | Method and Description |
---|---|
protected void |
addOfficeGroups() |
void |
configurePrivileges(Session session)
Adds app specific default privileges.
|
java.lang.String |
getDefaultBasePath() |
java.util.List<java.lang.String> |
getRequiredRoles()
The system roles that must be available in the system.
|
boolean |
prepareJcrTree(Session session)
Creates the base JCR tree structure expected for this app if necessary.
|
addCoworkersToGroup, addManagersToGroup, destroy, enumToDns, init, makeSureRolesExists, makeSureRolesExists, setRepository, setUserAdminService
public java.util.List<java.lang.String> getRequiredRoles()
AppMaintenanceService
protected void addOfficeGroups()
addOfficeGroups
in class AbstractMaintenanceService
public boolean prepareJcrTree(Session session)
AppMaintenanceService
Session.hasPendingChanges()
should return
false) and saves it once the changes have been done. Thus the session can be
rolled back if an exception occurs.public void configurePrivileges(Session session)
AppMaintenanceService
Session.hasPendingChanges()
should return
false} and saves it once the changes have been done. Thus the session can be
rolled back if an exception occurs.
Warning: no check is done and corresponding privileges are always added, so
only call this when necessarypublic java.lang.String getDefaultBasePath()
Copyright © 2007–2020. All rights reserved.