com.sap.workspaces.workspace

Interface IApproval

All Superinterfaces:
IWorkspacesService

public interface IApproval
extends IWorkspacesService

Use this service if you implement approval of workspace creation In this case, a newly created shared workspace is set to the Status.PENDING status, and becomes available only after approval

Since:
1.1

Method Summary
 void approve(boolean approve, com.sap.security.api.IUser approver, IWorkspace workspace, String reason)
          Call to approve or reject a newly created workspace
 

Method Detail

approve

void approve(boolean approve,
             com.sap.security.api.IUser approver,
             IWorkspace workspace,
             String reason)
             throws WorkspacesRuntimeException
Call to approve or reject a newly created workspace

Parameters:
approve - A Boolean indicating whether to approve or reject the workspace
approver - The approving user
workspace - the newly created workspace
reason - the reason to approve/reject (optional)
Throws:
WorkspacesRuntimeException


Copyright 2011 SAP AG Complete Copyright Notice