Class TaxLogic
java.lang.Object
com.echothree.util.server.control.BaseLogic
com.echothree.model.control.tax.server.logic.TaxLogic
-
Field Summary
Fields inherited from class com.echothree.util.server.control.BaseLogic
coreControl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTax(ExecutionErrorAccumulator eea, String taxName, ContactMechanismPurpose contactMechanismPurpose, GlAccount glAccount, Boolean includeShippingCharge, Boolean includeProcessingCharge, Boolean includeInsuranceCharge, Integer percent, Boolean isDefault, Integer sortOrder, Language language, String description, BasePK createdBy) voiddeleteTax(ExecutionErrorAccumulator eea, Tax tax, BasePK deletedBy) static TaxLogicgetTaxByName(ExecutionErrorAccumulator eea, String taxName) getTaxByName(ExecutionErrorAccumulator eea, String taxName, EntityPermission entityPermission) getTaxByNameForUpdate(ExecutionErrorAccumulator eea, String taxName) getTaxByUniversalSpec(ExecutionErrorAccumulator eea, TaxUniversalSpec universalSpec, boolean allowDefault) getTaxByUniversalSpec(ExecutionErrorAccumulator eea, TaxUniversalSpec universalSpec, boolean allowDefault, EntityPermission entityPermission) getTaxByUniversalSpecForUpdate(ExecutionErrorAccumulator eea, TaxUniversalSpec universalSpec, boolean allowDefault) voidupdateTaxFromValue(TaxDetailValue taxDetailValue, BasePK updatedBy) Methods inherited from class com.echothree.util.server.control.BaseLogic
addExecutionError, addSecurityMessage, getEntityInstanceByBaseEntity, getEntityInstanceByBasePK, getSession, handleExecutionError, handleSecurityMessage, hasExecutionErrors
-
Constructor Details
-
TaxLogic
protected TaxLogic()
-
-
Method Details
-
getInstance
-
createTax
public Tax createTax(ExecutionErrorAccumulator eea, String taxName, ContactMechanismPurpose contactMechanismPurpose, GlAccount glAccount, Boolean includeShippingCharge, Boolean includeProcessingCharge, Boolean includeInsuranceCharge, Integer percent, Boolean isDefault, Integer sortOrder, Language language, String description, BasePK createdBy) -
getTaxByName
public Tax getTaxByName(ExecutionErrorAccumulator eea, String taxName, EntityPermission entityPermission) -
getTaxByName
-
getTaxByNameForUpdate
-
getTaxByUniversalSpec
public Tax getTaxByUniversalSpec(ExecutionErrorAccumulator eea, TaxUniversalSpec universalSpec, boolean allowDefault, EntityPermission entityPermission) -
getTaxByUniversalSpec
public Tax getTaxByUniversalSpec(ExecutionErrorAccumulator eea, TaxUniversalSpec universalSpec, boolean allowDefault) -
getTaxByUniversalSpecForUpdate
public Tax getTaxByUniversalSpecForUpdate(ExecutionErrorAccumulator eea, TaxUniversalSpec universalSpec, boolean allowDefault) -
updateTaxFromValue
-
deleteTax
-