com.sun.mdm.index.ops
Class SystemSBRDB

java.lang.Object
  extended bycom.sun.mdm.index.ops.ObjectPersistenceService
      extended bycom.sun.mdm.index.ops.SystemSBRDB
All Implemented Interfaces:
java.io.Serializable

public final class SystemSBRDB
extends ObjectPersistenceService

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.mdm.index.ops.ObjectPersistenceService
DATEFORMAT, DBDATEFORMAT
 
Constructor Summary
SystemSBRDB()
          default constructor
 
Method Summary
 void create(java.sql.Connection conn, java.util.HashMap opsmap, java.lang.String euid, SBR sbr)
          Persists a new SystemSBR record and its children into database.
 SBR get(java.sql.Connection conn, java.util.HashMap opsmap, java.lang.String euid)
          Retrieves SystemSBR and its children records from database by EUID
 void remove(java.sql.Connection conn, java.util.HashMap opsmap, java.lang.String euid, SBR sbr)
          Removes an existing SystemSBR and its children records from database.
 void update(java.sql.Connection conn, java.util.HashMap opsmap, java.lang.String euid, SBR sbr)
          Updates an existing SystemSBR and its children records in the database.
 
Methods inherited from class com.sun.mdm.index.ops.ObjectPersistenceService
addobject, addobject, addobject, addobject, addobject, addobject, finalize, getStatement, getValue, init, log, setParam, setParamBlob, setParamBlob, sql2str, strfmt
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemSBRDB

public SystemSBRDB()
            throws OPSException
default constructor

Throws:
OPSException - if an error occurred.
Method Detail

create

public void create(java.sql.Connection conn,
                   java.util.HashMap opsmap,
                   java.lang.String euid,
                   SBR sbr)
            throws OPSException
Persists a new SystemSBR record and its children into database.

Parameters:
conn - JDBC connection.
opsmap - OPS hashmap.
euid - EUID.
sbr - SBR record to persist.
Throws:
OPSException - if an error occurred.

get

public SBR get(java.sql.Connection conn,
               java.util.HashMap opsmap,
               java.lang.String euid)
        throws OPSException
Retrieves SystemSBR and its children records from database by EUID

Parameters:
conn - JDBC connection.
opsmap - OPS hashmap.
euid - EUID.
Returns:
SBR record
Throws:
OPSException - if an error occurred.

remove

public void remove(java.sql.Connection conn,
                   java.util.HashMap opsmap,
                   java.lang.String euid,
                   SBR sbr)
            throws OPSException
Removes an existing SystemSBR and its children records from database.

Parameters:
conn - JDBC connection.
opsmap - OPS hashmap.
euid - EUID.
sbr - SBR record
Throws:
OPSException - if an error occurred.

update

public void update(java.sql.Connection conn,
                   java.util.HashMap opsmap,
                   java.lang.String euid,
                   SBR sbr)
            throws OPSException
Updates an existing SystemSBR and its children records in the database.

Parameters:
conn - JDBC connection.
opsmap - OPS hashmap.
euid - EUID.
sbr - SBR record
Throws:
OPSException - if an error occurred.


Sun Microsystems, Inc.