Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

oracle.jbo.server.security
Class JboXSDomain

java.lang.Object
  extended by oracle.jbo.server.security.JboXSDomain
All Implemented Interfaces:
oracle.jdbc.internal.ObjectData, ORAData

public class JboXSDomain
extends java.lang.Object
implements ORAData


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

JboXSDomain

public JboXSDomain()
            throws java.sql.SQLException
This is the default constructor (do not remove)

Throws:
java.sql.SQLException

JboXSDomain

public JboXSDomain(Datum value)
            throws java.sql.SQLException
Throws:
java.sql.SQLException
Method Detail

getDatumObject

public java.lang.Object getDatumObject()

saveToDatabase

public void saveToDatabase(Transaction transaction,
                           java.lang.Object emptySQLObject)
                    throws java.sql.SQLException
Throws:
java.sql.SQLException

loadFromDatabase

public void loadFromDatabase(Transaction transaction)
                      throws java.lang.Exception
Loads the actual data of the OPAQUE (XMLType) database attribute into memory.

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.

Parameters:
transaction - the oracle.jbo.rt.DBTransactionImpl of the current appmodule.
Throws:
java.lang.Exception

saveToDatabase

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.

Parameters:
transaction - the oracle.jbo.rt.DBTransactionImpl instance of the current application module.
Throws:
java.sql.SQLException

prepareForDML

public void prepareForDML(java.lang.Object context)

toDatum

public Datum toDatum(java.sql.Connection c)
              throws java.sql.SQLException
Deprecated. As of release 11, use #toDatum(oracle.jdbc.OracleConnection) instead

Internal: Applications should not invoke this method.

Converts this JboXSDoamin Domain object back into an SQL OPAQUE object.

Specified by:
toDatum in interface ORAData
Parameters:
c - Connection Not used.
Returns:
A Datum containing OPAQUE object.
Throws:
java.sql.SQLException

validate

protected void validate()
Implements domain validation logic and throws a JboException on error.


getORADataFactory

public static ORADataFactory getORADataFactory()

getACLIds

public java.util.Collection getACLIds()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.0.0)

E17483-01

Copyright © 1997, 2011, Oracle. All rights reserved.