com.sap.portal.wpc.api.content

Interface IWPCContentHandling

All Superinterfaces:
IService

public interface IWPCContentHandling
extends IService

Provides the following content handling capabilities: Enables to notify on content modifications Enables approvers to handle pending approval requests


Field Summary
static String KEY
           
 
Method Summary
 Map<String,Object> approve(com.sap.security.api.IUser user, String objectID)
          Notifies WPC that a page submitted for approval has been approved
 void notifyOnContentModification(com.sap.security.api.IUser user, String objectID, String contentHandlerID)
          Notifies WPC that the content of an existing content item was modified
 Map<String,Object> reject(com.sap.security.api.IUser user, String objectID)
          Notifies WPC that a page submitted for approval has been rejected
 
Methods inherited from interface com.sapportals.portal.prt.service.IService
afterInit, configure, destroy, getContext, getKey, init, release
 

Field Detail

KEY

static final String KEY
See Also:
Constant Field Values
Method Detail

notifyOnContentModification

void notifyOnContentModification(com.sap.security.api.IUser user,
                                 String objectID,
                                 String contentHandlerID)
Notifies WPC that the content of an existing content item was modified

Parameters:
user - the user who is editing the page
objectID - the design time ID of the object that was modified
contentHandlerID - the ID of the content handler object

approve

Map<String,Object> approve(com.sap.security.api.IUser user,
                           String objectID)
                           throws ApprovalException
Notifies WPC that a page submitted for approval has been approved

Parameters:
user - the user who is about to approve the page
objectID - the design time ID of the object to be approved
Returns:
a Map containing parameters that are relevant for use in approval related notifications
Throws:
ApprovalException

reject

Map<String,Object> reject(com.sap.security.api.IUser user,
                          String objectID)
                          throws ApprovalException
Notifies WPC that a page submitted for approval has been rejected

Parameters:
user - the user who is about to reject the page
objectID - the design time ID of the object to be rejected
Returns:
a Map containing parameters that are relevant for use in approval related notifications
Throws:
ApprovalException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-WPC [sap.com] tc/ep/wpc/api api EP-PIN-WPC


Copyright 2015 SAP AG Complete Copyright Notice