public class DynamicSystemMaintenanceService extends java.lang.Object implements SystemMaintenanceService
| Constructor and Description |
|---|
DynamicSystemMaintenanceService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAppService(AppMaintenanceService appService,
java.util.Map<java.lang.String,java.lang.Object> properties) |
void |
configurePrivileges(Session session)
Adds app specific default privileges.
|
void |
destroy() |
void |
init() |
boolean |
prepareJcrTree(Session session)
Creates the base JCR tree structure expected for this app if necessary.
|
void |
removeAppService(AppMaintenanceService appService,
java.util.Map<java.lang.String,java.lang.Object> properties) |
void |
setRepository(Repository repository) |
void |
setUserAdminService(UserAdminService userAdminService) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultBasePathgetRequiredRolespublic void init()
public boolean prepareJcrTree(Session session)
AppMaintenanceServiceSession.hasPendingChanges() should return
false) and saves it once the changes have been done. Thus the session can be
rolled back if an exception occurs.prepareJcrTree in interface AppMaintenanceServicepublic void configurePrivileges(Session session)
AppMaintenanceServiceSession.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 necessaryconfigurePrivileges in interface AppMaintenanceServicepublic void destroy()
public void setRepository(Repository repository)
public void setUserAdminService(UserAdminService userAdminService)
public void addAppService(AppMaintenanceService appService, java.util.Map<java.lang.String,java.lang.Object> properties)
public void removeAppService(AppMaintenanceService appService, java.util.Map<java.lang.String,java.lang.Object> properties)
Copyright © 2007–2020. All rights reserved.