SAP NetWeaver '04

com.sapportals.wcm.service.actioninbox
Interface IActionInboxItemProducer

[contained in: com.sap.km.cm.service.base.par - km.shared.service.actioninbox_api.jar]
public interface IActionInboxItemProducer

A IActionInboxProducer sends IActionInboxNotifications to the action inbox.

Copyright 2004 SAP AG


Method Summary
 boolean executeItemAction(IResourceContext context, IActionInboxAction action, IActionInboxItem item)
          Execute an action for an item.
 java.lang.String getID()
          Get the unique ID of the producer.
 java.lang.String getItemDescription(IResourceContext context, IActionInboxItem item)
          Provides a description for the given item.
 void onDeleteItem(IActionInboxItem item)
          Notifiy about a deleted action inbox item.
 

Method Detail

getID

public java.lang.String getID()
Get the unique ID of the producer.
Returns:
a String with the unique ID for this producer.

getItemDescription

public java.lang.String getItemDescription(IResourceContext context,
                                           IActionInboxItem item)
Provides a description for the given item.
Parameters:
context - a IResourceContext with the locale of the preferred language to get the description for and the context of the current user to get the description for.
Returns:
a String with the description for the given item.

executeItemAction

public boolean executeItemAction(IResourceContext context,
                                 IActionInboxAction action,
                                 IActionInboxItem item)
                          throws WcmException
Execute an action for an item.
Parameters:
context - the IResourceContext with the user's context who triggered the execution of the action.
action - the IActionInboxAction to perform.
item - the IActionInboxItem to perform the action for.
Returns:
a boolean true if the action was performed, false if this action is not known by the producer.
Throws:
WcmException - if an error occured.

onDeleteItem

public void onDeleteItem(IActionInboxItem item)
Notifiy about a deleted action inbox item.
Parameters:
item - the IActionInboxItem which is about to be deleted.

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.