|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IActionInboxService
The IActionInboxService stores
IActionInboxNotificationss grouped by
IActionInboxCategory as IActionInboxItems into
IActionInboxItemCategorys.
A IActionInboxCategory represents the different types of the
IActionInboxNotifications. The
IActionInboxNotifications are like 'semantic events' which are
send by the IActionInboxItemProducers.
A IActionInboxNotification is stored as an
ActionInboxItem in a user's
IActionInboxItemCategory.
Changes between major releases 7.0 and 7.X
Added methods: .
getItemCategories(IResourceContext context,com.sap.security.api.IPrincipal owner),
getItemCategories(com.sapportals.wcm.repository.IResourceContext, com.sap.security.api.IPrincipal, java.lang.String[]),
getItemCategory(com.sapportals.wcm.repository.IResourceContext, com.sap.security.api.IPrincipal, com.sapportals.wcm.service.actioninbox.IActionInboxCategory),
getItemCategory(com.sapportals.wcm.repository.IResourceContext, com.sap.security.api.IPrincipal, java.lang.String),
getItemsFromIDs(com.sapportals.wcm.repository.IResourceContext, java.lang.String, com.sap.security.api.IPrincipal, java.lang.String[]),
send(com.sap.security.api.IPrincipal, com.sapportals.wcm.service.actioninbox.IActionInboxItemProducer, com.sapportals.wcm.service.actioninbox.IActionInboxNotification),
sendToUsers(com.sap.security.api.IPrincipal, com.sapportals.wcm.service.actioninbox.IActionInboxItemProducer, com.sapportals.wcm.service.actioninbox.IActionInboxNotification, boolean),
setItemsDone(com.sapportals.wcm.service.actioninbox.IActionInboxItemProducer, java.lang.String, com.sap.security.api.IUser, java.lang.String, java.lang.String[]),
setItemsDone(com.sapportals.wcm.repository.IResourceContext, com.sap.security.api.IUser, java.lang.String, com.sapportals.wcm.service.actioninbox.IActionInboxItemList),
Copyright 2004 SAP AG
| Method Summary | |
|---|---|
IActionInboxItemList |
deleteItems(IActionInboxItemProducer producer,
String categoryID,
String[] itemIDs)
Delete several existing action inbox items. |
IActionInboxItemList |
deleteItems(IResourceContext context,
IActionInboxItemList items)
Delete several existing action inbox items. |
IActionInboxItemList |
executeItemActions(IResourceContext context,
String actionName,
IActionInboxItemList items)
execute an action on several existing action inbox items. |
IActionInboxCategoryList |
getCategories()
Get the categories. |
IActionInboxCategory |
getCategory(String categoryID)
Get a specific category by id. |
IActionInboxItemCategoryList |
getItemCategories(IResourceContext context,
IPrincipal owner)
Get all item categories for a specific user/group/role. |
IActionInboxItemCategoryList |
getItemCategories(IResourceContext context,
IPrincipal owner,
String[] categoryIDs)
Get specific item categories for a specific user/group/role. |
IActionInboxItemCategoryList |
getItemCategories(IResourceContext context,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner)
Deprecated. As of NetWeaver 7.1, replaced by getItemCategories(IResourceContext,com.sap.security.api.IPrincipal) |
IActionInboxItemCategoryList |
getItemCategories(IResourceContext context,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner,
String[] categoryIDs)
Deprecated. As of NetWeaver 7.1, replaced by getItemCategories(IResourceContext,com.sap.security.api.IPrincipal,String[]) |
IActionInboxItemCategory |
getItemCategory(IResourceContext context,
IPrincipal owner,
IActionInboxCategory category)
Get a specific item category for a specific user/group/role. |
IActionInboxItemCategory |
getItemCategory(IResourceContext context,
IPrincipal owner,
String categoryID)
Get a specific item category for a specific user/group/role. |
IActionInboxItemCategory |
getItemCategory(IResourceContext context,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner,
IActionInboxCategory category)
Deprecated. As of NetWeaver 7.1, replaced by getItemCategory(IResourceContext,com.sap.security.api.IPrincipal,IActionInboxCategory) |
IActionInboxItemCategory |
getItemCategory(IResourceContext context,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner,
String categoryID)
Deprecated. As of NetWeaver 7.1, replaced by getItemCategory(IResourceContext,com.sap.security.api.IPrincipal,String) |
IActionInboxItemList |
getItemsFromIDs(IResourceContext context,
String categoryID,
IPrincipal owner,
String[] itemIDs)
Get a list of items for a given array of ids. |
IActionInboxItemList |
getItemsFromIDs(IResourceContext context,
String categoryID,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner,
String[] itemIDs)
Deprecated. As of NetWeaver 7.1, replaced by getItemsFromIDs(IResourceContext,String,com.sap.security.api.IPrincipal,String[]) |
IActionInboxCategory |
registerProducer(IActionInboxItemProducer itemProducer,
String categoryID)
Register an item producer to a category at the IActionInboxService. |
IActionInboxItemList |
send(Collection recipients,
IActionInboxItemProducer producer,
IActionInboxNotification notification)
Store a notification in several user/group/role's inboxes for a given category as several items (same as send(recipients, producer, notification, false)). |
IActionInboxItemList |
send(Collection recipients,
IActionInboxItemProducer producer,
IActionInboxNotification notification,
boolean isLinked)
Store a notification in several user/group/role's inboxes for a given category. |
IActionInboxItemList |
send(IPrincipal recipient,
IActionInboxItemProducer producer,
IActionInboxNotification notification)
Store a notification in a user/group/role's inbox for a given category. |
IActionInboxItemList |
send(com.sapportals.portal.security.usermanagement.IUMPrincipal recipient,
IActionInboxItemProducer producer,
IActionInboxNotification notification)
Deprecated. As of NetWeaver 7.1, replaced by send(com.sap.security.api.IPrincipal,IActionInboxItemProducer,IActionInboxNotification) |
IActionInboxItemList |
sendToUsers(Collection recipients,
IActionInboxItemProducer producer,
IActionInboxNotification notification,
boolean isLinked)
Store a notification in several user's inboxes for a given category. |
IActionInboxItemList |
sendToUsers(IPrincipal recipient,
IActionInboxItemProducer producer,
IActionInboxNotification notification,
boolean isLinked)
Store a notification in a user's inbox for a given category. |
IActionInboxItemList |
sendToUsers(com.sapportals.portal.security.usermanagement.IUMPrincipal recipient,
IActionInboxItemProducer producer,
IActionInboxNotification notification,
boolean isLinked)
Deprecated. As of NetWeaver 7.1, replaced by sendToUsers(com.sap.security.api.IPrincipal,IActionInboxItemProducer,IActionInboxNotification,boolean) |
IActionInboxItemList |
setItemsDone(IActionInboxItemProducer producer,
String categoryID,
com.sapportals.portal.security.usermanagement.IUser reasonAuthor,
String reasonID,
String[] itemIDs)
Deprecated. As of NetWeaver 7.1, replaced by setItemsDone(IActionInboxItemProducer,String,com.sap.security.api.IUser,String,String[]) |
IActionInboxItemList |
setItemsDone(IActionInboxItemProducer producer,
String categoryID,
IUser reasonAuthor,
String reasonID,
String[] itemIDs)
Set several existing action inbox items to 'done'. |
IActionInboxItemList |
setItemsDone(IResourceContext context,
com.sapportals.portal.security.usermanagement.IUser reasonAuthor,
String reasonID,
IActionInboxItemList items)
Deprecated. As of NetWeaver 7.1, replaced by setItemsDone(IResourceContext,com.sap.security.api.IUser,String,IActionInboxItemList) |
IActionInboxItemList |
setItemsDone(IResourceContext context,
IUser reasonAuthor,
String reasonID,
IActionInboxItemList items)
Set several existing action inbox items to 'done'. |
IActionInboxItemList |
setItemsRead(IResourceContext context,
IActionInboxItemList items)
Set several existing action inbox items to 'read'. |
void |
setItemsReadForCategory(IResourceContext context,
IActionInboxItemCategory category)
|
| Methods inherited from interface com.sapportals.wcm.service.IService |
|---|
getDescription, getDescription, getID |
| Method Detail |
|---|
IActionInboxCategory registerProducer(IActionInboxItemProducer itemProducer,
String categoryID)
throws WcmException
IActionInboxService.
itemProducer - the IActionInboxItemProducer to register.categoryID - the String of the category's id, for which
the producer will produce items.
IActionInboxCategory the producer registered to.
WcmException - WcmException if an error occurred.
IActionInboxCategoryList getCategories()
throws WcmException
IActionInboxCategoryList of categories.
WcmException - a WcmException if an error occurred.
IActionInboxCategory getCategory(String categoryID)
throws WcmException
categoryID - the String with the desired category's id.
IActionInboxCategory for the given id.
WcmException - a WcmException if an error occurred.
IActionInboxItemCategoryList getItemCategories(IResourceContext context,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner)
throws WcmException
getItemCategories(IResourceContext,com.sap.security.api.IPrincipal)
context - the IResourceContext to use for accessing the
inbox.owner - the IUMPrincipal of the user/group/role to get
the inbox for.
IActionInboxItemCategoryList with the inbox
categories for the given user/group/role.
If the specified owner is not a user, the list will contain only
those groups which are not for users only.
WcmException - a WcmException if an error occurred.
IActionInboxItemCategoryList getItemCategories(IResourceContext context,
IPrincipal owner)
throws WcmException
context - the IResourceContext to use for accessing the
inbox.owner - the IUMPrincipal of the user/group/role to get
the inbox for.
IActionInboxItemCategoryList with the inbox
categories for the given user/group/role.
If the specified owner is not a user, the list will contain only
those groups which are not for users only.
WcmException - a WcmException if an error occurred.
IActionInboxItemCategoryList getItemCategories(IResourceContext context,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner,
String[] categoryIDs)
throws WcmException
getItemCategories(IResourceContext,com.sap.security.api.IPrincipal,String[])
context - the IResourceContext to use for accessing the
inbox.owner - the IUMPrincipal of the user/group/role to get
the inbox for.categoryIDs - an array of Strings with the ids of
the desired categories.
IActionInboxItemCategoryList with the inbox
categories for the given user/group/role and ids.
If the specified owner is not a user, the list will contain only
those groups which are not for users only.
WcmException - a WcmException if an error occurred.
IActionInboxItemCategoryList getItemCategories(IResourceContext context,
IPrincipal owner,
String[] categoryIDs)
throws WcmException
context - the IResourceContext to use for accessing the
inbox.owner - the IUMPrincipal of the user/group/role to get
the inbox for.categoryIDs - an array of Strings with the ids of
the desired categories.
IActionInboxItemCategoryList with the inbox
categories for the given user/group/role and ids.
If the specified owner is not a user, the list will contain only
those groups which are not for users only.
WcmException - a WcmException if an error occurred.
IActionInboxItemCategory getItemCategory(IResourceContext context,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner,
IActionInboxCategory category)
throws WcmException
getItemCategory(IResourceContext,com.sap.security.api.IPrincipal,IActionInboxCategory)
context - the IResourceContext to use for accessing the
inbox.owner - the IUMPrincipal of the user/group/role to get
the inbox for.category - the IActionInboxCategory with the category
of the item category to get.
IActionInboxItemCategory with the inbox category
for the given user/group/role and id.
Is null if the specified owner is not a user but
the requested category is for users only.
WcmException - a WcmException if an error occurred.
IActionInboxItemCategory getItemCategory(IResourceContext context,
IPrincipal owner,
IActionInboxCategory category)
throws WcmException
context - the IResourceContext to use for accessing the
inbox.owner - the IUMPrincipal of the user/group/role to get
the inbox for.category - the IActionInboxCategory with the category
of the item category to get.
IActionInboxItemCategory with the inbox category
for the given user/group/role and id.
Is null if the specified owner is not a user but
the requested category is for users only.
WcmException - a WcmException if an error occurred.
IActionInboxItemCategory getItemCategory(IResourceContext context,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner,
String categoryID)
throws WcmException
getItemCategory(IResourceContext,com.sap.security.api.IPrincipal,String)
context - the IResourceContext to use for accessing the
inbox.owner - the IUMPrincipal of the user/group/role to get
the inbox for.categoryID - the String with the desired category's id.
IActionInboxItemCategory with the inbox category
for the given user/group/role and id.
Is null if the specified owner is not a user but
the requested category is for users only.
WcmException - a WcmException if an error occurred.
IActionInboxItemCategory getItemCategory(IResourceContext context,
IPrincipal owner,
String categoryID)
throws WcmException
context - the IResourceContext to use for accessing the
inbox.owner - the IUMPrincipal of the user/group/role to get
the inbox for.categoryID - the String with the desired category's id.
IActionInboxItemCategory with the inbox category
for the given user/group/role and id.
Is null if the specified owner is not a user but
the requested category is for users only.
WcmException - a WcmException if an error occurred.
IActionInboxItemList getItemsFromIDs(IResourceContext context,
String categoryID,
com.sapportals.portal.security.usermanagement.IUMPrincipal owner,
String[] itemIDs)
throws WcmException
getItemsFromIDs(IResourceContext,String,com.sap.security.api.IPrincipal,String[])
context - the IResourceContext to use for accessing the
inbox.categoryID - a String with the id of the category to
get the items for.owner - the IUMPrincipal of the user/group/role to get
the inbox items for.itemIDs -
IActionInboxItemList with the list of items for the
given ids.
WcmException - a WcmException if an error occurred.
IActionInboxItemList getItemsFromIDs(IResourceContext context,
String categoryID,
IPrincipal owner,
String[] itemIDs)
throws WcmException
context - the IResourceContext to use for accessing the
inbox.categoryID - a String with the id of the category to
get the items for.owner - the IUMPrincipal of the user/group/role to get
the inbox items for.itemIDs -
IActionInboxItemList with the list of items for the
given ids.
WcmException - a WcmException if an error occurred.
IActionInboxItemList send(com.sapportals.portal.security.usermanagement.IUMPrincipal recipient,
IActionInboxItemProducer producer,
IActionInboxNotification notification)
throws WcmException
send(com.sap.security.api.IPrincipal,IActionInboxItemProducer,IActionInboxNotification)
recipient - a IUMPrincipal with the owner to send the
notification to.producer - a IActionInboxItemProducer with the producer
of this notification.notification - the IActionInboxNotification to store.
IActionInboxItemLists with the successfully sent
items (might be more than one, if the recipient is not a user
and the category is for users only).
WcmException - WcmException if an error occurred.
IActionInboxItemList send(IPrincipal recipient,
IActionInboxItemProducer producer,
IActionInboxNotification notification)
throws WcmException
recipient - a IUMPrincipal with the owner to send the
notification to.producer - a IActionInboxItemProducer with the producer
of this notification.notification - the IActionInboxNotification to store.
IActionInboxItemLists with the successfully sent
items (might be more than one, if the recipient is not a user
and the category is for users only).
WcmException - WcmException if an error occurred.
IActionInboxItemList send(Collection recipients,
IActionInboxItemProducer producer,
IActionInboxNotification notification)
throws WcmException
send(recipients, producer, notification, false)).
If the category is for users only, recipients which are not users will be
automatically resolved.
recipients - a Collection of IUMPrincipals
with the users/roles/groups to send the notification to.producer - a IActionInboxItemProducer with the producer
of this notification.notification - the IActionInboxNotification to store.
IActionInboxItemLists with the successfully sent
items.
WcmException - WcmException if an error occurred.
IActionInboxItemList send(Collection recipients,
IActionInboxItemProducer producer,
IActionInboxNotification notification,
boolean isLinked)
throws WcmException
recipients - a Collection of IUMPrincipals
with the users/roles/groups to send the notification to.producer - a IActionInboxItemProducer with the producer
of this notification.notification - the IActionInboxNotification to store.isLinked - a boolean true, if the
notification should be treated as a linked notification,
false if not (each notification is a separate item).
IActionInboxItemLists with the successfully sent
items.
WcmException - WcmException if an error occurred.
IActionInboxItemList sendToUsers(com.sapportals.portal.security.usermanagement.IUMPrincipal recipient,
IActionInboxItemProducer producer,
IActionInboxNotification notification,
boolean isLinked)
throws WcmException
sendToUsers(com.sap.security.api.IPrincipal,IActionInboxItemProducer,IActionInboxNotification,boolean)
recipient - a IUMPrincipal with the user/role/group to
send the notification to.producer - a IActionInboxItemProducer with the producer
of this notification.notification - the IActionInboxNotification to store.isLinked - a boolean true, if the
notification should be treated as a linked notification,
false if not (each notification is a separate item).
IActionInboxItemLists with the successfully sent
items.
WcmException - WcmException if an error occurred.
IActionInboxItemList sendToUsers(IPrincipal recipient,
IActionInboxItemProducer producer,
IActionInboxNotification notification,
boolean isLinked)
throws WcmException
recipient - a IUMPrincipal with the user/role/group to
send the notification to.producer - a IActionInboxItemProducer with the producer
of this notification.notification - the IActionInboxNotification to store.isLinked - a boolean true, if the
notification should be treated as a linked notification,
false if not (each notification is a separate item).
IActionInboxItemLists with the successfully sent
items.
WcmException - WcmException if an error occurred.
IActionInboxItemList sendToUsers(Collection recipients,
IActionInboxItemProducer producer,
IActionInboxNotification notification,
boolean isLinked)
throws WcmException
recipients - a Collection of IUMPrincipals
with the users/roles/groups to send the notification to.producer - a IActionInboxItemProducer with the producer
of this notification.notification - the IActionInboxNotification to store.isLinked - a boolean true, if the
notification should be treated as a linked notification,
false if not (each notification is a separate item).
IActionInboxItemLists with the successfully sent
items.
WcmException - WcmException if an error occurred.
IActionInboxItemList setItemsDone(IActionInboxItemProducer producer,
String categoryID,
com.sapportals.portal.security.usermanagement.IUser reasonAuthor,
String reasonID,
String[] itemIDs)
throws WcmException
setItemsDone(IActionInboxItemProducer,String,com.sap.security.api.IUser,String,String[])
producer - a IActionInboxItemProducer with the producer
of this notification.categoryID - the String with the desired category's id.reasonAuthor - a IUser with the user who caused the
'done' state.reasonID - a String with a reason code.itemIDs - an array of Strings with the ids of the
IActionInboxItem to set to 'done'.
IActionInboxItemLists with the set items.
WcmException - WcmException if an error occurred.
IActionInboxItemList setItemsDone(IActionInboxItemProducer producer,
String categoryID,
IUser reasonAuthor,
String reasonID,
String[] itemIDs)
throws WcmException
producer - a IActionInboxItemProducer with the producer
of this notification.categoryID - the String with the desired category's id.reasonAuthor - a IUser with the user who caused the
'done' state.reasonID - a String with a reason code.itemIDs - an array of Strings with the ids of the
IActionInboxItem to set to 'done'.
IActionInboxItemLists with the set items.
WcmException - WcmException if an error occurred.
IActionInboxItemList setItemsRead(IResourceContext context,
IActionInboxItemList items)
throws WcmException
context - the IResourceContext to use for accessing the
inbox.items - an array of Strings with the ids of the
IActionInboxItem to set to 'read'.
IActionInboxItemLists with the set items.
WcmException - WcmException if an error occurred.
IActionInboxItemList setItemsDone(IResourceContext context,
com.sapportals.portal.security.usermanagement.IUser reasonAuthor,
String reasonID,
IActionInboxItemList items)
throws WcmException
setItemsDone(IResourceContext,com.sap.security.api.IUser,String,IActionInboxItemList)
context - the IResourceContext to use for accessing the
inbox.reasonAuthor - a IUser with the user who caused the
'done' state.reasonID - a String with a reason code.items - an array of Strings with the ids of the
IActionInboxItem to set to 'done'.
IActionInboxItemLists with the set items.
WcmException - WcmException if an error occurred.
IActionInboxItemList setItemsDone(IResourceContext context,
IUser reasonAuthor,
String reasonID,
IActionInboxItemList items)
throws WcmException
context - the IResourceContext to use for accessing the
inbox.reasonAuthor - a IUser with the user who caused the
'done' state.reasonID - a String with a reason code.items - an array of Strings with the ids of the
IActionInboxItem to set to 'done'.
IActionInboxItemLists with the set items.
WcmException - WcmException if an error occurred.
IActionInboxItemList deleteItems(IActionInboxItemProducer producer,
String categoryID,
String[] itemIDs)
throws WcmException
producer - a IActionInboxItemProducer with the producer
of this notification.categoryID - the String with the desired category's id.itemIDs - an array of Strings with the ids of the
IActionInboxItem to set to 'done'.
IActionInboxItemLists with the deleted items.
WcmException - WcmException if an error occurred.
IActionInboxItemList deleteItems(IResourceContext context,
IActionInboxItemList items)
throws WcmException
context - the IResourceContext to use for accessing the
inbox.items - an array of Strings with the ids of the
IActionInboxItem to delete.
IActionInboxItemLists with the deleted items.
WcmException - WcmException if an error occurred.
IActionInboxItemList executeItemActions(IResourceContext context,
String actionName,
IActionInboxItemList items)
throws WcmException
context - the IResourceContext to use for accessing the
inbox.actionName - a String with the name of the action to
excute. The name has to exist in all of the categories the
specified items in the array belong to.items - an array of Strings with the ids of the
IActionInboxItem to execute the action for.
IActionInboxItemLists> with the items the action
has been executed for.
WcmException - WcmException if an error occurred.
void setItemsReadForCategory(IResourceContext context,
IActionInboxItemCategory category)
throws WcmException
context - category -
WcmException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||