fr.ifremer.allegro.referential.location
Class LocationAssociationDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.location.LocationAssociationDaoBase
All Implemented Interfaces:
LocationAssociationDao
Direct Known Subclasses:
LocationAssociationDaoImpl

public abstract class LocationAssociationDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements LocationAssociationDao

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

See Also:
LocationAssociation

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.location.LocationAssociationDao
TRANSFORM_CLUSTERLOCATIONASSOCIATION, TRANSFORM_NONE, TRANSFORM_REMOTELOCATIONASSOCIATIONFULLVO, TRANSFORM_REMOTELOCATIONASSOCIATIONNATURALID
 
Constructor Summary
LocationAssociationDaoBase()
           
 
Method Summary
 void clusterLocationAssociationToEntity(ClusterLocationAssociation source, LocationAssociation target, boolean copyIfNull)
          Copies the fields of ClusterLocationAssociation to the specified entity.
 void clusterLocationAssociationToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterLocationAssociation to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.referential.location.LocationAssociation and adds from the passed in entities collection
 LocationAssociation create(java.lang.Float childSurfaceRatio, java.sql.Timestamp updateDate, Location childLocation, Location parentLocation)
           Creates a new fr.ifremer.allegro.referential.location.LocationAssociation instance from all attributes and properties and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as LocationAssociationDao.create(fr.ifremer.allegro.referential.location.LocationAssociation) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.Float childSurfaceRatio, java.sql.Timestamp updateDate, Location childLocation, Location parentLocation)
           Does the same thing as LocationAssociationDao.create(java.lang.Float,java.sql.Timestamp,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 java.lang.Object create(int transform, LocationAssociation locationAssociation)
           Does the same thing as LocationAssociationDao.create(fr.ifremer.allegro.referential.location.LocationAssociation) with an additional flag called transform.
 java.lang.Object create(int transform, Location childLocation, java.lang.Float childSurfaceRatio, Location parentLocation)
           Does the same thing as LocationAssociationDao.create(fr.ifremer.allegro.referential.location.Location,java.lang.Float,fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 LocationAssociation create(LocationAssociation locationAssociation)
          Creates an instance of fr.ifremer.allegro.referential.location.LocationAssociation and adds it to the persistent store.
 LocationAssociation create(Location childLocation, java.lang.Float childSurfaceRatio, Location parentLocation)
           Creates a new fr.ifremer.allegro.referential.location.LocationAssociation instance from only required properties (attributes and association ends) and adds it to the persistent store.
 LocationAssociation createFromClusterLocationAssociation(ClusterLocationAssociation clusterLocationAssociation)
           
 java.util.Collection findLocationAssociationByChildLocation(int transform, int pageNumber, int pageSize, Location childLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findLocationAssociationByChildLocation(int pageNumber, int pageSize, Location childLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findLocationAssociationByChildLocation(int transform, Location childLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 java.util.Collection findLocationAssociationByChildLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location childLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findLocationAssociationByChildLocation(int transform, java.lang.String queryString, Location childLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 java.util.Collection findLocationAssociationByChildLocation(Location childLocation)
           
 java.util.Collection findLocationAssociationByChildLocation(java.lang.String queryString, int pageNumber, int pageSize, Location childLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findLocationAssociationByChildLocation(java.lang.String queryString, Location childLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 java.lang.Object findLocationAssociationByIdentifiers(int transform, Location parentLocation, Location childLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByIdentifiers(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 java.lang.Object findLocationAssociationByIdentifiers(int transform, java.lang.String queryString, Location parentLocation, Location childLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByIdentifiers(int, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 LocationAssociation findLocationAssociationByIdentifiers(Location parentLocation, Location childLocation)
           
 LocationAssociation findLocationAssociationByIdentifiers(java.lang.String queryString, Location parentLocation, Location childLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByIdentifiers(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 java.lang.Object findLocationAssociationByNaturalId(int transform, Location parentLocation, Location childLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByNaturalId(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 java.lang.Object findLocationAssociationByNaturalId(int transform, java.lang.String queryString, Location parentLocation, Location childLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByNaturalId(int, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 LocationAssociation findLocationAssociationByNaturalId(Location parentLocation, Location childLocation)
           
 LocationAssociation findLocationAssociationByNaturalId(java.lang.String queryString, Location parentLocation, Location childLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByNaturalId(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 java.util.Collection findLocationAssociationByParentLocation(int transform, int pageNumber, int pageSize, Location parentLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findLocationAssociationByParentLocation(int pageNumber, int pageSize, Location parentLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findLocationAssociationByParentLocation(int transform, Location parentLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 java.util.Collection findLocationAssociationByParentLocation(int transform, java.lang.String queryString, int pageNumber, int pageSize, Location parentLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(int, String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findLocationAssociationByParentLocation(int transform, java.lang.String queryString, Location parentLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 java.util.Collection findLocationAssociationByParentLocation(Location parentLocation)
           
 java.util.Collection findLocationAssociationByParentLocation(java.lang.String queryString, int pageNumber, int pageSize, Location parentLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(String, fr.ifremer.allegro.referential.location.Location) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findLocationAssociationByParentLocation(java.lang.String queryString, Location parentLocation)
           Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString.
 ClusterLocationAssociation[] getAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllLocationAssociation()
           
 java.util.Collection getAllLocationAssociation(int transform)
           Does the same thing as LocationAssociationDao.getAllLocationAssociation() with an additional flag called transform.
 java.util.Collection getAllLocationAssociation(int pageNumber, int pageSize)
           Does the same thing as LocationAssociationDao.getAllLocationAssociation() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationAssociation(int transform, int pageNumber, int pageSize)
           Does the same thing as LocationAssociationDao.getAllLocationAssociation(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationAssociation(int transform, java.lang.String queryString)
           Does the same thing as LocationAssociationDao.getAllLocationAssociation(int) with an additional argument called queryString.
 java.util.Collection getAllLocationAssociation(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as LocationAssociationDao.getAllLocationAssociation(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationAssociation(java.lang.String queryString)
           Does the same thing as LocationAssociationDao.getAllLocationAssociation() with an additional argument called queryString.
 java.util.Collection getAllLocationAssociation(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as LocationAssociationDao.getAllLocationAssociation(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationAssociationSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationAssociationSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationAssociationSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationAssociationSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllLocationAssociationSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllLocationAssociationSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllLocationAssociationSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllLocationAssociationSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  LocationDao getLocationDao()
          Gets the reference to locationDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected abstract  LocationAssociation handleCreateFromClusterLocationAssociation(ClusterLocationAssociation clusterLocationAssociation)
          Performs the core logic for createFromClusterLocationAssociation(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationAssociation)
protected abstract  ClusterLocationAssociation[] handleGetAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 java.lang.Object load(int transform, Location childLocation, Location parentLocation)
           Does the same thing as LocationAssociationDao.load(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location) with an additional flag called transform.
 LocationAssociation load(Location childLocation, Location parentLocation)
          Loads an instance of fr.ifremer.allegro.referential.location.LocationAssociation from the persistent store.
 java.util.Collection loadAll()
          Loads all entities of type LocationAssociation.
 java.util.Collection loadAll(int transform)
           Does the same thing as LocationAssociationDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as LocationAssociationDao.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 LocationAssociationDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteLocationAssociationFullVOToEntity(RemoteLocationAssociationFullVO source, LocationAssociation target, boolean copyIfNull)
          Copies the fields of RemoteLocationAssociationFullVO to the specified entity.
 void remoteLocationAssociationFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteLocationAssociationFullVO to this DAO's entity.
 void remoteLocationAssociationNaturalIdToEntity(RemoteLocationAssociationNaturalId source, LocationAssociation target, boolean copyIfNull)
          Copies the fields of RemoteLocationAssociationNaturalId to the specified entity.
 void remoteLocationAssociationNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteLocationAssociationNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(LocationAssociation locationAssociation)
          Removes the instance of fr.ifremer.allegro.referential.location.LocationAssociation from the persistent store.
 void remove(Location childLocation, Location parentLocation)
          Removes the instance of fr.ifremer.allegro.referential.location.LocationAssociation 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 LocationAssociationDao.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 setLocationDao(LocationDao locationDao)
          Sets the reference to locationDao.
 ClusterLocationAssociation toClusterLocationAssociation(LocationAssociation entity)
          Converts this DAO's entity to an object of type ClusterLocationAssociation.
 void toClusterLocationAssociation(LocationAssociation source, ClusterLocationAssociation target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterLocationAssociation toClusterLocationAssociation(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterLocationAssociation[] toClusterLocationAssociationArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterLocationAssociation.
 void toClusterLocationAssociationCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterLocationAssociation.
protected  LocationAssociation toEntity(java.lang.Object[] row)
           
 RemoteLocationAssociationFullVO toRemoteLocationAssociationFullVO(LocationAssociation entity)
          Converts this DAO's entity to an object of type RemoteLocationAssociationFullVO.
 void toRemoteLocationAssociationFullVO(LocationAssociation source, RemoteLocationAssociationFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteLocationAssociationFullVO toRemoteLocationAssociationFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteLocationAssociationFullVO[] toRemoteLocationAssociationFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteLocationAssociationFullVO.
 void toRemoteLocationAssociationFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteLocationAssociationFullVO.
 RemoteLocationAssociationNaturalId toRemoteLocationAssociationNaturalId(LocationAssociation entity)
          Converts this DAO's entity to an object of type RemoteLocationAssociationNaturalId.
 void toRemoteLocationAssociationNaturalId(LocationAssociation source, RemoteLocationAssociationNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteLocationAssociationNaturalId toRemoteLocationAssociationNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteLocationAssociationNaturalId[] toRemoteLocationAssociationNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteLocationAssociationNaturalId.
 void toRemoteLocationAssociationNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteLocationAssociationNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.referential.location.LocationAssociation) method.
protected  java.lang.Object transformEntity(int transform, LocationAssociation 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.location.LocationAssociationDao, please note that the LocationAssociationDao.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(LocationAssociation locationAssociation)
          Updates the locationAssociation 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.location.LocationAssociationDao
clusterLocationAssociationToEntity, remoteLocationAssociationFullVOToEntity, remoteLocationAssociationNaturalIdToEntity
 

Constructor Detail

LocationAssociationDaoBase

public LocationAssociationDaoBase()
Method Detail

setLocationDao

public void setLocationDao(LocationDao locationDao)
Sets the reference to locationDao.


getLocationDao

protected LocationDao getLocationDao()
Gets the reference to locationDao.


load

public java.lang.Object load(int transform,
                             Location childLocation,
                             Location parentLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.load(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location) 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 LocationAssociationDao
childLocation - identifier of the entity to load
parentLocation - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
LocationAssociationDao.load(int, fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location)

load

public LocationAssociation load(Location childLocation,
                                Location parentLocation)
Description copied from interface: LocationAssociationDao
Loads an instance of fr.ifremer.allegro.referential.location.LocationAssociation from the persistent store.

Specified by:
load in interface LocationAssociationDao
See Also:
LocationAssociationDao.load(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location)

loadAll

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

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

loadAll

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

Does the same thing as LocationAssociationDao.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 LocationAssociationDao
Parameters:
transform - the flag indicating what transformation to use.
Returns:
the loaded entities.
See Also:
LocationAssociationDao.loadAll(int)

loadAll

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

Does the same thing as LocationAssociationDao.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 LocationAssociationDao
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:
LocationAssociationDao.loadAll(int, int)

loadAll

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

Does the same thing as LocationAssociationDao.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 LocationAssociationDao
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:
LocationAssociationDao.loadAll(int, int, int)

create

public LocationAssociation create(LocationAssociation locationAssociation)
Description copied from interface: LocationAssociationDao
Creates an instance of fr.ifremer.allegro.referential.location.LocationAssociation and adds it to the persistent store.

Specified by:
create in interface LocationAssociationDao
See Also:
LocationAssociationDao.create(fr.ifremer.allegro.referential.location.LocationAssociation)

create

public java.lang.Object create(int transform,
                               LocationAssociation locationAssociation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.create(fr.ifremer.allegro.referential.location.LocationAssociation) 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 LocationAssociationDao
See Also:
LocationAssociationDao.create(int transform, fr.ifremer.allegro.referential.location.LocationAssociation)

create

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

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

create

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

Does the same thing as LocationAssociationDao.create(fr.ifremer.allegro.referential.location.LocationAssociation) 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 LocationAssociationDao
See Also:
LocationAssociationDao.create(int, java.util.Collection)

create

public LocationAssociation create(java.lang.Float childSurfaceRatio,
                                  java.sql.Timestamp updateDate,
                                  Location childLocation,
                                  Location parentLocation)
Description copied from interface: LocationAssociationDao

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

Specified by:
create in interface LocationAssociationDao
See Also:
LocationAssociationDao.create(java.lang.Float,java.sql.Timestamp,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location)

create

public java.lang.Object create(int transform,
                               java.lang.Float childSurfaceRatio,
                               java.sql.Timestamp updateDate,
                               Location childLocation,
                               Location parentLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.create(java.lang.Float,java.sql.Timestamp,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location) 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 LocationAssociationDao
See Also:
LocationAssociationDao.create(int, java.lang.Float,java.sql.Timestamp,fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location)

create

public LocationAssociation create(Location childLocation,
                                  java.lang.Float childSurfaceRatio,
                                  Location parentLocation)
Description copied from interface: LocationAssociationDao

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

Specified by:
create in interface LocationAssociationDao
See Also:
LocationAssociationDao.create(fr.ifremer.allegro.referential.location.Location,java.lang.Float,fr.ifremer.allegro.referential.location.Location)

create

public java.lang.Object create(int transform,
                               Location childLocation,
                               java.lang.Float childSurfaceRatio,
                               Location parentLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.create(fr.ifremer.allegro.referential.location.Location,java.lang.Float,fr.ifremer.allegro.referential.location.Location) 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 LocationAssociationDao
See Also:
LocationAssociationDao.create(int, fr.ifremer.allegro.referential.location.Location,java.lang.Float,fr.ifremer.allegro.referential.location.Location)

update

public void update(LocationAssociation locationAssociation)
Description copied from interface: LocationAssociationDao
Updates the locationAssociation instance in the persistent store.

Specified by:
update in interface LocationAssociationDao
See Also:
LocationAssociationDao.update(fr.ifremer.allegro.referential.location.LocationAssociation)

update

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

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

remove

public void remove(LocationAssociation locationAssociation)
Description copied from interface: LocationAssociationDao
Removes the instance of fr.ifremer.allegro.referential.location.LocationAssociation from the persistent store.

Specified by:
remove in interface LocationAssociationDao
See Also:
LocationAssociationDao.remove(fr.ifremer.allegro.referential.location.LocationAssociation)

remove

public void remove(Location childLocation,
                   Location parentLocation)
Description copied from interface: LocationAssociationDao
Removes the instance of fr.ifremer.allegro.referential.location.LocationAssociation having the given identifiers from the persistent store.

Specified by:
remove in interface LocationAssociationDao
See Also:
LocationAssociationDao.remove(fr.ifremer.allegro.referential.location.Location,fr.ifremer.allegro.referential.location.Location)

remove

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

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

getAllLocationAssociation

public java.util.Collection getAllLocationAssociation()
Specified by:
getAllLocationAssociation in interface LocationAssociationDao
See Also:
LocationAssociationDao.getAllLocationAssociation()

getAllLocationAssociation

public java.util.Collection getAllLocationAssociation(int transform)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.getAllLocationAssociation() 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:
getAllLocationAssociation in interface LocationAssociationDao
See Also:
LocationAssociationDao.getAllLocationAssociation(int)

getAllLocationAssociation

public java.util.Collection getAllLocationAssociation(java.lang.String queryString)
Description copied from interface: LocationAssociationDao

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

Specified by:
getAllLocationAssociation in interface LocationAssociationDao
See Also:
LocationAssociationDao.getAllLocationAssociation(java.lang.String)

getAllLocationAssociation

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

Does the same thing as LocationAssociationDao.getAllLocationAssociation() 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:
getAllLocationAssociation in interface LocationAssociationDao
See Also:
LocationAssociationDao.getAllLocationAssociation(int, int)

getAllLocationAssociation

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

Does the same thing as LocationAssociationDao.getAllLocationAssociation(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:
getAllLocationAssociation in interface LocationAssociationDao
See Also:
LocationAssociationDao.getAllLocationAssociation(String, int, int)

getAllLocationAssociation

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

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

Specified by:
getAllLocationAssociation in interface LocationAssociationDao
See Also:
LocationAssociationDao.getAllLocationAssociation(int, String)

getAllLocationAssociation

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

Does the same thing as LocationAssociationDao.getAllLocationAssociation(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:
getAllLocationAssociation in interface LocationAssociationDao
See Also:
LocationAssociationDao.getAllLocationAssociation(int, int, int)

getAllLocationAssociation

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

Does the same thing as LocationAssociationDao.getAllLocationAssociation(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:
getAllLocationAssociation in interface LocationAssociationDao
See Also:
LocationAssociationDao.getAllLocationAssociation(int, java.lang.String, int, int)

findLocationAssociationByParentLocation

public java.util.Collection findLocationAssociationByParentLocation(Location parentLocation)
Specified by:
findLocationAssociationByParentLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByParentLocation(fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByParentLocation

public java.util.Collection findLocationAssociationByParentLocation(int transform,
                                                                    Location parentLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(fr.ifremer.allegro.referential.location.Location) 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:
findLocationAssociationByParentLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByParentLocation(int, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByParentLocation

public java.util.Collection findLocationAssociationByParentLocation(java.lang.String queryString,
                                                                    Location parentLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in LocationAssociationDao.findLocationAssociationByParentLocation(fr.ifremer.allegro.referential.location.Location).

Specified by:
findLocationAssociationByParentLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByParentLocation(java.lang.String, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByParentLocation

public java.util.Collection findLocationAssociationByParentLocation(int pageNumber,
                                                                    int pageSize,
                                                                    Location parentLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(fr.ifremer.allegro.referential.location.Location) 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:
findLocationAssociationByParentLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByParentLocation(int, int, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByParentLocation

public java.util.Collection findLocationAssociationByParentLocation(java.lang.String queryString,
                                                                    int pageNumber,
                                                                    int pageSize,
                                                                    Location parentLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(String, fr.ifremer.allegro.referential.location.Location) 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:
findLocationAssociationByParentLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByParentLocation(String, int, int, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByParentLocation

public java.util.Collection findLocationAssociationByParentLocation(int transform,
                                                                    java.lang.String queryString,
                                                                    Location parentLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in LocationAssociationDao.findLocationAssociationByParentLocation(int, fr.ifremer.allegro.referential.location.Location parentLocation).

Specified by:
findLocationAssociationByParentLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByParentLocation(int, String, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByParentLocation

public java.util.Collection findLocationAssociationByParentLocation(int transform,
                                                                    int pageNumber,
                                                                    int pageSize,
                                                                    Location parentLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(int, fr.ifremer.allegro.referential.location.Location) 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:
findLocationAssociationByParentLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByParentLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByParentLocation

public java.util.Collection findLocationAssociationByParentLocation(int transform,
                                                                    java.lang.String queryString,
                                                                    int pageNumber,
                                                                    int pageSize,
                                                                    Location parentLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByParentLocation(int, String, fr.ifremer.allegro.referential.location.Location) 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:
findLocationAssociationByParentLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByParentLocation(int, java.lang.String, int, int, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByChildLocation

public java.util.Collection findLocationAssociationByChildLocation(Location childLocation)
Specified by:
findLocationAssociationByChildLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByChildLocation(fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByChildLocation

public java.util.Collection findLocationAssociationByChildLocation(int transform,
                                                                   Location childLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(fr.ifremer.allegro.referential.location.Location) 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:
findLocationAssociationByChildLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByChildLocation(int, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByChildLocation

public java.util.Collection findLocationAssociationByChildLocation(java.lang.String queryString,
                                                                   Location childLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in LocationAssociationDao.findLocationAssociationByChildLocation(fr.ifremer.allegro.referential.location.Location).

Specified by:
findLocationAssociationByChildLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByChildLocation(java.lang.String, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByChildLocation

public java.util.Collection findLocationAssociationByChildLocation(int pageNumber,
                                                                   int pageSize,
                                                                   Location childLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(fr.ifremer.allegro.referential.location.Location) 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:
findLocationAssociationByChildLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByChildLocation(int, int, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByChildLocation

public java.util.Collection findLocationAssociationByChildLocation(java.lang.String queryString,
                                                                   int pageNumber,
                                                                   int pageSize,
                                                                   Location childLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(String, fr.ifremer.allegro.referential.location.Location) 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:
findLocationAssociationByChildLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByChildLocation(String, int, int, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByChildLocation

public java.util.Collection findLocationAssociationByChildLocation(int transform,
                                                                   java.lang.String queryString,
                                                                   Location childLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(int, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in LocationAssociationDao.findLocationAssociationByChildLocation(int, fr.ifremer.allegro.referential.location.Location childLocation).

Specified by:
findLocationAssociationByChildLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByChildLocation(int, String, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByChildLocation

public java.util.Collection findLocationAssociationByChildLocation(int transform,
                                                                   int pageNumber,
                                                                   int pageSize,
                                                                   Location childLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(int, fr.ifremer.allegro.referential.location.Location) 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:
findLocationAssociationByChildLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByChildLocation(int, int, int, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByChildLocation

public java.util.Collection findLocationAssociationByChildLocation(int transform,
                                                                   java.lang.String queryString,
                                                                   int pageNumber,
                                                                   int pageSize,
                                                                   Location childLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByChildLocation(int, String, fr.ifremer.allegro.referential.location.Location) 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:
findLocationAssociationByChildLocation in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByChildLocation(int, java.lang.String, int, int, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByIdentifiers

public LocationAssociation findLocationAssociationByIdentifiers(Location parentLocation,
                                                                Location childLocation)
Specified by:
findLocationAssociationByIdentifiers in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByIdentifiers(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByIdentifiers

public java.lang.Object findLocationAssociationByIdentifiers(int transform,
                                                             Location parentLocation,
                                                             Location childLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByIdentifiers(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) 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:
findLocationAssociationByIdentifiers in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByIdentifiers(int, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByIdentifiers

public LocationAssociation findLocationAssociationByIdentifiers(java.lang.String queryString,
                                                                Location parentLocation,
                                                                Location childLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByIdentifiers(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in LocationAssociationDao.findLocationAssociationByIdentifiers(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location).

Specified by:
findLocationAssociationByIdentifiers in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByIdentifiers(java.lang.String, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByIdentifiers

public java.lang.Object findLocationAssociationByIdentifiers(int transform,
                                                             java.lang.String queryString,
                                                             Location parentLocation,
                                                             Location childLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByIdentifiers(int, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in LocationAssociationDao.findLocationAssociationByIdentifiers(int, fr.ifremer.allegro.referential.location.Location parentLocation, fr.ifremer.allegro.referential.location.Location childLocation).

Specified by:
findLocationAssociationByIdentifiers in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByIdentifiers(int, java.lang.String, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByNaturalId

public LocationAssociation findLocationAssociationByNaturalId(Location parentLocation,
                                                              Location childLocation)
Specified by:
findLocationAssociationByNaturalId in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByNaturalId(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByNaturalId

public java.lang.Object findLocationAssociationByNaturalId(int transform,
                                                           Location parentLocation,
                                                           Location childLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByNaturalId(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) 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:
findLocationAssociationByNaturalId in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByNaturalId(int, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByNaturalId

public LocationAssociation findLocationAssociationByNaturalId(java.lang.String queryString,
                                                              Location parentLocation,
                                                              Location childLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByNaturalId(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in LocationAssociationDao.findLocationAssociationByNaturalId(fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location).

Specified by:
findLocationAssociationByNaturalId in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByNaturalId(java.lang.String, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)

findLocationAssociationByNaturalId

public java.lang.Object findLocationAssociationByNaturalId(int transform,
                                                           java.lang.String queryString,
                                                           Location parentLocation,
                                                           Location childLocation)
Description copied from interface: LocationAssociationDao

Does the same thing as LocationAssociationDao.findLocationAssociationByNaturalId(int, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location) with an additional argument called queryString. This queryString argument allows you to override the query string defined in LocationAssociationDao.findLocationAssociationByNaturalId(int, fr.ifremer.allegro.referential.location.Location parentLocation, fr.ifremer.allegro.referential.location.Location childLocation).

Specified by:
findLocationAssociationByNaturalId in interface LocationAssociationDao
See Also:
LocationAssociationDao.findLocationAssociationByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.location.Location, fr.ifremer.allegro.referential.location.Location)

getAllLocationAssociationSinceDateSynchro

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

getAllLocationAssociationSinceDateSynchro

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

Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(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:
getAllLocationAssociationSinceDateSynchro in interface LocationAssociationDao
See Also:
LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, java.sql.Timestamp)

getAllLocationAssociationSinceDateSynchro

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

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

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

getAllLocationAssociationSinceDateSynchro

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

Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(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:
getAllLocationAssociationSinceDateSynchro in interface LocationAssociationDao
See Also:
LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, int, java.sql.Timestamp)

getAllLocationAssociationSinceDateSynchro

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

Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(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:
getAllLocationAssociationSinceDateSynchro in interface LocationAssociationDao
See Also:
LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(String, int, int, java.sql.Timestamp)

getAllLocationAssociationSinceDateSynchro

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

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

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

getAllLocationAssociationSinceDateSynchro

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

Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(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:
getAllLocationAssociationSinceDateSynchro in interface LocationAssociationDao
See Also:
LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, int, int, java.sql.Timestamp)

getAllLocationAssociationSinceDateSynchro

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

Does the same thing as LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(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:
getAllLocationAssociationSinceDateSynchro in interface LocationAssociationDao
See Also:
LocationAssociationDao.getAllLocationAssociationSinceDateSynchro(int, java.lang.String, int, int, java.sql.Timestamp)

createFromClusterLocationAssociation

public LocationAssociation createFromClusterLocationAssociation(ClusterLocationAssociation clusterLocationAssociation)
Specified by:
createFromClusterLocationAssociation in interface LocationAssociationDao
See Also:
LocationAssociationDao.createFromClusterLocationAssociation(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationAssociation)

handleCreateFromClusterLocationAssociation

protected abstract LocationAssociation handleCreateFromClusterLocationAssociation(ClusterLocationAssociation clusterLocationAssociation)
                                                                           throws java.lang.Exception
Performs the core logic for createFromClusterLocationAssociation(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationAssociation)

Throws:
java.lang.Exception

getAllClusterLocationAssociationSinceDateSynchro

public ClusterLocationAssociation[] getAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                     java.lang.Integer userId,
                                                                                     java.lang.Integer[] registrationLocationIds,
                                                                                     java.lang.Integer pageNumber,
                                                                                     java.lang.Integer pageSize)
Specified by:
getAllClusterLocationAssociationSinceDateSynchro in interface LocationAssociationDao
See Also:
LocationAssociationDao.getAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterLocationAssociationSinceDateSynchro

protected abstract ClusterLocationAssociation[] handleGetAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                                       java.lang.Integer userId,
                                                                                                       java.lang.Integer[] registrationLocationIds,
                                                                                                       java.lang.Integer pageNumber,
                                                                                                       java.lang.Integer pageSize)
                                                                                                throws java.lang.Exception
Performs the core logic for getAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           LocationAssociation 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.location.LocationAssociationDao, please note that the LocationAssociationDao.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 LocationAssociationDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in LocationAssociationDao
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.location.LocationAssociation) 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.location.LocationAssociationDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.referential.location.LocationAssociation)

toEntity

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

toRemoteLocationAssociationFullVOCollection

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

Specified by:
toRemoteLocationAssociationFullVOCollection in interface LocationAssociationDao
See Also:
LocationAssociationDao.toRemoteLocationAssociationFullVOCollection(java.util.Collection)

toRemoteLocationAssociationFullVOArray

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

Specified by:
toRemoteLocationAssociationFullVOArray in interface LocationAssociationDao
See Also:
LocationAssociationDao.toRemoteLocationAssociationFullVOArray(java.util.Collection)

toRemoteLocationAssociationFullVO

protected RemoteLocationAssociationFullVO toRemoteLocationAssociationFullVO(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 LocationAssociationDaoImpl class if you intend to use reporting queries.

See Also:
LocationAssociationDao.toRemoteLocationAssociationFullVO(fr.ifremer.allegro.referential.location.LocationAssociation)

remoteLocationAssociationFullVOToEntityCollection

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

Specified by:
remoteLocationAssociationFullVOToEntityCollection in interface LocationAssociationDao
See Also:
LocationAssociationDao.remoteLocationAssociationFullVOToEntityCollection(java.util.Collection)

toRemoteLocationAssociationFullVO

public void toRemoteLocationAssociationFullVO(LocationAssociation source,
                                              RemoteLocationAssociationFullVO target)
Description copied from interface: LocationAssociationDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteLocationAssociationFullVO(), 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:
toRemoteLocationAssociationFullVO in interface LocationAssociationDao
See Also:
LocationAssociationDao.toRemoteLocationAssociationFullVO(fr.ifremer.allegro.referential.location.LocationAssociation, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)

toRemoteLocationAssociationFullVO

public RemoteLocationAssociationFullVO toRemoteLocationAssociationFullVO(LocationAssociation entity)
Description copied from interface: LocationAssociationDao
Converts this DAO's entity to an object of type RemoteLocationAssociationFullVO.

Specified by:
toRemoteLocationAssociationFullVO in interface LocationAssociationDao
See Also:
LocationAssociationDao.toRemoteLocationAssociationFullVO(fr.ifremer.allegro.referential.location.LocationAssociation)

remoteLocationAssociationFullVOToEntity

public void remoteLocationAssociationFullVOToEntity(RemoteLocationAssociationFullVO source,
                                                    LocationAssociation target,
                                                    boolean copyIfNull)
Description copied from interface: LocationAssociationDao
Copies the fields of RemoteLocationAssociationFullVO to the specified entity.

Specified by:
remoteLocationAssociationFullVOToEntity in interface LocationAssociationDao
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.location.LocationAssociationDao#remoteLocationAssociationFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO, fr.ifremer.allegro.referential.location.LocationAssociation)

toRemoteLocationAssociationNaturalIdCollection

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

Specified by:
toRemoteLocationAssociationNaturalIdCollection in interface LocationAssociationDao
See Also:
LocationAssociationDao.toRemoteLocationAssociationNaturalIdCollection(java.util.Collection)

toRemoteLocationAssociationNaturalIdArray

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

Specified by:
toRemoteLocationAssociationNaturalIdArray in interface LocationAssociationDao
See Also:
LocationAssociationDao.toRemoteLocationAssociationNaturalIdArray(java.util.Collection)

toRemoteLocationAssociationNaturalId

protected RemoteLocationAssociationNaturalId toRemoteLocationAssociationNaturalId(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 LocationAssociationDaoImpl class if you intend to use reporting queries.

See Also:
LocationAssociationDao.toRemoteLocationAssociationNaturalId(fr.ifremer.allegro.referential.location.LocationAssociation)

remoteLocationAssociationNaturalIdToEntityCollection

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

Specified by:
remoteLocationAssociationNaturalIdToEntityCollection in interface LocationAssociationDao
See Also:
LocationAssociationDao.remoteLocationAssociationNaturalIdToEntityCollection(java.util.Collection)

toRemoteLocationAssociationNaturalId

public void toRemoteLocationAssociationNaturalId(LocationAssociation source,
                                                 RemoteLocationAssociationNaturalId target)
Description copied from interface: LocationAssociationDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteLocationAssociationNaturalId(), 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:
toRemoteLocationAssociationNaturalId in interface LocationAssociationDao
See Also:
LocationAssociationDao.toRemoteLocationAssociationNaturalId(fr.ifremer.allegro.referential.location.LocationAssociation, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationNaturalId)

toRemoteLocationAssociationNaturalId

public RemoteLocationAssociationNaturalId toRemoteLocationAssociationNaturalId(LocationAssociation entity)
Description copied from interface: LocationAssociationDao
Converts this DAO's entity to an object of type RemoteLocationAssociationNaturalId.

Specified by:
toRemoteLocationAssociationNaturalId in interface LocationAssociationDao
See Also:
LocationAssociationDao.toRemoteLocationAssociationNaturalId(fr.ifremer.allegro.referential.location.LocationAssociation)

remoteLocationAssociationNaturalIdToEntity

public void remoteLocationAssociationNaturalIdToEntity(RemoteLocationAssociationNaturalId source,
                                                       LocationAssociation target,
                                                       boolean copyIfNull)
Description copied from interface: LocationAssociationDao
Copies the fields of RemoteLocationAssociationNaturalId to the specified entity.

Specified by:
remoteLocationAssociationNaturalIdToEntity in interface LocationAssociationDao
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.location.LocationAssociationDao#remoteLocationAssociationNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationNaturalId, fr.ifremer.allegro.referential.location.LocationAssociation)

toClusterLocationAssociationCollection

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

Specified by:
toClusterLocationAssociationCollection in interface LocationAssociationDao
See Also:
LocationAssociationDao.toClusterLocationAssociationCollection(java.util.Collection)

toClusterLocationAssociationArray

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

Specified by:
toClusterLocationAssociationArray in interface LocationAssociationDao
See Also:
LocationAssociationDao.toClusterLocationAssociationArray(java.util.Collection)

toClusterLocationAssociation

protected ClusterLocationAssociation toClusterLocationAssociation(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 LocationAssociationDaoImpl class if you intend to use reporting queries.

See Also:
LocationAssociationDao.toClusterLocationAssociation(fr.ifremer.allegro.referential.location.LocationAssociation)

clusterLocationAssociationToEntityCollection

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

Specified by:
clusterLocationAssociationToEntityCollection in interface LocationAssociationDao
See Also:
LocationAssociationDao.clusterLocationAssociationToEntityCollection(java.util.Collection)

toClusterLocationAssociation

public void toClusterLocationAssociation(LocationAssociation source,
                                         ClusterLocationAssociation target)
Description copied from interface: LocationAssociationDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterLocationAssociation(), 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:
toClusterLocationAssociation in interface LocationAssociationDao
See Also:
LocationAssociationDao.toClusterLocationAssociation(fr.ifremer.allegro.referential.location.LocationAssociation, fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationAssociation)

toClusterLocationAssociation

public ClusterLocationAssociation toClusterLocationAssociation(LocationAssociation entity)
Description copied from interface: LocationAssociationDao
Converts this DAO's entity to an object of type ClusterLocationAssociation.

Specified by:
toClusterLocationAssociation in interface LocationAssociationDao
See Also:
LocationAssociationDao.toClusterLocationAssociation(fr.ifremer.allegro.referential.location.LocationAssociation)

clusterLocationAssociationToEntity

public void clusterLocationAssociationToEntity(ClusterLocationAssociation source,
                                               LocationAssociation target,
                                               boolean copyIfNull)
Description copied from interface: LocationAssociationDao
Copies the fields of ClusterLocationAssociation to the specified entity.

Specified by:
clusterLocationAssociationToEntity in interface LocationAssociationDao
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.location.LocationAssociationDao#clusterLocationAssociationToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationAssociation, fr.ifremer.allegro.referential.location.LocationAssociation)

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: LocationAssociationDao
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 LocationAssociationDao
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:
LocationAssociationDao.search(int, int, int, fr.ifremer.allegro.Search)

search

public PaginationResult search(int pageNumber,
                               int pageSize,
                               Search search)
Description copied from interface: LocationAssociationDao
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 LocationAssociationDao
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:
LocationAssociationDao.search(int, int, fr.ifremer.allegro.Search)

search

public java.util.Set search(int transform,
                            Search search)
Description copied from interface: LocationAssociationDao
Does the same thing as LocationAssociationDao.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 LocationAssociationDao
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:
LocationAssociationDao.search(int, fr.ifremer.allegro.Search)

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.