com.retek.component.media.impl.persistence.db.oracle
Class OracleMediaDefaultSourceCodeUpdater

java.lang.Object
  extended bycom.retek.commons.domain.core.persistence.db.DbOperation
      extended bycom.retek.component.media.impl.persistence.db.oracle.OracleMediaDefaultSourceCodeUpdater

public class OracleMediaDefaultSourceCodeUpdater
extends DbOperation

Normally an updater dbOperation would include the version in the where clause and would call dto.markpersisted(), but considering that this dbOp is called from a specific point in the MediaDao after the Media itself has already been persisted and versioning has been checked we've chosen not to include these elements of the updater pattern. --Rich, Corey


Field Summary
 
Fields inherited from class com.retek.commons.domain.core.persistence.db.DbOperation
DUMMY_VERSION_UNTIL_VERSION_COLUMN_ADDED
 
Constructor Summary
OracleMediaDefaultSourceCodeUpdater(java.sql.Connection connectionVal)
           
 
Method Summary
protected  void doPerform()
           
 void update(DistributedReference mediaRef, DistributedReference sourceCodeRef)
           
 
Methods inherited from class com.retek.commons.domain.core.persistence.db.DbOperation
checkUpdate, close, getCallableStatement, getConnection, getRetekPreparedStatement, getStatement, perform, setInitialState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleMediaDefaultSourceCodeUpdater

public OracleMediaDefaultSourceCodeUpdater(java.sql.Connection connectionVal)
Method Detail

update

public void update(DistributedReference mediaRef,
                   DistributedReference sourceCodeRef)
            throws SystemException
Throws:
SystemException

doPerform

protected void doPerform()
                  throws java.sql.SQLException,
                         SystemException
Specified by:
doPerform in class DbOperation
Throws:
java.sql.SQLException
SystemException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28