public class CRMProcessUsageServicePricingRuleBean extends CRMProcess
Constructor and Description |
---|
CRMProcessUsageServicePricingRuleBean()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(com.crm.dataobject.pricing.CRMDOUsageServicePricingRule usageServicePricingRule,
com.crm.dataobject.billing.CRMDOUdr udr,
com.crm.dataobject.products.CRMDOProduct usageService) |
com.crm.dataobject.pricing.CRMDOUsageServicePricingRule |
applyCommonOperations(com.crm.dataobject.pricing.CRMDOUsageServicePricingRule usageServicePricingRule)
Applies the Usage Service Pricing Rules common operations.
|
com.crm.dataobject.pricing.CRMDOUsageServicePricingRule |
create(com.crm.dataobject.pricing.CRMDOUsageServicePricingRule usageServicePricingRule)
Creates a new Usage Service Pricing Rule.
|
com.crm.dataobject.pricing.CRMDOUsageServicePricingRule |
delete(com.crm.dataobject.pricing.CRMDOUsageServicePricingRule usageServicePricingRule)
Delete a Usage Service Pricing Rule.
|
boolean |
isAccessible(com.crm.dataobject.pricing.CRMDOUsageServicePricingRule usageServicePricingRule)
Determines if a Usage Service Pricing Rule is accessible.
|
java.util.ArrayList<com.crm.dataobject.pricing.CRMDOUsageServicePricingRule> |
list(com.crm.dataobject.pricing.UsageServicePricingRuleSearchCriteria searchCriteria)
Loads all the accessible usage service pricing rules that match the given criteria.
|
com.crm.dataobject.pricing.CRMDOUsageServicePricingRule |
newUsageServicePricingRule()
Constructs and initializes a new Usage Service Pricing Rule.
|
com.crm.dataobject.pricing.CRMDOUsageServicePricingRule |
read(java.lang.String id)
Reads a Usage Service Pricing Rule by an id.
|
com.crm.dataobject.pricing.CRMDOUsageServicePricingRule |
read(java.lang.String id,
java.util.ArrayList<java.lang.String> associations)
Reads a Usage Service Pricing Rule by an id.
|
com.crm.dataobject.pricing.CRMDOUsageServicePricingRule |
update(com.crm.dataobject.pricing.CRMDOUsageServicePricingRule usageServicePricingRule)
Update an existing Usage Service Pricing Rule.
|
createCronExpressionFromDate, createCronExpressionFromDate, setMandatoryField
deepCopy, dispatch, getCRMSession, getCRMSessionHandle, getCurrentDate, getEJBHomeInterface, getInitialContext, getSessionContext, invoke, loadEntityCategories, loadEntityNumber, loadEntityStates, loadEntityStatuses, loadEntityTypes, rollback, setCRMSessionHandle, setInitialContext, setSessionContext
public CRMProcessUsageServicePricingRuleBean()
public com.crm.dataobject.pricing.CRMDOUsageServicePricingRule applyCommonOperations(com.crm.dataobject.pricing.CRMDOUsageServicePricingRule usageServicePricingRule) throws java.lang.Exception, com.crm.exception.CannotAccessEntityException
usageServicePricingRule
- - the usage service pricing rule for which common operations will be executedjava.lang.Exception
com.crm.exception.CannotAccessEntityException
public boolean isAccessible(com.crm.dataobject.pricing.CRMDOUsageServicePricingRule usageServicePricingRule) throws java.lang.Exception
usageServicePricingRule
- - the usage service pricing rule to determine if it is accessible or notjava.lang.Exception
public com.crm.dataobject.pricing.CRMDOUsageServicePricingRule newUsageServicePricingRule() throws java.lang.Exception
java.lang.Exception
public com.crm.dataobject.pricing.CRMDOUsageServicePricingRule create(com.crm.dataobject.pricing.CRMDOUsageServicePricingRule usageServicePricingRule) throws java.lang.Exception, com.crm.exception.CannotCreateException
usageServicePricingRule
- - the usage service pricing rule to createjava.lang.Exception
com.crm.exception.CannotCreateException
public com.crm.dataobject.pricing.CRMDOUsageServicePricingRule update(com.crm.dataobject.pricing.CRMDOUsageServicePricingRule usageServicePricingRule) throws java.lang.Exception, com.crm.exception.CannotUpdateEntityException
usageServicePricingRule
- - the usage service pricing rule to updatejava.lang.Exception
com.crm.exception.CannotUpdateEntityException
public com.crm.dataobject.pricing.CRMDOUsageServicePricingRule delete(com.crm.dataobject.pricing.CRMDOUsageServicePricingRule usageServicePricingRule) throws java.lang.Exception, com.crm.exception.CannotAccessEntityException
usageServicePricingRule
- - the usage service pricing rule to deletejava.lang.Exception
com.crm.exception.CannotAccessEntityException
public com.crm.dataobject.pricing.CRMDOUsageServicePricingRule read(java.lang.String id) throws java.lang.Exception
id
- - the usage service pricing rule unique identifierjava.lang.Exception
public com.crm.dataobject.pricing.CRMDOUsageServicePricingRule read(java.lang.String id, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception, com.crm.exception.CannotAccessEntityException
id
- - the usage service pricing rule unique identifierassociations
- - a list of associated objectsjava.lang.Exception
com.crm.exception.CannotAccessEntityException
public java.util.ArrayList<com.crm.dataobject.pricing.CRMDOUsageServicePricingRule> list(com.crm.dataobject.pricing.UsageServicePricingRuleSearchCriteria searchCriteria) throws java.lang.Exception
searchCriteria
- - the criteria to validate the usage service pricing rules againstjava.lang.Exception
public void apply(com.crm.dataobject.pricing.CRMDOUsageServicePricingRule usageServicePricingRule, com.crm.dataobject.billing.CRMDOUdr udr, com.crm.dataobject.products.CRMDOProduct usageService)