public abstract class AbstractB2BOrderThresholdPermissionEvaluationStrategy<P extends B2BOrderThresholdPermissionModel> extends AbstractPermissionEvaluationStrategy<P>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractB2BOrderThresholdPermissionEvaluationStrategy.ThresholdComparator
Use this comparator to sort by permission threshold.
|
AbstractService.SerializableDTONOLIMITmodelService, sessionService, txManagertenant| Constructor and Description |
|---|
AbstractB2BOrderThresholdPermissionEvaluationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
P |
getPermissionToEvaluate(Set<P> permissions,
AbstractOrderModel order)
Gets the permission to evaluate.
|
getActivePermissions, getOrderEntryTotal, getOrderTotal, getOrderTotals, getPermissions, getPermissionType, getTotalOfEntriesWithCostCenter, getTotalTax, getTypesToEvaluate, toMoneygetTypeService, setTypeServicegetModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, setTenantScope, writeReplacepublic AbstractB2BOrderThresholdPermissionEvaluationStrategy()
public P getPermissionToEvaluate(Set<P> permissions, AbstractOrderModel order)
permissions - the permissionsorder - the orderCopyright © 2017 SAP SE. All Rights Reserved.