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

EntityTable.View (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.ejb.plugins.cmp.jdbc2.schema
Class EntityTable.View

java.lang.Object
  extended byorg.jboss.ejb.plugins.cmp.jdbc2.schema.EntityTable.View
All Implemented Interfaces:
Table.View
Enclosing class:
EntityTable

public class EntityTable.View
extends Object
implements Table.View


Constructor Summary
EntityTable.View(Transaction tx)
           
 
Method Summary
 void addClean(EntityTable.Row row)
           
 void addCreated(EntityTable.Row row)
           
 void addRowWithNullFk(EntityTable.Row row)
           
 void beforeCompletion()
           
 void committed()
           
 void flushCreated(Schema.Views views)
           
 void flushDeleted(Schema.Views views)
           
 void flushUpdated()
           
 EntityTable.Row getRow(Object pk)
           
 EntityTable.Row getRowByPk(Object pk, boolean required)
           
 boolean hasRow(Object id)
           
 Object loadPk(ResultSet rs)
           
 EntityTable.Row loadRow(ResultSet rs, Object pk)
           
 void rolledback()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityTable.View

public EntityTable.View(Transaction tx)
Method Detail

getRow

public EntityTable.Row getRow(Object pk)

getRowByPk

public EntityTable.Row getRowByPk(Object pk,
                                  boolean required)

addClean

public void addClean(EntityTable.Row row)

addCreated

public void addCreated(EntityTable.Row row)
                throws javax.ejb.DuplicateKeyException
Throws:
javax.ejb.DuplicateKeyException

loadRow

public EntityTable.Row loadRow(ResultSet rs,
                               Object pk)

loadPk

public Object loadPk(ResultSet rs)

hasRow

public boolean hasRow(Object id)

addRowWithNullFk

public void addRowWithNullFk(EntityTable.Row row)

flushDeleted

public void flushDeleted(Schema.Views views)
                  throws SQLException
Specified by:
flushDeleted in interface Table.View
Throws:
SQLException

flushCreated

public void flushCreated(Schema.Views views)
                  throws SQLException
Specified by:
flushCreated in interface Table.View
Throws:
SQLException

flushUpdated

public void flushUpdated()
                  throws SQLException
Specified by:
flushUpdated in interface Table.View
Throws:
SQLException

beforeCompletion

public void beforeCompletion()
Specified by:
beforeCompletion in interface Table.View

committed

public void committed()
Specified by:
committed in interface Table.View

rolledback

public void rolledback()
Specified by:
rolledback in interface Table.View


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