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 2014/08/30 13:22:46 UTC

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

Author: adrianc
Date: Sat Aug 30 11:22:46 2014
New Revision: 1621445

URL: http://svn.apache.org/r1621445
Log:
Removed unnecessary public keywords from the Delegator interface.

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=1621445&r1=1621444&r2=1621445&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/Delegator.java Sat Aug 30 11:22:46 2014
@@ -51,17 +51,17 @@ public interface Delegator {
 
     enum OperationType {INSERT, UPDATE, DELETE}
 
-    public void clearAllCacheLinesByDummyPK(Collection<GenericPK> dummyPKs);
+    void clearAllCacheLinesByDummyPK(Collection<GenericPK> dummyPKs);
 
-    public void clearAllCacheLinesByValue(Collection<GenericValue> values);
+    void clearAllCacheLinesByValue(Collection<GenericValue> values);
 
     /**
      * This method is a shortcut to completely clear all entity engine caches.
      * For performance reasons this should not be called very often.
      */
-    public void clearAllCaches();
+    void clearAllCaches();
 
-    public void clearAllCaches(boolean distribute);
+    void clearAllCaches(boolean distribute);
 
     /**
      * Remove a CACHED Generic Entity from the cache by its primary key, does
@@ -71,9 +71,9 @@ public interface Delegator {
      * @param primaryKey
      *            The primary key to clear by.
      */
-    public void clearCacheLine(GenericPK primaryKey);
+    void clearCacheLine(GenericPK primaryKey);
 
-    public void clearCacheLine(GenericPK primaryKey, boolean distribute);
+    void clearCacheLine(GenericPK primaryKey, boolean distribute);
 
     /**
      * Remove a CACHED GenericValue from as many caches as it can. Automatically
@@ -84,9 +84,9 @@ public interface Delegator {
      * @param value
      *            The GenericValue to clear by.
      */
-    public void clearCacheLine(GenericValue value);
+    void clearCacheLine(GenericValue value);
 
-    public void clearCacheLine(GenericValue value, boolean distribute);
+    void clearCacheLine(GenericValue value, boolean distribute);
 
     /**
      * Remove all CACHED Generic Entity (List) from the cache
@@ -94,7 +94,7 @@ public interface Delegator {
      * @param entityName
      *            The Name of the Entity as defined in the entity XML file
      */
-    public void clearCacheLine(String entityName);
+    void clearCacheLine(String entityName);
 
     /**
      * Remove a CACHED Generic Entity (List) from the cache, either a PK, ByAnd,
@@ -106,7 +106,7 @@ public interface Delegator {
      *            The fields of the named entity to query by with their
      *            corresponding values
      */
-    public void clearCacheLine(String entityName, Map<String, ? extends Object> fields);
+    void clearCacheLine(String entityName, Map<String, ? extends Object> fields);
 
     /**
      * Remove a CACHED Generic Entity (List) from the cache, either a PK, ByAnd,
@@ -118,11 +118,11 @@ public interface Delegator {
      *            The fields of the named entity to query by with their
      *            corresponding values
      */
-    public void clearCacheLine(String entityName, Object... fields);
+    void clearCacheLine(String entityName, Object... fields);
 
-    public void clearCacheLineByCondition(String entityName, EntityCondition condition);
+    void clearCacheLineByCondition(String entityName, EntityCondition condition);
 
-    public void clearCacheLineByCondition(String entityName, EntityCondition condition, boolean distribute);
+    void clearCacheLineByCondition(String entityName, EntityCondition condition, boolean distribute);
 
     /**
      * Remove a CACHED Generic Entity from the cache by its primary key. Checks
@@ -135,13 +135,13 @@ public interface Delegator {
      * @param dummyPK
      *            The dummy primary key to clear by.
      */
-    public void clearCacheLineFlexible(GenericEntity dummyPK);
+    void clearCacheLineFlexible(GenericEntity dummyPK);
 
-    public void clearCacheLineFlexible(GenericEntity dummyPK, boolean distribute);
+    void clearCacheLineFlexible(GenericEntity dummyPK, boolean distribute);
 
-    public Delegator cloneDelegator();
+    Delegator cloneDelegator();
 
-    public Delegator cloneDelegator(String delegatorName);
+    Delegator cloneDelegator(String delegatorName);
 
     /**
      * Creates a Entity in the form of a GenericValue and write it to the
@@ -151,7 +151,7 @@ public interface Delegator {
      *            The GenericPK to create a value in the datasource from
      * @return GenericValue instance containing the new instance
      */
-    public GenericValue create(GenericPK primaryKey) throws GenericEntityException;
+    GenericValue create(GenericPK primaryKey) throws GenericEntityException;
 
     /**
      * Creates a Entity in the form of a GenericValue and write it to the
@@ -167,7 +167,7 @@ public interface Delegator {
      * @deprecated use {@link #create(GenericPK primaryKey)}
      */
     @Deprecated
-    public GenericValue create(GenericPK primaryKey, boolean doCacheClear) throws GenericEntityException;
+    GenericValue create(GenericPK primaryKey, boolean doCacheClear) throws GenericEntityException;
 
     /**
      * Creates a Entity in the form of a GenericValue and write it to the
@@ -177,7 +177,7 @@ public interface Delegator {
      *            The GenericValue to create a value in the datasource from
      * @return GenericValue instance containing the new instance
      */
-    public GenericValue create(GenericValue value) throws GenericEntityException;
+    GenericValue create(GenericValue value) throws GenericEntityException;
 
     /**
      * Creates a Entity in the form of a GenericValue and write it to the
@@ -193,7 +193,7 @@ public interface Delegator {
      * @deprecated use {@link #create(GenericValue value)}
      */
     @Deprecated
-    public GenericValue create(GenericValue value, boolean doCacheClear) throws GenericEntityException;
+    GenericValue create(GenericValue value, boolean doCacheClear) throws GenericEntityException;
 
     /**
      * Creates a Entity in the form of a GenericValue and write it to the
@@ -201,7 +201,7 @@ public interface Delegator {
      *
      * @return GenericValue instance containing the new instance
      */
-    public GenericValue create(String entityName, Map<String, ? extends Object> fields) throws GenericEntityException;
+    GenericValue create(String entityName, Map<String, ? extends Object> fields) throws GenericEntityException;
 
     /**
      * Creates a Entity in the form of a GenericValue and write it to the
@@ -209,7 +209,7 @@ public interface Delegator {
      *
      * @return GenericValue instance containing the new instance
      */
-    public GenericValue create(String entityName, Object... fields) throws GenericEntityException;
+    GenericValue create(String entityName, Object... fields) throws GenericEntityException;
 
     /**
      * Creates or stores an Entity
@@ -219,7 +219,7 @@ public interface Delegator {
      *            instance
      * @return GenericValue instance containing the new or updated instance
      */
-    public GenericValue createOrStore(GenericValue value) throws GenericEntityException;
+    GenericValue createOrStore(GenericValue value) throws GenericEntityException;
 
     /**
      * Creates or stores an Entity
@@ -235,7 +235,7 @@ public interface Delegator {
      * @deprecated use {@link #createOrStore(GenericValue value)}
      */
     @Deprecated
-    public GenericValue createOrStore(GenericValue value, boolean doCacheClear) throws GenericEntityException;
+    GenericValue createOrStore(GenericValue value, boolean doCacheClear) throws GenericEntityException;
 
     /**
      * Sets the sequenced ID (for entity with one primary key field ONLY), and
@@ -247,7 +247,7 @@ public interface Delegator {
      *            The GenericValue to create a value in the datasource from
      * @return GenericValue instance containing the new instance
      */
-    public GenericValue createSetNextSeqId(GenericValue value) throws GenericEntityException;
+    GenericValue createSetNextSeqId(GenericValue value) throws GenericEntityException;
 
     /**
      * Creates a Entity in the form of a GenericValue and write it to the
@@ -255,26 +255,26 @@ public interface Delegator {
      *
      * @return GenericValue instance containing the new instance
      */
-    public GenericValue createSingle(String entityName, Object singlePkValue) throws GenericEntityException;
+    GenericValue createSingle(String entityName, Object singlePkValue) throws GenericEntityException;
 
     @Deprecated
-    public void decryptFields(GenericEntity entity) throws GenericEntityException;
+    void decryptFields(GenericEntity entity) throws GenericEntityException;
 
     @Deprecated
-    public void decryptFields(List<? extends GenericEntity> entities) throws GenericEntityException;
+    void decryptFields(List<? extends GenericEntity> entities) throws GenericEntityException;
 
     @Deprecated
-    public void encryptFields(GenericEntity entity) throws GenericEntityException;
+    void encryptFields(GenericEntity entity) throws GenericEntityException;
 
     @Deprecated
-    public void encryptFields(List<? extends GenericEntity> entities) throws GenericEntityException;
+    void encryptFields(List<? extends GenericEntity> entities) throws GenericEntityException;
 
-    public Object decryptFieldValue(String entityName, String encValue) throws EntityCryptoException;
+    Object decryptFieldValue(String entityName, String encValue) throws EntityCryptoException;
 
     @Deprecated
-    public Object encryptFieldValue(String entityName, Object fieldValue) throws EntityCryptoException;
+    Object encryptFieldValue(String entityName, Object fieldValue) throws EntityCryptoException;
 
-    public Object encryptFieldValue(String entityName, ModelField.EncryptMethod encryptMethod, Object fieldValue) throws EntityCryptoException;
+    Object encryptFieldValue(String entityName, ModelField.EncryptMethod encryptMethod, Object fieldValue) throws EntityCryptoException;
 
     /**
      * Finds GenericValues by the conditions specified in the EntityCondition
@@ -306,7 +306,7 @@ public interface Delegator {
      *         ARE DONE WITH IT, AND DON'T LEAVE IT OPEN TOO LONG BEACUSE IT
      *         WILL MAINTAIN A DATABASE CONNECTION.
      */
-    public EntityListIterator find(String entityName, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Set<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) throws GenericEntityException;
+    EntityListIterator find(String entityName, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Set<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) throws GenericEntityException;
 
     /**
      * Finds all Generic entities 
@@ -317,7 +317,7 @@ public interface Delegator {
      *            Whether to cache the results
      * @return List containing all Generic entities
      */
-    public List<GenericValue> findAll(String entityName, boolean useCache) throws GenericEntityException;
+    List<GenericValue> findAll(String entityName, boolean useCache) throws GenericEntityException;
 
     /**
      * Finds Generic Entity records by all of the specified fields (ie: combined
@@ -332,7 +332,7 @@ public interface Delegator {
      * @deprecated use {@link #findByAnd(String, Map, List, boolean)}
      */
     @Deprecated
-    public List<GenericValue> findByAnd(String entityName, Map<String, ? extends Object> fields) throws GenericEntityException;
+    List<GenericValue> findByAnd(String entityName, Map<String, ? extends Object> fields) throws GenericEntityException;
 
     /**
      * Finds Generic Entity records by all of the specified fields (ie: combined
@@ -351,7 +351,7 @@ public interface Delegator {
      * @deprecated use {@link #findByAnd(String, Map, List, boolean)}
      */
     @Deprecated
-    public List<GenericValue> findByAnd(String entityName, Map<String, ? extends Object> fields, List<String> orderBy) throws GenericEntityException;
+    List<GenericValue> findByAnd(String entityName, Map<String, ? extends Object> fields, List<String> orderBy) throws GenericEntityException;
 
     /**
      * Finds Generic Entity records by all of the specified fields (ie: combined
@@ -366,7 +366,7 @@ public interface Delegator {
      * @deprecated use {@link #findByAnd(String, Map, List, boolean)}
      */
     @Deprecated
-    public List<GenericValue> findByAnd(String entityName, Object... fields) throws GenericEntityException;
+    List<GenericValue> findByAnd(String entityName, Object... fields) throws GenericEntityException;
 
     /**
      * Finds Generic Entity records by all of the specified fields (ie: combined
@@ -382,7 +382,7 @@ public interface Delegator {
      * @deprecated use {@link #findByAnd(String, Map, List, boolean)}
      */
     @Deprecated
-    public List<GenericValue> findByAndCache(String entityName, Map<String, ? extends Object> fields) throws GenericEntityException;
+    List<GenericValue> findByAndCache(String entityName, Map<String, ? extends Object> fields) throws GenericEntityException;
 
     /**
      * Finds Generic Entity records by all of the specified fields (ie: combined
@@ -402,7 +402,7 @@ public interface Delegator {
      * @deprecated use {@link #findByAnd(String, Map, List, boolean)}
      */
     @Deprecated
-    public List<GenericValue> findByAndCache(String entityName, Map<String, ? extends Object> fields, List<String> orderBy) throws GenericEntityException;
+    List<GenericValue> findByAndCache(String entityName, Map<String, ? extends Object> fields, List<String> orderBy) throws GenericEntityException;
 
     /**
      * Finds Generic Entity records by all of the specified fields (ie: combined
@@ -422,7 +422,7 @@ public interface Delegator {
      *            Whether to cache the results
      * @return List of GenericValue instances that match the query
      */
-    public List<GenericValue> findByAnd(String entityName, Map<String, ? extends Object> fields, List<String> orderBy, boolean useCache) throws GenericEntityException;
+    List<GenericValue> findByAnd(String entityName, Map<String, ? extends Object> fields, List<String> orderBy, boolean useCache) throws GenericEntityException;
 
     /**
      * Find a Generic Entity by its Primary Key NOTE 20080502: 550 references
@@ -438,7 +438,7 @@ public interface Delegator {
      * @deprecated use {@link #findOne(String, Map, boolean)}
      */
     @Deprecated
-    public GenericValue findByPrimaryKey(String entityName, Map<String, ? extends Object> fields) throws GenericEntityException;
+    GenericValue findByPrimaryKey(String entityName, Map<String, ? extends Object> fields) throws GenericEntityException;
 
     /**
      * Find a CACHED Generic Entity by its Primary Key NOTE 20080502: 218
@@ -453,7 +453,7 @@ public interface Delegator {
      * @deprecated use {@link #findOne(String, Map, boolean)}
      */
     @Deprecated
-    public GenericValue findByPrimaryKeyCache(String entityName, Map<String, ? extends Object> fields) throws GenericEntityException;
+    GenericValue findByPrimaryKeyCache(String entityName, Map<String, ? extends Object> fields) throws GenericEntityException;
 
     /**
      * Find a CACHED Generic Entity by its Primary Key NOTE 20080502: 2
@@ -468,7 +468,7 @@ public interface Delegator {
      * @deprecated use {@link #findOne(String, boolean, Object...)}
      */
     @Deprecated
-    public GenericValue findByPrimaryKeyCache(String entityName, Object... fields) throws GenericEntityException;
+    GenericValue findByPrimaryKeyCache(String entityName, Object... fields) throws GenericEntityException;
 
     /**
      * Find a Generic Entity by its Primary Key and only returns the values
@@ -481,12 +481,12 @@ public interface Delegator {
      *            values will be retrieved
      * @return The GenericValue corresponding to the primaryKey
      */
-    public GenericValue findByPrimaryKeyPartial(GenericPK primaryKey, Set<String> keys) throws GenericEntityException;
+    GenericValue findByPrimaryKeyPartial(GenericPK primaryKey, Set<String> keys) throws GenericEntityException;
 
     /**
      * NOTE 20080502: 2 references
      */
-    public long findCountByCondition(String entityName, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, EntityFindOptions findOptions) throws GenericEntityException;
+    long findCountByCondition(String entityName, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, EntityFindOptions findOptions) throws GenericEntityException;
 
     /**
      * Finds GenericValues by the conditions specified in the EntityCondition
@@ -511,7 +511,7 @@ public interface Delegator {
      *            options. See the EntityFindOptions JavaDoc for more details.
      * @return List of GenericValue objects representing the result
      */
-    public List<GenericValue> findList(String entityName, EntityCondition entityCondition, Set<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions, boolean useCache) throws GenericEntityException;
+    List<GenericValue> findList(String entityName, EntityCondition entityCondition, Set<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions, boolean useCache) throws GenericEntityException;
 
     /**
      * Finds GenericValues by the conditions specified in the EntityCondition
@@ -544,7 +544,7 @@ public interface Delegator {
      *         LEAVE IT OPEN TOO LONG BEACUSE IT WILL MAINTAIN A DATABASE
      *         CONNECTION.
      */
-    public EntityListIterator findListIteratorByCondition(DynamicViewEntity dynamicViewEntity, EntityCondition whereEntityCondition, EntityCondition havingEntityCondition, Collection<String> fieldsToSelect, List<String> orderBy, EntityFindOptions findOptions) throws GenericEntityException;
+    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.
@@ -555,7 +555,7 @@ public interface Delegator {
      * @return The Generic Entity corresponding to the primary key
      * @throws GenericEntityException
      */
-    public GenericValue findOne(String entityName, boolean useCache, Object... fields) throws GenericEntityException;
+    GenericValue findOne(String entityName, boolean useCache, Object... fields) throws GenericEntityException;
 
     /**
      * Find a Generic Entity by its Primary Key NOTE 20080502: 6 references
@@ -567,15 +567,15 @@ public interface Delegator {
      *            corresponding values
      * @return The GenericValue corresponding to the primaryKey
      */
-    public GenericValue findOne(String entityName, Map<String, ? extends Object> fields, boolean useCache) throws GenericEntityException;
+    GenericValue findOne(String entityName, Map<String, ? extends Object> fields, boolean useCache) throws GenericEntityException;
 
-    public Cache getCache();
+    Cache getCache();
 
-    public String getDelegatorName();
-    public String getDelegatorBaseName();
-    public String getDelegatorTenantId();
+    String getDelegatorName();
+    String getDelegatorBaseName();
+    String getDelegatorTenantId();
 
-    public <T> EntityEcaHandler<T> getEntityEcaHandler();
+    <T> EntityEcaHandler<T> getEntityEcaHandler();
 
     /**
      * Gets a field type instance by name from the helper that corresponds to
@@ -588,7 +588,7 @@ public interface Delegator {
      * @return ModelFieldType instance for the named type from the helper that
      *         corresponds to the specified entity
      */
-    public ModelFieldType getEntityFieldType(ModelEntity entity, String type) throws GenericEntityException;
+    ModelFieldType getEntityFieldType(ModelEntity entity, String type) throws GenericEntityException;
 
     /**
      * Gets field type names from the helper that corresponds to the specified
@@ -599,7 +599,7 @@ public interface Delegator {
      * @return Collection of field type names from the helper that corresponds
      *         to the specified entity
      */
-    public Collection<String> getEntityFieldTypeNames(ModelEntity entity) throws GenericEntityException;
+    Collection<String> getEntityFieldTypeNames(ModelEntity entity) throws GenericEntityException;
 
     /**
      * Gets the helper name that corresponds to this delegator and the specified
@@ -610,7 +610,7 @@ public interface Delegator {
      * @return String with the helper name that corresponds to this delegator
      *         and the specified entityName
      */
-    public String getEntityGroupName(String entityName);
+    String getEntityGroupName(String entityName);
 
     /**
      * Gets the an instance of helper that corresponds to this delegator and the
@@ -621,7 +621,7 @@ public interface Delegator {
      * @return GenericHelper that corresponds to this delegator and the
      *         specified entity
      */
-    public GenericHelper getEntityHelper(ModelEntity entity) throws GenericEntityException;
+    GenericHelper getEntityHelper(ModelEntity entity) throws GenericEntityException;
 
     /**
      * Gets the an instance of helper that corresponds to this delegator and the
@@ -632,7 +632,7 @@ public interface Delegator {
      * @return GenericHelper that corresponds to this delegator and the
      *         specified entityName
      */
-    public GenericHelper getEntityHelper(String entityName) throws GenericEntityException;
+    GenericHelper getEntityHelper(String entityName) throws GenericEntityException;
 
     /**
      * Gets the helper name that corresponds to this delegator and the specified
@@ -643,7 +643,7 @@ public interface Delegator {
      * @return String with the helper name that corresponds to this delegator
      *         and the specified entity
      */
-    public String getEntityHelperName(ModelEntity entity);
+    String getEntityHelperName(ModelEntity entity);
 
     /**
      * Gets the helper name that corresponds to this delegator and the specified
@@ -654,9 +654,9 @@ public interface Delegator {
      * @return String with the helper name that corresponds to this delegator
      *         and the specified entityName
      */
-    public String getEntityHelperName(String entityName);
+    String getEntityHelperName(String entityName);
 
-    public GenericValue getFromPrimaryKeyCache(GenericPK primaryKey);
+    GenericValue getFromPrimaryKeyCache(GenericPK primaryKey);
 
     /**
      * Gets the helper name that corresponds to this delegator and the specified
@@ -667,9 +667,9 @@ public interface Delegator {
      * @return String with the helper name that corresponds to this delegator
      *         and the specified entityName
      */
-    public String getGroupHelperName(String groupName);
+    String getGroupHelperName(String groupName);
 
-    public GenericHelperInfo getGroupHelperInfo(String entityGroupName);
+    GenericHelperInfo getGroupHelperInfo(String entityGroupName);
 
     /**
      * Gets the instance of ModelEntity that corresponds to this delegator and
@@ -680,7 +680,7 @@ public interface Delegator {
      * @return ModelEntity that corresponds to this delegator and the specified
      *         entityName
      */
-    public ModelEntity getModelEntity(String entityName);
+    ModelEntity getModelEntity(String entityName);
 
     /**
      * Gets a Map of entity name & entity model pairs that are in the named
@@ -690,23 +690,23 @@ public interface Delegator {
      *            The name of the group
      * @return Map of entityName String keys and ModelEntity instance values
      */
-    public Map<String, ModelEntity> getModelEntityMapByGroup(String groupName) throws GenericEntityException;
+    Map<String, ModelEntity> getModelEntityMapByGroup(String groupName) throws GenericEntityException;
 
-    public ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity);
+    ModelFieldTypeReader getModelFieldTypeReader(ModelEntity entity);
 
     /**
      * Gets the instance of ModelGroupReader that corresponds to this delegator
      *
      * @return ModelGroupReader that corresponds to this delegator
      */
-    public ModelGroupReader getModelGroupReader();
+    ModelGroupReader getModelGroupReader();
 
     /**
      * Gets the instance of ModelReader that corresponds to this delegator
      *
      * @return ModelReader that corresponds to this delegator
      */
-    public ModelReader getModelReader();
+    ModelReader getModelReader();
 
     /**
      * Get the named Related Entity for the GenericValue from the persistent
@@ -728,7 +728,7 @@ public interface Delegator {
      * @return List of GenericValue instances as specified in the relation
      *         definition
      */
-    public List<GenericValue> getMultiRelation(GenericValue value, String relationNameOne, String relationNameTwo, List<String> orderBy) throws GenericEntityException;
+    List<GenericValue> getMultiRelation(GenericValue value, String relationNameOne, String relationNameTwo, List<String> orderBy) throws GenericEntityException;
 
     /**
      * Get the next guaranteed unique seq id from the sequence with the given
@@ -738,7 +738,7 @@ public interface Delegator {
      *            The name of the sequence to get the next seq id from
      * @return String with the next sequenced id for the given sequence name
      */
-    public String getNextSeqId(String seqName);
+    String getNextSeqId(String seqName);
 
     /**
      * Get the next guaranteed unique seq id from the sequence with the given
@@ -753,7 +753,7 @@ public interface Delegator {
      *            staggerMax
      * @return Long with the next seq id for the given sequence name
      */
-    public String getNextSeqId(String seqName, long staggerMax);
+    String getNextSeqId(String seqName, long staggerMax);
 
     /**
      * Get the next guaranteed unique seq id from the sequence with the given
@@ -763,7 +763,7 @@ public interface Delegator {
      *            The name of the sequence to get the next seq id from
      * @return Long with the next sequenced id for the given sequence name
      */
-    public Long getNextSeqIdLong(String seqName);
+    Long getNextSeqIdLong(String seqName);
 
     /**
      * Get the next guaranteed unique seq id from the sequence with the given
@@ -778,7 +778,7 @@ public interface Delegator {
      *            staggerMax
      * @return Long with the next seq id for the given sequence name
      */
-    public Long getNextSeqIdLong(String seqName, long staggerMax);
+    Long getNextSeqIdLong(String seqName, long staggerMax);
 
     /**
      * Gets the name of the server configuration that corresponds to this
@@ -786,7 +786,7 @@ public interface Delegator {
      *
      * @return server configuration name
      */
-    public String getOriginalDelegatorName();
+    String getOriginalDelegatorName();
 
     /**
      * Get the named Related Entity for the GenericValue from the persistent
@@ -809,7 +809,7 @@ public interface Delegator {
      * @deprecated use {@link #getRelated(String, Map, List, GenericValue, boolean)}
      */
     @Deprecated
-    public List<GenericValue> getRelated(String relationName, Map<String, ? extends Object> byAndFields, List<String> orderBy, GenericValue value) throws GenericEntityException;
+    List<GenericValue> getRelated(String relationName, Map<String, ? extends Object> byAndFields, List<String> orderBy, GenericValue value) throws GenericEntityException;
 
     /**
      * Get the named Related Entity for the GenericValue from the persistent
@@ -827,7 +827,7 @@ public interface Delegator {
      * @deprecated use {@link #getRelated(String, Map, List, GenericValue, boolean)}
      */
     @Deprecated
-    public List<GenericValue> getRelatedCache(String relationName, GenericValue value) throws GenericEntityException;
+    List<GenericValue> getRelatedCache(String relationName, GenericValue value) throws GenericEntityException;
 
     /**
      * Get the named Related Entity for the GenericValue from the persistent
@@ -850,7 +850,7 @@ public interface Delegator {
      * @return List of GenericValue instances as specified in the relation
      *         definition
      */
-    public List<GenericValue> getRelated(String relationName, Map<String, ? extends Object> byAndFields, List<String> orderBy, GenericValue value, boolean useCache) throws GenericEntityException;
+    List<GenericValue> getRelated(String relationName, Map<String, ? extends Object> byAndFields, List<String> orderBy, GenericValue value, boolean useCache) throws GenericEntityException;
 
     /**
      * Get a dummy primary key for the named Related Entity for the GenericValue
@@ -867,7 +867,7 @@ public interface Delegator {
      * @return GenericPK containing a possibly incomplete PrimaryKey object
      *         representing the related entity or entities
      */
-    public GenericPK getRelatedDummyPK(String relationName, Map<String, ? extends Object> byAndFields, GenericValue value) throws GenericEntityException;
+    GenericPK getRelatedDummyPK(String relationName, Map<String, ? extends Object> byAndFields, GenericValue value) throws GenericEntityException;
 
     /**
      * Get related entity where relation is of type one, uses findOne
@@ -878,7 +878,7 @@ public interface Delegator {
      * @deprecated use {@link #getRelatedOne(String, GenericValue, boolean)}
      */
     @Deprecated
-    public GenericValue getRelatedOne(String relationName, GenericValue value) throws GenericEntityException;
+    GenericValue getRelatedOne(String relationName, GenericValue value) throws GenericEntityException;
 
     /**
      * Get related entity where relation is of type one, uses findOne
@@ -890,7 +890,7 @@ public interface Delegator {
      * @deprecated use {@link #getRelatedOne(String, GenericValue, boolean)}
      */
     @Deprecated
-    public GenericValue getRelatedOneCache(String relationName, GenericValue value) throws GenericEntityException;
+    GenericValue getRelatedOneCache(String relationName, GenericValue value) throws GenericEntityException;
 
     /**
      * Get related entity where relation is of type one, uses findByPrimaryKey
@@ -907,62 +907,62 @@ public interface Delegator {
      * @throws IllegalArgumentException
      *             if the list found has more than one item
      */
-    public GenericValue getRelatedOne(String relationName, GenericValue value, boolean useCache) throws GenericEntityException;
+    GenericValue getRelatedOne(String relationName, GenericValue value, boolean useCache) throws GenericEntityException;
 
-    public void initEntityEcaHandler();
+    void initEntityEcaHandler();
 
-    public void initDistributedCacheClear();
+    void initDistributedCacheClear();
 
-    public GenericPK makePK(Element element);
+    GenericPK makePK(Element element);
 
     /** Creates a Primary Key in the form of a GenericPK without persisting it */
-    public GenericPK makePK(String entityName);
+    GenericPK makePK(String entityName);
 
     /** Creates a Primary Key in the form of a GenericPK without persisting it */
-    public GenericPK makePK(String entityName, Map<String, ? extends Object> fields);
+    GenericPK makePK(String entityName, Map<String, ? extends Object> fields);
 
     /** Creates a Primary Key in the form of a GenericPK without persisting it */
-    public GenericPK makePK(String entityName, Object... fields);
+    GenericPK makePK(String entityName, Object... fields);
 
     /** Creates a Primary Key in the form of a GenericPK without persisting it */
-    public GenericPK makePKSingle(String entityName, Object singlePkValue);
+    GenericPK makePKSingle(String entityName, Object singlePkValue);
 
-    public Delegator makeTestDelegator(String delegatorName);
+    Delegator makeTestDelegator(String delegatorName);
 
     /**
      * Creates a Entity in the form of a GenericValue without persisting it;
      * only valid fields will be pulled from the fields Map
      */
-    public GenericValue makeValidValue(String entityName, Map<String, ? extends Object> fields);
+    GenericValue makeValidValue(String entityName, Map<String, ? extends Object> fields);
 
     /**
      * Creates a Entity in the form of a GenericValue without persisting it;
      * only valid fields will be pulled from the fields Map
      */
-    public GenericValue makeValidValue(String entityName, Object... fields);
+    GenericValue makeValidValue(String entityName, Object... fields);
 
-    public GenericValue makeValue(Element element);
+    GenericValue makeValue(Element element);
 
     /** Creates a Entity in the form of a GenericValue without persisting it */
-    public GenericValue makeValue(String entityName);
+    GenericValue makeValue(String entityName);
 
     /** Creates a Entity in the form of a GenericValue without persisting it */
-    public GenericValue makeValue(String entityName, Map<String, ? extends Object> fields);
+    GenericValue makeValue(String entityName, Map<String, ? extends Object> fields);
 
     /** Creates a Entity in the form of a GenericValue without persisting it */
-    public GenericValue makeValue(String entityName, Object... fields);
+    GenericValue makeValue(String entityName, Object... fields);
 
-    public List<GenericValue> makeValues(Document document);
+    List<GenericValue> makeValues(Document document);
 
     /** Creates a Entity in the form of a GenericValue without persisting it */
-    public GenericValue makeValueSingle(String entityName, Object singlePkValue);
+    GenericValue makeValueSingle(String entityName, Object singlePkValue);
 
-    public void putAllInPrimaryKeyCache(List<GenericValue> values);
+    void putAllInPrimaryKeyCache(List<GenericValue> values);
 
-    public void putInPrimaryKeyCache(GenericPK primaryKey, GenericValue value);
+    void putInPrimaryKeyCache(GenericPK primaryKey, GenericValue value);
 
     // ======= XML Related Methods ========
-    public List<GenericValue> readXmlDocument(URL url) throws SAXException, ParserConfigurationException, java.io.IOException;
+    List<GenericValue> readXmlDocument(URL url) throws SAXException, ParserConfigurationException, java.io.IOException;
 
     /**
      * Refresh the Entity for the GenericValue from the persistent store
@@ -970,7 +970,7 @@ public interface Delegator {
      * @param value
      *            GenericValue instance containing the entity to refresh
      */
-    public void refresh(GenericValue value) throws GenericEntityException;
+    void refresh(GenericValue value) throws GenericEntityException;
 
     /**
      * Refresh the Entity for the GenericValue from the persistent store
@@ -984,7 +984,7 @@ public interface Delegator {
      * @deprecated use {@link #refresh(GenericValue value)}
      */
     @Deprecated
-    public void refresh(GenericValue value, boolean doCacheClear) throws GenericEntityException;
+    void refresh(GenericValue value, boolean doCacheClear) throws GenericEntityException;
 
     /**
      * Refresh the Entity for the GenericValue from the cache
@@ -992,10 +992,10 @@ public interface Delegator {
      * @param value
      *            GenericValue instance containing the entity to refresh
      */
-    public void refreshFromCache(GenericValue value) throws GenericEntityException;
+    void refreshFromCache(GenericValue value) throws GenericEntityException;
 
     /** Refreshes the ID sequencer clearing all cached bank values. */
-    public void refreshSequencer();
+    void refreshSequencer();
 
     /**
      * Remove the Entities from the List from the persistent store. <br/>The
@@ -1013,7 +1013,7 @@ public interface Delegator {
      *            or by and fields to remove
      * @return int representing number of rows effected by this operation
      */
-    public int removeAll(List<? extends GenericEntity> dummyPKs) throws GenericEntityException;
+    int removeAll(List<? extends GenericEntity> dummyPKs) throws GenericEntityException;
 
     /**
      * Remove the Entities from the List from the persistent store. <br/>The
@@ -1037,9 +1037,9 @@ public interface Delegator {
      * @deprecated use {@link #removeAll(List<? extends GenericEntity> dummyPKs)}
      */
     @Deprecated
-    public int removeAll(List<? extends GenericEntity> dummyPKs, boolean doCacheClear) throws GenericEntityException;
+    int removeAll(List<? extends GenericEntity> dummyPKs, boolean doCacheClear) throws GenericEntityException;
 
-    public int removeAll(String entityName) throws GenericEntityException;
+    int removeAll(String entityName) throws GenericEntityException;
 
     /**
      * Removes/deletes Generic Entity records found by all of the specified
@@ -1056,7 +1056,7 @@ public interface Delegator {
      *            corresponding values
      * @return int representing number of rows effected by this operation
      */
-    public int removeByAnd(String entityName, boolean doCacheClear, Object... fields) throws GenericEntityException;
+    int removeByAnd(String entityName, boolean doCacheClear, Object... fields) throws GenericEntityException;
 
     /**
      * Removes/deletes Generic Entity records found by all of the specified
@@ -1069,7 +1069,7 @@ public interface Delegator {
      *            corresponding values
      * @return int representing number of rows effected by this operation
      */
-    public int removeByAnd(String entityName, Map<String, ? extends Object> fields) throws GenericEntityException;
+    int removeByAnd(String entityName, Map<String, ? extends Object> fields) throws GenericEntityException;
 
     /**
      * Removes/deletes Generic Entity records found by all of the specified
@@ -1088,7 +1088,7 @@ public interface Delegator {
      * @deprecated use {@link #removeByAnd(String entityName, Map<String, ? extends Object> fields)}
      */
     @Deprecated
-    public int removeByAnd(String entityName, Map<String, ? extends Object> fields, boolean doCacheClear) throws GenericEntityException;
+    int removeByAnd(String entityName, Map<String, ? extends Object> fields, boolean doCacheClear) throws GenericEntityException;
 
     /**
      * Removes/deletes Generic Entity records found by all of the specified
@@ -1101,7 +1101,7 @@ public interface Delegator {
      *            corresponding values
      * @return int representing number of rows effected by this operation
      */
-    public int removeByAnd(String entityName, Object... fields) throws GenericEntityException;
+    int removeByAnd(String entityName, Object... fields) throws GenericEntityException;
 
     /**
      * Removes/deletes Generic Entity records found by the condition
@@ -1112,7 +1112,7 @@ public interface Delegator {
      *            The condition used to restrict the removing
      * @return int representing number of rows effected by this operation
      */
-    public int removeByCondition(String entityName, EntityCondition condition) throws GenericEntityException;
+    int removeByCondition(String entityName, EntityCondition condition) throws GenericEntityException;
 
     /**
      * Removes/deletes Generic Entity records found by the condition
@@ -1129,7 +1129,7 @@ public interface Delegator {
      * @deprecated use {@link #removeByCondition(String entityName, EntityCondition condition)}
      */
     @Deprecated
-    public int removeByCondition(String entityName, EntityCondition condition, boolean doCacheClear) throws GenericEntityException;
+    int removeByCondition(String entityName, EntityCondition condition, boolean doCacheClear) throws GenericEntityException;
 
     /**
      * Remove a Generic Entity corresponding to the primaryKey
@@ -1138,7 +1138,7 @@ public interface Delegator {
      *            The primary key of the entity to remove.
      * @return int representing number of rows effected by this operation
      */
-    public int removeByPrimaryKey(GenericPK primaryKey) throws GenericEntityException;
+    int removeByPrimaryKey(GenericPK primaryKey) throws GenericEntityException;
 
     /**
      * Remove a Generic Entity corresponding to the primaryKey
@@ -1153,7 +1153,7 @@ public interface Delegator {
      * @deprecated use {@link #removeByPrimaryKey(GenericPK primaryKey)} 
      */
     @Deprecated
-    public int removeByPrimaryKey(GenericPK primaryKey, boolean doCacheClear) throws GenericEntityException;
+    int removeByPrimaryKey(GenericPK primaryKey, boolean doCacheClear) throws GenericEntityException;
 
     /**
      * Remove the named Related Entity for the GenericValue from the persistent
@@ -1167,7 +1167,7 @@ public interface Delegator {
      *            GenericValue instance containing the entity
      * @return int representing number of rows effected by this operation
      */
-    public int removeRelated(String relationName, GenericValue value) throws GenericEntityException;
+    int removeRelated(String relationName, GenericValue value) throws GenericEntityException;
 
     /**
      * Remove the named Related Entity for the GenericValue from the persistent
@@ -1187,7 +1187,7 @@ public interface Delegator {
      * @deprecated use {@link #removeRelated(String relationName, GenericValue value)}
      */
     @Deprecated
-    public int removeRelated(String relationName, GenericValue value, boolean doCacheClear) throws GenericEntityException;
+    int removeRelated(String relationName, GenericValue value, boolean doCacheClear) throws GenericEntityException;
 
     /**
      * Remove a Generic Value from the database
@@ -1196,7 +1196,7 @@ public interface Delegator {
      *            The GenericValue object of the entity to remove.
      * @return int representing number of rows effected by this operation
      */
-    public int removeValue(GenericValue value) throws GenericEntityException;
+    int removeValue(GenericValue value) throws GenericEntityException;
 
     /**
      * Remove a Generic Value from the database
@@ -1211,28 +1211,28 @@ public interface Delegator {
      * @deprecated use {@link #removeValue(GenericValue value)} 
      */
     @Deprecated
-    public int removeValue(GenericValue value, boolean doCacheClear) throws GenericEntityException;
+    int removeValue(GenericValue value, boolean doCacheClear) throws GenericEntityException;
 
-    public void rollback();
+    void rollback();
 
-    public void setDistributedCacheClear(DistributedCacheClear distributedCacheClear);
+    void setDistributedCacheClear(DistributedCacheClear distributedCacheClear);
 
-    public void setEntityCrypto(EntityCrypto crypto);
+    void setEntityCrypto(EntityCrypto crypto);
 
-    public <T> void setEntityEcaHandler(EntityEcaHandler<T> entityEcaHandler);
+    <T> void setEntityEcaHandler(EntityEcaHandler<T> entityEcaHandler);
 
     /**
      * Look at existing values for a sub-entity with a sequenced secondary ID,
      * and get the highest plus 1
      */
-    public void setNextSubSeqId(GenericValue value, String seqFieldName, int numericPadding, int incrementBy);
+    void setNextSubSeqId(GenericValue value, String seqFieldName, int numericPadding, int incrementBy);
 
     /**
      * Allows you to pass a SequenceUtil class (possibly one that overrides the
      * getNextSeqId method); if null is passed will effectively refresh the
      * sequencer.
      */
-    public void setSequencer(SequenceUtil sequencer);
+    void setSequencer(SequenceUtil sequencer);
 
     /**
      * Store the Entity from the GenericValue to the persistent store
@@ -1241,7 +1241,7 @@ public interface Delegator {
      *            GenericValue instance containing the entity
      * @return int representing number of rows effected by this operation
      */
-    public int store(GenericValue value) throws GenericEntityException;
+    int store(GenericValue value) throws GenericEntityException;
 
     /**
      * Store the Entity from the GenericValue to the persistent store
@@ -1256,7 +1256,7 @@ public interface Delegator {
      * @deprecated use {@link #store(GenericValue value)} 
      */
     @Deprecated
-    public int store(GenericValue value, boolean doCacheClear) throws GenericEntityException;
+    int store(GenericValue value, boolean doCacheClear) throws GenericEntityException;
 
     /**
      * Store the Entities from the List GenericValue instances to the persistent
@@ -1273,7 +1273,7 @@ public interface Delegator {
      *            store
      * @return int representing number of rows effected by this operation
      */
-    public int storeAll(List<GenericValue> values) throws GenericEntityException;
+    int storeAll(List<GenericValue> values) throws GenericEntityException;
 
     /**
      * Store the Entities from the List GenericValue instances to the persistent
@@ -1296,7 +1296,7 @@ public interface Delegator {
      * @deprecated use {@link #storeAll(List<GenericValue> values)} 
      */
     @Deprecated
-    public int storeAll(List<GenericValue> values, boolean doCacheClear) throws GenericEntityException;
+    int storeAll(List<GenericValue> values, boolean doCacheClear) throws GenericEntityException;
 
     /**
      * Store the Entities from the List GenericValue instances to the persistent
@@ -1321,7 +1321,7 @@ public interface Delegator {
      * @return int representing number of rows effected by this operation
      * @deprecated use {@link #storeAll(GenericValue value, boolean createDummyFks)} 
      */
-    public int storeAll(List<GenericValue> values, boolean doCacheClear, boolean createDummyFks) throws GenericEntityException;
+    int storeAll(List<GenericValue> values, boolean doCacheClear, boolean createDummyFks) throws GenericEntityException;
 
     /**
      * Store a group of values
@@ -1335,7 +1335,7 @@ public interface Delegator {
      * @return int representing number of rows effected by this operation
      * @throws GenericEntityException
      */
-    public int storeByCondition(String entityName, Map<String, ? extends Object> fieldsToSet, EntityCondition condition) throws GenericEntityException;
+    int storeByCondition(String entityName, Map<String, ? extends Object> fieldsToSet, EntityCondition condition) throws GenericEntityException;
 
     /**
      * Store a group of values
@@ -1355,12 +1355,12 @@ public interface Delegator {
      * @deprecated use {@link #storeByCondition(String entityName, Map<String, ? extends Object> fieldsToSet, EntityCondition condition)}
      */
     @Deprecated
-    public int storeByCondition(String entityName, Map<String, ? extends Object> fieldsToSet, EntityCondition condition, boolean doCacheClear) throws GenericEntityException;
+    int storeByCondition(String entityName, Map<String, ? extends Object> fieldsToSet, EntityCondition condition, boolean doCacheClear) throws GenericEntityException;
    
     /**
      * Get use of Distributed Cache Clear mechanism status
      * @return boolean true if this delegator uses a Distributed Cache Clear mechanism 
      */
-    public boolean useDistributedCacheClear();
+    boolean useDistributedCacheClear();
     
 }