Class Subscription
- java.lang.Object
-
- com.opencloud.slee.resources.sis.management.Subscription
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AddressSubscription
,ServiceKeySubscription
public abstract class Subscription extends Object implements Serializable
Base class for SIS subscription information.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDebugLevel()
Get the fine-grained tracing debug level for the subscription.String
getDescription()
Get the subscription description.String
getName()
Get the name of the subscription.CompositionID
getOriginatingComposition()
Get the originating trigger composition.CompositionID
getTerminatingComposition()
Get the terminating trigger composition.CompositionID
getThirdPartyComposition()
Get the third-party call trigger composition.boolean
hasOriginatingComposition()
Determine if the subscription has a reference to a composition for originating triggers.boolean
hasTerminatingComposition()
Determine if the subscription has a reference to a composition for terminating triggers.boolean
hasThirdPartyComposition()
Determine if the subscription has a reference to a composition for third-party call triggers.boolean
isAuditLoggingEnabled()
Determine whether auditing is enabled for the subscription.String
toString()
-
-
-
Method Detail
-
getName
public final String getName()
Get the name of the subscription.- Returns:
- the subscription name.
-
getDescription
public final String getDescription()
Get the subscription description.- Returns:
- the description.
-
hasOriginatingComposition
public final boolean hasOriginatingComposition()
Determine if the subscription has a reference to a composition for originating triggers.- Returns:
true
if there is an originating trigger composition,false
otherwise.
-
hasTerminatingComposition
public final boolean hasTerminatingComposition()
Determine if the subscription has a reference to a composition for terminating triggers.- Returns:
true
if there is an terminating trigger composition,false
otherwise.
-
hasThirdPartyComposition
public final boolean hasThirdPartyComposition()
Determine if the subscription has a reference to a composition for third-party call triggers.- Returns:
true
if there is an third-party call trigger composition,false
otherwise.
-
getOriginatingComposition
public final CompositionID getOriginatingComposition()
Get the originating trigger composition.- Returns:
- the originating trigger composition, or
null
if there isn't one.
-
getTerminatingComposition
public final CompositionID getTerminatingComposition()
Get the terminating trigger composition.- Returns:
- the terminating trigger composition, or
null
if there isn't one.
-
getThirdPartyComposition
public final CompositionID getThirdPartyComposition()
Get the third-party call trigger composition.- Returns:
- the third-party call trigger composition, or
null
if there isn't one.
-
getDebugLevel
public final int getDebugLevel()
Get the fine-grained tracing debug level for the subscription.- Returns:
- the debug level.
-
isAuditLoggingEnabled
public final boolean isAuditLoggingEnabled()
Determine whether auditing is enabled for the subscription.- Returns:
true
if enabled.
-
-