public interface AppMaintenanceService
Modifier and Type | Method and Description |
---|---|
void |
configurePrivileges(Session session)
Adds app specific default privileges.
|
java.lang.String |
getDefaultBasePath() |
default 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.
|
default java.util.List<java.lang.String> getRequiredRoles()
boolean prepareJcrTree(Session session)
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.void configurePrivileges(Session session)
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 necessaryjava.lang.String getDefaultBasePath()
Copyright © 2007–2020. All rights reserved.