public class SubscriptionComponentConfigurationTypeImpl extends java.lang.Object implements SubscriptionComponentConfigurationType
This class provides the configuration values for :
Modifier and Type | Class and Description |
---|---|
class |
SubscriptionComponentConfigurationTypeImpl.NoticePeriodTypeImpl
This class is an implementation of the notice period interface.
|
class |
SubscriptionComponentConfigurationTypeImpl.ScheduledActionConfigurationTypeImpl
This class is an implementation of the scheduled action configuration interface.
|
SubscriptionComponentConfigurationType.NoticePeriodType, SubscriptionComponentConfigurationType.ScheduledActionConfigurationType
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
ATTRIBUTE_NAME_FULFILLMENT_FREQUENCY_ATTRIBUTE, ATTRIBUTE_NAME_PAYMENT_FREQUENCY_ATTRIBUTE, ATTRIBUTE_NAME_RECALCULATE_CHILD_ORDER_FOR_RECURRING_ORDER, ATTRIBUTE_NAME_TIME_PERIOD_ATTRIBUTE, ELEMENT_NAME_NOTICE_PERIOD_CONFIGURATION, ELEMENT_NAME_SCHEDULED_ACTION_RETRY_CONFIGURATION, ELEMENT_NAME_SCHEDULER_LOOKUP_INTERVAL, ELEMENT_NAME_SUBSCRIPTION_CATALOG_ENTRY_CONFIGURATION, ELEMENT_NAME_SUBSCRIPTION_CHILD_ORDER_CONFIGURATION, ELEMENT_NAME_SUBSCRIPTION_COMPONENT_CONFIGURATION, SUBSCRIPTION_CONFIGURATION_NAMESPACE_PREFIX
Constructor and Description |
---|
SubscriptionComponentConfigurationTypeImpl()
Default constructor for the class.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<SubscriptionComponentConfigurationType.NoticePeriodType> |
getAllNoticePeriods()
This method returns all the notice period configurations in this instance
of the configuration.
|
java.util.List<SubscriptionComponentConfigurationType.ScheduledActionConfigurationType> |
getAllScheduledActionConfigurations()
This method returns all the scheduled configurations in this instance of
the configuration.
|
java.lang.String |
getFulfillmentFrequencyAttributeName()
This method returns the attribute name for the fulfillment frequency
attribute of a subscription catalog entry.
|
java.lang.Integer |
getMaximumRetriesForScheduledAction(java.lang.String scheduledActionName)
This method returns the maximum retries for a scheduled action on the
subscription.
|
SubscriptionComponentConfigurationType.NoticePeriodType |
getNoticePeriodForAction(java.lang.String actionName)
This method returns the notice period for the action on the
subscription.
|
java.lang.String |
getPaymentFrequencyAttributeName()
This method returns the attribute name for the payment frequency
attribute of a subscription catalog entry.
|
SubscriptionComponentConfigurationType.ScheduledActionConfigurationType |
getScheduledActionConfigurationForScheduledAction(java.lang.String scheduledActionName)
This method returns the scheduled action configuration for the scheduled
action name specified.
|
java.lang.Long |
getSchedulerLookUpInterval()
This method returns the look up interval for the scheduler command.
|
java.lang.String |
getTimePeriodAttributeName()
This method returns the name of the attribute name which is used for
time period in the catalog entry.
|
boolean |
initialize(org.w3c.dom.Node node)
This method initializes the configuration type instance by parsing the
node.
|
void |
mergeConfigurations(SubscriptionComponentConfigurationType toMerge,
boolean overWrite)
This method merges this instance of the configuration with the one
specified.
|
boolean |
recalculateChildOrderForRecurringOrder()
This method indicates if the child order for a recurring order needs to
be recalculated or not.
|
java.lang.String |
toString()
Answers a string containing a concise, human-readable description of the
receiver.
|
public static final java.lang.String COPYRIGHT
public SubscriptionComponentConfigurationTypeImpl()
public java.lang.String getFulfillmentFrequencyAttributeName()
getFulfillmentFrequencyAttributeName
in interface SubscriptionComponentConfigurationType
public java.lang.String getPaymentFrequencyAttributeName()
getPaymentFrequencyAttributeName
in interface SubscriptionComponentConfigurationType
public java.lang.String getTimePeriodAttributeName()
getTimePeriodAttributeName
in interface SubscriptionComponentConfigurationType
public boolean recalculateChildOrderForRecurringOrder()
recalculateChildOrderForRecurringOrder
in interface SubscriptionComponentConfigurationType
public java.lang.Integer getMaximumRetriesForScheduledAction(java.lang.String scheduledActionName)
getMaximumRetriesForScheduledAction
in interface SubscriptionComponentConfigurationType
scheduledActionName
- The name of the scheduled action.public SubscriptionComponentConfigurationType.NoticePeriodType getNoticePeriodForAction(java.lang.String actionName)
getNoticePeriodForAction
in interface SubscriptionComponentConfigurationType
actionName
- The name of the action.public java.lang.Long getSchedulerLookUpInterval()
getSchedulerLookUpInterval
in interface SubscriptionComponentConfigurationType
public SubscriptionComponentConfigurationType.ScheduledActionConfigurationType getScheduledActionConfigurationForScheduledAction(java.lang.String scheduledActionName)
getScheduledActionConfigurationForScheduledAction
in interface SubscriptionComponentConfigurationType
scheduledActionName
- The scheduled action name.public java.util.List<SubscriptionComponentConfigurationType.NoticePeriodType> getAllNoticePeriods()
getAllNoticePeriods
in interface SubscriptionComponentConfigurationType
public java.util.List<SubscriptionComponentConfigurationType.ScheduledActionConfigurationType> getAllScheduledActionConfigurations()
getAllScheduledActionConfigurations
in interface SubscriptionComponentConfigurationType
public boolean initialize(org.w3c.dom.Node node) throws java.lang.Exception
initialize
in interface SubscriptionComponentConfigurationType
node
- The node which contains the SubscriptionComponentConfiguration
data.java.lang.Exception
- When the initialization fails with an Exception.public void mergeConfigurations(SubscriptionComponentConfigurationType toMerge, boolean overWrite)
mergeConfigurations
in interface SubscriptionComponentConfigurationType
toMerge
- The configuration to be merged with this.overWrite
- A boolean to indicate if this configuration is to be
overwritten by the configuration specified.SubscriptionComponentConfigurationType.mergeConfigurations(SubscriptionComponentConfigurationType,
boolean)
public java.lang.String toString()
toString
in class java.lang.Object