com.sapportals.wcm.service.actioninbox

Class AbstractActionInboxNotification

java.lang.Object
  extended by com.sapportals.wcm.service.actioninbox.AbstractActionInboxNotification
All Implemented Interfaces:
IActionInboxNotification

public class AbstractActionInboxNotification
extends Object
implements IActionInboxNotification

A base implementation of a IActionInboxNotification.

Copyright 2004 SAP AG


Field Summary
protected  String m_AssignedRef
          the assigend reference.
protected  RID m_AssignedRID
          the assigend resources RID.
protected  String m_CategoryID
          the id of the category the notification belongs to.
protected  Descriptions m_Descriptions
          the descriptions stored with the locale.toString() as key.
protected  Date m_NotificationDate
          the date when the notification was created.
protected  IPrincipal m_Originator
          the originator of that notification.
protected  Properties m_Properties
          the properties.
 
Constructor Summary
AbstractActionInboxNotification(String categoryID, Descriptions descriptions, IPrincipal originator, Date notificationDate, Properties properties, String assignedRef, RID assignedRID)
           
AbstractActionInboxNotification(String categoryID, Descriptions descriptions, com.sapportals.portal.security.usermanagement.IUMPrincipal originator, Date notificationDate, Properties properties, String assignedRef, RID assignedRID)
          Deprecated. As of NetWeaver 7.1, replaced by AbstractActionInboxNotification(String,Descriptions,com.sap.security.api.IPrincipal,Date,Properties,String,RID)
 
Method Summary
 String getAssignedRef()
          Get the assigned reference to something for this notification.
 RID getAssignedRID()
          Get the rid of the resource that's assigned to this notification.
 String getCategoryID()
          Get the id of the category this notification is for.
 Date getNotificationDate()
          Provide the exact date, when this notification was generated.
 com.sapportals.portal.security.usermanagement.IUMPrincipal getOriginator()
          Deprecated. As of NetWeaver 7.1, replaced by getOriginatorUME()
 IPrincipal getOriginatorUME()
          Provide the user, who caused this notification.
 Properties getProperties()
          Provide the properties for this notification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_CategoryID

protected String m_CategoryID
the id of the category the notification belongs to.


m_Descriptions

protected Descriptions m_Descriptions
the descriptions stored with the locale.toString() as key.


m_Originator

protected IPrincipal m_Originator
the originator of that notification.


m_NotificationDate

protected Date m_NotificationDate
the date when the notification was created.


m_Properties

protected Properties m_Properties
the properties.


m_AssignedRef

protected String m_AssignedRef
the assigend reference.


m_AssignedRID

protected RID m_AssignedRID
the assigend resources RID.

Constructor Detail

AbstractActionInboxNotification

public AbstractActionInboxNotification(String categoryID,
                                       Descriptions descriptions,
                                       com.sapportals.portal.security.usermanagement.IUMPrincipal originator,
                                       Date notificationDate,
                                       Properties properties,
                                       String assignedRef,
                                       RID assignedRID)
Deprecated. As of NetWeaver 7.1, replaced by AbstractActionInboxNotification(String,Descriptions,com.sap.security.api.IPrincipal,Date,Properties,String,RID)


AbstractActionInboxNotification

public AbstractActionInboxNotification(String categoryID,
                                       Descriptions descriptions,
                                       IPrincipal originator,
                                       Date notificationDate,
                                       Properties properties,
                                       String assignedRef,
                                       RID assignedRID)
Since:
NetWeaver 7.1
Method Detail

getCategoryID

public String getCategoryID()
Description copied from interface: IActionInboxNotification
Get the id of the category this notification is for.

Specified by:
getCategoryID in interface IActionInboxNotification
Returns:
a Strings with the notification's category id.

getOriginator

public com.sapportals.portal.security.usermanagement.IUMPrincipal getOriginator()
Deprecated. As of NetWeaver 7.1, replaced by getOriginatorUME()

Description copied from interface: IActionInboxNotification
Provide the user, who caused this notification.

Specified by:
getOriginator in interface IActionInboxNotification
Returns:
a IUMPrincipal which holds the user who caused this notification.

getOriginatorUME

public IPrincipal getOriginatorUME()
Description copied from interface: IActionInboxNotification
Provide the user, who caused this notification.

Specified by:
getOriginatorUME in interface IActionInboxNotification
Returns:
a IUMPrincipal which holds the user who caused this notification.
Since:
NetWeaver 7.1

getNotificationDate

public Date getNotificationDate()
Description copied from interface: IActionInboxNotification
Provide the exact date, when this notification was generated.

Specified by:
getNotificationDate in interface IActionInboxNotification
Returns:
a Date with the timestamp of the time when this notification was generated.

getProperties

public Properties getProperties()
Description copied from interface: IActionInboxNotification
Provide the properties for this notification.

Specified by:
getProperties in interface IActionInboxNotification
Returns:
a bag of Properties which define the content of this notification.

getAssignedRef

public String getAssignedRef()
Description copied from interface: IActionInboxNotification
Get the assigned reference to something for this notification.

Specified by:
getAssignedRef in interface IActionInboxNotification
Returns:
a String with the assigned reference or null if no reference is assigned to this notification.

getAssignedRID

public RID getAssignedRID()
Description copied from interface: IActionInboxNotification
Get the rid of the resource that's assigned to this notification.

Specified by:
getAssignedRID in interface IActionInboxNotification
Returns:
the RID of the assigned resource or null if no resource is assigned to this notification.
Access Rights

This class can be accessed from:


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


Copyright 2014 SAP AG Complete Copyright Notice