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
|
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 |
KEY
static final String KEY
- See Also:
- Constant Field Values
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 pageobjectID - the design time ID of the object that was modifiedcontentHandlerID - 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 pageobjectID - 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 pageobjectID - 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
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