org.jboss.ejb.plugins.cmp.jdbc2.schema
Class EntityTable.View
java.lang.Object
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityTable.View
public EntityTable.View(Transaction tx)
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,
boolean searchableOnly)
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 © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.