|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Defines the conditions for which events lead to a
notification.
Conditions covered by an ISubscriptionCondition are:
- event that is relevant for the subscription, for example, deletion
- follow links defines the handling of a subscribed link
- interval at which resources are checked for changes
- recursion level for a subscribed collection, this condition
specifies how many levels of hierarchy (recursion level) are
relevant for the subscription
- rid tracking defines what the subscription is related to (RID or resource)
The conditions define which ISubscriptionConditionEvent for a
IResource leads to a subscription notification.br>
Such a condition can be thought of as the attribute for the
subscription/resource relation of a subscription. The attribute of the subscription
itself goes in ISubscriptionAttributes or ISubscription.
Copyright (c) SAP AG
ISubscriptionConditionEvent,
ISubscriptionConditionInterval,
ISubscriptionConditionRecursionLevel,
ISubscriptionAttributes,
IResource,
RID| Method Summary | |
ISubscriptionConditionEvent |
getEvent()
Gets the event type that causes the subscription notification to be sent. |
int |
getFollowLinks()
Gets the follow links behavior of the subscription. |
ISubscriptionConditionInterval |
getInterval()
Gets the notification interval that defines when notifications are sent. |
ISubscriptionConditionRecursionLevel |
getRecursionLevel()
Gets the recursion level of the subscription. |
int |
getRidTracking()
Gets the RID tracking behavior of the subscription. |
void |
setEvent(int eventid,
IResource resource)
Sets the event type that causes the subscription notification to be sent. |
void |
setEvent(ISubscriptionConditionEvent event)
Sets the event type that causes the subscription notification to be sent. |
void |
setFollowLinks(int followLinks)
Sets the follow links property of the subscription. |
void |
setInterval(ISubscriptionConditionInterval interval)
Sets the notification interval that defines when notifications are sent. |
void |
setInterval(java.lang.String intervalid)
Sets the notification interval that defines when notifications are sent. |
void |
setRecursionLevel(ISubscriptionConditionRecursionLevel level)
Sets the recursion level of the subscription. |
void |
setRecursionLevel(java.lang.String levelid)
Sets the recursion level of the subscription. |
void |
setRidTracking(int ridtracking)
Sets the RID tracking property of the subscription. |
| Method Detail |
public ISubscriptionConditionEvent getEvent()
ISubscriptionConditionEvent with the template of
the subscribed event
public void setEvent(int eventid,
IResource resource)
throws WcmException
event - a int with a template of the event
to subscribe toresource - an IResource with a resource to define the
eventIEvent.isLike(com.sapportals.wcm.util.events.IEvent)public void setEvent(ISubscriptionConditionEvent event)
event - a ISubscriptionConditionEvent with a template
of the event to subscribe toIEvent.isLike(com.sapportals.wcm.util.events.IEvent)public ISubscriptionConditionInterval getInterval()
ISubscriptionInterval with the interval at which notifications are sent (monthly, daily, and so on)
public void setInterval(java.lang.String intervalid)
throws WcmException
interval - a String with the interval at which
notifications are sent (monthly, daily, and so on)public void setInterval(ISubscriptionConditionInterval interval)
interval - a ISubscriptionInterval with the interval
at which notifications are sent (monthly, daily, and so on)public ISubscriptionConditionRecursionLevel getRecursionLevel()
ISubscriptionConditionRecursionLevel with the depth
in the hierarchy at which events generate a notificationISubscriptionConditionRecursionLevel
public void setRecursionLevel(java.lang.String levelid)
throws WcmException
level - a String with the
depth in the hierarchy at which events generate a notificationISubscriptionConditionRecursionLevelpublic void setRecursionLevel(ISubscriptionConditionRecursionLevel level)
level - a ISubscriptionConditionRecursionLevel with the
depth in the hierarchy at which events generate a notification.ISubscriptionConditionRecursionLevelpublic void setFollowLinks(int followLinks)
followLinks - a int that defines how links are
handled by subscriptionspublic int getFollowLinks()
int that defines how links are handled by subscriptionspublic void setRidTracking(int ridtracking)
a - int with the RID tracking typepublic int getRidTracking()
int with the RID tracking behavior of the subscription
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||