public abstract class EntityFacadeImpl extends EntityImpl
EntityImplEntityImpl functionality, this class
 is responsible for interacting with the Local Entity Bean instance.
 When the user builds an Entity Facade for an Entity Bean, a subclass of this class is generated.
| Modifier and Type | Field and Description | 
|---|---|
| protected javax.ejb.EJBLocalObject | mEJBLocalObject | 
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, PROPERTY_MULTIPLE_VERSION_NUMBER_UPDATE, SKIP_ON_ATTR_ERR, SYS_EFFDT_ROW_SPLIT, TRANS_ORIGINAL_VERSION, XML_CI_CHANGED, XML_PK_CHANGED, XML_PK_CHANGED_YESPROPERTY_SERVICE_RESOURCE_CONTAINER_PATHSTATUS_DEAD, STATUS_DELETED, STATUS_MODIFIED, STATUS_UNMODIFIEDEFFDT_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_NEWXML_IGNORE_DEPTH_COUNT, XML_OPT_ALL_ROWS, XML_OPT_ASSOC_CONSISTENT, XML_OPT_CHANGES_ONLY, XML_OPT_LIMIT_RANGE, XML_PASSIVATION_USERESERVED_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_DEFRESERVED_VAR_VALUE| Constructor and Description | 
|---|
| EntityFacadeImpl()Constructs an Entity Facade. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | doDML(int operation,
     TransactionEvent e)Overrides the base implementation of  doDML(int, oracle.jbo.server.TransactionEvent). | 
| protected void | doSelect(boolean lock)Overrides the base implementation of  doSelect(boolean). | 
| java.lang.Object | getAttributeInternal(int index)Overrides the base implementation of  getAttributeInternal(int)to make itpublic. | 
| protected javax.ejb.EJBLocalObject | getEJBLocalObject()Returns the Local Entity Bean reference. | 
| boolean | isAttributeUpdateable(int index)Checks if the attribute is updateable. | 
| protected abstract void | mergeBeanAttributes() | 
| protected abstract void | populateFromBean()An abstract method responsible for populating Entity Facade
 attributes with the corresponding attribute values from
 the Entity Bean. | 
| void | setAttribute(int index,
            java.lang.Object val)Sets the value of an attribute, given its index position. | 
| protected void | setEJBLocalObject(javax.ejb.EJBLocalObject ejbObject)Sets the Local Entity Bean reference. | 
| abstract void | updateBean(javax.ejb.EJBLocalObject ejbObject)An abstract method responsible for updating the Entity Bean
 with attribute values from this Entity Facade. | 
addToTransactionManager, addToValidationListeners, addTransactionPostListener, addTransactionPostListenerNoCheck, afterCommit, afterRemove, afterRollback, appendXMLElementNodes, appendXMLElementNodesForAttrs, beforeCommit, beforeRollback, bindDMLStatement, bindWhereClause, buildDMLStatement, buildRefreshSQL, buildWhereClause, callPostChanges, checkConsistency, clearAttributeException, compare, copyChangedNonKeyAttributes, copyEffDtEntity, create, createArray, createAssociationAccessorRS, createAssociationAccessorVO, createBlob, createClob, createEntityAttrHints, createEntityViewLinkAccessorRS, createEntityViewLinkAccessorVO, createNClob, createRef, createStruct, createUnqualifiedRowSet, createViewAccessorRS, createViewAccessorRS, doAllowsOperation, doDMLForCascadeUpdate, doDMLWithLOBs, 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, getAttrInvokeAccessor, getBaseAttributeCount, getChangeIndicator, getComparator, getContainerEntity, getDBTransaction, getDynamicAttributeCount, getDynamicAttributeValue, getEffDtInitEndDateValue, getEffectiveDate, getEntityCache, getEntityCacheInternal, getEntityDef, getEntityState, getExprVarVal, getHistoryContextForAttribute, getKey, getKeyForLogger, getListBindingRSI, getListBindings, getLookupDescription, getOrigData, getParentVariableManager, getPKBasedRef, getPostedAttribute, getPostState, getPrimaryKey, getRefreshSQLKeyAttrs, getSQLBuilder, getStateAsString, getStringForLogger, getStructureDef, getTransactionListeners, getTransactionListenersList, getTransPostHandle, getValidationListeners, getValidationListenersList, handleActivatedRowNotFound, handleEffectiveDateOperations, handleEffectiveDateRowCreate, handleEffectiveDateRowDelete, handleEffectiveDateRowUpdate, handleListBindingMismatch, handlePostChangesError, 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, lock, lockTopLevelEntity, markViewAccessorsDirty, notifyAttributesAndBlgChanged, notifyAttributesChanged, notifyAttributesChanged, notifyEntityActivated, notifyEventRaised, outputEventString, populateAttribute, populateAttribute, populateAttribute, populateAttributeAsChanged, postChanges, prepareForBatchDML, prepareForDML, prepareVOToFetchNextEffDtRows, prepareVOToFetchNextEffDtRows, prepareVOToFetchNextEffDtSeqRows, prepareVOToFetchNextEffDtSeqRows, prepareVOToFetchPrevEffDtRows, prepareVOToFetchPrevEffDtRows, prepareVOToFetchPrevEffDtSeqRows, prepareVOToFetchPrevEffDtSeqRows, readAttrsFromXML, readXML, refresh, refreshFKInNewContainees, registerAttributeException, remove, removeAndRetain, removeFromCollection, removeTransactionPostListener, resetPKBasedRef, revert, revertChangesToEffDtEntity, setAttribute, setAttributeChanged, setAttributeInternal, setAttributeValues, setAttrInvokeAccessor, setDynamicAttributeValue, setEffectiveDateMode, setEntityDef, setInvalid, setLocked, setNewRowState, setPostedToDB, setTransPostHandle, toString, validate, validateDateEffectivity, validateEntity, variablesAdded, vetoRemoveWithDetailsaddListBindingsForAttribute, clearAllExceptions, clearAttributeException, clearRowExceptions, createXMLDefinition, doAutoClearAttribute, ensureVariableManager, findAttrAndGetIndex, findListBindingName, forceFilterListExecute, getAllExceptions, getAttributeInternal, getAttributeSecurityHints, getAttributeSecurityHints, getCombinedAttrNames, getEffectiveDateMode, getExprMethodVal, getExprVarValType, getGlobalScript, getHints, getMessageBundleClass, getMethodKind, getResourceBundleDef, getRowExceptions, getSecurityHints, getVariableManager, getViewAccessorResultIndex, hasAttributeException, hasDeferredExceptions, hasVariables, isRefreshRequired, isRefreshRequired, isRefreshRequired, lookupListBinding, printXMLDefinition, readXML, refreshViewAccessor, refreshViewAccessor, refreshViewAccessor, registerRowException, setAttributeInternal, setExprVarVal, setInMultiSetter, skipFilterListOnKeyAttributes, writeXML, writeXML, writeXML, writeXMLclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttributeSecurityHints, getAttributeSecurityHints, getEffectiveDateMode, getSecurityHintsprotected abstract void mergeBeanAttributes()
                                     throws java.lang.Exception
java.lang.Exceptionprotected javax.ejb.EJBLocalObject getEJBLocalObject()
protected void setEJBLocalObject(javax.ejb.EJBLocalObject ejbObject)
ejbObject - the Local Entity Bean.public boolean isAttributeUpdateable(int index)
EntityImplREAD_ONLY, UPDATEABLE_WHILE_NEW, or
 UPDATEABLE.
 This method can be overridden. For example, override this method if you want to check the updateable status and you have dependencies between two or more attributes.
isAttributeUpdateable in interface RowisAttributeUpdateable in class EntityImplindex - the attribute's index (0-based).false if the attribute is READ_ONLY;
 true if attribute is UPDATEABLE or if the
 attribute is UPDATEABLE_WHILE_NEW
 and the current row is new.public void setAttribute(int index,
                java.lang.Object val)
EntityImplIf there is a set method for this attribute in a subclass of this Entity Object, that method is invoked. The set method name is derived from the attribute name: for example, the method getDeptNo() pertains to an attribute named "Deptno".
This method should not be overridden; override
 setAttributeInternal instead.
setAttribute in interface AttributeListsetAttribute in class EntityImplindex - the index of the attribute.val - the value to be assigned to the attribute. The class of the returned
 value a Java type determined by this Entity Object's definition
 object.protected void doSelect(boolean lock)
doSelect(boolean).
 
 It populates Entity Facade attributes with the corresponding
 attribute values from the Entity Bean by calling the abstract
 method populateFromBean().
 
doSelect in class EntityImpllock - a flag indicating whether the Entity Facade
              is being 'selected' for update (with a lock)
              or not.  This flag is currently unsed by
              EntityFacadeImpl.protected abstract void populateFromBean()
                                  throws java.lang.Exception
A subclass of this class has an implementation of this method which performs this operation specific to that subclass.
java.lang.Exception - if something goes wrong while retrieving
                    attribute values from the Entity Bean or
                    while setting attibute values into this
                    Entity Facade.  Note that it may throw an
                    EJB exception.public abstract void updateBean(javax.ejb.EJBLocalObject ejbObject)
                         throws java.lang.Exception
A subclass of this class has an implementation of this method which performs this operation specific to that subclass.
ejbObject - the Local Entity Bean.java.lang.Exception - if something goes wrong while retrieving
                    attribute values from this Entity Facade or
                    while setting attibute values into the
                    Entity Bean.  Note that it may throw an
                    EJB exception.protected void doDML(int operation,
         TransactionEvent e)
doDML(int, oracle.jbo.server.TransactionEvent).
 It performs data update operation, syncing the Entity Facade with the corresponding Local Entity Bean instance. If this Entity Facade is a new one, it will create a new Local Entity Bean instance. If this Facade was removed (deleted), it will remove the Entity Bean instance. If this Facade was updated, it will update the Entity Bean with the new attribute values.
doDML in class EntityImploperation - identifies the data update operation to perform.e - describes the transaction event.public java.lang.Object getAttributeInternal(int index)
getAttributeInternal(int)
 to make it public.
 getAttributeInternal in class EntityImplindex - the attribute index.