com.sap.workspaces.module.extension
Class AbstractPrincipalLifecycle
java.lang.Object
com.sap.workspaces.module.extension.AbstractPrincipalLifecycle
- All Implemented Interfaces:
- IWorkspacesService
public abstract class AbstractPrincipalLifecycle
- extends Object
- implements IWorkspacesService
Provides callback methods that are invoked when a principal (role, user or group) is added to or removed
from the workspace in which the module is running.
- Since:
- 1.1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPrincipalLifecycle
public AbstractPrincipalLifecycle()
onAddPrincipal
public abstract void onAddPrincipal(PrincipalInfo principalInfo,
IModuleContext moduleContext)
- Called when a principal is added to the workspace
- Parameters:
principalInfo - contains the workspace role and ID of the principalmoduleContext - the module context
onRemovePrincipal
public abstract void onRemovePrincipal(PrincipalInfo principalInfo,
IModuleContext moduleContext)
- Called when a principal is removed from the workspace
- Parameters:
principalInfo - contains the workspace role and ID of the principalmoduleContext - the module context
Copyright 2011 SAP AG Complete Copyright Notice