com.sun.mdm.index.ops
Class EORetriever

java.lang.Object
  extended bycom.sun.mdm.index.ops.EORetriever

public final class EORetriever
extends java.lang.Object

Retrieves EO from the database based on Epaths specified. Internally it uses QueryManager to retrieves the SO and SBR and it combines them using ObjectNode.combine method.


Constructor Summary
EORetriever()
          Default constructor
 
Method Summary
 EnterpriseObject getEO(java.sql.Connection conn, java.lang.String euid, java.lang.String[] epaths)
          Gets EO based on epaths specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EORetriever

public EORetriever()
            throws java.lang.Exception
Default constructor

Throws:
java.lang.Exception - if an error occurs.
Method Detail

getEO

public EnterpriseObject getEO(java.sql.Connection conn,
                              java.lang.String euid,
                              java.lang.String[] epaths)
                       throws java.lang.Exception
Gets EO based on epaths specified.

Parameters:
conn - JDBC Connection.
euid - EUID of EO to retrieve.
epaths - List of epaths on which EO is to constructed.
Returns:
retrieved EnterpriseObject.
Throws:
java.lang.Exception - if any error occurs.


Sun Microsystems, Inc.