Sun Adapter for Oracle Tutorials

jcdDelete Collaboration Java Code

The completed Java source code for the jcdDelete Collaboration appears as follows:


package prjOracle_JCD;


public class jcdDelete
{

   public com.stc.codegen.logger.Logger logger;

   public com.stc.codegen.alerter.Alerter alerter;

   public com.stc.codegen.util.CollaborationContext collabContext;

   public com.stc.codegen.util.TypeConverter typeConverter;

   public void receive( com.stc.connector.appconn.file.FileTextMessage input, 
otdOracle.OtdOracleOTD otdOracle_1, com.stc.connector.appconn.file.FileApplication FileClient_1 )
       throws Throwable
   {
       FileClient_1.setText( "Delete record .." );
       FileClient_1.write();
       otdOracle_1.getDB_EMPLOYEE().delete( input.getText() );
       FileClient_1.setText( "Done delete." );
       FileClient_1.write();
   }

}

Note –

The above code has been wrapped for display purposes.