You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2013/09/17 19:17:56 UTC

svn commit: r1524134 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java

Author: adrianc
Date: Tue Sep 17 17:17:56 2013
New Revision: 1524134

URL: http://svn.apache.org/r1524134
Log:
JavaDoc fix - no functional change.

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java?rev=1524134&r1=1524133&r2=1524134&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java Tue Sep 17 17:17:56 2013
@@ -531,14 +531,13 @@ public interface Delegator {
     public EntityListIterator findListIteratorByCondition(DynamicViewEntity dynamicViewEntity, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) throws GenericEntityException;
 
     /**
-     * Find a Generic Entity by its Primary Key NOTE 20080502: 6 references
+     * Find a Generic Entity by its primary key.
      *
-     * @param entityName
-     *            The Name of the Entity as defined in the entity XML file
-     * @param fields
-     *            The fields of the named entity to query by with their
-     *            corresponding values
-     * @return The GenericValue corresponding to the primaryKey
+     * @param entityName The Name of the Entity as defined in the entity XML file
+     * @param useCache Retrieve the Generic Entity from the cache when <code>true</code>
+     * @param fields The fields of the named entity to query by with their corresponding values
+     * @return The Generic Entity corresponding to the primary key
+     * @throws GenericEntityException
      */
     public GenericValue findOne(String entityName, boolean useCache, Object... fields) throws GenericEntityException;
 



Re: svn commit: r1524134 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java

Posted by Jacques Le Roux <ja...@les7arts.com>.
Done

Jacques

Jacques Le Roux wrote:
> Hi Adrian,
> 
> I'm working on the doCacheClear stuff.
> Please don't change too much things in delegator API before I commits my changes
> I got no issues with this one and r1524183, all merged well, but who knows...
> 
> Thanks
> 
> Jacques
> 
> adrianc@apache.org wrote:
>> Author: adrianc
>> Date: Tue Sep 17 17:17:56 2013
>> New Revision: 1524134
>> 
>> URL: http://svn.apache.org/r1524134
>> Log:
>> JavaDoc fix - no functional change.
>> 
>> Modified:
>>    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java
>> 
>> Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java
>> URL:
>> http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java?rev=1524134&r1=1524133&r2=1524134&view=diff
>> ============================================================================== ---
>> ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java (original) +++
>> ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java Tue Sep 17 17:17:56 2013 @@ -531,14 +531,13 @@ public interface
>>     Delegator { public EntityListIterator findListIteratorByCondition(DynamicViewEntity dynamicViewEntity, EntityCondition
>> whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy,
>> EntityFindOptions findOptions) throws GenericEntityException;
>> 
>>     /**
>> -     * Find a Generic Entity by its Primary Key NOTE 20080502: 6 references
>> +     * Find a Generic Entity by its primary key.
>>      *
>> -     * @param entityName
>> -     *            The Name of the Entity as defined in the entity XML file
>> -     * @param fields
>> -     *            The fields of the named entity to query by with their
>> -     *            corresponding values
>> -     * @return The GenericValue corresponding to the primaryKey
>> +     * @param entityName The Name of the Entity as defined in the entity XML file
>> +     * @param useCache Retrieve the Generic Entity from the cache when <code>true</code>
>> +     * @param fields The fields of the named entity to query by with their corresponding values
>> +     * @return The Generic Entity corresponding to the primary key
>> +     * @throws GenericEntityException
>>      */
>>     public GenericValue findOne(String entityName, boolean useCache, Object... fields) throws GenericEntityException;

Re: svn commit: r1524134 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Adrian,

I'm working on the doCacheClear stuff. 
Please don't change too much things in delegator API before I commits my changes
I got no issues with this one and r1524183, all merged well, but who knows...

Thanks

Jacques

adrianc@apache.org wrote:
> Author: adrianc
> Date: Tue Sep 17 17:17:56 2013
> New Revision: 1524134
> 
> URL: http://svn.apache.org/r1524134
> Log:
> JavaDoc fix - no functional change.
> 
> Modified:
>    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java
> 
> Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java
> URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java?rev=1524134&r1=1524133&r2=1524134&view=diff
> ============================================================================== ---
> ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java (original) +++
> ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java Tue Sep 17 17:17:56 2013 @@ -531,14 +531,13 @@ public interface
>     Delegator { public EntityListIterator findListIteratorByCondition(DynamicViewEntity dynamicViewEntity, EntityCondition
> whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy,
> EntityFindOptions findOptions) throws GenericEntityException;  
> 
>     /**
> -     * Find a Generic Entity by its Primary Key NOTE 20080502: 6 references
> +     * Find a Generic Entity by its primary key.
>      *
> -     * @param entityName
> -     *            The Name of the Entity as defined in the entity XML file
> -     * @param fields
> -     *            The fields of the named entity to query by with their
> -     *            corresponding values
> -     * @return The GenericValue corresponding to the primaryKey
> +     * @param entityName The Name of the Entity as defined in the entity XML file
> +     * @param useCache Retrieve the Generic Entity from the cache when <code>true</code>
> +     * @param fields The fields of the named entity to query by with their corresponding values
> +     * @return The Generic Entity corresponding to the primary key
> +     * @throws GenericEntityException
>      */
>     public GenericValue findOne(String entityName, boolean useCache, Object... fields) throws GenericEntityException;