fr.ifremer.allegro.data.survey.fishingTrip
Class FishingTripOriginDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOriginDaoBase
All Implemented Interfaces:
FishingTripOriginDao
Direct Known Subclasses:
FishingTripOriginDaoImpl

public abstract class FishingTripOriginDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements FishingTripOriginDao

Base Spring DAO Class: is able to create, update, remove, load, and find objects of type fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin.

See Also:
FishingTripOrigin

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOriginDao
TRANSFORM_CLUSTERFISHINGTRIPORIGIN, TRANSFORM_NONE, TRANSFORM_REMOTEFISHINGTRIPORIGINFULLVO, TRANSFORM_REMOTEFISHINGTRIPORIGINNATURALID
 
Constructor Summary
FishingTripOriginDaoBase()
           
 
Method Summary
 void clusterFishingTripOriginToEntity(ClusterFishingTripOrigin source, FishingTripOrigin target, boolean copyIfNull)
          Copies the fields of ClusterFishingTripOrigin to the specified entity.
 void clusterFishingTripOriginToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterFishingTripOrigin to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin and adds from the passed in entities collection
 FishingTripOrigin create(FishingTripOrigin fishingTripOrigin)
          Creates an instance of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin and adds it to the persistent store.
 FishingTripOrigin create(FishingTrip fishingTrip, Program program)
           Creates a new fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin instance from only required properties (attributes and association ends) and adds it to the persistent store.
 FishingTripOrigin create(FishingTrip fishingTrip, Program program, FishingTrip originFishingTrip)
           Creates a new fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin 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 FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin) with an additional flag called transform.
 java.lang.Object create(int transform, FishingTripOrigin fishingTripOrigin)
           Does the same thing as FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin) with an additional flag called transform.
 java.lang.Object create(int transform, FishingTrip fishingTrip, Program program)
           Does the same thing as FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.lang.Object create(int transform, FishingTrip fishingTrip, Program program, FishingTrip originFishingTrip)
           Does the same thing as FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional flag called transform.
 FishingTripOrigin createFromClusterFishingTripOrigin(ClusterFishingTripOrigin clusterFishingTripOrigin)
           
 java.util.Collection findFishingTripOriginByFishingTrip(FishingTrip fishingTrip)
           
 java.util.Collection findFishingTripOriginByFishingTrip(int transform, FishingTrip fishingTrip)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional flag called transform.
 java.util.Collection findFishingTripOriginByFishingTrip(int pageNumber, int pageSize, FishingTrip fishingTrip)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingTripOriginByFishingTrip(int transform, int pageNumber, int pageSize, FishingTrip fishingTrip)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingTripOriginByFishingTrip(int transform, java.lang.String queryString, FishingTrip fishingTrip)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString.
 java.util.Collection findFishingTripOriginByFishingTrip(int transform, java.lang.String queryString, int pageNumber, int pageSize, FishingTrip fishingTrip)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingTripOriginByFishingTrip(java.lang.String queryString, FishingTrip fishingTrip)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString.
 java.util.Collection findFishingTripOriginByFishingTrip(java.lang.String queryString, int pageNumber, int pageSize, FishingTrip fishingTrip)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 FishingTripOrigin findFishingTripOriginById(java.lang.Integer id)
           
 java.lang.Object findFishingTripOriginById(int transform, java.lang.Integer id)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findFishingTripOriginById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginById(int, java.lang.Integer) with an additional argument called queryString.
 FishingTripOrigin findFishingTripOriginById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginById(java.lang.Integer) with an additional argument called queryString.
 FishingTripOrigin findFishingTripOriginByNaturalId(java.lang.Integer id)
           
 java.lang.Object findFishingTripOriginByNaturalId(int transform, java.lang.Integer id)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByNaturalId(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findFishingTripOriginByNaturalId(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByNaturalId(int, java.lang.Integer) with an additional argument called queryString.
 FishingTripOrigin findFishingTripOriginByNaturalId(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByNaturalId(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findFishingTripOriginByOriginFishingTrip(FishingTrip originFishingTrip)
           
 java.util.Collection findFishingTripOriginByOriginFishingTrip(int transform, FishingTrip originFishingTrip)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional flag called transform.
 java.util.Collection findFishingTripOriginByOriginFishingTrip(int pageNumber, int pageSize, FishingTrip originFishingTrip)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingTripOriginByOriginFishingTrip(int transform, int pageNumber, int pageSize, FishingTrip originFishingTrip)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingTripOriginByOriginFishingTrip(int transform, java.lang.String queryString, FishingTrip originFishingTrip)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString.
 java.util.Collection findFishingTripOriginByOriginFishingTrip(int transform, java.lang.String queryString, int pageNumber, int pageSize, FishingTrip originFishingTrip)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingTripOriginByOriginFishingTrip(java.lang.String queryString, FishingTrip originFishingTrip)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString.
 java.util.Collection findFishingTripOriginByOriginFishingTrip(java.lang.String queryString, int pageNumber, int pageSize, FishingTrip originFishingTrip)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingTripOriginByProgram(int transform, int pageNumber, int pageSize, Program program)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingTripOriginByProgram(int pageNumber, int pageSize, Program program)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingTripOriginByProgram(int transform, Program program)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.util.Collection findFishingTripOriginByProgram(int transform, java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingTripOriginByProgram(int transform, java.lang.String queryString, Program program)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findFishingTripOriginByProgram(Program program)
           
 java.util.Collection findFishingTripOriginByProgram(java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findFishingTripOriginByProgram(java.lang.String queryString, Program program)
           Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection getAllFishingTripOrigin()
           
 java.util.Collection getAllFishingTripOrigin(int transform)
           Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin() with an additional flag called transform.
 java.util.Collection getAllFishingTripOrigin(int pageNumber, int pageSize)
           Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingTripOrigin(int transform, int pageNumber, int pageSize)
           Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingTripOrigin(int transform, java.lang.String queryString)
           Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin(int) with an additional argument called queryString.
 java.util.Collection getAllFishingTripOrigin(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllFishingTripOrigin(java.lang.String queryString)
           Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin() with an additional argument called queryString.
 java.util.Collection getAllFishingTripOrigin(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as FishingTripOriginDao.getAllFishingTripOrigin(String) with an additional two arguments called pageNumber and pageSize.
protected  FishingTripDao getFishingTripDao()
          Gets the reference to fishingTripDao.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  ProgramDao getProgramDao()
          Gets the reference to programDao.
protected abstract  FishingTripOrigin handleCreateFromClusterFishingTripOrigin(ClusterFishingTripOrigin clusterFishingTripOrigin)
          Performs the core logic for createFromClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin)
 FishingTripOrigin load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as FishingTripOriginDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type FishingTripOrigin.
 java.util.Collection loadAll(int transform)
           Does the same thing as FishingTripOriginDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as FishingTripOriginDao.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 FishingTripOriginDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteFishingTripOriginFullVOToEntity(RemoteFishingTripOriginFullVO source, FishingTripOrigin target, boolean copyIfNull)
          Copies the fields of RemoteFishingTripOriginFullVO to the specified entity.
 void remoteFishingTripOriginFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteFishingTripOriginFullVO to this DAO's entity.
 void remoteFishingTripOriginNaturalIdToEntity(RemoteFishingTripOriginNaturalId source, FishingTripOrigin target, boolean copyIfNull)
          Copies the fields of RemoteFishingTripOriginNaturalId to the specified entity.
 void remoteFishingTripOriginNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteFishingTripOriginNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(FishingTripOrigin fishingTripOrigin)
          Removes the instance of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin from the persistent store.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin having the given identifier 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 FishingTripOriginDao.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 setFishingTripDao(FishingTripDao fishingTripDao)
          Sets the reference to fishingTripDao.
 void setProgramDao(ProgramDao programDao)
          Sets the reference to programDao.
 ClusterFishingTripOrigin toClusterFishingTripOrigin(FishingTripOrigin entity)
          Converts this DAO's entity to an object of type ClusterFishingTripOrigin.
 void toClusterFishingTripOrigin(FishingTripOrigin source, ClusterFishingTripOrigin target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterFishingTripOrigin toClusterFishingTripOrigin(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterFishingTripOrigin[] toClusterFishingTripOriginArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterFishingTripOrigin.
 void toClusterFishingTripOriginCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterFishingTripOrigin.
protected  FishingTripOrigin toEntity(java.lang.Object[] row)
           
 RemoteFishingTripOriginFullVO toRemoteFishingTripOriginFullVO(FishingTripOrigin entity)
          Converts this DAO's entity to an object of type RemoteFishingTripOriginFullVO.
 void toRemoteFishingTripOriginFullVO(FishingTripOrigin source, RemoteFishingTripOriginFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteFishingTripOriginFullVO toRemoteFishingTripOriginFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteFishingTripOriginFullVO[] toRemoteFishingTripOriginFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteFishingTripOriginFullVO.
 void toRemoteFishingTripOriginFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteFishingTripOriginFullVO.
 RemoteFishingTripOriginNaturalId toRemoteFishingTripOriginNaturalId(FishingTripOrigin entity)
          Converts this DAO's entity to an object of type RemoteFishingTripOriginNaturalId.
 void toRemoteFishingTripOriginNaturalId(FishingTripOrigin source, RemoteFishingTripOriginNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteFishingTripOriginNaturalId toRemoteFishingTripOriginNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteFishingTripOriginNaturalId[] toRemoteFishingTripOriginNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteFishingTripOriginNaturalId.
 void toRemoteFishingTripOriginNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteFishingTripOriginNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin) method.
protected  java.lang.Object transformEntity(int transform, FishingTripOrigin 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.data.survey.fishingTrip.FishingTripOriginDao, please note that the FishingTripOriginDao.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(FishingTripOrigin fishingTripOrigin)
          Updates the fishingTripOrigin 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.data.survey.fishingTrip.FishingTripOriginDao
clusterFishingTripOriginToEntity, remoteFishingTripOriginFullVOToEntity, remoteFishingTripOriginNaturalIdToEntity
 

Constructor Detail

FishingTripOriginDaoBase

public FishingTripOriginDaoBase()
Method Detail

setFishingTripDao

public void setFishingTripDao(FishingTripDao fishingTripDao)
Sets the reference to fishingTripDao.


getFishingTripDao

protected FishingTripDao getFishingTripDao()
Gets the reference to fishingTripDao.


setProgramDao

public void setProgramDao(ProgramDao programDao)
Sets the reference to programDao.


getProgramDao

protected ProgramDao getProgramDao()
Gets the reference to programDao.


load

public java.lang.Object load(int transform,
                             java.lang.Integer id)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.load(java.lang.Integer) 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 FishingTripOriginDao
id - identifier of the entity to load
Returns:
either the entity or the object transformed from the entity.
See Also:
FishingTripOriginDao.load(int, java.lang.Integer)

load

public FishingTripOrigin load(java.lang.Integer id)
Description copied from interface: FishingTripOriginDao
Loads an instance of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin from the persistent store.

Specified by:
load in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.load(java.lang.Integer)

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public FishingTripOrigin create(FishingTripOrigin fishingTripOrigin)
Description copied from interface: FishingTripOriginDao
Creates an instance of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin and adds it to the persistent store.

Specified by:
create in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

create

public java.lang.Object create(int transform,
                               FishingTripOrigin fishingTripOrigin)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin) 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 FishingTripOriginDao
See Also:
FishingTripOriginDao.create(int transform, fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

create

public java.util.Collection create(java.util.Collection entities)
Description copied from interface: FishingTripOriginDao
Creates a new instance of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin and adds from the passed in entities collection

Specified by:
create in interface FishingTripOriginDao
Parameters:
entities - the collection of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin instances to create.
Returns:
the created instances.
See Also:
FishingTripOriginDao.create(java.util.Collection)

create

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

Does the same thing as FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin) 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 FishingTripOriginDao
See Also:
FishingTripOriginDao.create(int, java.util.Collection)

create

public FishingTripOrigin create(FishingTrip fishingTrip,
                                Program program,
                                FishingTrip originFishingTrip)
Description copied from interface: FishingTripOriginDao

Creates a new fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin instance from all attributes and properties and adds it to the persistent store.

Specified by:
create in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

create

public java.lang.Object create(int transform,
                               FishingTrip fishingTrip,
                               Program program,
                               FishingTrip originFishingTrip)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) 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 FishingTripOriginDao
See Also:
FishingTripOriginDao.create(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

create

public FishingTripOrigin create(FishingTrip fishingTrip,
                                Program program)
Description copied from interface: FishingTripOriginDao

Creates a new fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin instance from only required properties (attributes and association ends) and adds it to the persistent store.

Specified by:
create in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program)

create

public java.lang.Object create(int transform,
                               FishingTrip fishingTrip,
                               Program program)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.create(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program) 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 FishingTripOriginDao
See Also:
FishingTripOriginDao.create(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip,fr.ifremer.allegro.administration.programStrategy.Program)

update

public void update(FishingTripOrigin fishingTripOrigin)
Description copied from interface: FishingTripOriginDao
Updates the fishingTripOrigin instance in the persistent store.

Specified by:
update in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.update(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

update

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

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

remove

public void remove(FishingTripOrigin fishingTripOrigin)
Description copied from interface: FishingTripOriginDao
Removes the instance of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin from the persistent store.

Specified by:
remove in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.remove(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

remove

public void remove(java.lang.Integer id)
Description copied from interface: FishingTripOriginDao
Removes the instance of fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin having the given identifier from the persistent store.

Specified by:
remove in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.remove(java.lang.Integer)

remove

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

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

getAllFishingTripOrigin

public java.util.Collection getAllFishingTripOrigin()
Specified by:
getAllFishingTripOrigin in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.getAllFishingTripOrigin()

getAllFishingTripOrigin

public java.util.Collection getAllFishingTripOrigin(int transform)
Description copied from interface: FishingTripOriginDao

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

getAllFishingTripOrigin

public java.util.Collection getAllFishingTripOrigin(java.lang.String queryString)
Description copied from interface: FishingTripOriginDao

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

Specified by:
getAllFishingTripOrigin in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.getAllFishingTripOrigin(java.lang.String)

getAllFishingTripOrigin

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

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

getAllFishingTripOrigin

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

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

getAllFishingTripOrigin

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

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

Specified by:
getAllFishingTripOrigin in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.getAllFishingTripOrigin(int, String)

getAllFishingTripOrigin

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

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

getAllFishingTripOrigin

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

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

findFishingTripOriginById

public FishingTripOrigin findFishingTripOriginById(java.lang.Integer id)
Specified by:
findFishingTripOriginById in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginById(java.lang.Integer)

findFishingTripOriginById

public java.lang.Object findFishingTripOriginById(int transform,
                                                  java.lang.Integer id)
Description copied from interface: FishingTripOriginDao

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

findFishingTripOriginById

public FishingTripOrigin findFishingTripOriginById(java.lang.String queryString,
                                                   java.lang.Integer id)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginById(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginById(java.lang.Integer).

Specified by:
findFishingTripOriginById in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginById(java.lang.String, java.lang.Integer)

findFishingTripOriginById

public java.lang.Object findFishingTripOriginById(int transform,
                                                  java.lang.String queryString,
                                                  java.lang.Integer id)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginById(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginById(int, java.lang.Integer id).

Specified by:
findFishingTripOriginById in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginById(int, java.lang.String, java.lang.Integer)

findFishingTripOriginByFishingTrip

public java.util.Collection findFishingTripOriginByFishingTrip(FishingTrip fishingTrip)
Specified by:
findFishingTripOriginByFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByFishingTrip

public java.util.Collection findFishingTripOriginByFishingTrip(int transform,
                                                               FishingTrip fishingTrip)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) 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:
findFishingTripOriginByFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByFishingTrip

public java.util.Collection findFishingTripOriginByFishingTrip(java.lang.String queryString,
                                                               FishingTrip fishingTrip)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString. This queryString argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip).

Specified by:
findFishingTripOriginByFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByFishingTrip(java.lang.String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByFishingTrip

public java.util.Collection findFishingTripOriginByFishingTrip(int pageNumber,
                                                               int pageSize,
                                                               FishingTrip fishingTrip)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) 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:
findFishingTripOriginByFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByFishingTrip

public java.util.Collection findFishingTripOriginByFishingTrip(java.lang.String queryString,
                                                               int pageNumber,
                                                               int pageSize,
                                                               FishingTrip fishingTrip)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) 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:
findFishingTripOriginByFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByFishingTrip(String, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByFishingTrip

public java.util.Collection findFishingTripOriginByFishingTrip(int transform,
                                                               java.lang.String queryString,
                                                               FishingTrip fishingTrip)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString. This queryString argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip fishingTrip).

Specified by:
findFishingTripOriginByFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByFishingTrip

public java.util.Collection findFishingTripOriginByFishingTrip(int transform,
                                                               int pageNumber,
                                                               int pageSize,
                                                               FishingTrip fishingTrip)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) 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:
findFishingTripOriginByFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByFishingTrip

public java.util.Collection findFishingTripOriginByFishingTrip(int transform,
                                                               java.lang.String queryString,
                                                               int pageNumber,
                                                               int pageSize,
                                                               FishingTrip fishingTrip)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) 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:
findFishingTripOriginByFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByFishingTrip(int, java.lang.String, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByProgram

public java.util.Collection findFishingTripOriginByProgram(Program program)
Specified by:
findFishingTripOriginByProgram in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program)

findFishingTripOriginByProgram

public java.util.Collection findFishingTripOriginByProgram(int transform,
                                                           Program program)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program) 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:
findFishingTripOriginByProgram in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program)

findFishingTripOriginByProgram

public java.util.Collection findFishingTripOriginByProgram(java.lang.String queryString,
                                                           Program program)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program).

Specified by:
findFishingTripOriginByProgram in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByProgram(java.lang.String, fr.ifremer.allegro.administration.programStrategy.Program)

findFishingTripOriginByProgram

public java.util.Collection findFishingTripOriginByProgram(int pageNumber,
                                                           int pageSize,
                                                           Program program)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(fr.ifremer.allegro.administration.programStrategy.Program) 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:
findFishingTripOriginByProgram in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByProgram(int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findFishingTripOriginByProgram

public java.util.Collection findFishingTripOriginByProgram(java.lang.String queryString,
                                                           int pageNumber,
                                                           int pageSize,
                                                           Program program)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) 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:
findFishingTripOriginByProgram in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByProgram(String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findFishingTripOriginByProgram

public java.util.Collection findFishingTripOriginByProgram(int transform,
                                                           java.lang.String queryString,
                                                           Program program)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program program).

Specified by:
findFishingTripOriginByProgram in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program)

findFishingTripOriginByProgram

public java.util.Collection findFishingTripOriginByProgram(int transform,
                                                           int pageNumber,
                                                           int pageSize,
                                                           Program program)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) 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:
findFishingTripOriginByProgram in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByProgram(int, int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findFishingTripOriginByProgram

public java.util.Collection findFishingTripOriginByProgram(int transform,
                                                           java.lang.String queryString,
                                                           int pageNumber,
                                                           int pageSize,
                                                           Program program)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) 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:
findFishingTripOriginByProgram in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByProgram(int, java.lang.String, int, int, fr.ifremer.allegro.administration.programStrategy.Program)

findFishingTripOriginByOriginFishingTrip

public java.util.Collection findFishingTripOriginByOriginFishingTrip(FishingTrip originFishingTrip)
Specified by:
findFishingTripOriginByOriginFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByOriginFishingTrip

public java.util.Collection findFishingTripOriginByOriginFishingTrip(int transform,
                                                                     FishingTrip originFishingTrip)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) 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:
findFishingTripOriginByOriginFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByOriginFishingTrip

public java.util.Collection findFishingTripOriginByOriginFishingTrip(java.lang.String queryString,
                                                                     FishingTrip originFishingTrip)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString. This queryString argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip).

Specified by:
findFishingTripOriginByOriginFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(java.lang.String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByOriginFishingTrip

public java.util.Collection findFishingTripOriginByOriginFishingTrip(int pageNumber,
                                                                     int pageSize,
                                                                     FishingTrip originFishingTrip)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) 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:
findFishingTripOriginByOriginFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByOriginFishingTrip

public java.util.Collection findFishingTripOriginByOriginFishingTrip(java.lang.String queryString,
                                                                     int pageNumber,
                                                                     int pageSize,
                                                                     FishingTrip originFishingTrip)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) 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:
findFishingTripOriginByOriginFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(String, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByOriginFishingTrip

public java.util.Collection findFishingTripOriginByOriginFishingTrip(int transform,
                                                                     java.lang.String queryString,
                                                                     FishingTrip originFishingTrip)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) with an additional argument called queryString. This queryString argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip originFishingTrip).

Specified by:
findFishingTripOriginByOriginFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByOriginFishingTrip

public java.util.Collection findFishingTripOriginByOriginFishingTrip(int transform,
                                                                     int pageNumber,
                                                                     int pageSize,
                                                                     FishingTrip originFishingTrip)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) 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:
findFishingTripOriginByOriginFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByOriginFishingTrip

public java.util.Collection findFishingTripOriginByOriginFishingTrip(int transform,
                                                                     java.lang.String queryString,
                                                                     int pageNumber,
                                                                     int pageSize,
                                                                     FishingTrip originFishingTrip)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, String, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip) 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:
findFishingTripOriginByOriginFishingTrip in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByOriginFishingTrip(int, java.lang.String, int, int, fr.ifremer.allegro.data.survey.fishingTrip.FishingTrip)

findFishingTripOriginByNaturalId

public FishingTripOrigin findFishingTripOriginByNaturalId(java.lang.Integer id)
Specified by:
findFishingTripOriginByNaturalId in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByNaturalId(java.lang.Integer)

findFishingTripOriginByNaturalId

public java.lang.Object findFishingTripOriginByNaturalId(int transform,
                                                         java.lang.Integer id)
Description copied from interface: FishingTripOriginDao

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

findFishingTripOriginByNaturalId

public FishingTripOrigin findFishingTripOriginByNaturalId(java.lang.String queryString,
                                                          java.lang.Integer id)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByNaturalId(java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByNaturalId(java.lang.Integer).

Specified by:
findFishingTripOriginByNaturalId in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByNaturalId(java.lang.String, java.lang.Integer)

findFishingTripOriginByNaturalId

public java.lang.Object findFishingTripOriginByNaturalId(int transform,
                                                         java.lang.String queryString,
                                                         java.lang.Integer id)
Description copied from interface: FishingTripOriginDao

Does the same thing as FishingTripOriginDao.findFishingTripOriginByNaturalId(int, java.lang.Integer) with an additional argument called queryString. This queryString argument allows you to override the query string defined in FishingTripOriginDao.findFishingTripOriginByNaturalId(int, java.lang.Integer id).

Specified by:
findFishingTripOriginByNaturalId in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.findFishingTripOriginByNaturalId(int, java.lang.String, java.lang.Integer)

createFromClusterFishingTripOrigin

public FishingTripOrigin createFromClusterFishingTripOrigin(ClusterFishingTripOrigin clusterFishingTripOrigin)
Specified by:
createFromClusterFishingTripOrigin in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.createFromClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin)

handleCreateFromClusterFishingTripOrigin

protected abstract FishingTripOrigin handleCreateFromClusterFishingTripOrigin(ClusterFishingTripOrigin clusterFishingTripOrigin)
                                                                       throws java.lang.Exception
Performs the core logic for createFromClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin)

Throws:
java.lang.Exception

transformEntity

protected java.lang.Object transformEntity(int transform,
                                           FishingTripOrigin 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.data.survey.fishingTrip.FishingTripOriginDao, please note that the FishingTripOriginDao.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 FishingTripOriginDao.TRANSFORM_NONE is assumed.

Parameters:
transform - one of the constants declared in FishingTripOriginDao
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.data.survey.fishingTrip.FishingTripOrigin) 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.data.survey.fishingTrip.FishingTripOriginDao
entities - the collection of entities to transform
See Also:
transformEntity(int,fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

toEntity

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

toRemoteFishingTripOriginFullVOCollection

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

Specified by:
toRemoteFishingTripOriginFullVOCollection in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.toRemoteFishingTripOriginFullVOCollection(java.util.Collection)

toRemoteFishingTripOriginFullVOArray

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

Specified by:
toRemoteFishingTripOriginFullVOArray in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.toRemoteFishingTripOriginFullVOArray(java.util.Collection)

toRemoteFishingTripOriginFullVO

protected RemoteFishingTripOriginFullVO toRemoteFishingTripOriginFullVO(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 FishingTripOriginDaoImpl class if you intend to use reporting queries.

See Also:
FishingTripOriginDao.toRemoteFishingTripOriginFullVO(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

remoteFishingTripOriginFullVOToEntityCollection

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

Specified by:
remoteFishingTripOriginFullVOToEntityCollection in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.remoteFishingTripOriginFullVOToEntityCollection(java.util.Collection)

toRemoteFishingTripOriginFullVO

public void toRemoteFishingTripOriginFullVO(FishingTripOrigin source,
                                            RemoteFishingTripOriginFullVO target)
Description copied from interface: FishingTripOriginDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteFishingTripOriginFullVO(), 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:
toRemoteFishingTripOriginFullVO in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.toRemoteFishingTripOriginFullVO(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin, fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripOriginFullVO)

toRemoteFishingTripOriginFullVO

public RemoteFishingTripOriginFullVO toRemoteFishingTripOriginFullVO(FishingTripOrigin entity)
Description copied from interface: FishingTripOriginDao
Converts this DAO's entity to an object of type RemoteFishingTripOriginFullVO.

Specified by:
toRemoteFishingTripOriginFullVO in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.toRemoteFishingTripOriginFullVO(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

remoteFishingTripOriginFullVOToEntity

public void remoteFishingTripOriginFullVOToEntity(RemoteFishingTripOriginFullVO source,
                                                  FishingTripOrigin target,
                                                  boolean copyIfNull)
Description copied from interface: FishingTripOriginDao
Copies the fields of RemoteFishingTripOriginFullVO to the specified entity.

Specified by:
remoteFishingTripOriginFullVOToEntity in interface FishingTripOriginDao
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.data.survey.fishingTrip.FishingTripOriginDao#remoteFishingTripOriginFullVOToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripOriginFullVO, fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

toRemoteFishingTripOriginNaturalIdCollection

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

Specified by:
toRemoteFishingTripOriginNaturalIdCollection in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.toRemoteFishingTripOriginNaturalIdCollection(java.util.Collection)

toRemoteFishingTripOriginNaturalIdArray

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

Specified by:
toRemoteFishingTripOriginNaturalIdArray in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.toRemoteFishingTripOriginNaturalIdArray(java.util.Collection)

toRemoteFishingTripOriginNaturalId

protected RemoteFishingTripOriginNaturalId toRemoteFishingTripOriginNaturalId(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 FishingTripOriginDaoImpl class if you intend to use reporting queries.

See Also:
FishingTripOriginDao.toRemoteFishingTripOriginNaturalId(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

remoteFishingTripOriginNaturalIdToEntityCollection

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

Specified by:
remoteFishingTripOriginNaturalIdToEntityCollection in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.remoteFishingTripOriginNaturalIdToEntityCollection(java.util.Collection)

toRemoteFishingTripOriginNaturalId

public void toRemoteFishingTripOriginNaturalId(FishingTripOrigin source,
                                               RemoteFishingTripOriginNaturalId target)
Description copied from interface: FishingTripOriginDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteFishingTripOriginNaturalId(), 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:
toRemoteFishingTripOriginNaturalId in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.toRemoteFishingTripOriginNaturalId(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin, fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripOriginNaturalId)

toRemoteFishingTripOriginNaturalId

public RemoteFishingTripOriginNaturalId toRemoteFishingTripOriginNaturalId(FishingTripOrigin entity)
Description copied from interface: FishingTripOriginDao
Converts this DAO's entity to an object of type RemoteFishingTripOriginNaturalId.

Specified by:
toRemoteFishingTripOriginNaturalId in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.toRemoteFishingTripOriginNaturalId(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

remoteFishingTripOriginNaturalIdToEntity

public void remoteFishingTripOriginNaturalIdToEntity(RemoteFishingTripOriginNaturalId source,
                                                     FishingTripOrigin target,
                                                     boolean copyIfNull)
Description copied from interface: FishingTripOriginDao
Copies the fields of RemoteFishingTripOriginNaturalId to the specified entity.

Specified by:
remoteFishingTripOriginNaturalIdToEntity in interface FishingTripOriginDao
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.data.survey.fishingTrip.FishingTripOriginDao#remoteFishingTripOriginNaturalIdToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripOriginNaturalId, fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

toClusterFishingTripOriginCollection

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

Specified by:
toClusterFishingTripOriginCollection in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.toClusterFishingTripOriginCollection(java.util.Collection)

toClusterFishingTripOriginArray

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

Specified by:
toClusterFishingTripOriginArray in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.toClusterFishingTripOriginArray(java.util.Collection)

toClusterFishingTripOrigin

protected ClusterFishingTripOrigin toClusterFishingTripOrigin(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 FishingTripOriginDaoImpl class if you intend to use reporting queries.

See Also:
FishingTripOriginDao.toClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

clusterFishingTripOriginToEntityCollection

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

Specified by:
clusterFishingTripOriginToEntityCollection in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.clusterFishingTripOriginToEntityCollection(java.util.Collection)

toClusterFishingTripOrigin

public void toClusterFishingTripOrigin(FishingTripOrigin source,
                                       ClusterFishingTripOrigin target)
Description copied from interface: FishingTripOriginDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterFishingTripOrigin(), 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:
toClusterFishingTripOrigin in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.toClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin, fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin)

toClusterFishingTripOrigin

public ClusterFishingTripOrigin toClusterFishingTripOrigin(FishingTripOrigin entity)
Description copied from interface: FishingTripOriginDao
Converts this DAO's entity to an object of type ClusterFishingTripOrigin.

Specified by:
toClusterFishingTripOrigin in interface FishingTripOriginDao
See Also:
FishingTripOriginDao.toClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

clusterFishingTripOriginToEntity

public void clusterFishingTripOriginToEntity(ClusterFishingTripOrigin source,
                                             FishingTripOrigin target,
                                             boolean copyIfNull)
Description copied from interface: FishingTripOriginDao
Copies the fields of ClusterFishingTripOrigin to the specified entity.

Specified by:
clusterFishingTripOriginToEntity in interface FishingTripOriginDao
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.data.survey.fishingTrip.FishingTripOriginDao#clusterFishingTripOriginToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin, fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.