|
pljava 1.0.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
java.lang.String[] |
getArguments()
Returns the arguments for this trigger (as declared in the CREATE TRIGGER
statement. |
java.lang.String |
getName()
Returns the name of the trigger (as declared in the CREATE TRIGGER
statement). |
java.sql.ResultSet |
getNew()
Returns the ResultSet that represents the new row. |
java.sql.ResultSet |
getOld()
Returns the ResultSet that represents the old row. |
java.lang.String |
getTableName()
Returns the name of the table for which this trigger was created (as declared in the CREATE TRIGGER
|
boolean |
isFiredAfter()
Returns true if the trigger was fired after the statement
or row action that it is associated with. |
boolean |
isFiredBefore()
Returns true if the trigger was fired before the
statement or row action that it is associated with. |
boolean |
isFiredByDelete()
Returns true if this trigger was fired by a DELETE. |
boolean |
isFiredByInsert()
Returns true if this trigger was fired by an INSERT. |
boolean |
isFiredByUpdate()
Returns true if this trigger was fired by an UPDATE. |
boolean |
isFiredForEachRow()
Returns true if this trigger is fired once for each row
(as opposed to once for the entire statement). |
boolean |
isFiredForStatement()
Returns true if this trigger is fired once for the entire
statement (as opposed to once for each row). |
| Method Detail |
public java.sql.ResultSet getNew()
throws java.sql.SQLException
ResultSet containing one row or
null.
java.sql.SQLException - if the contained native buffer has gone stale.
public java.sql.ResultSet getOld()
throws java.sql.SQLException
ResultSet containing one row or
null.
java.sql.SQLException - if the contained native buffer has gone stale.
public java.lang.String[] getArguments()
throws java.sql.SQLException
CREATE TRIGGER
statement. If the trigger has no arguments, this method will return an
array with size 0.
java.sql.SQLException - if the contained native buffer has gone stale.
public java.lang.String getName()
throws java.sql.SQLException
CREATE TRIGGER
statement).
java.sql.SQLException - if the contained native buffer has gone stale.
public java.lang.String getTableName()
throws java.sql.SQLException
CREATE TRIGGER
java.sql.SQLException - if the contained native buffer has gone stale.
public boolean isFiredAfter()
throws java.sql.SQLException
true if the trigger was fired after the statement
or row action that it is associated with.
java.sql.SQLException - if the contained native buffer has gone stale.
public boolean isFiredBefore()
throws java.sql.SQLException
true if the trigger was fired before the
statement or row action that it is associated with.
java.sql.SQLException - if the contained native buffer has gone stale.
public boolean isFiredForEachRow()
throws java.sql.SQLException
true if this trigger is fired once for each row
(as opposed to once for the entire statement).
java.sql.SQLException - if the contained native buffer has gone stale.
public boolean isFiredForStatement()
throws java.sql.SQLException
true if this trigger is fired once for the entire
statement (as opposed to once for each row).
java.sql.SQLException - if the contained native buffer has gone stale.
public boolean isFiredByDelete()
throws java.sql.SQLException
true if this trigger was fired by a DELETE.
java.sql.SQLException - if the contained native buffer has gone stale.
public boolean isFiredByInsert()
throws java.sql.SQLException
true if this trigger was fired by an INSERT.
java.sql.SQLException - if the contained native buffer has gone stale.
public boolean isFiredByUpdate()
throws java.sql.SQLException
true if this trigger was fired by an UPDATE.
java.sql.SQLException - if the contained native buffer has gone stale.
|
pljava 1.0.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||