SAP NetWeaver '04

com.sapportals.wcm.repository.service.subscription
Interface ISubscriptionAttributes

[contained in: com.sap.km.cm.repository.service.par - km.shared.repository.service.app.subscription_api.jar]
public interface ISubscriptionAttributes

Represents the customizable attributes of a subscription.

A ISubscriptionAttribute describes:
- notification text that is appended to a notification
- expiry date at which the subscription expires
- next send date of subscription notification
- notification interval between two notifications

ISubscriptionAttributes are:
- specific to the subscription itself and not to the subscription/resources
or subscription/recipients relations
- set-/get-able
The get...() methods for read-only subscription attributes are in ISubscription (getID(), getName(), getOwner()) as well as the resource- and recipient-related methods for the ISubscriptionCondition and IChannel.

Copyright (c) SAP AG

See Also:
ISubscription, IChannel, IResource, ISubscriptionCondition

Method Summary
 java.util.Date getExpiryDate()
          Gets the expiration date for the subscription.
 java.util.Date getNextSendDate()
          Gets the earliest possible date of the next notification.
 java.lang.String getNotificationsInterval()
          Gets the condition interval of the notifications.
 java.lang.String getNotificationText()
          Gets the additional notification text.
 void setExpiryDate(java.util.Date expiryDate)
          Sets the expiration date for the subscription.
 void setNextSendDate(java.util.Date nextSendDate)
          Sets the earliest possible date for the next notification.
 void setNotificationsInterval(java.lang.String interval)
          Sets the condition interval of the notifications.
 void setNotificationText(java.lang.String text)
          Sets the nonfiction text.
 

Method Detail

getNextSendDate

public java.util.Date getNextSendDate()
Gets the earliest possible date of the next notification.

The actual time at which to send the next notification depends on when an event is sent by a repository manager or polling is done, and one of these things satisfies a subscription condition.
Returns:
a Date with the earliest timestamp of the next time at which a notification can be sent

setNextSendDate

public void setNextSendDate(java.util.Date nextSendDate)
Sets the earliest possible date for the next notification.

The actual time at which to send the next notification depends on when an event is sent by a repository manager or polling is done, and one of these things satisfies a subscription condition.
If nextSendDate is null the actual system time is used.
Parameters:
nextSendDate - a Date with the earliest possible timestamp for the next notification

getExpiryDate

public java.util.Date getExpiryDate()
Gets the expiration date for the subscription.

After a subscription has expired, it no longer generates notifications.
Returns:
a Date with the expiration timestamp or null if not defined

setExpiryDate

public void setExpiryDate(java.util.Date expiryDate)
Sets the expiration date for the subscription.

After a subscription has expired, it no longer generates notifications.
Parameters:
expiryDate - a Date with the expiration date or null if not defined (no expiry)

getNotificationText

public java.lang.String getNotificationText()
Gets the additional notification text.

This text is added to a notification that is sent to a recipient.
Returns:
a String with the annotation text that is added to a notification

setNotificationText

public void setNotificationText(java.lang.String text)
Sets the nonfiction text.
Parameters:
text - a String with the annotation text that is added to a notification

getNotificationsInterval

public java.lang.String getNotificationsInterval()
Gets the condition interval of the notifications.
Returns:
a String with the notifications interval

setNotificationsInterval

public void setNotificationsInterval(java.lang.String interval)
Sets the condition interval of the notifications.
Parameters:
a - String that defines the notifications interval

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.