|
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.DescriptiveFlexfieldUsageEOImpl
public class DescriptiveFlexfieldUsageEOImpl
Nested Class Summary | |
---|---|
static class |
DescriptiveFlexfieldUsageEOImpl.AttributesEnum
AttributesEnum: generated enum for identifying attributes and accessors. |
Field Summary | |
---|---|
static int |
ADFUIPACKAGENAME
|
static int |
APPLICATIONID
|
static int |
CREATEDBY
|
static int |
CREATIONDATE
|
static int |
DESCRIPTION
|
static int |
DESCRIPTIVEFLEXFIELD
|
static int |
DESCRIPTIVEFLEXFIELDCODE
|
static int |
DESCRIPTIVEFLEXFIELDTABLEUSAGES
|
static int |
EXTENSIBLEFLEXFIELDALLUIPAGE
|
static int |
EXTENSIBLEFLEXFIELDCONTEXTUSAGES
|
static int |
EXTENSIBLEFLEXFIELDUIPAGES
|
static int |
FLEXFIELDUSAGECODE
|
static int |
LASTUPDATEDATE
|
static int |
LASTUPDATEDBY
|
static int |
LASTUPDATELOGIN
|
static int |
NAME
|
static int |
OA_TL_ENTITIES
|
static int |
USAGETYPE
|
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 | |
---|---|
DescriptiveFlexfieldUsageEOImpl()
This is the default constructor (do not remove). |
Method Summary | |
---|---|
static oracle.jbo.Key |
createPrimaryKey(java.lang.Long applicationId,
java.lang.String descriptiveFlexfieldCode,
java.lang.String flexfieldUsageCode)
|
java.lang.String |
getAdfuiPackageName()
Gets the attribute value for AdfuiPackageName, using the alias name AdfuiPackageName. |
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 |
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. |
DescriptiveFlexfieldEOImpl |
getDescriptiveFlexfield()
|
java.lang.String |
getDescriptiveFlexfieldCode()
Gets the attribute value for DescriptiveFlexfieldCode, using the alias name DescriptiveFlexfieldCode. |
oracle.jbo.RowIterator |
getDescriptiveFlexfieldTableUsages()
|
oracle.jbo.RowIterator |
getExtensibleFlexfieldAllUiPage()
|
oracle.jbo.RowIterator |
getExtensibleFlexfieldContextUsages()
|
oracle.jbo.RowIterator |
getExtensibleFlexfieldUiPages()
|
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 |
getName()
Gets the attribute value for Name, using the alias name Name. |
oracle.jbo.RowIterator |
getOA_TL_ENTITIES()
|
java.lang.String |
getUsageType()
Gets the attribute value for UsageType, using the alias name UsageType. |
protected void |
prepareForDML(int operation,
oracle.jbo.server.TransactionEvent e)
Process a row when any operation like insert/update/delete is performed. |
void |
setAdfuiPackageName(java.lang.String value)
Sets value as the attribute value for AdfuiPackageName. |
protected void |
setAttrInvokeAccessor(int index,
java.lang.Object value,
oracle.jbo.server.AttributeDefImpl attrDef)
setAttrInvokeAccessor: generated method. |
void |
setDescription(java.lang.String value)
Sets value as the attribute value for Description. |
void |
setDescriptiveFlexfield(DescriptiveFlexfieldEOImpl value)
Sets value as the associated entity DescriptiveFlexfieldEOImpl. |
void |
setFlexfieldUsageCode(java.lang.String value)
Sets value as the attribute value for FlexfieldUsageCode. |
void |
setName(java.lang.String value)
Sets value as the attribute value for Name. |
boolean |
validateTableUsages()
Validation method for table usages. |
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 APPLICATIONID
public static final int DESCRIPTIVEFLEXFIELDCODE
public static final int FLEXFIELDUSAGECODE
public static final int USAGETYPE
public static final int NAME
public static final int DESCRIPTION
public static final int ADFUIPACKAGENAME
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 DESCRIPTIVEFLEXFIELD
public static final int DESCRIPTIVEFLEXFIELDTABLEUSAGES
public static final int OA_TL_ENTITIES
public static final int EXTENSIBLEFLEXFIELDCONTEXTUSAGES
public static final int EXTENSIBLEFLEXFIELDUIPAGES
public static final int EXTENSIBLEFLEXFIELDALLUIPAGE
Constructor Detail |
---|
public DescriptiveFlexfieldUsageEOImpl()
Method Detail |
---|
public static oracle.jbo.server.EntityDefImpl getDefinitionObject()
public java.lang.Long getApplicationId()
public java.lang.String getDescriptiveFlexfieldCode()
public java.lang.String getFlexfieldUsageCode()
public void setFlexfieldUsageCode(java.lang.String value)
value
as the attribute value for FlexfieldUsageCode.
value
- value to set the FlexfieldUsageCodepublic java.lang.String getUsageType()
public java.lang.String getName()
public void setName(java.lang.String value)
value
as the attribute value for Name.
value
- value to set the Namepublic 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.lang.String getAdfuiPackageName()
public void setAdfuiPackageName(java.lang.String value)
value
as the attribute value for AdfuiPackageName.
value
- value to set the AdfuiPackageNamepublic 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 DescriptiveFlexfieldEOImpl getDescriptiveFlexfield()
public void setDescriptiveFlexfield(DescriptiveFlexfieldEOImpl value)
value
as the associated entity DescriptiveFlexfieldEOImpl.
public oracle.jbo.RowIterator getDescriptiveFlexfieldTableUsages()
public oracle.jbo.RowIterator getOA_TL_ENTITIES()
public oracle.jbo.RowIterator getExtensibleFlexfieldContextUsages()
public oracle.jbo.RowIterator getExtensibleFlexfieldUiPages()
public oracle.jbo.RowIterator getExtensibleFlexfieldAllUiPage()
public static oracle.jbo.Key createPrimaryKey(java.lang.Long applicationId, java.lang.String descriptiveFlexfieldCode, java.lang.String flexfieldUsageCode)
applicationId
- key constituentdescriptiveFlexfieldCode
- key constituentflexfieldUsageCode
- 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
index
- the index identifying the attributeattrDef
- the attribute
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
index
- the index identifying the attributevalue
- the value to assign to the attributeattrDef
- the attribute
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 validateTableUsages()
|
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 |