public class SetEffectiveStart extends RangeUpdateOperation
Modifier and Type | Field and Description |
---|---|
protected EntityImpl |
firstEntity |
protected EntityImpl |
foundEntity |
protected java.util.List<EntityImpl> |
intermediateRows |
protected EntityImpl |
lastEntity |
protected EffectiveDateRangeOperationParams |
rangeParams |
Constructor and Description |
---|
SetEffectiveStart(EntityImpl ent,
EffectiveDateRangeOperationParams rangeParams) |
Modifier and Type | Method and Description |
---|---|
protected void |
adjustRangeDates()
Override if need to set RangeStartDate/RangeEndDate after all rows are found.
|
protected void |
afterProcess() |
protected java.sql.Date |
convertToDate(java.lang.Object date) |
protected java.lang.Object |
getEffectiveDate(EntityImpl ent)
Gets effectiveDate in this order:
1) Directly from row's SysEffectiveDate attribute
2) AM property
3) Invoking getEffectiveDate() on the row.
|
protected java.lang.Object |
getEndDate(EntityImpl ent) |
protected EntityImpl |
getFirstRow() |
protected java.util.List<EntityImpl> |
getIntermediateRows() |
protected EntityImpl |
getLastRow() |
protected java.lang.Object |
getRangeEndDate() |
protected EffectiveDateRangeOperationParams |
getRangeParams() |
protected java.lang.Object |
getRangeStartDate() |
protected java.lang.Integer |
getSequence(EntityImpl ent) |
protected java.lang.Object |
getStartDate(EntityImpl ent) |
protected boolean |
isMCPD() |
protected boolean |
isStrictValidationEnabled() |
protected void |
prepareRowsInRange() |
protected void |
process() |
protected void |
processFirstRow() |
protected void |
processIntermediateRows() |
protected void |
processLastRow() |
protected void |
setDefaultRangeDates() |
protected void |
setRangeEndDate(java.sql.Date date) |
protected void |
setRangeStartDate(java.sql.Date date) |
protected void |
validate() |
protected void |
validateRangeDates() |
copyNonKeyAttributes, doProcessFirstRow, doProcessIntermediateRows, doProcessLastRow, faultInValues, fetchNextRow, fetchPreviousRow
protected EntityImpl foundEntity
protected EntityImpl firstEntity
protected EntityImpl lastEntity
protected java.util.List<EntityImpl> intermediateRows
protected EffectiveDateRangeOperationParams rangeParams
public SetEffectiveStart(EntityImpl ent, EffectiveDateRangeOperationParams rangeParams)
protected void processFirstRow()
protected void processIntermediateRows()
protected void processLastRow()
protected void setDefaultRangeDates()
protected void validate()
protected void process()
protected void prepareRowsInRange()
protected void adjustRangeDates()
protected void validateRangeDates()
protected void afterProcess()
protected EffectiveDateRangeOperationParams getRangeParams()
protected EntityImpl getFirstRow()
protected java.util.List<EntityImpl> getIntermediateRows()
protected EntityImpl getLastRow()
protected java.lang.Object getRangeStartDate()
protected java.lang.Object getRangeEndDate()
protected java.lang.Object getStartDate(EntityImpl ent)
protected java.lang.Object getEndDate(EntityImpl ent)
protected java.lang.Object getEffectiveDate(EntityImpl ent)
protected java.lang.Integer getSequence(EntityImpl ent)
protected boolean isMCPD()
protected void setRangeStartDate(java.sql.Date date)
protected void setRangeEndDate(java.sql.Date date)
protected boolean isStrictValidationEnabled()
protected final java.sql.Date convertToDate(java.lang.Object date)