站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

JDBCCMRFieldBridge2.FieldState (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.ejb.plugins.cmp.jdbc2.bridge
Interface JDBCCMRFieldBridge2.FieldState

All Superinterfaces:
Cache.CacheLoader
All Known Implementing Classes:
JDBCCMRFieldBridge2.CollectionValuedFieldState, JDBCCMRFieldBridge2.SingleValuedFieldState
Enclosing interface:
JDBCCMRFieldBridge2

public static interface JDBCCMRFieldBridge2.FieldState
extends Cache.CacheLoader


Field Summary
static Object NULL_VALUE
           
 
Method Summary
 void addLoadedPk(Object pk)
           
 boolean addRelatedId(EntityEnterpriseContext ctx, Object value)
           
 void cacheValue(EntityEnterpriseContext ctx)
           
 void cascadeDelete(EntityEnterpriseContext ctx)
           
 void destroyExistingRelationships(EntityEnterpriseContext ctx)
           
 Object getValue(EntityEnterpriseContext ctx)
           
 void init()
           
 boolean isModified()
           
 boolean removeRelatedId(EntityEnterpriseContext ctx, Object relatedId)
           
 void setValue(EntityEnterpriseContext ctx, Object value)
           
 
Methods inherited from interface org.jboss.ejb.plugins.cmp.jdbc2.schema.Cache.CacheLoader
getCachedValue, loadFromCache
 

Field Detail

NULL_VALUE

public static final Object NULL_VALUE
Method Detail

init

public void init()

getValue

public Object getValue(EntityEnterpriseContext ctx)

cascadeDelete

public void cascadeDelete(EntityEnterpriseContext ctx)
                   throws javax.ejb.RemoveException
Throws:
javax.ejb.RemoveException

destroyExistingRelationships

public void destroyExistingRelationships(EntityEnterpriseContext ctx)

setValue

public void setValue(EntityEnterpriseContext ctx,
                     Object value)

removeRelatedId

public boolean removeRelatedId(EntityEnterpriseContext ctx,
                               Object relatedId)

addRelatedId

public boolean addRelatedId(EntityEnterpriseContext ctx,
                            Object value)

addLoadedPk

public void addLoadedPk(Object pk)

cacheValue

public void cacheValue(EntityEnterpriseContext ctx)

isModified

public boolean isModified()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.