public class CRMBOAccountDefinitionBean extends CRMBODefinition
| Constructor and Description |
|---|
CRMBOAccountDefinitionBean()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
getCreditLimit(com.crm.dataobject.accounts.CreditRating creditRating)
Returns the default credit limit of a credit rating.
|
java.math.BigDecimal |
getCreditLimit(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.CreditRating creditRating)
Returns the credit limit of a credit rating by an account definition.
|
java.util.ArrayList<java.lang.String> |
getDefaultAssociations()
Returns the default associated data objects of an account definition.
|
com.crm.dataobject.accounts.CRMDOAccountClassification |
getDefaultClassification()
Returns the default classification of the active account definition.
|
com.crm.dataobject.accounts.CRMDOAccountClassification |
getDefaultClassification(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
Returns the default classification of an account definition.
|
java.math.BigDecimal |
getDefaultCreditLimit()
Returns the default credit limit of the active account definition.
|
java.math.BigDecimal |
getDefaultCreditLimit(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
Returns the default credit limit of an account definition.
|
com.crm.dataobject.accounts.CreditRating |
getDefaultCreditRatingCode()
Returns the default credit rating code of the active account definition.
|
com.crm.dataobject.accounts.CreditRating |
getDefaultCreditRatingCode(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
Returns the default credit rating code of an account definition.
|
com.crm.dataobject.accounts.CRMDOPaymentPreference |
getDefaultPaymentPreference()
Returns the default payment preference of the active account definition.
|
com.crm.dataobject.accounts.CRMDOPaymentPreference |
getDefaultPaymentPreference(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
Returns the default payment preference of an account definition.
|
com.crm.dataobject.accounts.CRMDOPresentmentPreference |
getDefaultPresentmentPreference()
Returns the default presentment preference of the active account definition.
|
com.crm.dataobject.accounts.CRMDOPresentmentPreference |
getDefaultPresentmentPreference(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
Returns the default presentment preference of an account definition.
|
java.lang.Boolean |
isJobBillingAddressRuleCriterionValid(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.BillingAddressRules billingAddressRules)
Checks if the Accounts Receivable is used by a job of a specific type and billing term scheme
|
java.lang.Boolean |
isSubscriptionBillingAddressRuleCriterionValid(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.BillingAddressRules billingAddressRules)
Checks if the Accounts Receivable is used by a subscription of a specific type and billing term scheme
|
java.lang.Boolean |
isSupported(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.CreditRating creditRating)
Returns if a credit rating is supported by an account definition.
|
java.lang.Boolean |
isSupported(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.CRMDOAccountClassification accountClassification)
Returns if an account classification is supported by an account definition.
|
java.lang.Boolean |
isSupported(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.CRMDOBank bank)
Returns if a bank is supported by an account definition.
|
java.lang.Boolean |
isSupported(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.CRMDOBankAccountType bankAccountType)
Returns if a bank account type is supported by an account definition.
|
java.lang.Boolean |
isSupported(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.CRMDOPaymentPreference paymentPreference)
Returns if a payment preference is supported by an account definition.
|
java.lang.Boolean |
isSupported(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.CRMDOPresentmentPreference presentmentPreference)
Returns if a presentment preference is supported by an account definition.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedAccountClassifications()
Returns the allowed classifications preferences of the active account definition.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedAccountClassifications(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
Returns the allowed classifications of the active account definition.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedBankAccountTypes()
Returns the allowed bank account types of the active account definition.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedBanks()
Returns the allowed banks of the active account definition.
|
java.util.ArrayList<com.crm.dataobject.accounts.CreditRating> |
loadAllowedCreditRatings()
Returns the allowed credit ratings of the active account definition.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedPaymentPreferences()
Returns the allowed payment preferences of the active account definition.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedPaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
Returns the allowed payment preferences of the active account definition.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedPresentmentPreferences()
Returns the allowed presentment preferences of the active account definition.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedPresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
Returns the allowed presentment preferences of the active account definition.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedPresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.PresentmentMethod notPresentmentMethod)
Returns the allowed presentment preferences of the active account
definition.
|
java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountDefinitionCreditRating> |
loadDefaultCreditRatings(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
Loads the default credit ratings of an account definition.
|
loadActiveDefinition, loadInactiveDefinitions, save, setActiveDefinition, validateOnDeleteisDefault, loadDefault, setDefaultconstruct, 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 CRMBOAccountDefinitionBean()
public java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountDefinitionCreditRating> loadDefaultCreditRatings(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
throws java.lang.Exception
accountDefinition - - the account definition to load the credit ratings forjava.lang.Exceptionpublic java.util.ArrayList<java.lang.String> getDefaultAssociations()
getDefaultAssociations in class CRMBOpublic com.crm.dataobject.accounts.CRMDOAccountClassification getDefaultClassification()
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.dataobject.accounts.CRMDOAccountClassification getDefaultClassification(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
throws java.lang.Exception
accountDefinition - - the account definition to return the default classification forjava.lang.Exceptionpublic com.crm.dataobject.accounts.CRMDOPresentmentPreference getDefaultPresentmentPreference()
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.dataobject.accounts.CRMDOPresentmentPreference getDefaultPresentmentPreference(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
throws java.lang.Exception
accountDefinition - - the account definition to return the default presentment preference forjava.lang.Exceptionpublic com.crm.dataobject.accounts.CRMDOPaymentPreference getDefaultPaymentPreference()
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.dataobject.accounts.CRMDOPaymentPreference getDefaultPaymentPreference(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
throws java.lang.Exception
accountDefinition - - the account definition to return the default payment preference forjava.lang.Exceptionpublic com.crm.dataobject.accounts.CreditRating getDefaultCreditRatingCode()
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.dataobject.accounts.CreditRating getDefaultCreditRatingCode(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
throws java.lang.Exception
accountDefinition - - the account definition to return the default credit rating code forjava.lang.Exceptionpublic java.math.BigDecimal getDefaultCreditLimit()
throws java.lang.Exception
java.lang.Exceptionpublic java.math.BigDecimal getDefaultCreditLimit(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
throws java.lang.Exception
accountDefinition - - the account definition to return the default credit limit forjava.lang.Exceptionpublic java.math.BigDecimal getCreditLimit(com.crm.dataobject.accounts.CreditRating creditRating)
throws java.lang.Exception
creditRating - - the credit rating to return the default credit limit forjava.lang.Exceptionpublic java.math.BigDecimal getCreditLimit(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.CreditRating creditRating)
throws java.lang.Exception
accountDefinition - - the account definition to return the credit limit forcreditRating - - the credit rating to return the credit limit forjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedPaymentPreferences()
throws java.lang.Exception
java.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedPaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
throws java.lang.Exception
accountDefinition - - the account definition to return allowed payment preferencesjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedPresentmentPreferences()
throws java.lang.Exception
java.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedPresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedPresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.PresentmentMethod notPresentmentMethod)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedAccountClassifications()
throws java.lang.Exception
java.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedAccountClassifications(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
throws java.lang.Exception
accountDefinition - - the active account definitionjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedBankAccountTypes()
throws java.lang.Exception
java.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedBanks()
throws java.lang.Exception
java.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.accounts.CreditRating> loadAllowedCreditRatings()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Boolean isSupported(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.CRMDOAccountClassification accountClassification)
throws java.lang.Exception
accountDefinition - - the account definition to check the classification foraccountClassification - - the account classification to checkjava.lang.Exceptionpublic java.lang.Boolean isSupported(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.CRMDOPaymentPreference paymentPreference)
throws java.lang.Exception
accountDefinition - - the account definition to check the payment preference forpaymentPreference - - the payment preference to checkjava.lang.Exceptionpublic java.lang.Boolean isSupported(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.CRMDOPresentmentPreference presentmentPreference)
throws java.lang.Exception
accountDefinition - - the account definition to check the presentment preference forpresentmentPreference - - the presentment preference to checkjava.lang.Exceptionpublic java.lang.Boolean isSupported(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.CRMDOBank bank)
throws java.lang.Exception
accountDefinition - - the account definition to check the bank forbank - - the bank to checkjava.lang.Exceptionpublic java.lang.Boolean isSupported(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.CRMDOBankAccountType bankAccountType)
throws java.lang.Exception
accountDefinition - - the account definition to check the bank account type forbankAccountType - - the bank account type to checkjava.lang.Exceptionpublic java.lang.Boolean isSupported(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.CreditRating creditRating)
throws java.lang.Exception
accountDefinition - - the account definition to check the credit rating forcreditRating - - the credit rating to checkjava.lang.Exceptionpublic java.lang.Boolean isSubscriptionBillingAddressRuleCriterionValid(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.BillingAddressRules billingAddressRules)
throws java.lang.Exception
accountReceivable - - the Accounts Receivable to checkbillingAddressRules - - the billing address rule object that will define the types and schemes to be checkedjava.lang.Exceptionpublic java.lang.Boolean isJobBillingAddressRuleCriterionValid(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.BillingAddressRules billingAddressRules)
throws java.lang.Exception
accountReceivable - - the Accounts Receivable to checkbillingAddressRules - - the billing address rule object that will define the types and schemes to be checkedjava.lang.Exception