public class CxCustomizationActiveAttributeHandler extends java.lang.Object implements DynamicAttributeHandler<java.lang.Boolean,CxCustomizationModel>
| Constructor and Description |
|---|
CxCustomizationActiveAttributeHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
get(CxCustomizationModel model)
Holds logic behind getter for dynamic attribute.
|
protected TimeService |
getTimeService() |
protected boolean |
isActive(java.util.Date startDate,
java.util.Date endDate,
java.util.Date current) |
void |
set(CxCustomizationModel model,
java.lang.Boolean value)
Holds logic behind setter for dynamic attribute.
|
void |
setTimeService(TimeService timeService) |
public CxCustomizationActiveAttributeHandler()
public java.lang.Boolean get(CxCustomizationModel model)
DynamicAttributeHandlerget in interface DynamicAttributeHandler<java.lang.Boolean,CxCustomizationModel>model - model for which dynamic attribute is declared.protected boolean isActive(java.util.Date startDate,
java.util.Date endDate,
java.util.Date current)
public void set(CxCustomizationModel model, java.lang.Boolean value)
DynamicAttributeHandlerset in interface DynamicAttributeHandler<java.lang.Boolean,CxCustomizationModel>model - model for which dynamic attribute is declared.value - the value which will be used by setter logic.public void setTimeService(TimeService timeService)
protected TimeService getTimeService()
Copyright © 2018 SAP SE. All Rights Reserved.