public abstract class RangeUpdateOperation
extends java.lang.Object
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 |
---|
RangeUpdateOperation() |
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 void |
copyNonKeyAttributes(EntityImpl sourceRow,
EntityImpl targetRow) |
protected void |
doProcessFirstRow(RangeUpdateOperation operation,
int effectiveDateMode,
boolean bRemovePrevRows) |
protected void |
doProcessIntermediateRows(oracle.jbo.server.BaseRangeOperation operation,
EffectiveDateRangeOperation.IntermediateRowAction action) |
protected void |
doProcessLastRow(RangeUpdateOperation operation,
int effectiveDateMode) |
protected void |
faultInValues(EntityImpl ent) |
protected EntityImpl |
fetchNextRow(EntityImpl ent) |
protected EntityImpl |
fetchPreviousRow(EntityImpl ent) |
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 abstract void |
processFirstRow() |
protected abstract void |
processIntermediateRows() |
protected abstract 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() |
protected EntityImpl foundEntity
protected EntityImpl firstEntity
protected EntityImpl lastEntity
protected java.util.List<EntityImpl> intermediateRows
protected EffectiveDateRangeOperationParams rangeParams
protected void doProcessFirstRow(RangeUpdateOperation operation, int effectiveDateMode, boolean bRemovePrevRows)
protected void doProcessIntermediateRows(oracle.jbo.server.BaseRangeOperation operation, EffectiveDateRangeOperation.IntermediateRowAction action)
protected void doProcessLastRow(RangeUpdateOperation operation, int effectiveDateMode)
protected EntityImpl fetchPreviousRow(EntityImpl ent)
protected EntityImpl fetchNextRow(EntityImpl ent)
protected void copyNonKeyAttributes(EntityImpl sourceRow, EntityImpl targetRow)
protected void faultInValues(EntityImpl ent)
protected abstract void processFirstRow()
protected abstract void processIntermediateRows()
protected abstract 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)