|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The stored IActionInboxNotification object for a specific
user.
Copyright 2004 SAP AG
| Method Summary | |
void |
delete(IResourceContext context)
Delete the action item. |
boolean |
executeAction(IResourceContext context,
IActionInboxAction action)
Perform the given action for this item. |
java.lang.String |
getDescription(IResourceContext context)
Provides a description for this action item's notification. |
com.sapportals.portal.security.usermanagement.IUser |
getDoneAuthor()
Get the user, who was caused the 'done'. |
java.lang.String |
getDoneReason()
Get the reason, why an item was set to done. |
java.lang.String |
getID()
Get the unique ID for this item. |
IActionInboxItemCategory |
getItemCategory()
Get the item category for this item. |
java.util.Collection |
getLinkedOwners(IResourceContext context)
Get the list of owners for a linked action item. |
java.util.Date |
getModificationDate()
Get the last modification date of this item. |
com.sapportals.portal.security.usermanagement.IUMPrincipal |
getOwner()
Get the owner of this item. |
java.lang.String |
getProducerID()
Get the id of the producer which once produced this item. |
IResource |
getResource(IResourceContext context)
Get the resource associated to this item. |
boolean |
isDone()
Check, if this item is in done state ( setDone() has been
called). |
boolean |
isLinked()
Check, if this item is a linked item (an item that is stored as a multiple but crosslinked item in the inboxes for several users). |
boolean |
isRead()
Check, if this item was already read by it's owner ( setRead()
has been called). |
boolean |
setDone(IResourceContext context,
com.sapportals.portal.security.usermanagement.IUser reasonAuthor,
java.lang.String reasonID)
Set the 'done' state. |
boolean |
setRead(IResourceContext context)
Set the 'read' state. |
| Methods inherited from interface com.sapportals.wcm.service.actioninbox.IActionInboxNotification |
getAssignedRef, getAssignedRID, getCategoryID, getNotificationDate, getOriginator, getProperties |
| Method Detail |
public java.lang.String getID()
String with the unique ID for this item.public java.lang.String getDescription(IResourceContext context)
context - a IResourceContext with the context of the
user to get the description for.String with the description for this item's
notification or null if the producer for this
item is no longer registered.
public IResource getResource(IResourceContext context)
throws WcmException
context - the IResourceContext to use.IResource with the associated resource.
public com.sapportals.portal.security.usermanagement.IUMPrincipal getOwner()
throws WcmException
IUMPrincipal with the owner of this item.WcmException - if an error occured.
public IActionInboxItemCategory getItemCategory()
throws WcmException
IActionInboxItemCategory the item belongs to.WcmException - if an error occured.
public java.lang.String getProducerID()
throws WcmException
String with the item's producer id.WcmException - if an error occured.
public java.util.Date getModificationDate()
throws WcmException
Date of the timestamp when this item was last
modified.WcmException - if an error occured.
public boolean isLinked()
throws WcmException
boolean true if the item is linked to
others.WcmException - if an error occured.
public java.util.Collection getLinkedOwners(IResourceContext context)
throws WcmException
context - the IResourceContext to use for accessing
the inbox.Collection of IUMPrincipals with the
list of owners for linked items or null if this item
is not linked.WcmException - if an error occured.
public boolean isRead()
throws WcmException
setRead()
has been called).boolean true if the item was set to
'read' state for it's owner, false if not.WcmException - if an error occured.
public boolean setRead(IResourceContext context)
throws WcmException
context - the IResourceContext to use for accessing
the inbox.boolean true if the item was set to
'read' state, false if the item is in the wrong state
for setting to 'read' (already done).WcmException - if an error occured.
public boolean isDone()
throws WcmException
setDone() has been
called).boolean true if the item was set to
'done' state, false if not.WcmException - if an error occured.
public java.lang.String getDoneReason()
throws WcmException
String with the reason id, null if
no reason is available (e.g. if not in 'done' state).WcmException - if an error occured.
public com.sapportals.portal.security.usermanagement.IUser getDoneAuthor()
throws WcmException
IUser with the user who cause the 'done',
null if not available (e.g. if the item is not in
'done' state).WcmException - if an error occured.
public boolean setDone(IResourceContext context,
com.sapportals.portal.security.usermanagement.IUser reasonAuthor,
java.lang.String reasonID)
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.boolean true if the item was set to
'done' state, false if the item is in the wrong state
for setting to 'read' (already done).WcmException - if an error occured.
public void delete(IResourceContext context)
throws WcmException
context - the IResourceContext to use for accessing
the inbox.WcmException - if an error occured.
public boolean executeAction(IResourceContext context,
IActionInboxAction action)
throws WcmException
context - the IResourceContext to performing the action
for.action - the IActionInboxAction to perform on this item.WcmException - if an error occured.
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||