com.sap.workspaces.module.extension

Interface IPrincipalLifecycle

All Superinterfaces:
IWorkspacesService

Deprecated. use AbstractPrincipalLifecycle instead

public interface IPrincipalLifecycle
extends 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.


Method Summary
 void onAddPrincipal(PrincipalInfo principalInfo, IModuleContext moduleContext)
          Deprecated. Called when a principal is added to the workspace
 void onRemovePrincipal(PrincipalInfo principalInfo, IModuleContext moduleContext)
          Deprecated. Called when a principal is removed from the workspace
 

Method Detail

onAddPrincipal

void onAddPrincipal(PrincipalInfo principalInfo,
                    IModuleContext moduleContext)
Deprecated. 
Called when a principal is added to the workspace

Parameters:
principalInfo - contains the workspace role and ID of the principal
moduleContext - module context

onRemovePrincipal

void onRemovePrincipal(PrincipalInfo principalInfo,
                       IModuleContext moduleContext)
Deprecated. 
Called when a principal is removed from the workspace

Parameters:
principalInfo - contains the workspace role and ID of the principal
moduleContext - module context


Copyright 2011 SAP AG Complete Copyright Notice