SAP NetWeaver '04

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

[contained in: com.sap.km.cm.repository.service.par - km.shared.repository.service.app.subscription_api.jar]
All Superinterfaces:
java.lang.Comparable

public interface ISubscriptionConditionRecursionLevel
extends java.lang.Comparable

A Recursion level defines which hierarchy level is relevant for a subscription on a collection.
An ISubscriptionConditionRecursionLevel is attached to an ISubscriptionCondition.

Parameters attached to an ISubscriptionConditionRecursionLevel:
- description with detailed information about the recursion level
- depth of the hierarchy level that is relevant for a subscription to a collection
- system ID associated with this recursion level

A recursion level defines the depth of a search for valid resources of a subscription.
Example: Let document d and folder f be in a common folder c, and let x be a document in folder f.

Let there also be a subscription for c and consider an event sent for c/f/x. Now if the subscription condition has a recursion level lower than "2" (which means that c on level 0 or c/d and c/f on level "1" are checked), no notification is generated. If the recursion level is greater than or equal to "2" (which means that c/f/x is checked), a notification is generated.

Copyright (c) SAP AG

See Also:
ISubscriptionCondition, ISubscription

Method Summary
 int getDepth()
          Gets an int equivalent for this recursion level.
 java.lang.String getDescription()
          Gets a display name for the condition's recursion level.
 java.lang.String getDescription(java.util.Locale locale)
          Gets a display name for the condition's recursion level.
 java.lang.String getID()
          Gets the unique ID of this ISubscriptionConditionRecursionLevel.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getID

public java.lang.String getID()
Gets the unique ID of this ISubscriptionConditionRecursionLevel.
Returns:
a String with the recursion level

getDescription

public java.lang.String getDescription()
Gets a display name for the condition's recursion level.
Returns:
a String with the recursion level's name

getDescription

public java.lang.String getDescription(java.util.Locale locale)
Gets a display name for the condition's recursion level.
Parameters:
locale - a Locale to get the name for
Returns:
a String with the recursion level's name

getDepth

public int getDepth()
Gets an int equivalent for this recursion level.
Returns:
an int with the hierarchy depth for this level

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.