public class CRMBOUsageServiceCatalogServiceBean extends CRMBO
Constructor and Description |
---|
CRMBOUsageServiceCatalogServiceBean()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
com.crm.dataobject.billing.CRMDOUsageServiceCatalogService |
copyFromDefinition(com.crm.dataobject.billing.CRMDOUsageServiceCatalogService service,
com.crm.dataobject.billing.CRMDOUsageServiceCatalogDefinition definition)
Copies the values for the usage service rage from the usage service catalog definition
|
java.util.ArrayList<java.lang.String> |
getDefaultAssociations()
Returns the default associated data objects of a usage service catalog service.
|
java.lang.Boolean |
ifExists(com.crm.dataobject.billing.CRMDOUsageServiceCatalog usageServiceCatalog,
com.crm.dataobject.products.CRMDOProduct product)
Checks if a usage service catalog service exists based on given parameters.
|
java.lang.Boolean |
isAllowedByDefinition(com.crm.dataobject.billing.CRMDOUsageServiceCatalogService service,
com.crm.dataobject.billing.CRMDOUsageServiceCatalogDefinition definition)
Checks if the service is allowed by the active usage service catalog definition.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.billing.CRMDOUsageServiceCatalog usageServiceCatalog)
Loads the usage services of the given usage service catalog.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.billing.CRMDOUsageServiceCatalog usageServiceCatalog,
java.lang.Boolean initializeTiers,
java.util.ArrayList<java.lang.String> associations)
Loads the usage services of the given usage service catalog.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.billing.CRMDOUsageServiceCatalog usageServiceCatalog,
java.lang.Boolean initializeTiers,
com.crm.dataobject.products.CRMDOProduct product,
java.util.ArrayList<java.lang.String> associations)
Loads the usage services of the given usage service catalog.
|
com.crm.dataobject.billing.CRMDOUsageServiceCatalogService |
load(com.crm.dataobject.billing.CRMDOUsageServiceCatalog usageServiceCatalog,
com.crm.dataobject.products.CRMDOProduct usageService)
Loads the usage services of the given usage service catalog.
|
void |
validateUniqueness(com.crm.dataobject.billing.CRMDOUsageServiceCatalog usageServiceCatalog)
Validates that the usage service exists only one time for a usage service catalog.
|
construct, 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, save, saveCRMDOCollection, saveImages, setMandatoryFields, setNumberScheme, validateAndDelete, validateAndSave, validateAndSave, validateAndSave, validateOnDelete, validateOnDelete, validateOnDelete, validateOnSave, validateOnSave, validateOnSave
dispatch, getCRMSession, getCRMSessionHandle, getEJBHomeInterface, getInitialContext, getSessionContext, invoke, setCRMSessionHandle, setInitialContext, setSessionContext
public CRMBOUsageServiceCatalogServiceBean()
public java.lang.Boolean isAllowedByDefinition(com.crm.dataobject.billing.CRMDOUsageServiceCatalogService service, com.crm.dataobject.billing.CRMDOUsageServiceCatalogDefinition definition) throws java.lang.Exception
service
- - the service to checkjava.lang.Exception
public java.util.ArrayList<java.lang.String> getDefaultAssociations()
getDefaultAssociations
in class CRMBO
public void validateUniqueness(com.crm.dataobject.billing.CRMDOUsageServiceCatalog usageServiceCatalog) throws java.lang.Exception, com.crm.exception.OnlyOneRecordException
usageServiceCatalog
- - the usage service catalog its usage services are to be validatedjava.lang.Exception
com.crm.exception.OnlyOneRecordException
public java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.billing.CRMDOUsageServiceCatalog usageServiceCatalog) throws java.lang.Exception
usageServiceCatalog
- - the usage services catalog its services are to be loadedjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.billing.CRMDOUsageServiceCatalog usageServiceCatalog, java.lang.Boolean initializeTiers, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
usageServiceCatalog
- - the usage services catalog its services are to be loadedinitializeTiers
- - if its true loads the tiers of each rateassociations
- - a list of associated data objectsjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.billing.CRMDOUsageServiceCatalog usageServiceCatalog, java.lang.Boolean initializeTiers, com.crm.dataobject.products.CRMDOProduct product, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
usageServiceCatalog
- - the usage services catalog its services are to be loadedinitializeTiers
- - if its true loads the tiers of each rateassociations
- - a list of associated data objectsjava.lang.Exception
public com.crm.dataobject.billing.CRMDOUsageServiceCatalogService load(com.crm.dataobject.billing.CRMDOUsageServiceCatalog usageServiceCatalog, com.crm.dataobject.products.CRMDOProduct usageService) throws java.lang.Exception
usageServiceCatalog
- - the usage services catalog its services are to be loadedusageService
- - the usage service to be loadedjava.lang.Exception
public com.crm.dataobject.billing.CRMDOUsageServiceCatalogService copyFromDefinition(com.crm.dataobject.billing.CRMDOUsageServiceCatalogService service, com.crm.dataobject.billing.CRMDOUsageServiceCatalogDefinition definition) throws java.lang.Exception
service
- - the usage service to copy the values todefinition
- - the usage service catalog definition to copy the values fromjava.lang.Exception
public java.lang.Boolean ifExists(com.crm.dataobject.billing.CRMDOUsageServiceCatalog usageServiceCatalog, com.crm.dataobject.products.CRMDOProduct product) throws java.lang.Exception
usageServiceCatalog
- - the usage service catalog to checkproduct
- - the product to checkjava.lang.Exception