当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
CascadeDeleteStrategy (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.plugins.cmp.jdbc
Class CascadeDeleteStrategy
java.lang.Object
org.jboss.ejb.plugins.cmp.jdbc.CascadeDeleteStrategy
- Direct Known Subclasses:
- CascadeDeleteStrategy.BatchCascadeDeleteStrategy, CascadeDeleteStrategy.DefaultCascadeDeleteStrategy, CascadeDeleteStrategy.NoneCascadeDeleteStrategy
- public abstract class CascadeDeleteStrategy
- extends Object
- Version:
- $Revision: 1.10 $
- Author:
- Alexey Loubyansky
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cmrField
protected final JDBCCMRFieldBridge cmrField
entity
protected final JDBCEntityBridge entity
relatedManager
protected final JDBCStoreManager relatedManager
log
protected final org.jboss.logging.Logger log
CascadeDeleteStrategy
public CascadeDeleteStrategy(JDBCCMRFieldBridge cmrField)
throws org.jboss.deployment.DeploymentException
getCascadeDeleteStrategy
public static CascadeDeleteStrategy getCascadeDeleteStrategy(JDBCCMRFieldBridge cmrField)
throws org.jboss.deployment.DeploymentException
- Throws:
org.jboss.deployment.DeploymentException
removedIds
public abstract void removedIds(EntityEnterpriseContext ctx,
Object[] oldRelationRefs,
List ids)
cascadeDelete
public abstract void cascadeDelete(EntityEnterpriseContext ctx,
List oldValues)
throws javax.ejb.RemoveException,
RemoteException
- Throws:
javax.ejb.RemoveException
RemoteException
scheduleCascadeDelete
protected void scheduleCascadeDelete(Object[] oldRelationsRef,
List values)
executeDeleteSQL
protected void executeDeleteSQL(String sql,
Object key)
throws javax.ejb.RemoveException
- Throws:
javax.ejb.RemoveException
invokeRemoveRelated
public void invokeRemoveRelated(Object relatedId)
throws javax.ejb.RemoveException,
RemoteException
- Throws:
javax.ejb.RemoveException
RemoteException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.