Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


oracle.jbo.server
Class EffectiveDateRangeOperation

java.lang.Object
  extended by oracle.jbo.server.EffectiveDateRangeOperation


public class EffectiveDateRangeOperation
extends java.lang.Object

Nested Class Summary
static class EffectiveDateRangeOperation.IntermediateRowAction
           

 

Field Summary
static java.lang.String RANGE_END_DATE_STR
           
static java.lang.String RANGE_END_SEQ_STR
           
static java.lang.String RANGE_MODE_STR
           
static java.lang.String RANGE_SPAN_STR
           
static java.lang.String RANGE_START_DATE_STR
           
static java.lang.String RANGE_START_SEQ_STR
           

 

Method Summary
static void create(ViewObjectImpl vo, EffectiveDateRangeOperationParams params, AttributeList attrList)
           
static ViewRowImpl findRangeStartRow(RowSet rs, AttributeList findParams, java.lang.String finderName, EffectiveDateRangeOperationParams rangeParams)
          Returns a date effective row using a row finder.
static java.sql.Date getDate(java.lang.String dateStr)
          Returns a date parsed from a string formatted in ISO 8601 (yyyy-MM-dd) pattern.
static java.lang.String getEffectiveDateRangeQuery(ViewCriteria criteria)
          For internal framework use only.
static void modifyRange(RowSet rs, AttributeList findParams, java.lang.String finderName, EffectiveDateRangeOperationParams rangeParams, AttributeList updateAttrList)
          Modifies the rows in date range according to the range operation mode specified in EffectiveDateRangeOperationParams.
static void modifyRange(ViewRowImpl row, EffectiveDateRangeOperationParams params, AttributeList updateAttrList)
          Modifies the rows in date range according to the range operation mode specified in EffectiveDateRangeOperationParams.
static void modifyRange(ViewRowImpl row, java.util.Map<java.lang.String,java.lang.String> rangeProps)
          Modifies the rows in date range according to the range operation mode specified in EffectiveDateRangeOperationParams.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

RANGE_MODE_STR

public static final java.lang.String RANGE_MODE_STR
See Also:
Constant Field Values

RANGE_SPAN_STR

public static final java.lang.String RANGE_SPAN_STR
See Also:
Constant Field Values

RANGE_START_DATE_STR

public static final java.lang.String RANGE_START_DATE_STR
See Also:
Constant Field Values

RANGE_END_DATE_STR

public static final java.lang.String RANGE_END_DATE_STR
See Also:
Constant Field Values

RANGE_START_SEQ_STR

public static final java.lang.String RANGE_START_SEQ_STR
See Also:
Constant Field Values

RANGE_END_SEQ_STR

public static final java.lang.String RANGE_END_SEQ_STR
See Also:
Constant Field Values

Method Detail

modifyRange

public static void modifyRange(RowSet rs,
                               AttributeList findParams,
                               java.lang.String finderName,
                               EffectiveDateRangeOperationParams rangeParams,
                               AttributeList updateAttrList)
Modifies the rows in date range according to the range operation mode specified in EffectiveDateRangeOperationParams. This method is equivalent to calling findRangeStartRow(oracle.jbo.RowSet, oracle.jbo.AttributeList, java.lang.String, oracle.jbo.server.EffectiveDateRangeOperationParams) followed by modifyRange(ViewRowImpl,EffectiveDateRangeOperationParams,AttributeList).
Parameters:
rs - rowset the finder executes on
findParams - name value pairs used in row finder
finderName - row finder name
rangeParams - range operation params
updateAttrList - list of attribute values to be updated; null if delete operation
See Also:
RowFinder, EffectiveDateRangeMode, EffectiveDateRangeOperationParams

modifyRange

public static void modifyRange(ViewRowImpl row,
                               EffectiveDateRangeOperationParams params,
                               AttributeList updateAttrList)
Modifies the rows in date range according to the range operation mode specified in EffectiveDateRangeOperationParams.
Parameters:
row - the first row in date range.
params - range operation params
updateAttrList - list of attribute values to be updated; null if delete operation
See Also:
EffectiveDateRangeMode, EffectiveDateRangeOperationParams

modifyRange

public static void modifyRange(ViewRowImpl row,
                               java.util.Map<java.lang.String,java.lang.String> rangeProps)
Modifies the rows in date range according to the range operation mode specified in EffectiveDateRangeOperationParams.

Internal: This method is invoked from REST service.

Parameters:
row - the first row in date range. For update operation, this row needs to be modified in order to propagate the changes to other rows in range.
rangeProps - range operation params
See Also:
EffectiveDateRangeMode, EffectiveDateRangeOperationParams
For internal use only. Application developers should not use this

findRangeStartRow

public static ViewRowImpl findRangeStartRow(RowSet rs,
                                            AttributeList findParams,
                                            java.lang.String finderName,
                                            EffectiveDateRangeOperationParams rangeParams)
Returns a date effective row using a row finder. This method is used to find the first row in the date range. The view object temporarily turns off date effectivity while performing range lookup.
Parameters:
rs - rowset the finder executes on
findParams - name value pairs used in row finder
finderName - row finder name
rangeParams - range operation properties
Returns:
the first row in date range
See Also:
RowFinder, EffectiveDateRangeOperationParams

create

public static void create(ViewObjectImpl vo,
                          EffectiveDateRangeOperationParams params,
                          AttributeList attrList)

getDate

public static java.sql.Date getDate(java.lang.String dateStr)
Returns a date parsed from a string formatted in ISO 8601 (yyyy-MM-dd) pattern.
Parameters:
dateStr - a string representation of date formatted in ISO 8601 (yyyy-MM-dd) pattern
Returns:
a date parsed from a string

getEffectiveDateRangeQuery

public static java.lang.String getEffectiveDateRangeQuery(ViewCriteria criteria)
For internal framework use only.
For internal use only. Application developers should not use this

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


Copyright © 1997, 2015, Oracle. All rights reserved.