[cvs] expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/dataobjects DataExecutorInterface.java

JCorporate Ltd jcorp at jcorp2.servlets.net
Mon Sep 20 13:23:16 PDT 2004


Update of /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/dataobjects
In directory jcorp2.servlets.net:/tmp/cvs-serv6517

Modified Files:
	DataExecutorInterface.java 
Log Message:
<Aucun commentaire entré>


Index: DataExecutorInterface.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/dataobjects/DataExecutorInterface.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** DataExecutorInterface.java	20 Sep 2004 19:20:46 -0000	1.10
--- DataExecutorInterface.java	20 Sep 2004 20:23:14 -0000	1.11
***************
*** 125,128 ****
--- 125,154 ----
      public void addBatch(List valueObjectList) throws DataException, DuplicateKeyException;
  
+         /**
+          * Updates an entire batch of <code>DataObject</code>s
+          * @param valueObjectList A list of <code>DataObject</code>s to update to the underlying
+          * data source
+          * @throws DataException upon error updating the data source
+          */
+         public void deleteBatch(List valueObjectList) throws DataException;
+ 
+         /**
+          * Updates an entire batch of <code>DataObject</code>s
+          * @param valueObjectList A list of <code>DataObject</code>s to update to the underlying
+          * data source
+          * @param updateChangedFieldsOnly flag to signify if only fields whose value
+          *         has changed should be included in the update.
+          * @throws DataException upon error updating the data source
+          */
+         public void deleteBatch(List valueObjectList, boolean deleteWithSetFieldsOnly) throws DataException;
+ 
+         /**
+          * Takes a <code>DataObject</code> and updates it to the underlying data source
+          * @param valueObject the <code>DataObject</code> to update.
+          * @param updateChangedFieldsOnly flag to signify if only fields whose value
+          *         has changed should be included in the update.
+          * @throws DataException upon error updating the object to the data source
+          */
+ 
      /**
       * Updates an entire batch of <code>DataObject</code>s
***************
*** 132,134 ****
--- 158,195 ----
       */
      public void updateBatch(List valueObjectList) throws DataException;
+ 
+         /**
+          * Updates an entire batch of <code>DataObject</code>s
+          * @param valueObjectList A list of <code>DataObject</code>s to update to the underlying
+          * data source
+      * @param updateChangedFieldsOnly flag to signify if only fields whose value
+      *         has changed should be included in the update.
+          * @throws DataException upon error updating the data source
+          */
+         public void updateBatch(List valueObjectList, boolean updateChangedFieldsOnly) throws DataException;
+ 
+         /**
+          * Takes a <code>DataObject</code> and updates it to the underlying data source
+          * @param valueObject the <code>DataObject</code> to update.
+          * @param updateChangedFieldsOnly flag to signify if only fields whose value
+          *         has changed should be included in the update.
+          * @throws DataException upon error updating the object to the data source
+          */
+         public void updateAll(DataObject valueObject, boolean updateChangedCache) throws DataException;
+ 
+         /**
+          * Takes a <code>DataObject</code> and deletes it from the underlying data source
+          * @param valueObject the <code>DataObject</code> to delete.
+          * @throws DataException upon error deleting the objects to the data source
+          */
+         public void deleteAll(DataObject valueObject, boolean deleteChangedCache) throws DataException;
+         /**
+          * Takes a <code>DataObject</code> and run it from the underlying data source
+          * @param valueObject the <code>DataObject</code> to run.
+          * @throws DataException upon error retriving the object from the data source
+          */
+         public void runStoreProcedure(DataObject valueObject) throws DataException;
+ 
+ 
+ 
  }



More information about the cvs mailing list