public class ProgrammaticEntityDefImpl extends EntityDefImpl
PersistableDefObject.CustomizationType, PersistableDefObject.PersonalizationTypeDBOBJ_TYPE_OBJTAB, DBOBJ_TYPE_OBJTYP, DBOBJ_TYPE_TABLE, DBOBJ_TYPE_VIEW, EFFECTIVE_DATE_TYPE_DATED, EFFECTIVE_DATE_TYPE_EFFECTIVE_DATED, EFFECTIVE_DATE_TYPE_NONE, mAssocAccessors, mAssocs, mAttrAccessors, mBatchThreshold, mFKeys, mIsObjectTable, mOIDAttribute, mPrimaryKeys, mSource, mSourceTypemAliasName, mBindingStylemComponentClass, PERSMERGED_BASE_PACKAGEmEditedProperties, mEditedPropertyExprsDEF_MDS_CLIENT_KEY, DEF_SCOPE_ALL, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, DEF_SCOPE_SITE, DEF_SCOPE_USER, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAPmFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX, RESID_SUFFIXXML_STATEMENT| Constructor and Description |
|---|
ProgrammaticEntityDefImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOperation(OperationDefinitionImpl opDef)
For internal framework use only.
|
void |
addRowOperation(OperationDefinitionImpl opDef)
For internal framework use only.
|
OperationDefinitionImpl |
addRowScriptOperation(java.lang.String id,
java.lang.String name,
java.lang.String returnType,
java.util.LinkedHashMap<java.lang.String,java.lang.String> params,
java.lang.String body)
For internal framework use only.
|
OperationDefinitionImpl |
addScriptOperation(java.lang.String id,
java.lang.String name,
java.lang.String returnType,
java.util.LinkedHashMap<java.lang.String,java.lang.String> params,
java.lang.String body)
For internal framework use only.
|
OperationDefinitionImpl |
addScriptRowOperation(java.lang.String id,
java.lang.String name,
java.lang.String returnType,
java.util.LinkedHashMap<java.lang.String,java.lang.String> params,
java.lang.String body)
For internal framework use only.
|
ExprCodeSource |
editCodeSource(ExprCodeSource codeSource)
Notify that ComponentOperationsManager that the client expects to
edit the CodeSource.
|
EntityImpl |
findByPrimaryKey(DBTransaction txn,
Key key)
Finds an Entity Object given a Primary Key.
|
OperationDefinitionImpl |
findOperationDefinition(java.lang.String id)
For internal framework use only.
|
OperationDefinitionImpl |
findRowOperationDefinition(java.lang.String id)
For internal framework use only.
|
java.lang.String |
getClientProxyClassName() |
java.lang.Class |
getComponentClass() |
java.lang.String |
getComponentInterfaceName() |
protected ComponentOperations |
getComponentOperations()
For internal framework use only.
|
protected java.lang.String |
getEffectiveClientProxyClassName() |
protected java.lang.String |
getEffectiveComponentInterfaceName() |
OperationDefinitionsImpl |
getOperationDefinitions()
Return the operation definitions.
|
OperationDefinitionsImpl |
getRowOperationDefinitions()
Return the row operation definitions.
|
protected static void |
loadFromXML(DefElement xmlElement,
oracle.jbo.server.RemotableCompDef defObj) |
protected void |
loadOperationDefinitions(DefElement xmlElement)
For internal framework use only.
|
ExprCodeSource |
lookupCodeSource(java.lang.String name)
For internal framework use only.
|
OperationDefinitionImpl |
lookupOperationDefinition(java.lang.String id)
For internal framework use only.
|
OperationDefinitionImpl |
lookupRowOperationDefinition(java.lang.String id)
For internal framework use only.
|
OperationDefinitionImpl |
lookupRowOperationDefinition(java.lang.String name,
java.lang.String returnType,
java.lang.Class[] params) |
void |
removeOperation(OperationDefinitionImpl opDef)
For internal framework use only.
|
void |
removeRowOperation(OperationDefinitionImpl opDef)
For internal framework use only.
|
void |
setClientProxyClassName(java.lang.String name) |
void |
setComponentClass(java.lang.Class refClass) |
void |
setComponentInterfaceName(java.lang.String interfaceName) |
addAssocAccessor, addAttribute, addAttributeOfKind, addEntityAssociation, addEventAttr, addPropertyChangeListener, addPropertyChangeListener, addTrigger, addUniqueKeyValidation, addUniqueKeyValidator, addUniquePKValidation, addValidator, addVetoableChangeListener, addVetoableChangeListener, addVetoableChangeListener, checkEntityLocked, createAltKey, createBlankInstance, createBlankInstance2, createDef, createEntityDef, createInstance, createInstance2, createKey, ensureCodeSource, findAttributeDef, findByAltKey, findByKey, findByPKExtended, findDefObject, findDefObjectNoSub, findFromCache, findFromDatabase, findInCacheByAltKeyExtended, findInCacheByPKExtended, findInCacheByPrimaryKey, finishedLoading, getAllDefNames, getAllEntityInstances, getAllEntityInstancesIterator, getAllExtendedDefObjects, getAssociationDefImpl, getAssociationDefImpl, getAssociationDefImpls, getAttributeCount, getAttributeDef, getAttributeDefImpl, getAttributeDefImpl, getAttributeDefImplByColumnName, getAttributeDefImpls, getAttributeDefs, getBaseComponentClass, getBatchThreshold, getChangeIndicatorColumn, getChangeIndicatorColumn2, getCollClass, getColumnNameForQuery, getCreateEvents, getCurrentSequencedRowChar, getDataSecurityAttribute, getDefTypeId, getDefXMLElementTag, getDeleteEvents, getEffDtNextRowsVOName, getEffDtPreviousRowsVOName, getEffDtRangeRowsVOName, getEffectiveDateSequenceAttr, getEffectiveDateSequenceFlagAttr, getEffectiveDateTransientAttr, getEffectiveDateTransientAttrName, getEffectiveDateType, getEffectiveEndDateAttr, getEffectiveStartDateAttr, getEJBAppProviderURL, getEJBHome, getEJBHomeJNDIName, getEntityAssociations, getEventDef, getEventNamespace, getEventParentAttrs, getEventPayloadNamespace, getEventTransAttrs, getExtendedDefObjects, getExtendedDefObjectsInternal, getForeignKeyAttrs, getHintValue, getLowestEffDtSequenceValue, getMaxAttrConst, getNextEffSequenceRowsVOName, getOIDAttribute, getOwnerRowType, getPermissionDef, getPrevEffSequenceRowsVOName, getPrimaryKeys, getPrimaryViewDefinitionName, getPriorSequencedRowChar, getProperty, getQuery, getRawAttributeDefs, getRefAttrIndex, getRetrievedOnInsertAttributes, getRetrievedOnInsertPrimaryKeys, getRetrievedOnUpdateAttributes, getRetrievedOnUpdatePrimaryKeys, getRowClass, getSelectClause, getSelectClause, getSource, getSourceType, getTriggersOfType, getUniqueKeys, getUpdateEvents, getValidators, hasDataSecurity, hasEffectiveDateSequence, hasLOBAttrs, isAssociationAccessorRetained, isCompDeleteOld, isEffectiveDated, isLobAttribute, isObjectTable, isOIDInPrimaryKey, isRefPKBased, isRowIDPrimaryKey, isSingleUseKeyStatement, isUpdatable, isUpdateChangedColumns, isUseGlueCode, isUseReturningClause, loadAttribute, loadCustomDef, loadFromXML, loadViewAccessors, loadXMLContentsNoResolve, lookupAttributeDef, newInstance, newInstance2, prepKeyForFind, removePropertyChangeListener, removePropertyChangeListener, removeTrigger, removeValidator, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, resetDefResolved, resolveDefObject, resolveReferences, setAssociationAccessorRetained, setBatchThreshold, setChangeIndicatorColumn, setCollClass, setDefForComponent, setEffectiveDateType, setEJBAppProviderURL, setEJBHomeJNDIName, setEventNamespace, setEventPayloadNamespace, setOwnerRowType, setPermissionDef, setRefPKBased, setRowClass, setSingleUseKeyStatement, setSource, setSourceType, setUpdatable, setUpdateChangedColumns, setUseGlueCode, setUseReturningClause, unsetDefForComponent, validateTrigger, writeChildren, writeContentsaddAltKey, addExtendedDefObject, addForwardDependency, addForwardDependency, addListBindingDef, addListBindingDef, addViewAccessorDef, appendBindingNameForAttr, appendBindingSpec, appendBindingSpec, discrValuesQualify, findAltKeyDef, findAttrDefIncludingPDef, findDefForDiscrValues, findDefForDiscrValues2, findListBindingDef, findViewAccessorDef, getAliasName, getAllProperties, getAltKeyAttrDefs, getAltKeyAttrDefs, getAltKeyCount, getAltKeyDef, getAltKeyIndex, getAltKeyNames, getAttributeIndexOf, getBackwardDependencies, getBackwardDependencyAttributes, getBindingStyle, getDataSourceDef, getDefFullName, getDefName, getDiscrColumns, getExprVarVal, getExprVarValType, getForwardDependencies, getForwardDependencyAttributes, getGlobalOperations, getListBindingDefs, getViewAccessorDefs, isComponentDefinition, loadListBindings, loadViewAccessor, lookupAltKeyDef, lookupAttrDefIncludingPDef, lookupExprDef, lookupListBindingDef, lookupRawAttributeDef, lookupValidator, lookupViewAccessorDef, registerDefObject, removeAltKey, removeListBindingDef, removeViewAccessorDef, resolvePropertyRaw, setAliasName, setBindingStyle, setDiscrColumns, setExprVarVal, setThrowOnListBindingMismatch, throwOnListBindingMismatch, verifyExtendedDefObjects, writeXMLContentsderegisterSessionObject, getEditVersionsAsString, getInheritPersonalizationValue, getMajorVersion, getMessageBundleClass, getMinorVersion, getMsgBundleDef, getPackageDef, getPackageName, getPersDef, getPersDefNoUpdateCheck, getPersMergedDef, getResourceBundleDef, getResourcePrefix, isDynamic, isInheritPersonalization, loadDefVersions, loadResourceBundle, loadXMLContents, registerSessionDefObject, setInheritPersonalization, setInheritPersonalizationStrValue, setMessageBundleClass, setResourceBundleDefapplyDiffChildren, diffChildren, ensureVariableManager, getAdfmConfigStartupProperty, getBaseDefObject, getBooleanAdfmConfigProperty, getDefXMLNameSpace, getVariableManager, getVarMgrParents, hasVariables, isDeprecated, isFromCustomization, loadProperties, loadVariables, setBaseDefObject, setBaseDefObject, setName, setParentaddDefImport, addSavedDocName, adjustPropertyMapForWrite, allocatePropertyMap, allocatePropertyMapForEdits, applyDiffContents, beginDiffObjects, checkEditable, checkStructWithOld, close, createFromXML, deregisterDefObject, diffContents, diffObjects, ensureDifferDetails, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefTypeName, getDefWriter, getEditedPropertiesMap, getEditedPropertyExpressionsMap, getEditedPropertyMap, getEditObject, getExtendedDefObjectsInternal, getFileName, getFullDirName, getFullFileName, getMergeableFullName, getMergeableName, getOrigObject, getPropertyMap, getSavedDocNames, getSessionSyncLock, getSubstitutedNames, getSyncLock, getXMLElementTag, guaranteePath, hasExtendedDefObjects, includeCustomizationLayerInfo, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isFromTip, isLoadBase, isMajorVersionChanged, isMinorVersionChanged, isNew, isPersonalizationEnabled, isPersonalizationEnabled, isPropertyExpression, loadDefImports, loadDefObject, lockDefinitionContext, mergeChanges, mergePropertyMap, objectRemoved, reapplyChanges, registerClass, registerSiteDefObject, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setEditableFlag, setEditableObject, setFullName, setFullNameInternal, setLoadBase, setMajorVersionChanged, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, setupDefWriterFromMO, staticUpdateChildrenList, unlockDefinitionContext, updateChildrenList, updateMdsKeyFromTip, verifyVersion, verifyVersionNullCheck, writeHeaderForNew, writeObject, writeVersionaddPropertySetName, enableUpdateCheck, getAllExtendedDefObjects, getContainerDef, getContainerName, getDefinitionState, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, getRootBaseDefObject, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, isSubtypeOf, isSuppressUpdateCheck, loadCustomProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, setDefScope, setMdsKey, setMdsReference, setObjectResolved, setPropertySetName, staticLoadCustomProperties, staticLoadSchemaProperties, suppressUpdateCheckgetFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getPropertyExpressionDef, getPropertyExpressionsMap, getPropertyNamesSet, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setPropertiesMap, setPropertiesMap2, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeIndexOf, getDefFullName, getDefName, getFullName, getNamegetFullName, getName, getResourceBundleDefgetFullNamegetNamegetFullNamepublic EntityImpl findByPrimaryKey(DBTransaction txn, Key key)
EntityDefImplGiven the name of the databse transaction and the table's primary key, this method returns the associated Entity Object. If the Entity has not already been brought into the cache by any of the View Objects, this method will cause the Entity to be fetched from the database.
This method returns null if the Entity Object is not found.
findByPrimaryKey in class EntityDefImpltxn - the transaction containing the Entity Object.key - the Primary Key.public java.lang.Class getComponentClass()
public void setComponentClass(java.lang.Class refClass)
public void setComponentInterfaceName(java.lang.String interfaceName)
public java.lang.String getComponentInterfaceName()
public java.lang.String getClientProxyClassName()
public void setClientProxyClassName(java.lang.String name)
protected java.lang.String getEffectiveClientProxyClassName()
protected java.lang.String getEffectiveComponentInterfaceName()
protected static void loadFromXML(DefElement xmlElement, oracle.jbo.server.RemotableCompDef defObj)
@Concealed protected ComponentOperations getComponentOperations()
@Concealed public OperationDefinitionImpl lookupOperationDefinition(java.lang.String id)
@Concealed public ExprCodeSource lookupCodeSource(java.lang.String name)
@Concealed public OperationDefinitionImpl findOperationDefinition(java.lang.String id)
public OperationDefinitionsImpl getOperationDefinitions()
OperationContainergetOperationDefinitions in interface OperationContainerpublic OperationDefinitionsImpl getRowOperationDefinitions()
OperationContainergetRowOperationDefinitions in interface OperationContainerpublic ExprCodeSource editCodeSource(ExprCodeSource codeSource)
ComponentOperationsManagereditCodeSource in interface ComponentOperationsManager@Concealed public void addOperation(OperationDefinitionImpl opDef)
@Concealed public OperationDefinitionImpl addScriptOperation(java.lang.String id, java.lang.String name, java.lang.String returnType, java.util.LinkedHashMap<java.lang.String,java.lang.String> params, java.lang.String body)
@Concealed public OperationDefinitionImpl addScriptRowOperation(java.lang.String id, java.lang.String name, java.lang.String returnType, java.util.LinkedHashMap<java.lang.String,java.lang.String> params, java.lang.String body)
@Concealed public void removeOperation(OperationDefinitionImpl opDef)
protected void loadOperationDefinitions(DefElement xmlElement)
@Concealed public OperationDefinitionImpl lookupRowOperationDefinition(java.lang.String id)
public OperationDefinitionImpl lookupRowOperationDefinition(java.lang.String name, java.lang.String returnType, java.lang.Class[] params)
@Concealed public OperationDefinitionImpl findRowOperationDefinition(java.lang.String id)
@Concealed public void addRowOperation(OperationDefinitionImpl opDef)
@Concealed public OperationDefinitionImpl addRowScriptOperation(java.lang.String id, java.lang.String name, java.lang.String returnType, java.util.LinkedHashMap<java.lang.String,java.lang.String> params, java.lang.String body)
@Concealed public void removeRowOperation(OperationDefinitionImpl opDef)