|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.3.0) E17483-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jbo.server.security.JboXSDomain
public class JboXSDomain
Constructor Summary | |
---|---|
JboXSDomain() This is the default constructor (do not remove) |
|
JboXSDomain(Datum value) |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Collection |
getACLIds() |
java.lang.Object |
getDatumObject() |
static ORADataFactory |
getORADataFactory() |
void |
loadFromDatabase(Transaction transaction) Loads the actual data of the OPAQUE (XMLType) database attribute into memory. |
void |
prepareForDML(java.lang.Object context) |
void |
saveToDatabase(Transaction transaction) The transaction argument is is needed to perform an additional query into the database to write the data. |
void |
saveToDatabase(Transaction transaction, java.lang.Object emptySQLObject) |
Datum |
toDatum(java.sql.Connection c) Deprecated. As of release 11, use #toDatum(oracle.jdbc.OracleConnection) instead |
protected void |
validate() Implements domain validation logic and throws a JboException on error. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JboXSDomain() throws java.sql.SQLException
java.sql.SQLException
public JboXSDomain(Datum value) throws java.sql.SQLException
java.sql.SQLException
Method Detail |
---|
public java.lang.Object getDatumObject()
public void saveToDatabase(Transaction transaction, java.lang.Object emptySQLObject) throws java.sql.SQLException
java.sql.SQLException
public void loadFromDatabase(Transaction transaction) throws java.lang.Exception
The transaction argument is needed to perform an additional query into the database to extract the data.
This method does not need to be invoked for a new attribute.
transaction
- the oracle.jbo.rt.DBTransactionImpl of the current appmodule.java.lang.Exception
public void saveToDatabase(Transaction transaction) throws java.sql.SQLException
The transaction argument is is needed to perform an additional query into the database to write the data.
This method does not need to be invoked if this attribute's data has not changed.
transaction
- the oracle.jbo.rt.DBTransactionImpl
instance of the current application module.java.sql.SQLException
public void prepareForDML(java.lang.Object context)
public Datum toDatum(java.sql.Connection c) throws java.sql.SQLException
#toDatum(oracle.jdbc.OracleConnection)
insteadConverts this JboXSDoamin
Domain object back into an SQL OPAQUE
object.
toDatum
in interface ORAData
c
- Connection
Not used.Datum
containing OPAQUE
object.java.sql.SQLException
protected void validate()
public static ORADataFactory getORADataFactory()
public java.util.Collection getACLIds()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.3.0) E17483-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |