commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hus...@apache.org
Subject cvs commit: jakarta-commons-sandbox/scaffold/src/java/org/apache/commons/scaffold/util StorageBean.java
Date Tue, 20 Aug 2002 21:33:02 GMT
husted      2002/08/20 14:33:02

  Modified:    scaffold/src/java/org/apache/commons/scaffold/util
                        StorageBean.java
  Log:
  + StorageBeanBase.retrieve, recycle,delete: Add call to result.setSingleForm.
  + StorageBeanBase.findElement: Swap key,command parameters
  + StorageBeanBase: Added findCollection convenience methods.
  + StorageBeanBase: Add marked as a base property.
  
  Revision  Changes    Path
  1.2       +12 -5     jakarta-commons-sandbox/scaffold/src/java/org/apache/commons/scaffold/util/StorageBean.java
  
  Index: StorageBean.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/scaffold/src/java/org/apache/commons/scaffold/util/StorageBean.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StorageBean.java	19 Aug 2002 22:33:01 -0000	1.1
  +++ StorageBean.java	20 Aug 2002 21:33:02 -0000	1.2
  @@ -166,7 +166,14 @@
   
       /**
        * Retrieve object from data storage.
  -     * <p>
  +     * <P>
  +     * <B>NOTE</B> that the precursor to this inteface,
  +     * the <CODE>AccessBase</CODE> class reversed the
  +     * command and key parameters.
  +     * This was inconsistent with how the parameters were
  +     * used elsewhere.
  +     * If you are converting from AccessBase, be sure to
  +     * submit the parameters in the correct order.
        * @return True if object is found
        * @exception ResourceException if SQL error occurs
        * @param target Object to use as factory when populating
  @@ -177,8 +184,8 @@
        */
       public boolean findElement(
               Object target,
  -            Object key,
  -            String command) throws ResourceException;
  +            String command,
  +            Object key) throws ResourceException;
   
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message