|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
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.dff.model.entity.DescriptiveFlexfieldSecondaryTableUsageEOImpl
public class DescriptiveFlexfieldSecondaryTableUsageEOImpl
Nested Class Summary | |
---|---|
static class |
DescriptiveFlexfieldSecondaryTableUsageEOImpl.AttributesEnum
AttributesEnum: generated enum for identifying attributes and accessors. |
Field Summary | |
---|---|
static int |
APPLICATIONID
|
static int |
COLUMNNAMEPREFIX
|
static int |
CREATEDBY
|
static int |
CREATIONDATE
|
static int |
DESCRIPTION
|
static int |
DESCRIPTIVEFLEXFIELDCODE
|
static int |
DESCRIPTIVEFLEXFIELDSECONDARYCOLUMNUSAGES
|
static int |
DESCRIPTIVEFLEXFIELDSECONDARYENTITYUSAGES
|
static int |
DESCRIPTIVEFLEXFIELDSECONDARYUSAGE
|
static int |
FLEXFIELDUSAGECODE
|
static int |
LASTUPDATEDATE
|
static int |
LASTUPDATEDBY
|
static int |
LASTUPDATELOGIN
|
static int |
TABLENAME
|
static int |
TABLETYPE
|
static int |
TABLEUSAGECODE
|
static int |
TABLEVVO
|
Fields inherited from class oracle.apps.fnd.applcore.oaext.model.OAEntityImpl |
---|
DELETE, INSERT, LOCK, OSN_PARAM_PRE_ENTITY_STATE, OSN_PARAM_PRE_POST_STATE, 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_ACCESSOR, 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 | |
---|---|
DescriptiveFlexfieldSecondaryTableUsageEOImpl()
This is the default constructor (do not remove). |
Method Summary | |
---|---|
static oracle.jbo.Key |
createPrimaryKey(java.lang.String tableName,
java.lang.String tableUsageCode)
|
java.lang.Long |
getApplicationId()
Gets the attribute value for ApplicationId, using the alias name ApplicationId. |
protected java.lang.Object |
getAttrInvokeAccessor(int index,
oracle.jbo.server.AttributeDefImpl attrDef)
getAttrInvokeAccessor: generated method. |
java.lang.String |
getColumnNamePrefix()
Gets the attribute value for ColumnNamePrefix, using the alias name ColumnNamePrefix. |
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.String |
getDescription()
Gets the attribute value for Description, using the alias name Description. |
java.lang.String |
getDescriptiveFlexfieldCode()
Gets the attribute value for DescriptiveFlexfieldCode, using the alias name DescriptiveFlexfieldCode. |
oracle.jbo.RowIterator |
getDescriptiveFlexfieldSecondaryColumnUsages()
|
oracle.jbo.RowIterator |
getDescriptiveFlexfieldSecondaryEntityUsages()
|
DescriptiveFlexfieldSecondaryUsageEOImpl |
getDescriptiveFlexfieldSecondaryUsage()
|
java.lang.String |
getFlexfieldUsageCode()
Gets the attribute value for FlexfieldUsageCode, using the alias name FlexfieldUsageCode. |
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 |
getTableName()
Gets the attribute value for TableName, using the alias name TableName. |
java.lang.String |
getTableType()
Gets the attribute value for TableType, using the alias name TableType. |
java.lang.String |
getTableUsageCode()
Gets the attribute value for TableUsageCode, using the alias name TableUsageCode. |
oracle.jbo.RowSet |
getTableVVO()
Gets the view accessor RowSet TableVVO. |
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 |
setColumnNamePrefix(java.lang.String value)
Sets value as the attribute value for ColumnNamePrefix. |
void |
setDescription(java.lang.String value)
Sets value as the attribute value for Description. |
void |
setDescriptiveFlexfieldSecondaryUsage(DescriptiveFlexfieldSecondaryUsageEOImpl value)
Sets value as the associated entity DescriptiveFlexfieldSecondaryUsageEOImpl. |
void |
setTableName(java.lang.String value)
Sets value as the attribute value for TableName. |
void |
setTableType(java.lang.String value)
Sets value as the attribute value for TableType. |
void |
setTableUsageCode(java.lang.String value)
Sets value as the attribute value for TableUsageCode. |
boolean |
validateColumnUsages()
Validation method for a reuse table usage. |
Methods inherited from class oracle.jbo.server.EntityImpl |
---|
addToTransactionManager, addToValidationListeners, addTransactionPostListener, addTransactionPostListenerNoCheck, 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, findOrCreateAssociationAccessorRS, 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 TABLENAME
public static final int TABLEUSAGECODE
public static final int APPLICATIONID
public static final int DESCRIPTIVEFLEXFIELDCODE
public static final int FLEXFIELDUSAGECODE
public static final int TABLETYPE
public static final int COLUMNNAMEPREFIX
public static final int DESCRIPTION
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 DESCRIPTIVEFLEXFIELDSECONDARYCOLUMNUSAGES
public static final int DESCRIPTIVEFLEXFIELDSECONDARYENTITYUSAGES
public static final int TABLEVVO
public static final int DESCRIPTIVEFLEXFIELDSECONDARYUSAGE
Constructor Detail |
---|
public DescriptiveFlexfieldSecondaryTableUsageEOImpl()
Method Detail |
---|
public static oracle.jbo.server.EntityDefImpl getDefinitionObject()
public java.lang.String getTableName()
public void setTableName(java.lang.String value)
value
as the attribute value for TableName.
value
- value to set the TableNamepublic java.lang.String getTableUsageCode()
public void setTableUsageCode(java.lang.String value)
value
as the attribute value for TableUsageCode.
value
- value to set the TableUsageCodepublic java.lang.Long getApplicationId()
public java.lang.String getDescriptiveFlexfieldCode()
public java.lang.String getColumnNamePrefix()
public void setColumnNamePrefix(java.lang.String value)
value
as the attribute value for ColumnNamePrefix.
value
- value to set the ColumnNamePrefixpublic java.lang.String getDescription()
public void setDescription(java.lang.String value)
value
as the attribute value for Description.
value
- value to set the Descriptionpublic 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 java.lang.String getFlexfieldUsageCode()
public java.lang.String getTableType()
public void setTableType(java.lang.String value)
value
as the attribute value for TableType.
value
- value to set the TableTypepublic oracle.jbo.RowIterator getDescriptiveFlexfieldSecondaryColumnUsages()
public oracle.jbo.RowIterator getDescriptiveFlexfieldSecondaryEntityUsages()
public DescriptiveFlexfieldSecondaryUsageEOImpl getDescriptiveFlexfieldSecondaryUsage()
public void setDescriptiveFlexfieldSecondaryUsage(DescriptiveFlexfieldSecondaryUsageEOImpl value)
value
as the associated entity DescriptiveFlexfieldSecondaryUsageEOImpl.
public oracle.jbo.RowSet getTableVVO()
RowSet
TableVVO.
public static oracle.jbo.Key createPrimaryKey(java.lang.String tableName, java.lang.String tableUsageCode)
tableName
- key constituenttableUsageCode
- key constituent
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
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 boolean validateColumnUsages()
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |