Method Summary |
|
int | addTableField(JDBCCMPFieldBridge field) |
public void | cascadeDelete(EntityEnterpriseContext ctx, Map oldRelations) |
public Object | createPrimaryKeyInstance() |
public static void | destroyPersistenceContext(EntityEnterpriseContext ctx) |
public Object | extractPrimaryKeyFromInstance(EntityEnterpriseContext ctx) |
public String | getAbstractSchemaName() |
public JDBCCMPFieldBridge | getCMPFieldByName(String name) |
public JDBCCMRFieldBridge | getCMRFieldByName(String name) |
public JDBCAbstractCMRFieldBridge[] | getCMRFields() |
public JDBCCMPFieldBridge | getCreatedPrincipalField() |
public JDBCCMPFieldBridge | getCreatedTimeField() |
public DataSource | getDataSource() Returns the datasource for this entity. |
public FieldIterator | getDirtyIterator(EntityEnterpriseContext ctx) |
public boolean[] | getEagerLoadMask() |
public String | getEntityName() |
public int | getFetchSize() |
public FieldBridge | getFieldByName(String name) |
public List | getFields() This method is called only at deployment time, not called at runtime. |
public Iterator | getLazyLoadGroupMasks() |
public int | getListCacheMax() |
public boolean[] | getLoadGroupMask(String name) |
public FieldIterator | getLoadIterator(JDBCCMPFieldBridge requiredField, JDBCReadAheadMetaData readahead, EntityEnterpriseContext ctx) |
public Class | getLocalInterface() |
public FieldIterator | getLockedIterator(EntityEnterpriseContext ctx) |
public JDBCEntityPersistenceStore | getManager() |
public JDBCEntityMetaData | getMetaData() |
int | getNextJDBCContextIndex() |
public Class | getPrimaryKeyClass() |
public JDBCFieldBridge[] | getPrimaryKeyFields() |
public String | getQualifiedTableName() |
public Class | getRemoteInterface() |
public Collection | getSelectors() |
public JDBCFieldBridge[] | getTableFields() |
public String | getTableName() |
public JDBCCMPFieldBridge | getUpdatedPrincipalField() |
public JDBCCMPFieldBridge | getUpdatedTimeField() |
public JDBCCMPFieldBridge | getVersionField() |
public boolean | hasLockedFields(EntityEnterpriseContext ctx) |
public void | init() |
public void | initInstance(EntityEnterpriseContext ctx) |
public void | initPersistenceContext(EntityEnterpriseContext ctx) |
public void | injectPrimaryKeyIntoInstance(EntityEnterpriseContext ctx, Object pk) |
public boolean | isBeingRemoved(EntityEnterpriseContext ctx) Parameters: ctx - instance's context. |
public static boolean | isEjbCreateDone(EntityEnterpriseContext ctx) |
public boolean | isModified(EntityEnterpriseContext ctx) This method is used to determined whether the instance was modified.
NOTE, even if the method returns true the isStoreRequired for this same instance
might return false, e.g. |
public boolean | isRemoved(EntityEnterpriseContext ctx) Parameters: ctx - instance's context. |
public boolean | isScheduledForBatchCascadeDelete(EntityEnterpriseContext ctx) Parameters: ctx - instance's context. |
public boolean | isScheduledForCascadeDelete(EntityEnterpriseContext ctx) Parameters: ctx - instance's context. |
public boolean | isStoreRequired(EntityEnterpriseContext ctx) |
public int | loadPrimaryKeyResults(ResultSet rs, int parameterIndex, Object[] pkRef) |
public boolean | removeFromRelations(EntityEnterpriseContext ctx, Object[] oldRelations) |
public void | resetPersistenceContext(EntityEnterpriseContext ctx) |
public void | resolveRelationships() |
public void | scheduleForBatchCascadeDelete(EntityEnterpriseContext ctx) |
public void | scheduleForCascadeDelete(EntityEnterpriseContext ctx) |
public static void | setCreated(EntityEnterpriseContext ctx) |
public static void | setEjbCreateDone(EntityEnterpriseContext ctx) |
public void | setIsBeingRemoved(EntityEnterpriseContext ctx) |
public int | setPrimaryKeyParameters(PreparedStatement ps, int parameterIndex, Object primaryKey) |
public void | setRemoved(EntityEnterpriseContext ctx) Marks the context as removed. |
public void | start() The third phase of deployment. |