fr.ifremer.allegro.referential.gear
Class GearAssociationDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.gear.GearAssociationDaoBase
All Implemented Interfaces:
GearAssociationDao
Direct Known Subclasses:
GearAssociationDaoImpl

public abstract class GearAssociationDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements GearAssociationDao

Base Spring DAO Class: is able to create, update, remove, load, and find objects of type fr.ifremer.allegro.referential.gear.GearAssociation.

See Also:
GearAssociation

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.gear.GearAssociationDao
TRANSFORM_CLUSTERGEARASSOCIATION, TRANSFORM_NONE, TRANSFORM_REMOTEGEARASSOCIATIONFULLVO, TRANSFORM_REMOTEGEARASSOCIATIONNATURALID
 
Constructor Summary
GearAssociationDaoBase()
           
 
Method Summary
 void clusterGearAssociationToEntity(ClusterGearAssociation source, GearAssociation target, boolean copyIfNull)
          Copies the fields of ClusterGearAssociation to the specified entity.
 void clusterGearAssociationToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterGearAssociation to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.gear.GearAssociation and adds from the passed in entities collection
 GearAssociation create(GearAssociation gearAssociation)
          Creates an instance of fr.ifremer.allegro.referential.gear.GearAssociation and adds it to the persistent store.
 GearAssociation create(Gear fromGear, Gear toGear)
           Creates a new fr.ifremer.allegro.referential.gear.GearAssociation instance from only required properties (attributes and association ends) and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as GearAssociationDao.create(fr.ifremer.allegro.referential.gear.GearAssociation) with an additional flag called transform.
 java.lang.Object create(int transform, GearAssociation gearAssociation)
           Does the same thing as GearAssociationDao.create(fr.ifremer.allegro.referential.gear.GearAssociation) with an additional flag called transform.
 java.lang.Object create(int transform, Gear fromGear, Gear toGear)
           Does the same thing as GearAssociationDao.create(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 java.lang.Object create(int transform, java.sql.Timestamp updateDate, Gear fromGear, Gear toGear)
           Does the same thing as GearAssociationDao.create(java.sql.Timestamp,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 GearAssociation create(java.sql.Timestamp updateDate, Gear fromGear, Gear toGear)
           Creates a new fr.ifremer.allegro.referential.gear.GearAssociation instance from all attributes and properties and adds it to the persistent store.
 GearAssociation createFromClusterGearAssociation(ClusterGearAssociation clusterGearAssociation)
           
 java.util.Collection findGearAssociationByFromGear(Gear fromGear)
           
 java.util.Collection findGearAssociationByFromGear(int transform, Gear fromGear)
           Does the same thing as GearAssociationDao.findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 java.util.Collection findGearAssociationByFromGear(int pageNumber, int pageSize, Gear fromGear)
           Does the same thing as GearAssociationDao.findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findGearAssociationByFromGear(int transform, int pageNumber, int pageSize, Gear fromGear)
           Does the same thing as GearAssociationDao.findGearAssociationByFromGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findGearAssociationByFromGear(int transform, java.lang.String queryString, Gear fromGear)
           Does the same thing as GearAssociationDao.findGearAssociationByFromGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findGearAssociationByFromGear(int transform, java.lang.String queryString, int pageNumber, int pageSize, Gear fromGear)
           Does the same thing as GearAssociationDao.findGearAssociationByFromGear(int, String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findGearAssociationByFromGear(java.lang.String queryString, Gear fromGear)
           Does the same thing as GearAssociationDao.findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findGearAssociationByFromGear(java.lang.String queryString, int pageNumber, int pageSize, Gear fromGear)
           Does the same thing as GearAssociationDao.findGearAssociationByFromGear(String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 GearAssociation findGearAssociationByIdentifiers(Gear toGear, Gear fromGear)
           
 java.lang.Object findGearAssociationByIdentifiers(int transform, Gear toGear, Gear fromGear)
           Does the same thing as GearAssociationDao.findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 java.lang.Object findGearAssociationByIdentifiers(int transform, java.lang.String queryString, Gear toGear, Gear fromGear)
           Does the same thing as GearAssociationDao.findGearAssociationByIdentifiers(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 GearAssociation findGearAssociationByIdentifiers(java.lang.String queryString, Gear toGear, Gear fromGear)
           Does the same thing as GearAssociationDao.findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 GearAssociation findGearAssociationByNaturalId(Gear toGear, Gear fromGear)
           
 java.lang.Object findGearAssociationByNaturalId(int transform, Gear toGear, Gear fromGear)
           Does the same thing as GearAssociationDao.findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 java.lang.Object findGearAssociationByNaturalId(int transform, java.lang.String queryString, Gear toGear, Gear fromGear)
           Does the same thing as GearAssociationDao.findGearAssociationByNaturalId(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 GearAssociation findGearAssociationByNaturalId(java.lang.String queryString, Gear toGear, Gear fromGear)
           Does the same thing as GearAssociationDao.findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findGearAssociationByToGear(Gear toGear)
           
 java.util.Collection findGearAssociationByToGear(int transform, Gear toGear)
           Does the same thing as GearAssociationDao.findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 java.util.Collection findGearAssociationByToGear(int pageNumber, int pageSize, Gear toGear)
           Does the same thing as GearAssociationDao.findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findGearAssociationByToGear(int transform, int pageNumber, int pageSize, Gear toGear)
           Does the same thing as GearAssociationDao.findGearAssociationByToGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findGearAssociationByToGear(int transform, java.lang.String queryString, Gear toGear)
           Does the same thing as GearAssociationDao.findGearAssociationByToGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findGearAssociationByToGear(int transform, java.lang.String queryString, int pageNumber, int pageSize, Gear toGear)
           Does the same thing as GearAssociationDao.findGearAssociationByToGear(int, String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findGearAssociationByToGear(java.lang.String queryString, Gear toGear)
           Does the same thing as GearAssociationDao.findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString.
 java.util.Collection findGearAssociationByToGear(java.lang.String queryString, int pageNumber, int pageSize, Gear toGear)
           Does the same thing as GearAssociationDao.findGearAssociationByToGear(String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociation()
           
 java.util.Collection getAllGearAssociation(int transform)
           Does the same thing as GearAssociationDao.getAllGearAssociation() with an additional flag called transform.
 java.util.Collection getAllGearAssociation(int pageNumber, int pageSize)
           Does the same thing as GearAssociationDao.getAllGearAssociation() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociation(int transform, int pageNumber, int pageSize)
           Does the same thing as GearAssociationDao.getAllGearAssociation(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociation(int transform, java.lang.String queryString)
           Does the same thing as GearAssociationDao.getAllGearAssociation(int) with an additional argument called queryString.
 java.util.Collection getAllGearAssociation(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as GearAssociationDao.getAllGearAssociation(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociation(java.lang.String queryString)
           Does the same thing as GearAssociationDao.getAllGearAssociation() with an additional argument called queryString.
 java.util.Collection getAllGearAssociation(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as GearAssociationDao.getAllGearAssociation(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociationSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociationSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociationSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociationSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllGearAssociationSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllGearAssociationSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllGearAssociationSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllGearAssociationSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  GearDao getGearDao()
          Gets the reference to gearDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected abstract  GearAssociation handleCreateFromClusterGearAssociation(ClusterGearAssociation clusterGearAssociation)
          Performs the core logic for createFromClusterGearAssociation(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearAssociation)
 GearAssociation load(Gear fromGear, Gear toGear)
          Loads an instance of fr.ifremer.allegro.referential.gear.GearAssociation from the persistent store.
 java.lang.Object load(int transform, Gear fromGear, Gear toGear)
           Does the same thing as GearAssociationDao.load(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type GearAssociation.
 java.util.Collection loadAll(int transform)
           Does the same thing as GearAssociationDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as GearAssociationDao.loadAll() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection loadAll(int transform, int pageNumber, int pageSize)
           Does the same thing as GearAssociationDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteGearAssociationFullVOToEntity(RemoteGearAssociationFullVO source, GearAssociation target, boolean copyIfNull)
          Copies the fields of RemoteGearAssociationFullVO to the specified entity.
 void remoteGearAssociationFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteGearAssociationFullVO to this DAO's entity.
 void remoteGearAssociationNaturalIdToEntity(RemoteGearAssociationNaturalId source, GearAssociation target, boolean copyIfNull)
          Copies the fields of RemoteGearAssociationNaturalId to the specified entity.
 void remoteGearAssociationNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteGearAssociationNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(GearAssociation gearAssociation)
          Removes the instance of fr.ifremer.allegro.referential.gear.GearAssociation from the persistent store.
 void remove(Gear fromGear, Gear toGear)
          Removes the instance of fr.ifremer.allegro.referential.gear.GearAssociation having the given identifiers from the persistent store.
 PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 PaginationResult search(int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 java.util.Set search(int transform, Search search)
          Does the same thing as GearAssociationDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform.
 java.util.Set search(Search search)
          Performs a search using the parameters specified in the given search object.
 void setGearDao(GearDao gearDao)
          Sets the reference to gearDao.
 ClusterGearAssociation toClusterGearAssociation(GearAssociation entity)
          Converts this DAO's entity to an object of type ClusterGearAssociation.
 void toClusterGearAssociation(GearAssociation source, ClusterGearAssociation target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterGearAssociation toClusterGearAssociation(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterGearAssociation[] toClusterGearAssociationArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterGearAssociation.
 void toClusterGearAssociationCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterGearAssociation.
protected  GearAssociation toEntity(java.lang.Object[] row)
           
 RemoteGearAssociationFullVO toRemoteGearAssociationFullVO(GearAssociation entity)
          Converts this DAO's entity to an object of type RemoteGearAssociationFullVO.
 void toRemoteGearAssociationFullVO(GearAssociation source, RemoteGearAssociationFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteGearAssociationFullVO toRemoteGearAssociationFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteGearAssociationFullVO[] toRemoteGearAssociationFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteGearAssociationFullVO.
 void toRemoteGearAssociationFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteGearAssociationFullVO.
 RemoteGearAssociationNaturalId toRemoteGearAssociationNaturalId(GearAssociation entity)
          Converts this DAO's entity to an object of type RemoteGearAssociationNaturalId.
 void toRemoteGearAssociationNaturalId(GearAssociation source, RemoteGearAssociationNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteGearAssociationNaturalId toRemoteGearAssociationNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteGearAssociationNaturalId[] toRemoteGearAssociationNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteGearAssociationNaturalId.
 void toRemoteGearAssociationNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteGearAssociationNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.gear.GearAssociation) method.
protected  java.lang.Object transformEntity(int transform, GearAssociation entity)
          Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.referential.gear.GearAssociationDao, please note that the GearAssociationDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(GearAssociation gearAssociation)
          Updates the gearAssociation instance in the persistent store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.referential.gear.GearAssociationDao
clusterGearAssociationToEntity, remoteGearAssociationFullVOToEntity, remoteGearAssociationNaturalIdToEntity
 

Constructor Detail

GearAssociationDaoBase

public GearAssociationDaoBase()
Method Detail

setGearDao

public void setGearDao(GearDao gearDao)
Sets the reference to gearDao.


getGearDao

protected GearDao getGearDao()
Gets the reference to gearDao.


load

public java.lang.Object load(int transform,
                             Gear fromGear,
                             Gear toGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.load(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined in this class then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
load in interface GearAssociationDao
fromGear - identifier of the entity to load
toGear - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
GearAssociationDao.load(int, fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear)

load

public GearAssociation load(Gear fromGear,
                            Gear toGear)
Description copied from interface: GearAssociationDao
Loads an instance of fr.ifremer.allegro.referential.gear.GearAssociation from the persistent store.

Specified by:
load in interface GearAssociationDao
See Also:
GearAssociationDao.load(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear)

loadAll

public java.util.Collection loadAll()
Description copied from interface: GearAssociationDao
Loads all entities of type GearAssociation.

Specified by:
loadAll in interface GearAssociationDao
Returns:
the loaded entities.
See Also:
GearAssociationDao.loadAll()

loadAll

public java.util.Collection loadAll(int transform)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.loadAll() with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
loadAll in interface GearAssociationDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
GearAssociationDao.loadAll(int)

loadAll

public java.util.Collection loadAll(int pageNumber,
                                    int pageSize)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.loadAll() with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
loadAll in interface GearAssociationDao
Parameters:
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
GearAssociationDao.loadAll(int, int)

loadAll

public java.util.Collection loadAll(int transform,
                                    int pageNumber,
                                    int pageSize)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.loadAll(int) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
loadAll in interface GearAssociationDao
Parameters:
transform - the flag indicating what transformation to use.
pageNumber - the page number to retrieve when paging results.
pageSize - the size of the page to retrieve when paging results.
Returns:
the loaded entities.
See Also:
GearAssociationDao.loadAll(int, int, int)

create

public GearAssociation create(GearAssociation gearAssociation)
Description copied from interface: GearAssociationDao
Creates an instance of fr.ifremer.allegro.referential.gear.GearAssociation and adds it to the persistent store.

Specified by:
create in interface GearAssociationDao
See Also:
GearAssociationDao.create(fr.ifremer.allegro.referential.gear.GearAssociation)

create

public java.lang.Object create(int transform,
                               GearAssociation gearAssociation)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.create(fr.ifremer.allegro.referential.gear.GearAssociation) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface GearAssociationDao
See Also:
GearAssociationDao.create(int transform, fr.ifremer.allegro.referential.gear.GearAssociation)

create

public java.util.Collection create(java.util.Collection entities)
Description copied from interface: GearAssociationDao
Creates a new instance of fr.ifremer.allegro.referential.gear.GearAssociation and adds from the passed in entities collection

Specified by:
create in interface GearAssociationDao
Parameters:
entities - the collection of fr.ifremer.allegro.referential.gear.GearAssociation instances to create.
Returns:
the created instances.
See Also:
GearAssociationDao.create(java.util.Collection)

create

public java.util.Collection create(int transform,
                                   java.util.Collection entities)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.create(fr.ifremer.allegro.referential.gear.GearAssociation) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
create in interface GearAssociationDao
See Also:
GearAssociationDao.create(int, java.util.Collection)

create

public GearAssociation create(java.sql.Timestamp updateDate,
                              Gear fromGear,
                              Gear toGear)
Description copied from interface: GearAssociationDao

Creates a new fr.ifremer.allegro.referential.gear.GearAssociation instance from all attributes and properties and adds it to the persistent store.

Specified by:
create in interface GearAssociationDao
See Also:
GearAssociationDao.create(java.sql.Timestamp,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear)

create

public java.lang.Object create(int transform,
                               java.sql.Timestamp updateDate,
                               Gear fromGear,
                               Gear toGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.create(java.sql.Timestamp,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOT be transformed. If this flag is any of the other constants defined here then the result WILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface GearAssociationDao
See Also:
GearAssociationDao.create(int, java.sql.Timestamp,fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear)

create

public GearAssociation create(Gear fromGear,
                              Gear toGear)
Description copied from interface: GearAssociationDao

Creates a new fr.ifremer.allegro.referential.gear.GearAssociation instance from only required properties (attributes and association ends) and adds it to the persistent store.

Specified by:
create in interface GearAssociationDao
See Also:
GearAssociationDao.create(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear)

create

public java.lang.Object create(int transform,
                               Gear fromGear,
                               Gear toGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.create(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then the returned entity will NOTWILL BE passed through an operation which can optionally transform the entity (into a value object for example). By default, transformation does not occur.

Specified by:
create in interface GearAssociationDao
See Also:
GearAssociationDao.create(int, fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear)

update

public void update(GearAssociation gearAssociation)
Description copied from interface: GearAssociationDao
Updates the gearAssociation instance in the persistent store.

Specified by:
update in interface GearAssociationDao
See Also:
GearAssociationDao.update(fr.ifremer.allegro.referential.gear.GearAssociation)

update

public void update(java.util.Collection entities)
Description copied from interface: GearAssociationDao
Updates all instances in the entities collection in the persistent store.

Specified by:
update in interface GearAssociationDao
See Also:
GearAssociationDao.update(java.util.Collection)

remove

public void remove(GearAssociation gearAssociation)
Description copied from interface: GearAssociationDao
Removes the instance of fr.ifremer.allegro.referential.gear.GearAssociation from the persistent store.

Specified by:
remove in interface GearAssociationDao
See Also:
GearAssociationDao.remove(fr.ifremer.allegro.referential.gear.GearAssociation)

remove

public void remove(Gear fromGear,
                   Gear toGear)
Description copied from interface: GearAssociationDao
Removes the instance of fr.ifremer.allegro.referential.gear.GearAssociation having the given identifiers from the persistent store.

Specified by:
remove in interface GearAssociationDao
See Also:
GearAssociationDao.remove(fr.ifremer.allegro.referential.gear.Gear,fr.ifremer.allegro.referential.gear.Gear)

remove

public void remove(java.util.Collection entities)
Description copied from interface: GearAssociationDao
Removes all entities in the given entities collection.

Specified by:
remove in interface GearAssociationDao
See Also:
GearAssociationDao.remove(java.util.Collection)

getAllGearAssociation

public java.util.Collection getAllGearAssociation()
Specified by:
getAllGearAssociation in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociation()

getAllGearAssociation

public java.util.Collection getAllGearAssociation(int transform)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.getAllGearAssociation() with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
getAllGearAssociation in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociation(int)

getAllGearAssociation

public java.util.Collection getAllGearAssociation(java.lang.String queryString)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.getAllGearAssociation() with an additional argument called queryString. This queryString argument allows you to override the query string defined in GearAssociationDao.getAllGearAssociation().

Specified by:
getAllGearAssociation in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociation(java.lang.String)

getAllGearAssociation

public java.util.Collection getAllGearAssociation(int pageNumber,
                                                  int pageSize)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.getAllGearAssociation() with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllGearAssociation in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociation(int, int)

getAllGearAssociation

public java.util.Collection getAllGearAssociation(java.lang.String queryString,
                                                  int pageNumber,
                                                  int pageSize)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.getAllGearAssociation(String) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllGearAssociation in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociation(String, int, int)

getAllGearAssociation

public java.util.Collection getAllGearAssociation(int transform,
                                                  java.lang.String queryString)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.getAllGearAssociation(int) with an additional argument called queryString. This queryString argument allows you to override the query string defined in GearAssociationDao.getAllGearAssociation(int).

Specified by:
getAllGearAssociation in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociation(int, String)

getAllGearAssociation

public java.util.Collection getAllGearAssociation(int transform,
                                                  int pageNumber,
                                                  int pageSize)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.getAllGearAssociation(int) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllGearAssociation in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociation(int, int, int)

getAllGearAssociation

public java.util.Collection getAllGearAssociation(int transform,
                                                  java.lang.String queryString,
                                                  int pageNumber,
                                                  int pageSize)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.getAllGearAssociation(int, String) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllGearAssociation in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociation(int, java.lang.String, int, int)

findGearAssociationByToGear

public java.util.Collection findGearAssociationByToGear(Gear toGear)
Specified by:
findGearAssociationByToGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByToGear

public java.util.Collection findGearAssociationByToGear(int transform,
                                                        Gear toGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findGearAssociationByToGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByToGear(int, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByToGear

public java.util.Collection findGearAssociationByToGear(java.lang.String queryString,
                                                        Gear toGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in GearAssociationDao.findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear).

Specified by:
findGearAssociationByToGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByToGear(java.lang.String, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByToGear

public java.util.Collection findGearAssociationByToGear(int pageNumber,
                                                        int pageSize,
                                                        Gear toGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByToGear(fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findGearAssociationByToGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByToGear(int, int, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByToGear

public java.util.Collection findGearAssociationByToGear(java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        Gear toGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByToGear(String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findGearAssociationByToGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByToGear(String, int, int, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByToGear

public java.util.Collection findGearAssociationByToGear(int transform,
                                                        java.lang.String queryString,
                                                        Gear toGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByToGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in GearAssociationDao.findGearAssociationByToGear(int, fr.ifremer.allegro.referential.gear.Gear toGear).

Specified by:
findGearAssociationByToGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByToGear(int, String, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByToGear

public java.util.Collection findGearAssociationByToGear(int transform,
                                                        int pageNumber,
                                                        int pageSize,
                                                        Gear toGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByToGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findGearAssociationByToGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByToGear(int, int, int, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByToGear

public java.util.Collection findGearAssociationByToGear(int transform,
                                                        java.lang.String queryString,
                                                        int pageNumber,
                                                        int pageSize,
                                                        Gear toGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByToGear(int, String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findGearAssociationByToGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByToGear(int, java.lang.String, int, int, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByFromGear

public java.util.Collection findGearAssociationByFromGear(Gear fromGear)
Specified by:
findGearAssociationByFromGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByFromGear

public java.util.Collection findGearAssociationByFromGear(int transform,
                                                          Gear fromGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findGearAssociationByFromGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByFromGear(int, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByFromGear

public java.util.Collection findGearAssociationByFromGear(java.lang.String queryString,
                                                          Gear fromGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in GearAssociationDao.findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear).

Specified by:
findGearAssociationByFromGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByFromGear(java.lang.String, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByFromGear

public java.util.Collection findGearAssociationByFromGear(int pageNumber,
                                                          int pageSize,
                                                          Gear fromGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByFromGear(fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findGearAssociationByFromGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByFromGear(int, int, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByFromGear

public java.util.Collection findGearAssociationByFromGear(java.lang.String queryString,
                                                          int pageNumber,
                                                          int pageSize,
                                                          Gear fromGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByFromGear(String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findGearAssociationByFromGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByFromGear(String, int, int, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByFromGear

public java.util.Collection findGearAssociationByFromGear(int transform,
                                                          java.lang.String queryString,
                                                          Gear fromGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByFromGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in GearAssociationDao.findGearAssociationByFromGear(int, fr.ifremer.allegro.referential.gear.Gear fromGear).

Specified by:
findGearAssociationByFromGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByFromGear(int, String, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByFromGear

public java.util.Collection findGearAssociationByFromGear(int transform,
                                                          int pageNumber,
                                                          int pageSize,
                                                          Gear fromGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByFromGear(int, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findGearAssociationByFromGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByFromGear(int, int, int, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByFromGear

public java.util.Collection findGearAssociationByFromGear(int transform,
                                                          java.lang.String queryString,
                                                          int pageNumber,
                                                          int pageSize,
                                                          Gear fromGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByFromGear(int, String, fr.ifremer.allegro.referential.gear.Gear) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
findGearAssociationByFromGear in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByFromGear(int, java.lang.String, int, int, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByIdentifiers

public GearAssociation findGearAssociationByIdentifiers(Gear toGear,
                                                        Gear fromGear)
Specified by:
findGearAssociationByIdentifiers in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByIdentifiers

public java.lang.Object findGearAssociationByIdentifiers(int transform,
                                                         Gear toGear,
                                                         Gear fromGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findGearAssociationByIdentifiers in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByIdentifiers(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByIdentifiers

public GearAssociation findGearAssociationByIdentifiers(java.lang.String queryString,
                                                        Gear toGear,
                                                        Gear fromGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in GearAssociationDao.findGearAssociationByIdentifiers(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear).

Specified by:
findGearAssociationByIdentifiers in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByIdentifiers(java.lang.String, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByIdentifiers

public java.lang.Object findGearAssociationByIdentifiers(int transform,
                                                         java.lang.String queryString,
                                                         Gear toGear,
                                                         Gear fromGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByIdentifiers(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in GearAssociationDao.findGearAssociationByIdentifiers(int, fr.ifremer.allegro.referential.gear.Gear toGear, fr.ifremer.allegro.referential.gear.Gear fromGear).

Specified by:
findGearAssociationByIdentifiers in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByIdentifiers(int, java.lang.String, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByNaturalId

public GearAssociation findGearAssociationByNaturalId(Gear toGear,
                                                      Gear fromGear)
Specified by:
findGearAssociationByNaturalId in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByNaturalId

public java.lang.Object findGearAssociationByNaturalId(int transform,
                                                       Gear toGear,
                                                       Gear fromGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
findGearAssociationByNaturalId in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByNaturalId(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByNaturalId

public GearAssociation findGearAssociationByNaturalId(java.lang.String queryString,
                                                      Gear toGear,
                                                      Gear fromGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in GearAssociationDao.findGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear).

Specified by:
findGearAssociationByNaturalId in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByNaturalId(java.lang.String, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)

findGearAssociationByNaturalId

public java.lang.Object findGearAssociationByNaturalId(int transform,
                                                       java.lang.String queryString,
                                                       Gear toGear,
                                                       Gear fromGear)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.findGearAssociationByNaturalId(int, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear) with an additional argument called queryString. This queryString argument allows you to override the query string defined in GearAssociationDao.findGearAssociationByNaturalId(int, fr.ifremer.allegro.referential.gear.Gear toGear, fr.ifremer.allegro.referential.gear.Gear fromGear).

Specified by:
findGearAssociationByNaturalId in interface GearAssociationDao
See Also:
GearAssociationDao.findGearAssociationByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.gear.Gear, fr.ifremer.allegro.referential.gear.Gear)

getAllGearAssociationSinceDateSynchro

public java.util.Collection getAllGearAssociationSinceDateSynchro(java.sql.Timestamp updateDate)
Specified by:
getAllGearAssociationSinceDateSynchro in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.sql.Timestamp)

getAllGearAssociationSinceDateSynchro

public java.util.Collection getAllGearAssociationSinceDateSynchro(int transform,
                                                                  java.sql.Timestamp updateDate)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then finder results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
getAllGearAssociationSinceDateSynchro in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, java.sql.Timestamp)

getAllGearAssociationSinceDateSynchro

public java.util.Collection getAllGearAssociationSinceDateSynchro(java.lang.String queryString,
                                                                  java.sql.Timestamp updateDate)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.sql.Timestamp).

Specified by:
getAllGearAssociationSinceDateSynchro in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.lang.String, java.sql.Timestamp)

getAllGearAssociationSinceDateSynchro

public java.util.Collection getAllGearAssociationSinceDateSynchro(int pageNumber,
                                                                  int pageSize,
                                                                  java.sql.Timestamp updateDate)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllGearAssociationSinceDateSynchro in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, int, java.sql.Timestamp)

getAllGearAssociationSinceDateSynchro

public java.util.Collection getAllGearAssociationSinceDateSynchro(java.lang.String queryString,
                                                                  int pageNumber,
                                                                  int pageSize,
                                                                  java.sql.Timestamp updateDate)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllGearAssociationSinceDateSynchro in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociationSinceDateSynchro(String, int, int, java.sql.Timestamp)

getAllGearAssociationSinceDateSynchro

public java.util.Collection getAllGearAssociationSinceDateSynchro(int transform,
                                                                  java.lang.String queryString,
                                                                  java.sql.Timestamp updateDate)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString. This queryString argument allows you to override the query string defined in GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, java.sql.Timestamp updateDate).

Specified by:
getAllGearAssociationSinceDateSynchro in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, String, java.sql.Timestamp)

getAllGearAssociationSinceDateSynchro

public java.util.Collection getAllGearAssociationSinceDateSynchro(int transform,
                                                                  int pageNumber,
                                                                  int pageSize,
                                                                  java.sql.Timestamp updateDate)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllGearAssociationSinceDateSynchro in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllGearAssociationSinceDateSynchro

public java.util.Collection getAllGearAssociationSinceDateSynchro(int transform,
                                                                  java.lang.String queryString,
                                                                  int pageNumber,
                                                                  int pageSize,
                                                                  java.sql.Timestamp updateDate)
Description copied from interface: GearAssociationDao

Does the same thing as GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize. The pageNumber argument allows you to specify the page number when you are paging the results and the pageSize allows you to specify the size of the page retrieved.

Specified by:
getAllGearAssociationSinceDateSynchro in interface GearAssociationDao
See Also:
GearAssociationDao.getAllGearAssociationSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)

createFromClusterGearAssociation

public GearAssociation createFromClusterGearAssociation(ClusterGearAssociation clusterGearAssociation)
Specified by:
createFromClusterGearAssociation in interface GearAssociationDao
See Also:
GearAssociationDao.createFromClusterGearAssociation(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearAssociation)

handleCreateFromClusterGearAssociation

protected abstract GearAssociation handleCreateFromClusterGearAssociation(ClusterGearAssociation clusterGearAssociation)
                                                                   throws java.lang.Exception
Performs the core logic for createFromClusterGearAssociation(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearAssociation)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           GearAssociation entity)
Allows transformation of entities into value objects (or something else for that matter), when the transform flag is set to one of the constants defined in fr.ifremer.allegro.referential.gear.GearAssociationDao, please note that the GearAssociationDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.

This method will return instances of these types:

If the integer argument value is unknown GearAssociationDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in GearAssociationDao
entity - an entity that was found
Returns:
the transformed entity (i.e. new value object, etc)
See Also:
transformEntities(int,java.util.Collection)

transformEntities

protected void transformEntities(int transform,
                                 java.util.Collection entities)
Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.gear.GearAssociation) method. This method does not instantiate a new collection.

This method is to be used internally only.

Parameters:
transform - one of the constants declared in fr.ifremer.allegro.referential.gear.GearAssociationDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.gear.GearAssociation)

toEntity

protected GearAssociation toEntity(java.lang.Object[] row)

toRemoteGearAssociationFullVOCollection

public final void toRemoteGearAssociationFullVOCollection(java.util.Collection entities)
Description copied from interface: GearAssociationDao
Converts this DAO's entity to a Collection of instances of type RemoteGearAssociationFullVO.

Specified by:
toRemoteGearAssociationFullVOCollection in interface GearAssociationDao
See Also:
GearAssociationDao.toRemoteGearAssociationFullVOCollection(java.util.Collection)

toRemoteGearAssociationFullVOArray

public final RemoteGearAssociationFullVO[] toRemoteGearAssociationFullVOArray(java.util.Collection entities)
Description copied from interface: GearAssociationDao
Converts this DAO's entity to an array of instances of type RemoteGearAssociationFullVO.

Specified by:
toRemoteGearAssociationFullVOArray in interface GearAssociationDao
See Also:
GearAssociationDao.toRemoteGearAssociationFullVOArray(java.util.Collection)

toRemoteGearAssociationFullVO

protected RemoteGearAssociationFullVO toRemoteGearAssociationFullVO(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the GearAssociationDaoImpl class if you intend to use reporting queries.

See Also:
GearAssociationDao.toRemoteGearAssociationFullVO(fr.ifremer.allegro.referential.gear.GearAssociation)

remoteGearAssociationFullVOToEntityCollection

public final void remoteGearAssociationFullVOToEntityCollection(java.util.Collection instances)
Description copied from interface: GearAssociationDao
Converts a Collection of instances of type RemoteGearAssociationFullVO to this DAO's entity.

Specified by:
remoteGearAssociationFullVOToEntityCollection in interface GearAssociationDao
See Also:
GearAssociationDao.remoteGearAssociationFullVOToEntityCollection(java.util.Collection)

toRemoteGearAssociationFullVO

public void toRemoteGearAssociationFullVO(GearAssociation source,
                                          RemoteGearAssociationFullVO target)
Description copied from interface: GearAssociationDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteGearAssociationFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteGearAssociationFullVO in interface GearAssociationDao
See Also:
GearAssociationDao.toRemoteGearAssociationFullVO(fr.ifremer.allegro.referential.gear.GearAssociation, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)

toRemoteGearAssociationFullVO

public RemoteGearAssociationFullVO toRemoteGearAssociationFullVO(GearAssociation entity)
Description copied from interface: GearAssociationDao
Converts this DAO's entity to an object of type RemoteGearAssociationFullVO.

Specified by:
toRemoteGearAssociationFullVO in interface GearAssociationDao
See Also:
GearAssociationDao.toRemoteGearAssociationFullVO(fr.ifremer.allegro.referential.gear.GearAssociation)

remoteGearAssociationFullVOToEntity

public void remoteGearAssociationFullVOToEntity(RemoteGearAssociationFullVO source,
                                                GearAssociation target,
                                                boolean copyIfNull)
Description copied from interface: GearAssociationDao
Copies the fields of RemoteGearAssociationFullVO to the specified entity.

Specified by:
remoteGearAssociationFullVOToEntity in interface GearAssociationDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.referential.gear.GearAssociationDao#remoteGearAssociationFullVOToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO, fr.ifremer.allegro.referential.gear.GearAssociation)

toRemoteGearAssociationNaturalIdCollection

public final void toRemoteGearAssociationNaturalIdCollection(java.util.Collection entities)
Description copied from interface: GearAssociationDao
Converts this DAO's entity to a Collection of instances of type RemoteGearAssociationNaturalId.

Specified by:
toRemoteGearAssociationNaturalIdCollection in interface GearAssociationDao
See Also:
GearAssociationDao.toRemoteGearAssociationNaturalIdCollection(java.util.Collection)

toRemoteGearAssociationNaturalIdArray

public final RemoteGearAssociationNaturalId[] toRemoteGearAssociationNaturalIdArray(java.util.Collection entities)
Description copied from interface: GearAssociationDao
Converts this DAO's entity to an array of instances of type RemoteGearAssociationNaturalId.

Specified by:
toRemoteGearAssociationNaturalIdArray in interface GearAssociationDao
See Also:
GearAssociationDao.toRemoteGearAssociationNaturalIdArray(java.util.Collection)

toRemoteGearAssociationNaturalId

protected RemoteGearAssociationNaturalId toRemoteGearAssociationNaturalId(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the GearAssociationDaoImpl class if you intend to use reporting queries.

See Also:
GearAssociationDao.toRemoteGearAssociationNaturalId(fr.ifremer.allegro.referential.gear.GearAssociation)

remoteGearAssociationNaturalIdToEntityCollection

public final void remoteGearAssociationNaturalIdToEntityCollection(java.util.Collection instances)
Description copied from interface: GearAssociationDao
Converts a Collection of instances of type RemoteGearAssociationNaturalId to this DAO's entity.

Specified by:
remoteGearAssociationNaturalIdToEntityCollection in interface GearAssociationDao
See Also:
GearAssociationDao.remoteGearAssociationNaturalIdToEntityCollection(java.util.Collection)

toRemoteGearAssociationNaturalId

public void toRemoteGearAssociationNaturalId(GearAssociation source,
                                             RemoteGearAssociationNaturalId target)
Description copied from interface: GearAssociationDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteGearAssociationNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteGearAssociationNaturalId in interface GearAssociationDao
See Also:
GearAssociationDao.toRemoteGearAssociationNaturalId(fr.ifremer.allegro.referential.gear.GearAssociation, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationNaturalId)

toRemoteGearAssociationNaturalId

public RemoteGearAssociationNaturalId toRemoteGearAssociationNaturalId(GearAssociation entity)
Description copied from interface: GearAssociationDao
Converts this DAO's entity to an object of type RemoteGearAssociationNaturalId.

Specified by:
toRemoteGearAssociationNaturalId in interface GearAssociationDao
See Also:
GearAssociationDao.toRemoteGearAssociationNaturalId(fr.ifremer.allegro.referential.gear.GearAssociation)

remoteGearAssociationNaturalIdToEntity

public void remoteGearAssociationNaturalIdToEntity(RemoteGearAssociationNaturalId source,
                                                   GearAssociation target,
                                                   boolean copyIfNull)
Description copied from interface: GearAssociationDao
Copies the fields of RemoteGearAssociationNaturalId to the specified entity.

Specified by:
remoteGearAssociationNaturalIdToEntity in interface GearAssociationDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.referential.gear.GearAssociationDao#remoteGearAssociationNaturalIdToEntity(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationNaturalId, fr.ifremer.allegro.referential.gear.GearAssociation)

toClusterGearAssociationCollection

public final void toClusterGearAssociationCollection(java.util.Collection entities)
Description copied from interface: GearAssociationDao
Converts this DAO's entity to a Collection of instances of type ClusterGearAssociation.

Specified by:
toClusterGearAssociationCollection in interface GearAssociationDao
See Also:
GearAssociationDao.toClusterGearAssociationCollection(java.util.Collection)

toClusterGearAssociationArray

public final ClusterGearAssociation[] toClusterGearAssociationArray(java.util.Collection entities)
Description copied from interface: GearAssociationDao
Converts this DAO's entity to an array of instances of type ClusterGearAssociation.

Specified by:
toClusterGearAssociationArray in interface GearAssociationDao
See Also:
GearAssociationDao.toClusterGearAssociationArray(java.util.Collection)

toClusterGearAssociation

protected ClusterGearAssociation toClusterGearAssociation(java.lang.Object[] row)
Default implementation for transforming the results of a report query into a value object. This implementation exists for convenience reasons only. It needs only be overridden in the GearAssociationDaoImpl class if you intend to use reporting queries.

See Also:
GearAssociationDao.toClusterGearAssociation(fr.ifremer.allegro.referential.gear.GearAssociation)

clusterGearAssociationToEntityCollection

public final void clusterGearAssociationToEntityCollection(java.util.Collection instances)
Description copied from interface: GearAssociationDao
Converts a Collection of instances of type ClusterGearAssociation to this DAO's entity.

Specified by:
clusterGearAssociationToEntityCollection in interface GearAssociationDao
See Also:
GearAssociationDao.clusterGearAssociationToEntityCollection(java.util.Collection)

toClusterGearAssociation

public void toClusterGearAssociation(GearAssociation source,
                                     ClusterGearAssociation target)
Description copied from interface: GearAssociationDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterGearAssociation(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toClusterGearAssociation in interface GearAssociationDao
See Also:
GearAssociationDao.toClusterGearAssociation(fr.ifremer.allegro.referential.gear.GearAssociation, fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearAssociation)

toClusterGearAssociation

public ClusterGearAssociation toClusterGearAssociation(GearAssociation entity)
Description copied from interface: GearAssociationDao
Converts this DAO's entity to an object of type ClusterGearAssociation.

Specified by:
toClusterGearAssociation in interface GearAssociationDao
See Also:
GearAssociationDao.toClusterGearAssociation(fr.ifremer.allegro.referential.gear.GearAssociation)

clusterGearAssociationToEntity

public void clusterGearAssociationToEntity(ClusterGearAssociation source,
                                           GearAssociation target,
                                           boolean copyIfNull)
Description copied from interface: GearAssociationDao
Copies the fields of ClusterGearAssociation to the specified entity.

Specified by:
clusterGearAssociationToEntity in interface GearAssociationDao
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.referential.gear.GearAssociationDao#clusterGearAssociationToEntity(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterGearAssociation, fr.ifremer.allegro.referential.gear.GearAssociation)

getPrincipal

protected java.security.Principal getPrincipal()
Gets the current principal if one has been set, otherwise returns null.

Returns:
the current principal

search

public PaginationResult search(int transform,
                               int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: GearAssociationDao
Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface GearAssociationDao
Parameters:
transform - the transformation flag.
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
GearAssociationDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: GearAssociationDao
Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize. These flags allow you to limit your data to a specified page number and size.

Specified by:
search in interface GearAssociationDao
Parameters:
pageNumber - the page number in the data to retrieve
pageSize - the size of the page to retrieve.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search wrapped in a PaginationResult instance.
See Also:
GearAssociationDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: GearAssociationDao
Does the same thing as GearAssociationDao.search(fr.ifremer.allegro.Search) but with an additional flag called transform. If this flag is set to TRANSFORM_NONE then finder results will NOT be transformed during retrieval. If this flag is any of the other constants defined here then results WILL BE passed through an operation which can optionally transform the entities (into value objects for example). By default, transformation does not occur.

Specified by:
search in interface GearAssociationDao
Parameters:
transform - the transformation flag.
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
GearAssociationDao.search(int, fr.ifremer.allegro.Search)

search

public java.util.Set search(Search search)
Description copied from interface: GearAssociationDao
Performs a search using the parameters specified in the given search object.

Specified by:
search in interface GearAssociationDao
Parameters:
search - the search object which provides the search parameters and pagination specification.
Returns:
any found results from the search.
See Also:
GearAssociationDao.search(fr.ifremer.allegro.Search)


Copyright © 2008-2010 IFREMER. All Rights Reserved.