public class CRMBOBillingTermDefinitionBean extends CRMBODefinition
| Constructor and Description |
|---|
CRMBOBillingTermDefinitionBean()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<java.lang.String> |
getDefaultAssociations()
Returns the default associated data objects of a billing term definition.
|
com.crm.dataobject.subscriptions.BillingDirectiveState |
getSubServiceLifeCycleStateBillingDirective(com.crm.dataobject.billing.CRMDOBillingTerm billingTerm,
com.crm.dataobject.subscriptions.CRMDOSubscriptionService subscriptionService,
java.util.Date date,
com.crm.dataobject.subscriptions.SubscriptionServiceLifeCycleState lifeCycleState)
Returns the subscription service life cycle state.
|
com.crm.dataobject.billing.UsageServiceProcessingMethod |
getUsageServiceBillingProcessingMethod(com.crm.dataobject.billing.CRMDOBillingTermDefinition billingTermDefinition,
com.crm.dataobject.billing.CRMDOBillingTerm billingTerm)
Checks if the rule is valid to set to effective.
|
java.lang.Boolean |
isNegativeBalanceAllowed(com.crm.dataobject.billing.CRMDOBillingTermDefinition billingTermDefinition,
com.crm.dataobject.billing.CRMDOBillingTerm billingTerm)
Checks if wallet debitting is allowed when resulting to a negative wallet balance based on a billing term definition, billing term.
|
java.lang.Boolean |
isPriceChangeAllowed(com.crm.dataobject.billing.CRMDOBillingTermDefinition billingTermDefinition,
com.crm.dataobject.billing.CRMDOBillingTerm billingTerm,
com.crm.dataobject.billing.BindingState serviceBindingState)
Checks if a price change is allowed based on a billing term definition, billing term and binding state.
|
java.lang.Boolean |
isValidToSetEffective(com.crm.dataobject.subscriptions.SubscriptionActionBehaviorCode behaviorCode,
com.crm.dataobject.subscriptions.SubscriptionActionClassificationCode classificationCode,
com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
com.crm.dataobject.accounts.CRMDOAccountReceivable account,
com.crm.dataobject.accounts.CRMDOAccountClassification accountClassification,
com.crm.dataobject.accounts.CreditRating creditRatingCode,
java.util.Date asOfDate)
Checks if the rule is valid to set to effective.
|
com.crm.dataobject.CRMDODefinition |
loadActiveDefinition()
Deprecated.
|
com.crm.dataobject.CRMDODefinition |
loadActiveDefinition(com.crm.dataobject.billing.BillingTermDefinitionClassification classification)
Loads the active definition based on classification.
|
com.crm.dataobject.CRMDOConfigurationEntity |
loadDefault()
Loads the default configuration entity data object.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadInactiveDefinitions(com.crm.dataobject.billing.BillingTermDefinitionClassification classification)
Loads a list of inactive definitions based on classification.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
setDefault(com.crm.dataobject.CRMDOConfigurationEntity configurationEntity)
Sets a configuration entity data object as default.
|
loadInactiveDefinitions, save, setActiveDefinition, validateOnDeleteisDefaultconstruct, construct, construct, construct, construct, construct, construct, construct, createAndUpdate, delete, delete, delete, getDOName, getDOName, getNextSequenceNumber, getNextSequenceNumber, getNumberScheme, load, load, load, load, load, load, load, load, loadAll, loadAll, loadAll, parseAssociations, save, save, saveCRMDOCollection, saveImages, setMandatoryFields, setNumberScheme, validateAndDelete, validateAndSave, validateAndSave, validateAndSave, validateOnDelete, validateOnDelete, validateOnSave, validateOnSave, validateOnSavedispatch, getCRMSession, getCRMSessionHandle, getEJBHomeInterface, getInitialContext, getSessionContext, invoke, setCRMSessionHandle, setInitialContext, setSessionContextpublic CRMBOBillingTermDefinitionBean()
@Deprecated
public com.crm.dataobject.CRMDODefinition loadActiveDefinition()
throws java.lang.Exception,
com.crm.exception.MandatoryFieldException
CRMBODefinitionloadActiveDefinition in class CRMBODefinitionjava.lang.Exceptioncom.crm.exception.MandatoryFieldExceptionpublic com.crm.dataobject.CRMDODefinition loadActiveDefinition(com.crm.dataobject.billing.BillingTermDefinitionClassification classification)
throws java.lang.Exception
classification - - the classification of billing term definitionjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> loadInactiveDefinitions(com.crm.dataobject.billing.BillingTermDefinitionClassification classification)
throws java.lang.Exception
classification - - the classification of billing term definitionjava.lang.Exceptionpublic java.util.ArrayList<java.lang.String> getDefaultAssociations()
getDefaultAssociations in class CRMBOpublic com.crm.dataobject.CRMDOConfigurationEntity loadDefault()
throws java.lang.Exception
loadDefault in class CRMBOConfigurationEntityjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> setDefault(com.crm.dataobject.CRMDOConfigurationEntity configurationEntity)
throws java.lang.Exception
setDefault in class CRMBOConfigurationEntityconfigurationEntity - - the configuration entity to set as defaultjava.lang.Exceptionpublic com.crm.dataobject.subscriptions.BillingDirectiveState getSubServiceLifeCycleStateBillingDirective(com.crm.dataobject.billing.CRMDOBillingTerm billingTerm,
com.crm.dataobject.subscriptions.CRMDOSubscriptionService subscriptionService,
java.util.Date date,
com.crm.dataobject.subscriptions.SubscriptionServiceLifeCycleState lifeCycleState)
throws java.lang.Exception
billingTerm - - the billing term to use to checksubscriptionService - - the subscription service to checkdate - - the as of date to checklifeCycleState - - the life cycle state to checkjava.lang.Exceptionpublic java.lang.Boolean isValidToSetEffective(com.crm.dataobject.subscriptions.SubscriptionActionBehaviorCode behaviorCode,
com.crm.dataobject.subscriptions.SubscriptionActionClassificationCode classificationCode,
com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
com.crm.dataobject.accounts.CRMDOAccountReceivable account,
com.crm.dataobject.accounts.CRMDOAccountClassification accountClassification,
com.crm.dataobject.accounts.CreditRating creditRatingCode,
java.util.Date asOfDate)
throws java.lang.Exception
behaviorCode - - the behaviour code to checkclassificationCode - - the classification code to checkbillingTermScheme - - the billing term scheme to checkaccount - - the account to checkaccountClassification - - the account classification to checkcreditRatingCode - - the credit rating code to checkasOfDate - - the as of date to checkjava.lang.Exceptionpublic java.lang.Boolean isPriceChangeAllowed(com.crm.dataobject.billing.CRMDOBillingTermDefinition billingTermDefinition,
com.crm.dataobject.billing.CRMDOBillingTerm billingTerm,
com.crm.dataobject.billing.BindingState serviceBindingState)
throws java.lang.Exception
billingTermDefinition - - the billing term definition to checkbillingTerm - - the billing term to checkserviceBindingState - - the service binding state to checkjava.lang.Exceptionpublic java.lang.Boolean isNegativeBalanceAllowed(com.crm.dataobject.billing.CRMDOBillingTermDefinition billingTermDefinition,
com.crm.dataobject.billing.CRMDOBillingTerm billingTerm)
throws java.lang.Exception
billingTermDefinition - - the billing term definition to checkbillingTerm - - the billing term to checkjava.lang.Exceptionpublic com.crm.dataobject.billing.UsageServiceProcessingMethod getUsageServiceBillingProcessingMethod(com.crm.dataobject.billing.CRMDOBillingTermDefinition billingTermDefinition,
com.crm.dataobject.billing.CRMDOBillingTerm billingTerm)
throws java.lang.Exception
behaviorCode - - the behaviour code to checkclassificationCode - - the classification code to checkbillingTermScheme - - the billing term scheme to checkaccount - - the account to checkaccountClassification - - the account classification to checkcreditRatingCode - - the credit rating code to checkasOfDate - - the as of date to checkjava.lang.Exception