|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.server.RowImpl oracle.jbo.server.EntityImpl oracle.apps.fnd.applcore.oaext.model.OAEntityImpl oracle.apps.fnd.applcore.flex.vst.model.entity.ValueSetValidationTableEOImpl
public class ValueSetValidationTableEOImpl
Nested Class Summary | |
---|---|
static class |
ValueSetValidationTableEOImpl.AttributesEnum
AttributesEnum: generated enum for identifying attributes and accessors. |
Field Summary | |
---|---|
static int |
CREATEDBY
|
static int |
CREATIONDATE
|
static int |
DESCRIPTIONCOLUMNLENGTH
|
static int |
DESCRIPTIONCOLUMNNAME
|
static int |
DESCRIPTIONCOLUMNTYPE
|
static int |
ENABLEDFLAGCOLUMNNAME
|
static int |
ENDDATECOLUMNNAME
|
static int |
FROMCLAUSE
|
static int |
IDCOLUMNLENGTH
|
static int |
IDCOLUMNNAME
|
static int |
IDCOLUMNTYPE
|
static int |
LASTUPDATEDATE
|
static int |
LASTUPDATEDBY
|
static int |
LASTUPDATELOGIN
|
static int |
ORDERBYCLAUSE
|
static int |
STARTDATECOLUMNNAME
|
static int |
VALUEATTRIBUTESTABLEALIAS
|
static int |
VALUECOLUMNLENGTH
|
static int |
VALUECOLUMNNAME
|
static int |
VALUECOLUMNTYPE
|
static int |
VALUESET
|
static int |
VALUESETID
|
static int |
VALUESETVVO
|
static int |
WHERECLAUSE
|
Fields inherited from class oracle.apps.fnd.applcore.oaext.model.OAEntityImpl |
---|
DELETE, INSERT, LOCK, RCS_ID, SEED_DATA_USER, SELECT, UPDATE |
Fields inherited from class oracle.jbo.server.EntityImpl |
---|
CURRENT_VERSION, DML_DELETE, DML_INSERT, DML_UPDATE, MAXATTRCONST, mOrigData, ORACLE_ROWID_COLUMN, ORIGINAL_VERSION, PROPERTY_LOOKUP_ATTR_NAME, PROPERTY_LOOKUP_DISPATTR, PROPERTY_LOOKUP_TYPE, SYS_EFFDT_ROW_SPLIT, XML_CI_CHANGED, XML_PK_CHANGED, XML_PK_CHANGED_YES |
Fields inherited from interface oracle.jbo.server.Entity |
---|
STATUS_DEAD, STATUS_DELETED, STATUS_MODIFIED, STATUS_UNMODIFIED |
Fields inherited from interface oracle.jbo.Row |
---|
EFFDT_DELETE_FUTURE_CHANGE_MODE, EFFDT_DELETE_MODE, EFFDT_DELETE_NEXT_CHANGE_MODE, EFFDT_DELETE_THIS_CHANGE_MODE, EFFDT_DELETE_ZAP_MODE, EFFDT_EXPERT_MODE, EFFDT_NONE_MODE, EFFDT_UPDATE_CHANGE_INSERT_MODE, EFFDT_UPDATE_CORRECTION, EFFDT_UPDATE_MODE, EFFDT_UPDATE_NEW_EARLIEST_CHANGE_MODE, EFFDT_UPDATE_OVERRIDE_MODE, REFRESH_CONTAINEES, REFRESH_FORGET_NEW_ROWS, REFRESH_REMOVE_NEW_ROWS, REFRESH_UNDO_CHANGES, REFRESH_WITH_DB_FORGET_CHANGES, REFRESH_WITH_DB_ONLY_IF_UNCHANGED, STATUS_INITIALIZED, STATUS_NEW |
Fields inherited from interface oracle.jbo.XMLInterface |
---|
XML_IGNORE_DEPTH_COUNT, XML_OPT_ALL_ROWS, XML_OPT_ASSOC_CONSISTENT, XML_OPT_CHANGES_ONLY, XML_OPT_LIMIT_RANGE, XML_PASSIVATION_USE |
Fields inherited from interface oracle.jbo.JboReservedVarNames |
---|
RESERVED_VAR_AGG_AVG, RESERVED_VAR_AGG_COUNT, RESERVED_VAR_AGG_MAX, RESERVED_VAR_AGG_MIN, RESERVED_VAR_AGG_SUM, RESERVED_VAR_AGGVAL_PREFIX, RESERVED_VAR_STRUCTURE_DEF |
Fields inherited from interface oracle.jbo.expr.JIReservedVarNames |
---|
RESERVED_VAR_VALUE |
Constructor Summary | |
---|---|
ValueSetValidationTableEOImpl()
This is the default constructor (do not remove). |
Method Summary | |
---|---|
static oracle.jbo.Key |
createPrimaryKey(java.lang.Long valueSetId)
|
protected java.lang.Object |
getAttrInvokeAccessor(int index,
oracle.jbo.server.AttributeDefImpl attrDef)
getAttrInvokeAccessor: generated method. |
java.lang.String |
getCreatedBy()
Gets the attribute value for CreatedBy, using the alias name CreatedBy. |
java.sql.Timestamp |
getCreationDate()
Gets the attribute value for CreationDate, using the alias name CreationDate. |
static oracle.jbo.server.EntityDefImpl |
getDefinitionObject()
|
java.lang.Integer |
getDescriptionColumnLength()
Gets the attribute value for DescriptionColumnLength, using the alias name DescriptionColumnLength. |
java.lang.String |
getDescriptionColumnName()
Gets the attribute value for DescriptionColumnName, using the alias name DescriptionColumnName. |
java.lang.String |
getDescriptionColumnType()
Gets the attribute value for DescriptionColumnType, using the alias name DescriptionColumnType. |
java.lang.String |
getEnabledFlagColumnName()
Gets the attribute value for EnabledFlagColumnName, using the alias name EnabledFlagColumnName. |
java.lang.String |
getEndDateColumnName()
Gets the attribute value for EndDateColumnName, using the alias name EndDateColumnName. |
java.lang.String |
getFromClause()
Gets the attribute value for FromClause, using the alias name FromClause. |
java.lang.Integer |
getIdColumnLength()
Gets the attribute value for IdColumnLength, using the alias name IdColumnLength. |
java.lang.String |
getIdColumnName()
Gets the attribute value for IdColumnName, using the alias name IdColumnName. |
java.lang.String |
getIdColumnType()
Gets the attribute value for IdColumnType, using the alias name IdColumnType. |
java.sql.Timestamp |
getLastUpdateDate()
Gets the attribute value for LastUpdateDate, using the alias name LastUpdateDate. |
java.lang.String |
getLastUpdatedBy()
Gets the attribute value for LastUpdatedBy, using the alias name LastUpdatedBy. |
java.lang.String |
getLastUpdateLogin()
Gets the attribute value for LastUpdateLogin, using the alias name LastUpdateLogin. |
java.lang.String |
getOrderByClause()
Gets the attribute value for OrderByClause, using the alias name OrderByClause. |
Clause |
getParsedWhereClause()
Gets the parsed WHERE clause. |
java.lang.String |
getStartDateColumnName()
Gets the attribute value for StartDateColumnName, using the alias name StartDateColumnName. |
java.lang.String |
getValueAttributesTableAlias()
Gets the attribute value for ValueAttributesTableAlias, using the alias name ValueAttributesTableAlias. |
java.lang.Integer |
getValueColumnLength()
Gets the attribute value for ValueColumnLength, using the alias name ValueColumnLength. |
java.lang.String |
getValueColumnName()
Gets the attribute value for ValueColumnName, using the alias name ValueColumnName. |
java.lang.String |
getValueColumnType()
Gets the attribute value for ValueColumnType, using the alias name ValueColumnType. |
ValueSetEOImpl |
getValueSet()
Gets the associated entity ValueSetEOImpl. |
java.lang.Long |
getValueSetId()
Gets the attribute value for ValueSetId, using the alias name ValueSetId. |
oracle.jbo.RowSet |
getValueSetVVO()
Gets the view accessor RowSet ValueSetVVO. |
java.lang.String |
getWhereClause()
Gets the attribute value for WhereClause, using the alias name WhereClause. |
protected void |
prepareForDML(int operation,
oracle.jbo.server.TransactionEvent e)
Process a row when any operation like insert/update/delete is performed. |
protected void |
setAttrInvokeAccessor(int index,
java.lang.Object value,
oracle.jbo.server.AttributeDefImpl attrDef)
setAttrInvokeAccessor: generated method. |
void |
setDescriptionColumnName(java.lang.String value)
Sets value as the attribute value for DescriptionColumnName. |
void |
setEnabledFlagColumnName(java.lang.String value)
Sets value as the attribute value for EnabledFlagColumnName. |
void |
setEndDateColumnName(java.lang.String value)
Sets value as the attribute value for EndDateColumnName. |
void |
setFromClause(java.lang.String value)
Sets value as the attribute value for FromClause. |
void |
setIdColumnName(java.lang.String value)
Sets value as the attribute value for IdColumnName. |
void |
setOrderByClause(java.lang.String value)
Sets value as the attribute value for OrderByClause. |
void |
setStartDateColumnName(java.lang.String value)
Sets value as the attribute value for StartDateColumnName. |
void |
setValueAttributesTableAlias(java.lang.String value)
Sets value as the attribute value for ValueAttributesTableAlias. |
void |
setValueColumnName(java.lang.String value)
Sets value as the attribute value for ValueColumnName. |
void |
setValueSet(ValueSetEOImpl value)
Sets value as the associated entity ValueSetEOImpl. |
void |
setWhereClause(java.lang.String value)
Sets value as the attribute value for WhereClause. |
boolean |
validateColumn(java.lang.String columnName)
Validation method for a column. |
boolean |
validateDescriptionColumnName()
Validation method for DescriptionColumnName. |
boolean |
validateEnabledFlagColumnName()
Validation method for EnabledFlagColumnName. |
boolean |
validateEnabledFlagColumnType()
Validation method for EnabledColumnType. |
boolean |
validateEndDateColumnName()
Validation method for EndDateColumnName. |
boolean |
validateEndDateColumnType()
Validation method for EndDateColumnType. |
boolean |
validateFromClause(java.lang.String fromClause)
Validation method for FromClause. |
boolean |
validateIdColumnName()
Validation method for IdColumnName. |
boolean |
validateOrderByClause()
Validation method for OrderByClause. |
boolean |
validateStartDateColumnName()
Validation method for StartDateColumnName. |
boolean |
validateStartDateColumnType()
Validation method for StartDateColumnType. |
boolean |
validateValueColumnName()
Validation method for ValueColumnName. |
boolean |
validateValueColumnType()
Validation method for ValueColumnType. |
boolean |
validateWhereClause()
Validation method for WhereClause. |
boolean |
validateWhereClause(java.util.ArrayList<oracle.jbo.rules.JboValidatorContext> ctxList)
Transaction-level method to validate the WhereClause. |
boolean |
validateWhereClause(java.lang.String whereClause)
Validation method for WhereClause. |
Methods inherited from class oracle.jbo.server.EntityImpl |
---|
addToTransactionManager, addToValidationListeners, addTransactionPostListener, addTransactionPostListenerNoCheck, afterCommit, afterRemove, afterRollback, appendXMLElementNodesForAttrs, beforeCommit, beforeRollback, bindWhereClause, buildRefreshSQL, buildWhereClause, clearAttributeException, compare, copyChangedNonKeyAttributes, copyEffDtEntity, createArray, createAssociationAccessorRS, createAssociationAccessorVO, createBlob, createClob, createEntityAttrHints, createEntityViewLinkAccessorRS, createEntityViewLinkAccessorVO, createNClob, createRef, createStruct, createUnqualifiedRowSet, createViewAccessorRS, createViewAccessorRS, doAllowsOperation, doDMLForCascadeUpdate, domainToBeModified, donePostingAll, doRefreshSQL, doSelectForAltKey, eventsDebugOnly, fetchExprValueSupplierOverrideRow, findAssociationAccessorVO, findEntityViewLinkAccessorVO, findOrCreateLocalViewObject, findOrCreateViewAccessorRS, findOrCreateViewAccessorRS, findViewAccessorDef, findViewAccessorVO, getAltKey, getAttribute, getAttribute, getAttribute, getAttributeChangedCount, getAttributeCount, getAttributeHints, getAttributeHints, getAttributeIndexOf, getAttributeNames, getAttributeValue, getAttributeValues, getBaseAttributeCount, getChangeIndicator, getComparator, getDBTransaction, getDynamicAttributeCount, getDynamicAttributeValue, getEffDtInitEndDateValue, getEffectiveDate, getEntityCache, getEntityCacheInternal, getEntityState, getKey, getListBindingRSI, getListBindings, getLookupDescription, getOrigData, getParentVariableManager, getPKBasedRef, getPostState, getPrimaryKey, getRefreshSQLKeyAttrs, getSQLBuilder, getStateAsString, getStructureDef, getTransactionListeners, getTransactionListenersList, getTransPostHandle, getValidationListeners, getValidationListenersList, handleActivatedRowNotFound, handleEffectiveDateOperations, handleEffectiveDateRowCreate, handleEffectiveDateRowDelete, handleEffectiveDateRowUpdate, handleListBindingMismatch, hasAttributeException, hasListBindings, hasUpdatePrivilege, initBusLogicGroupDefaults, initBusLogicGroupDfltExprAttrs, initData, initDefaultExpressionAttributes, initDefaults, initialize, isAttributeChanged, isAttributeChanged, isAttributeChangedInTransaction, isAttributePopulated, isAttributePopulated, isDead, isInCache, isInvalid, isLocked, isLookupIdValid, isOrigDataEmpty, isOrigDataPopulated, isPostedToDB, isTransientTransactionListener, isTransientTransactionPostListener, isValid, isViewAccessorAttribute, lockTopLevelEntity, markViewAccessorsDirty, notifyAttributesAndBlgChanged, notifyAttributesChanged, notifyAttributesChanged, notifyEntityActivated, outputEventString, populateAttribute, populateAttribute, populateAttribute, prepareForBatchDML, prepareVOToFetchNextEffDtRows, prepareVOToFetchNextEffDtRows, prepareVOToFetchNextEffDtSeqRows, prepareVOToFetchNextEffDtSeqRows, prepareVOToFetchPrevEffDtRows, prepareVOToFetchPrevEffDtRows, prepareVOToFetchPrevEffDtSeqRows, prepareVOToFetchPrevEffDtSeqRows, readXML, refreshFKInNewContainees, registerAttributeException, removeAndRetain, removeFromCollection, removeTransactionPostListener, resetPKBasedRef, revert, revertChangesToEffDtEntity, setAttribute, setAttribute, setAttributeChanged, setAttributeValues, setDynamicAttributeValue, setEffectiveDateMode, setEntityDef, setInvalid, setLocked, setPostedToDB, setTransPostHandle, toString, validate, validateDateEffectivity, variablesAdded, vetoRemoveWithDetails |
Methods inherited from class oracle.jbo.server.RowImpl |
---|
addListBindingsForAttribute, clearAllExceptions, clearAttributeException, clearRowExceptions, createXMLDefinition, doAutoClearAttribute, ensureVariableManager, findAttrAndGetIndex, findListBindingName, forceFilterListExecute, getAllExceptions, getAttributeInternal, getAttributeSecurityHints, getAttributeSecurityHints, getCombinedAttrNames, getEffectiveDateMode, getExprMethodVal, getExprVarVal, getGlobalScript, getHints, getMessageBundleClass, getMethodKind, getResourceBundleDef, getRowExceptions, getSecurityHints, getVariableManager, getViewAccessorResultIndex, hasAttributeException, hasDeferredExceptions, hasVariables, isRefreshRequired, isRefreshRequired, lookupListBinding, printXMLDefinition, readXML, refreshViewAccessor, refreshViewAccessor, registerRowException, setAttributeInternal, setExprVarVal, setInMultiSetter, skipFilterListOnKeyAttributes, writeXML, writeXML, writeXML, writeXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.jbo.Row |
---|
getAttributeSecurityHints, getAttributeSecurityHints, getEffectiveDateMode, getSecurityHints |
Methods inherited from interface oracle.jbo.XMLInterface |
---|
readXML, writeXML, writeXML, writeXML, writeXML |
Field Detail |
---|
public static final int VALUESETID
public static final int FROMCLAUSE
public static final int WHERECLAUSE
public static final int ORDERBYCLAUSE
public static final int VALUECOLUMNNAME
public static final int VALUECOLUMNTYPE
public static final int VALUECOLUMNLENGTH
public static final int IDCOLUMNNAME
public static final int IDCOLUMNTYPE
public static final int IDCOLUMNLENGTH
public static final int DESCRIPTIONCOLUMNNAME
public static final int DESCRIPTIONCOLUMNTYPE
public static final int DESCRIPTIONCOLUMNLENGTH
public static final int ENABLEDFLAGCOLUMNNAME
public static final int STARTDATECOLUMNNAME
public static final int ENDDATECOLUMNNAME
public static final int VALUEATTRIBUTESTABLEALIAS
public static final int CREATIONDATE
public static final int CREATEDBY
public static final int LASTUPDATEDATE
public static final int LASTUPDATEDBY
public static final int LASTUPDATELOGIN
public static final int VALUESET
public static final int VALUESETVVO
Constructor Detail |
---|
public ValueSetValidationTableEOImpl()
Method Detail |
---|
public static oracle.jbo.server.EntityDefImpl getDefinitionObject()
protected void prepareForDML(int operation, oracle.jbo.server.TransactionEvent e)
OAEntityImpl
Example:
In the following example, we delete all the detail records, when master
is marked for deletion.
Handles document sequencing.
If an entity attribute has been identified that it should be populated
using a document sequence (in the Applications Property Inspector panel),
then at this point in the entity life cycle, we will populate the attribute
with a document sequence based on the inputs, provided the sequence method
is automatic. If the document sequence is manual, we will validate the
document sequence. The document sequence Id corresonding to the attribute is
stored in the entity's variable manager using the name as attrName+"DocSeqId".
You can retrieve the docSeqId in the entity by calling:
ensureVariableManager.getVariableValue(attrName+"DocSeqId"); where attrName is the
name of the attribute on which document sequence property is set to true in the
Applications Property Inspector panel. The docSeqId can only be retrieved after this
call (prepareForDML()) is done.
See parent class for complete documentation
protected void prepareForDML(int operation, TransactionEvent e)
{
if (operation == DML_DELETE)
{
deleteAllDetailRecords();
}
super.prepareForDML(operation, e);
}
prepareForDML
in class OAEntityImpl
operation
- action performed on the row. It can be one of the
following:
e
- this Entity Object's transaction event.#validateDocSequence
,
OAEntityImpl.getDocSequenceValueWithId(java.lang.Long, java.lang.String, java.lang.Long, java.lang.String, java.sql.Timestamp, java.lang.Long, java.lang.String, java.lang.String)
,
EntityImpl.prepareForDML(int, oracle.jbo.server.TransactionEvent)
public java.lang.Long getValueSetId()
public java.lang.String getFromClause()
public void setFromClause(java.lang.String value)
value
as the attribute value for FromClause.
public java.lang.String getWhereClause()
public void setWhereClause(java.lang.String value)
value
as the attribute value for WhereClause.
public java.lang.String getOrderByClause()
public void setOrderByClause(java.lang.String value)
value
as the attribute value for OrderByClause.
public java.lang.String getValueColumnName()
public void setValueColumnName(java.lang.String value)
value
as the attribute value for ValueColumnName.
public java.lang.String getValueColumnType()
public java.lang.Integer getValueColumnLength()
public java.lang.String getIdColumnName()
public void setIdColumnName(java.lang.String value)
value
as the attribute value for IdColumnName.
public java.lang.String getIdColumnType()
public java.lang.Integer getIdColumnLength()
public java.lang.String getDescriptionColumnName()
public void setDescriptionColumnName(java.lang.String value)
value
as the attribute value for DescriptionColumnName.
public java.lang.String getDescriptionColumnType()
public java.lang.Integer getDescriptionColumnLength()
public java.lang.String getEnabledFlagColumnName()
public void setEnabledFlagColumnName(java.lang.String value)
value
as the attribute value for EnabledFlagColumnName.
public java.lang.String getStartDateColumnName()
public void setStartDateColumnName(java.lang.String value)
value
as the attribute value for StartDateColumnName.
public java.lang.String getEndDateColumnName()
public void setEndDateColumnName(java.lang.String value)
value
as the attribute value for EndDateColumnName.
public java.lang.String getValueAttributesTableAlias()
public void setValueAttributesTableAlias(java.lang.String value)
value
as the attribute value for ValueAttributesTableAlias.
public java.sql.Timestamp getCreationDate()
public java.lang.String getCreatedBy()
public java.sql.Timestamp getLastUpdateDate()
public java.lang.String getLastUpdatedBy()
public java.lang.String getLastUpdateLogin()
public oracle.jbo.RowSet getValueSetVVO()
RowSet
ValueSetVVO.
public static oracle.jbo.Key createPrimaryKey(java.lang.Long valueSetId)
valueSetId
- key constituent
public ValueSetEOImpl getValueSet()
public void setValueSet(ValueSetEOImpl value)
value
as the associated entity ValueSetEOImpl.
protected java.lang.Object getAttrInvokeAccessor(int index, oracle.jbo.server.AttributeDefImpl attrDef) throws java.lang.Exception
getAttrInvokeAccessor
in class oracle.jbo.server.EntityImpl
java.lang.Exception
protected void setAttrInvokeAccessor(int index, java.lang.Object value, oracle.jbo.server.AttributeDefImpl attrDef) throws java.lang.Exception
setAttrInvokeAccessor
in class oracle.jbo.server.EntityImpl
java.lang.Exception
public boolean validateFromClause(java.lang.String fromClause)
fromClause
- the value to validate
true
if the FROM clause is validpublic boolean validateWhereClause(java.lang.String whereClause)
whereClause
- the value to validate
true
if the WHERE clause is validpublic boolean validateWhereClause()
true
if the WHERE clause is validpublic boolean validateWhereClause(java.util.ArrayList<oracle.jbo.rules.JboValidatorContext> ctxList)
ctxList
- the context list
true
if the WHERE clause is valid; false
otherwisepublic boolean validateOrderByClause()
public boolean validateValueColumnName()
public boolean validateValueColumnType()
public boolean validateIdColumnName()
public boolean validateDescriptionColumnName()
public boolean validateEnabledFlagColumnName()
public boolean validateEnabledFlagColumnType()
public boolean validateStartDateColumnName()
public boolean validateStartDateColumnType()
public boolean validateEndDateColumnName()
public boolean validateEndDateColumnType()
public boolean validateColumn(java.lang.String columnName)
columnName
- the column name to validate
true
if the column name is valid; false
otherwisepublic Clause getParsedWhereClause() throws BindVariableFormatException
null
if there is no WHERE clause
BindVariableFormatException
- if the clause fails to parse
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |