|
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.kff.model.entity.KeyFlexfieldSegmentEOImpl
public class KeyFlexfieldSegmentEOImpl
Nested Class Summary | |
---|---|
static class |
KeyFlexfieldSegmentEOImpl.AttributesEnum
AttributesEnum: generated enum for identifying attributes and accessors. |
Field Summary | |
---|---|
static int |
COLUMNNAME
|
static int |
CREATEDBY
|
static int |
CREATIONDATE
|
static int |
DEFAULTVALUESET
|
static int |
DEFAULTVALUESETID
|
static int |
DESCRIPTION
|
static int |
DISPLAYWIDTH
|
static int |
ENABLEDFLAG
|
static int |
KEYFLEXFIELDLABELEDSEGMENTS
|
static int |
KEYFLEXFIELDSTRUCTURE
|
static int |
LASTUPDATEDATE
|
static int |
LASTUPDATEDBY
|
static int |
LASTUPDATELOGIN
|
static int |
NAME
|
static int |
OA_TL_ENTITIES
|
static int |
PROMPT
|
static int |
RANGETYPE
|
static int |
SEGMENTCODE
|
static int |
SEQUENCENUMBER
|
static int |
SHORTPROMPT
|
static int |
STRUCTUREID
|
static int |
VALUESETVVO
|
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 | |
---|---|
KeyFlexfieldSegmentEOImpl()
This is the default constructor (do not remove). |
Method Summary | |
---|---|
static oracle.jbo.Key |
createPrimaryKey(java.lang.Long structureId,
java.lang.String segmentCode)
|
protected java.lang.Object |
getAttrInvokeAccessor(int index,
oracle.jbo.server.AttributeDefImpl attrDef)
getAttrInvokeAccessor: generated method. |
java.lang.String |
getColumnName()
Gets the attribute value for ColumnName, using the alias name ColumnName. |
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. |
ValueSetEOImpl |
getDefaultValueSet()
|
java.lang.Long |
getDefaultValueSetId()
Gets the attribute value for DefaultValueSetId, using the alias name DefaultValueSetId. |
static oracle.jbo.server.EntityDefImpl |
getDefinitionObject()
|
java.lang.String |
getDescription()
Gets the attribute value for Description, using the alias name Description. |
java.lang.Integer |
getDisplayWidth()
Gets the attribute value for DisplayWidth, using the alias name DisplayWidth. |
java.lang.String |
getEnabledFlag()
Gets the attribute value for EnabledFlag, using the alias name EnabledFlag. |
oracle.jbo.RowIterator |
getKeyFlexfieldLabeledSegments()
Gets the associated entity oracle.jbo.RowIterator. |
KeyFlexfieldStructureEOImpl |
getKeyFlexfieldStructure()
Gets the associated entity KeyFlexfieldStructureEOImpl. |
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()
Gets the associated entity oracle.jbo.RowIterator. |
java.lang.String |
getPrompt()
Gets the attribute value for Prompt, using the alias name Prompt. |
java.lang.String |
getRangeType()
Gets the attribute value for RangeType, using the alias name RangeType. |
java.lang.String |
getSegmentCode()
Gets the attribute value for SegmentCode, using the alias name SegmentCode. |
java.lang.Integer |
getSequenceNumber()
Gets the attribute value for SequenceNumber, using the alias name SequenceNumber. |
java.lang.String |
getShortPrompt()
Gets the attribute value for ShortPrompt, using the alias name ShortPrompt. |
java.lang.Long |
getStructureId()
Gets the attribute value for StructureId, using the alias name StructureId. |
oracle.jbo.RowSet |
getValueSetVVO()
Gets the view accessor RowSet ValueSetVVO. |
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 |
setColumnName(java.lang.String value)
Sets value as the attribute value for ColumnName. |
void |
setDefaultValueSet(ValueSetEOImpl value)
Sets value as the associated entity oracle.apps.fnd.applcore.flex.vst.model.entity.ValueSetEOImpl. |
void |
setDefaultValueSetId(java.lang.Long value)
Sets value as the attribute value for DefaultValueSetId. |
void |
setDescription(java.lang.String value)
Sets value as the attribute value for Description. |
void |
setDisplayWidth(java.lang.Integer value)
Sets value as the attribute value for DisplayWidth. |
void |
setEnabledFlag(java.lang.String value)
Sets value as the attribute value for EnabledFlag. |
void |
setKeyFlexfieldStructure(KeyFlexfieldStructureEOImpl value)
Sets value as the associated entity KeyFlexfieldStructureEOImpl. |
void |
setName(java.lang.String value)
Sets value as the attribute value for Name. |
void |
setPrompt(java.lang.String value)
Sets value as the attribute value for Prompt. |
void |
setRangeType(java.lang.String value)
Sets value as the attribute value for RangeType. |
void |
setSegmentCode(java.lang.String value)
Sets value as the attribute value for SegmentCode. |
void |
setSequenceNumber(java.lang.Integer value)
Sets value as the attribute value for SequenceNumber. |
void |
setShortPrompt(java.lang.String value)
Sets value as the attribute value for ShortPrompt. |
boolean |
validateColumnName(java.util.ArrayList<oracle.jbo.rules.JboValidatorContext> ctxList)
Transaction-level method to validate the column name. |
boolean |
validateDefaultValueSetBindVariables()
Validates the default value set bind variables. |
boolean |
validateDefaultValueSetId(java.util.ArrayList<oracle.jbo.rules.JboValidatorContext> ctxList)
Validation method for DefaultValueSetId. |
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 STRUCTUREID
public static final int SEGMENTCODE
public static final int COLUMNNAME
public static final int NAME
public static final int DESCRIPTION
public static final int PROMPT
public static final int SHORTPROMPT
public static final int SEQUENCENUMBER
public static final int ENABLEDFLAG
public static final int DISPLAYWIDTH
public static final int RANGETYPE
public static final int DEFAULTVALUESETID
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 OA_TL_ENTITIES
public static final int KEYFLEXFIELDSTRUCTURE
public static final int KEYFLEXFIELDLABELEDSEGMENTS
public static final int DEFAULTVALUESET
public static final int VALUESETVVO
Constructor Detail |
---|
public KeyFlexfieldSegmentEOImpl()
Method Detail |
---|
public static oracle.jbo.server.EntityDefImpl getDefinitionObject()
public java.lang.Long getStructureId()
public java.lang.String getSegmentCode()
public void setSegmentCode(java.lang.String value)
value
as the attribute value for SegmentCode.
public java.lang.String getColumnName()
public void setColumnName(java.lang.String value)
value
as the attribute value for ColumnName.
public java.lang.String getName()
public void setName(java.lang.String value)
value
as the attribute value for Name.
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
value
as the attribute value for Description.
public java.lang.String getPrompt()
public void setPrompt(java.lang.String value)
value
as the attribute value for Prompt.
public java.lang.String getShortPrompt()
public void setShortPrompt(java.lang.String value)
value
as the attribute value for ShortPrompt.
public java.lang.Integer getSequenceNumber()
public void setSequenceNumber(java.lang.Integer value)
value
as the attribute value for SequenceNumber.
public java.lang.String getEnabledFlag()
public void setEnabledFlag(java.lang.String value)
value
as the attribute value for EnabledFlag.
public java.lang.Integer getDisplayWidth()
public void setDisplayWidth(java.lang.Integer value)
value
as the attribute value for DisplayWidth.
public java.lang.String getRangeType()
public void setRangeType(java.lang.String value)
value
as the attribute value for RangeType.
public java.lang.Long getDefaultValueSetId()
public void setDefaultValueSetId(java.lang.Long value)
value
as the attribute value for DefaultValueSetId.
value
- value to set the DefaultValueSetIdpublic 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.RowIterator getOA_TL_ENTITIES()
public KeyFlexfieldStructureEOImpl getKeyFlexfieldStructure()
public void setKeyFlexfieldStructure(KeyFlexfieldStructureEOImpl value)
value
as the associated entity KeyFlexfieldStructureEOImpl.
public oracle.jbo.RowIterator getKeyFlexfieldLabeledSegments()
public ValueSetEOImpl getDefaultValueSet()
public void setDefaultValueSet(ValueSetEOImpl value)
value
as the associated entity oracle.apps.fnd.applcore.flex.vst.model.entity.ValueSetEOImpl.
public oracle.jbo.RowSet getValueSetVVO()
RowSet
ValueSetVVO.
public static oracle.jbo.Key createPrimaryKey(java.lang.Long structureId, java.lang.String segmentCode)
structureId
- key constituentsegmentCode
- 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
public boolean validateDefaultValueSetBindVariables()
true
if the value set bind variables are valid; false
otherwisepublic boolean validateColumnName(java.util.ArrayList<oracle.jbo.rules.JboValidatorContext> ctxList)
ctxList
- the context list
true
if the column name is valid; false
otherwisepublic boolean validateDefaultValueSetId(java.util.ArrayList<oracle.jbo.rules.JboValidatorContext> ctxList)
ctxList
- the context list
true
if the default value set id is valid; false
otherwiseprotected 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)
|
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 |