fr.ifremer.allegro.data.survey.scientificCruise
Class ScientificCruiseDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruiseDaoBase
All Implemented Interfaces:
ScientificCruiseDao
Direct Known Subclasses:
ScientificCruiseDaoImpl

public abstract class ScientificCruiseDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements ScientificCruiseDao

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

See Also:
ScientificCruise

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruiseDao
TRANSFORM_CLUSTERSCIENTIFICCRUISE, TRANSFORM_NONE, TRANSFORM_REMOTESCIENTIFICCRUISEFULLVO, TRANSFORM_REMOTESCIENTIFICCRUISENATURALID
 
Constructor Summary
ScientificCruiseDaoBase()
           
 
Method Summary
 void clusterScientificCruiseToEntity(ClusterScientificCruise source, ScientificCruise target, boolean copyIfNull)
          Copies the fields of ClusterScientificCruise to the specified entity.
 void clusterScientificCruiseToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterScientificCruise to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise and adds from the passed in entities collection
 ScientificCruise create(java.util.Date creationDate, java.util.Date departureDateTime, Person managerPerson, java.lang.String name, Program program, Department recorderDepartment, ScientificResearchVessel scientificResearchVessel)
           Creates a new fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise instance from only required properties (attributes and association ends) and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as ScientificCruiseDao.create(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date creationDate, java.util.Date departureDateTime, Person managerPerson, java.lang.String name, Program program, Department recorderDepartment, ScientificResearchVessel scientificResearchVessel)
           Does the same thing as ScientificCruiseDao.create(java.util.Date,java.util.Date,fr.ifremer.allegro.administration.user.Person,java.lang.String,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) with an additional flag called transform.
 java.lang.Object create(int transform, ScientificCruise scientificCruise)
           Does the same thing as ScientificCruiseDao.create(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String name, java.util.Date departureDateTime, java.util.Date returnDateTime, java.lang.String reference, java.lang.String comments, java.util.Date creationDate, java.sql.Timestamp updateDate, ScientificResearchVessel scientificResearchVessel, Department recorderDepartment, Program program, Person recorderPerson, java.util.Collection fishingTrips, Person managerPerson)
           Does the same thing as ScientificCruiseDao.create(java.lang.String,java.util.Date,java.util.Date,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.vessel.ScientificResearchVessel,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Person,java.util.Collection,fr.ifremer.allegro.administration.user.Person) with an additional flag called transform.
 ScientificCruise create(ScientificCruise scientificCruise)
          Creates an instance of fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise and adds it to the persistent store.
 ScientificCruise create(java.lang.String name, java.util.Date departureDateTime, java.util.Date returnDateTime, java.lang.String reference, java.lang.String comments, java.util.Date creationDate, java.sql.Timestamp updateDate, ScientificResearchVessel scientificResearchVessel, Department recorderDepartment, Program program, Person recorderPerson, java.util.Collection fishingTrips, Person managerPerson)
           Creates a new fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise instance from all attributes and properties and adds it to the persistent store.
 ScientificCruise createFromClusterScientificCruise(ClusterScientificCruise clusterScientificCruise)
           
 ScientificCruise findScientificCruiseById(java.lang.Integer id)
           
 java.lang.Object findScientificCruiseById(int transform, java.lang.Integer id)
           Does the same thing as ScientificCruiseDao.findScientificCruiseById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findScientificCruiseById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as ScientificCruiseDao.findScientificCruiseById(int, java.lang.Integer) with an additional argument called queryString.
 ScientificCruise findScientificCruiseById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as ScientificCruiseDao.findScientificCruiseById(java.lang.Integer) with an additional argument called queryString.
 java.util.Collection findScientificCruiseByManagerPerson(int transform, int pageNumber, int pageSize, Person managerPerson)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByManagerPerson(int, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByManagerPerson(int pageNumber, int pageSize, Person managerPerson)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByManagerPerson(fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByManagerPerson(int transform, Person managerPerson)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByManagerPerson(fr.ifremer.allegro.administration.user.Person) with an additional flag called transform.
 java.util.Collection findScientificCruiseByManagerPerson(int transform, java.lang.String queryString, int pageNumber, int pageSize, Person managerPerson)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByManagerPerson(int, String, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByManagerPerson(int transform, java.lang.String queryString, Person managerPerson)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByManagerPerson(int, fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString.
 java.util.Collection findScientificCruiseByManagerPerson(Person managerPerson)
           
 java.util.Collection findScientificCruiseByManagerPerson(java.lang.String queryString, int pageNumber, int pageSize, Person managerPerson)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByManagerPerson(String, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByManagerPerson(java.lang.String queryString, Person managerPerson)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByManagerPerson(fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString.
 ScientificCruise findScientificCruiseByNaturalId(java.util.Date departureDateTime, ScientificResearchVessel scientificResearchVessel, Program program)
           
 java.lang.Object findScientificCruiseByNaturalId(int transform, java.util.Date departureDateTime, ScientificResearchVessel scientificResearchVessel, Program program)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.lang.Object findScientificCruiseByNaturalId(int transform, java.lang.String queryString, java.util.Date departureDateTime, ScientificResearchVessel scientificResearchVessel, Program program)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByNaturalId(int, java.util.Date, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 ScientificCruise findScientificCruiseByNaturalId(java.lang.String queryString, java.util.Date departureDateTime, ScientificResearchVessel scientificResearchVessel, Program program)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findScientificCruiseByProgram(int transform, int pageNumber, int pageSize, Program program)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByProgram(int pageNumber, int pageSize, Program program)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByProgram(int transform, Program program)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.util.Collection findScientificCruiseByProgram(int transform, java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByProgram(int transform, java.lang.String queryString, Program program)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findScientificCruiseByProgram(Program program)
           
 java.util.Collection findScientificCruiseByProgram(java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByProgram(java.lang.String queryString, Program program)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findScientificCruiseByRecorderDepartment(Department recorderDepartment)
           
 java.util.Collection findScientificCruiseByRecorderDepartment(int transform, Department recorderDepartment)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional flag called transform.
 java.util.Collection findScientificCruiseByRecorderDepartment(int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByRecorderDepartment(int transform, int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByRecorderDepartment(int transform, java.lang.String queryString, Department recorderDepartment)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findScientificCruiseByRecorderDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByRecorderDepartment(java.lang.String queryString, Department recorderDepartment)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findScientificCruiseByRecorderDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderDepartment(String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByRecorderPerson(int transform, int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByRecorderPerson(int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderPerson(fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByRecorderPerson(int transform, Person recorderPerson)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderPerson(fr.ifremer.allegro.administration.user.Person) with an additional flag called transform.
 java.util.Collection findScientificCruiseByRecorderPerson(int transform, java.lang.String queryString, int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderPerson(int, String, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByRecorderPerson(int transform, java.lang.String queryString, Person recorderPerson)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString.
 java.util.Collection findScientificCruiseByRecorderPerson(Person recorderPerson)
           
 java.util.Collection findScientificCruiseByRecorderPerson(java.lang.String queryString, int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderPerson(String, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByRecorderPerson(java.lang.String queryString, Person recorderPerson)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderPerson(fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString.
 java.util.Collection findScientificCruiseByScientificResearchVessel(int transform, int pageNumber, int pageSize, ScientificResearchVessel scientificResearchVessel)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(int, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByScientificResearchVessel(int pageNumber, int pageSize, ScientificResearchVessel scientificResearchVessel)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByScientificResearchVessel(int transform, ScientificResearchVessel scientificResearchVessel)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) with an additional flag called transform.
 java.util.Collection findScientificCruiseByScientificResearchVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize, ScientificResearchVessel scientificResearchVessel)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(int, String, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByScientificResearchVessel(int transform, java.lang.String queryString, ScientificResearchVessel scientificResearchVessel)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(int, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) with an additional argument called queryString.
 java.util.Collection findScientificCruiseByScientificResearchVessel(ScientificResearchVessel scientificResearchVessel)
           
 java.util.Collection findScientificCruiseByScientificResearchVessel(java.lang.String queryString, int pageNumber, int pageSize, ScientificResearchVessel scientificResearchVessel)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(String, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findScientificCruiseByScientificResearchVessel(java.lang.String queryString, ScientificResearchVessel scientificResearchVessel)
           Does the same thing as ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) with an additional argument called queryString.
 ClusterScientificCruise[] getAllClusterScientificCruiseSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllScientificCruise()
           
 java.util.Collection getAllScientificCruise(int transform)
           Does the same thing as ScientificCruiseDao.getAllScientificCruise() with an additional flag called transform.
 java.util.Collection getAllScientificCruise(int pageNumber, int pageSize)
           Does the same thing as ScientificCruiseDao.getAllScientificCruise() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllScientificCruise(int transform, int pageNumber, int pageSize)
           Does the same thing as ScientificCruiseDao.getAllScientificCruise(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllScientificCruise(int transform, java.lang.String queryString)
           Does the same thing as ScientificCruiseDao.getAllScientificCruise(int) with an additional argument called queryString.
 java.util.Collection getAllScientificCruise(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as ScientificCruiseDao.getAllScientificCruise(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllScientificCruise(java.lang.String queryString)
           Does the same thing as ScientificCruiseDao.getAllScientificCruise() with an additional argument called queryString.
 java.util.Collection getAllScientificCruise(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as ScientificCruiseDao.getAllScientificCruise(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllScientificCruiseSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as ScientificCruiseDao.getAllScientificCruiseSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllScientificCruiseSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as ScientificCruiseDao.getAllScientificCruiseSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllScientificCruiseSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as ScientificCruiseDao.getAllScientificCruiseSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllScientificCruiseSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as ScientificCruiseDao.getAllScientificCruiseSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllScientificCruiseSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as ScientificCruiseDao.getAllScientificCruiseSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllScientificCruiseSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as ScientificCruiseDao.getAllScientificCruiseSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllScientificCruiseSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as ScientificCruiseDao.getAllScientificCruiseSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllScientificCruiseSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  DepartmentDao getDepartmentDao()
          Gets the reference to departmentDao.
protected  FishingTripDao getFishingTripDao()
          Gets the reference to fishingTripDao.
protected  ObservedFishingTripDao getObservedFishingTripDao()
          Gets the reference to observedFishingTripDao.
protected  PersonDao getPersonDao()
          Gets the reference to personDao.
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  ScientificResearchVesselDao getScientificResearchVesselDao()
          Gets the reference to scientificResearchVesselDao.
protected abstract  ScientificCruise handleCreateFromClusterScientificCruise(ClusterScientificCruise clusterScientificCruise)
          Performs the core logic for createFromClusterScientificCruise(fr.ifremer.allegro.data.survey.scientificCruise.generic.cluster.ClusterScientificCruise)
protected abstract  ClusterScientificCruise[] handleGetAllClusterScientificCruiseSinceDateSynchro(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 getAllClusterScientificCruiseSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 ScientificCruise load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as ScientificCruiseDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type ScientificCruise.
 java.util.Collection loadAll(int transform)
           Does the same thing as ScientificCruiseDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as ScientificCruiseDao.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 ScientificCruiseDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteScientificCruiseFullVOToEntity(RemoteScientificCruiseFullVO source, ScientificCruise target, boolean copyIfNull)
          Copies the fields of RemoteScientificCruiseFullVO to the specified entity.
 void remoteScientificCruiseFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteScientificCruiseFullVO to this DAO's entity.
 void remoteScientificCruiseNaturalIdToEntity(RemoteScientificCruiseNaturalId source, ScientificCruise target, boolean copyIfNull)
          Copies the fields of RemoteScientificCruiseNaturalId to the specified entity.
 void remoteScientificCruiseNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteScientificCruiseNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise having the given identifier from the persistent store.
 void remove(ScientificCruise scientificCruise)
          Removes the instance of fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise 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 ScientificCruiseDao.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 setDepartmentDao(DepartmentDao departmentDao)
          Sets the reference to departmentDao.
 void setFishingTripDao(FishingTripDao fishingTripDao)
          Sets the reference to fishingTripDao.
 void setObservedFishingTripDao(ObservedFishingTripDao observedFishingTripDao)
          Sets the reference to observedFishingTripDao.
 void setPersonDao(PersonDao personDao)
          Sets the reference to personDao.
 void setProgramDao(ProgramDao programDao)
          Sets the reference to programDao.
 void setScientificResearchVesselDao(ScientificResearchVesselDao scientificResearchVesselDao)
          Sets the reference to scientificResearchVesselDao.
protected  ClusterScientificCruise toClusterScientificCruise(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterScientificCruise toClusterScientificCruise(ScientificCruise entity)
          Converts this DAO's entity to an object of type ClusterScientificCruise.
 void toClusterScientificCruise(ScientificCruise source, ClusterScientificCruise target)
          Copies the fields of the specified entity to the target value object.
 ClusterScientificCruise[] toClusterScientificCruiseArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterScientificCruise.
 void toClusterScientificCruiseCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterScientificCruise.
protected  ScientificCruise toEntity(java.lang.Object[] row)
           
protected  RemoteScientificCruiseFullVO toRemoteScientificCruiseFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteScientificCruiseFullVO toRemoteScientificCruiseFullVO(ScientificCruise entity)
          Converts this DAO's entity to an object of type RemoteScientificCruiseFullVO.
 void toRemoteScientificCruiseFullVO(ScientificCruise source, RemoteScientificCruiseFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteScientificCruiseFullVO[] toRemoteScientificCruiseFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteScientificCruiseFullVO.
 void toRemoteScientificCruiseFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteScientificCruiseFullVO.
protected  RemoteScientificCruiseNaturalId toRemoteScientificCruiseNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteScientificCruiseNaturalId toRemoteScientificCruiseNaturalId(ScientificCruise entity)
          Converts this DAO's entity to an object of type RemoteScientificCruiseNaturalId.
 void toRemoteScientificCruiseNaturalId(ScientificCruise source, RemoteScientificCruiseNaturalId target)
          Copies the fields of the specified entity to the target value object.
 RemoteScientificCruiseNaturalId[] toRemoteScientificCruiseNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteScientificCruiseNaturalId.
 void toRemoteScientificCruiseNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteScientificCruiseNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise) method.
protected  java.lang.Object transformEntity(int transform, ScientificCruise 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.scientificCruise.ScientificCruiseDao, please note that the ScientificCruiseDao.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(ScientificCruise scientificCruise)
          Updates the scientificCruise 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.scientificCruise.ScientificCruiseDao
clusterScientificCruiseToEntity, remoteScientificCruiseFullVOToEntity, remoteScientificCruiseNaturalIdToEntity
 

Constructor Detail

ScientificCruiseDaoBase

public ScientificCruiseDaoBase()
Method Detail

setScientificResearchVesselDao

public void setScientificResearchVesselDao(ScientificResearchVesselDao scientificResearchVesselDao)
Sets the reference to scientificResearchVesselDao.


getScientificResearchVesselDao

protected ScientificResearchVesselDao getScientificResearchVesselDao()
Gets the reference to scientificResearchVesselDao.


setProgramDao

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


getProgramDao

protected ProgramDao getProgramDao()
Gets the reference to programDao.


setPersonDao

public void setPersonDao(PersonDao personDao)
Sets the reference to personDao.


getPersonDao

protected PersonDao getPersonDao()
Gets the reference to personDao.


setDepartmentDao

public void setDepartmentDao(DepartmentDao departmentDao)
Sets the reference to departmentDao.


getDepartmentDao

protected DepartmentDao getDepartmentDao()
Gets the reference to departmentDao.


setFishingTripDao

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


getFishingTripDao

protected FishingTripDao getFishingTripDao()
Gets the reference to fishingTripDao.


setObservedFishingTripDao

public void setObservedFishingTripDao(ObservedFishingTripDao observedFishingTripDao)
Sets the reference to observedFishingTripDao.


getObservedFishingTripDao

protected ObservedFishingTripDao getObservedFishingTripDao()
Gets the reference to observedFishingTripDao.


load

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

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public ScientificCruise create(ScientificCruise scientificCruise)
Description copied from interface: ScientificCruiseDao
Creates an instance of fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise and adds it to the persistent store.

Specified by:
create in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.create(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

create

public java.lang.Object create(int transform,
                               ScientificCruise scientificCruise)
Description copied from interface: ScientificCruiseDao

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

create

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

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

create

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

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

create

public ScientificCruise create(java.lang.String name,
                               java.util.Date departureDateTime,
                               java.util.Date returnDateTime,
                               java.lang.String reference,
                               java.lang.String comments,
                               java.util.Date creationDate,
                               java.sql.Timestamp updateDate,
                               ScientificResearchVessel scientificResearchVessel,
                               Department recorderDepartment,
                               Program program,
                               Person recorderPerson,
                               java.util.Collection fishingTrips,
                               Person managerPerson)
Description copied from interface: ScientificCruiseDao

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

Specified by:
create in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.create(java.lang.String,java.util.Date,java.util.Date,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.vessel.ScientificResearchVessel,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Person,java.util.Collection,fr.ifremer.allegro.administration.user.Person)

create

public java.lang.Object create(int transform,
                               java.lang.String name,
                               java.util.Date departureDateTime,
                               java.util.Date returnDateTime,
                               java.lang.String reference,
                               java.lang.String comments,
                               java.util.Date creationDate,
                               java.sql.Timestamp updateDate,
                               ScientificResearchVessel scientificResearchVessel,
                               Department recorderDepartment,
                               Program program,
                               Person recorderPerson,
                               java.util.Collection fishingTrips,
                               Person managerPerson)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.create(java.lang.String,java.util.Date,java.util.Date,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.vessel.ScientificResearchVessel,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Person,java.util.Collection,fr.ifremer.allegro.administration.user.Person) 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 ScientificCruiseDao
See Also:
ScientificCruiseDao.create(int, java.lang.String,java.util.Date,java.util.Date,java.lang.String,java.lang.String,java.util.Date,java.sql.Timestamp,fr.ifremer.allegro.referential.vessel.ScientificResearchVessel,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Person,java.util.Collection,fr.ifremer.allegro.administration.user.Person)

create

public ScientificCruise create(java.util.Date creationDate,
                               java.util.Date departureDateTime,
                               Person managerPerson,
                               java.lang.String name,
                               Program program,
                               Department recorderDepartment,
                               ScientificResearchVessel scientificResearchVessel)
Description copied from interface: ScientificCruiseDao

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

Specified by:
create in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.create(java.util.Date,java.util.Date,fr.ifremer.allegro.administration.user.Person,java.lang.String,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)

create

public java.lang.Object create(int transform,
                               java.util.Date creationDate,
                               java.util.Date departureDateTime,
                               Person managerPerson,
                               java.lang.String name,
                               Program program,
                               Department recorderDepartment,
                               ScientificResearchVessel scientificResearchVessel)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.create(java.util.Date,java.util.Date,fr.ifremer.allegro.administration.user.Person,java.lang.String,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) 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 ScientificCruiseDao
See Also:
ScientificCruiseDao.create(int, java.util.Date,java.util.Date,fr.ifremer.allegro.administration.user.Person,java.lang.String,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)

update

public void update(ScientificCruise scientificCruise)
Description copied from interface: ScientificCruiseDao
Updates the scientificCruise instance in the persistent store.

Specified by:
update in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.update(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

update

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

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

remove

public void remove(ScientificCruise scientificCruise)
Description copied from interface: ScientificCruiseDao
Removes the instance of fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise from the persistent store.

Specified by:
remove in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.remove(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

remove

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

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

remove

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

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

getAllScientificCruise

public java.util.Collection getAllScientificCruise()
Specified by:
getAllScientificCruise in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.getAllScientificCruise()

getAllScientificCruise

public java.util.Collection getAllScientificCruise(int transform)
Description copied from interface: ScientificCruiseDao

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

getAllScientificCruise

public java.util.Collection getAllScientificCruise(java.lang.String queryString)
Description copied from interface: ScientificCruiseDao

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

Specified by:
getAllScientificCruise in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.getAllScientificCruise(java.lang.String)

getAllScientificCruise

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

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

getAllScientificCruise

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

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

getAllScientificCruise

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

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

Specified by:
getAllScientificCruise in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.getAllScientificCruise(int, String)

getAllScientificCruise

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

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

getAllScientificCruise

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

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

findScientificCruiseById

public ScientificCruise findScientificCruiseById(java.lang.Integer id)
Specified by:
findScientificCruiseById in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseById(java.lang.Integer)

findScientificCruiseById

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

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

findScientificCruiseById

public ScientificCruise findScientificCruiseById(java.lang.String queryString,
                                                 java.lang.Integer id)
Description copied from interface: ScientificCruiseDao

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

Specified by:
findScientificCruiseById in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseById(java.lang.String, java.lang.Integer)

findScientificCruiseById

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

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

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

findScientificCruiseByManagerPerson

public java.util.Collection findScientificCruiseByManagerPerson(Person managerPerson)
Specified by:
findScientificCruiseByManagerPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByManagerPerson(fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByManagerPerson

public java.util.Collection findScientificCruiseByManagerPerson(int transform,
                                                                Person managerPerson)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByManagerPerson(fr.ifremer.allegro.administration.user.Person) 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:
findScientificCruiseByManagerPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByManagerPerson(int, fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByManagerPerson

public java.util.Collection findScientificCruiseByManagerPerson(java.lang.String queryString,
                                                                Person managerPerson)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByManagerPerson(fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ScientificCruiseDao.findScientificCruiseByManagerPerson(fr.ifremer.allegro.administration.user.Person).

Specified by:
findScientificCruiseByManagerPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByManagerPerson(java.lang.String, fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByManagerPerson

public java.util.Collection findScientificCruiseByManagerPerson(int pageNumber,
                                                                int pageSize,
                                                                Person managerPerson)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByManagerPerson(fr.ifremer.allegro.administration.user.Person) 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:
findScientificCruiseByManagerPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByManagerPerson(int, int, fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByManagerPerson

public java.util.Collection findScientificCruiseByManagerPerson(java.lang.String queryString,
                                                                int pageNumber,
                                                                int pageSize,
                                                                Person managerPerson)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByManagerPerson(String, fr.ifremer.allegro.administration.user.Person) 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:
findScientificCruiseByManagerPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByManagerPerson(String, int, int, fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByManagerPerson

public java.util.Collection findScientificCruiseByManagerPerson(int transform,
                                                                java.lang.String queryString,
                                                                Person managerPerson)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByManagerPerson(int, fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ScientificCruiseDao.findScientificCruiseByManagerPerson(int, fr.ifremer.allegro.administration.user.Person managerPerson).

Specified by:
findScientificCruiseByManagerPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByManagerPerson(int, String, fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByManagerPerson

public java.util.Collection findScientificCruiseByManagerPerson(int transform,
                                                                int pageNumber,
                                                                int pageSize,
                                                                Person managerPerson)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByManagerPerson(int, fr.ifremer.allegro.administration.user.Person) 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:
findScientificCruiseByManagerPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByManagerPerson(int, int, int, fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByManagerPerson

public java.util.Collection findScientificCruiseByManagerPerson(int transform,
                                                                java.lang.String queryString,
                                                                int pageNumber,
                                                                int pageSize,
                                                                Person managerPerson)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByManagerPerson(int, String, fr.ifremer.allegro.administration.user.Person) 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:
findScientificCruiseByManagerPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByManagerPerson(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByScientificResearchVessel

public java.util.Collection findScientificCruiseByScientificResearchVessel(ScientificResearchVessel scientificResearchVessel)
Specified by:
findScientificCruiseByScientificResearchVessel in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)

findScientificCruiseByScientificResearchVessel

public java.util.Collection findScientificCruiseByScientificResearchVessel(int transform,
                                                                           ScientificResearchVessel scientificResearchVessel)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) 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:
findScientificCruiseByScientificResearchVessel in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(int, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)

findScientificCruiseByScientificResearchVessel

public java.util.Collection findScientificCruiseByScientificResearchVessel(java.lang.String queryString,
                                                                           ScientificResearchVessel scientificResearchVessel)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(fr.ifremer.allegro.referential.vessel.ScientificResearchVessel).

Specified by:
findScientificCruiseByScientificResearchVessel in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(java.lang.String, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)

findScientificCruiseByScientificResearchVessel

public java.util.Collection findScientificCruiseByScientificResearchVessel(int pageNumber,
                                                                           int pageSize,
                                                                           ScientificResearchVessel scientificResearchVessel)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) 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:
findScientificCruiseByScientificResearchVessel in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(int, int, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)

findScientificCruiseByScientificResearchVessel

public java.util.Collection findScientificCruiseByScientificResearchVessel(java.lang.String queryString,
                                                                           int pageNumber,
                                                                           int pageSize,
                                                                           ScientificResearchVessel scientificResearchVessel)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(String, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) 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:
findScientificCruiseByScientificResearchVessel in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(String, int, int, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)

findScientificCruiseByScientificResearchVessel

public java.util.Collection findScientificCruiseByScientificResearchVessel(int transform,
                                                                           java.lang.String queryString,
                                                                           ScientificResearchVessel scientificResearchVessel)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(int, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(int, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel scientificResearchVessel).

Specified by:
findScientificCruiseByScientificResearchVessel in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(int, String, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)

findScientificCruiseByScientificResearchVessel

public java.util.Collection findScientificCruiseByScientificResearchVessel(int transform,
                                                                           int pageNumber,
                                                                           int pageSize,
                                                                           ScientificResearchVessel scientificResearchVessel)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(int, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) 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:
findScientificCruiseByScientificResearchVessel in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(int, int, int, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)

findScientificCruiseByScientificResearchVessel

public java.util.Collection findScientificCruiseByScientificResearchVessel(int transform,
                                                                           java.lang.String queryString,
                                                                           int pageNumber,
                                                                           int pageSize,
                                                                           ScientificResearchVessel scientificResearchVessel)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(int, String, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel) 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:
findScientificCruiseByScientificResearchVessel in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByScientificResearchVessel(int, java.lang.String, int, int, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel)

findScientificCruiseByRecorderDepartment

public java.util.Collection findScientificCruiseByRecorderDepartment(Department recorderDepartment)
Specified by:
findScientificCruiseByRecorderDepartment in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderDepartment(fr.ifremer.allegro.administration.user.Department)

findScientificCruiseByRecorderDepartment

public java.util.Collection findScientificCruiseByRecorderDepartment(int transform,
                                                                     Department recorderDepartment)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) 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:
findScientificCruiseByRecorderDepartment in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department)

findScientificCruiseByRecorderDepartment

public java.util.Collection findScientificCruiseByRecorderDepartment(java.lang.String queryString,
                                                                     Department recorderDepartment)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ScientificCruiseDao.findScientificCruiseByRecorderDepartment(fr.ifremer.allegro.administration.user.Department).

Specified by:
findScientificCruiseByRecorderDepartment in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderDepartment(java.lang.String, fr.ifremer.allegro.administration.user.Department)

findScientificCruiseByRecorderDepartment

public java.util.Collection findScientificCruiseByRecorderDepartment(int pageNumber,
                                                                     int pageSize,
                                                                     Department recorderDepartment)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) 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:
findScientificCruiseByRecorderDepartment in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderDepartment(int, int, fr.ifremer.allegro.administration.user.Department)

findScientificCruiseByRecorderDepartment

public java.util.Collection findScientificCruiseByRecorderDepartment(java.lang.String queryString,
                                                                     int pageNumber,
                                                                     int pageSize,
                                                                     Department recorderDepartment)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderDepartment(String, fr.ifremer.allegro.administration.user.Department) 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:
findScientificCruiseByRecorderDepartment in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderDepartment(String, int, int, fr.ifremer.allegro.administration.user.Department)

findScientificCruiseByRecorderDepartment

public java.util.Collection findScientificCruiseByRecorderDepartment(int transform,
                                                                     java.lang.String queryString,
                                                                     Department recorderDepartment)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ScientificCruiseDao.findScientificCruiseByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department recorderDepartment).

Specified by:
findScientificCruiseByRecorderDepartment in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderDepartment(int, String, fr.ifremer.allegro.administration.user.Department)

findScientificCruiseByRecorderDepartment

public java.util.Collection findScientificCruiseByRecorderDepartment(int transform,
                                                                     int pageNumber,
                                                                     int pageSize,
                                                                     Department recorderDepartment)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department) 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:
findScientificCruiseByRecorderDepartment in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderDepartment(int, int, int, fr.ifremer.allegro.administration.user.Department)

findScientificCruiseByRecorderDepartment

public java.util.Collection findScientificCruiseByRecorderDepartment(int transform,
                                                                     java.lang.String queryString,
                                                                     int pageNumber,
                                                                     int pageSize,
                                                                     Department recorderDepartment)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderDepartment(int, String, fr.ifremer.allegro.administration.user.Department) 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:
findScientificCruiseByRecorderDepartment in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderDepartment(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.Department)

findScientificCruiseByProgram

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

findScientificCruiseByProgram

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

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

findScientificCruiseByProgram

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

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

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

findScientificCruiseByProgram

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

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

findScientificCruiseByProgram

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

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

findScientificCruiseByProgram

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

Does the same thing as ScientificCruiseDao.findScientificCruiseByProgram(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 ScientificCruiseDao.findScientificCruiseByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program program).

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

findScientificCruiseByProgram

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

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

findScientificCruiseByProgram

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

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

findScientificCruiseByRecorderPerson

public java.util.Collection findScientificCruiseByRecorderPerson(Person recorderPerson)
Specified by:
findScientificCruiseByRecorderPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderPerson(fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByRecorderPerson

public java.util.Collection findScientificCruiseByRecorderPerson(int transform,
                                                                 Person recorderPerson)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderPerson(fr.ifremer.allegro.administration.user.Person) 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:
findScientificCruiseByRecorderPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByRecorderPerson

public java.util.Collection findScientificCruiseByRecorderPerson(java.lang.String queryString,
                                                                 Person recorderPerson)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderPerson(fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ScientificCruiseDao.findScientificCruiseByRecorderPerson(fr.ifremer.allegro.administration.user.Person).

Specified by:
findScientificCruiseByRecorderPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderPerson(java.lang.String, fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByRecorderPerson

public java.util.Collection findScientificCruiseByRecorderPerson(int pageNumber,
                                                                 int pageSize,
                                                                 Person recorderPerson)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderPerson(fr.ifremer.allegro.administration.user.Person) 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:
findScientificCruiseByRecorderPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderPerson(int, int, fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByRecorderPerson

public java.util.Collection findScientificCruiseByRecorderPerson(java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 Person recorderPerson)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderPerson(String, fr.ifremer.allegro.administration.user.Person) 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:
findScientificCruiseByRecorderPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderPerson(String, int, int, fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByRecorderPerson

public java.util.Collection findScientificCruiseByRecorderPerson(int transform,
                                                                 java.lang.String queryString,
                                                                 Person recorderPerson)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ScientificCruiseDao.findScientificCruiseByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person recorderPerson).

Specified by:
findScientificCruiseByRecorderPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderPerson(int, String, fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByRecorderPerson

public java.util.Collection findScientificCruiseByRecorderPerson(int transform,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 Person recorderPerson)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person) 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:
findScientificCruiseByRecorderPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderPerson(int, int, int, fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByRecorderPerson

public java.util.Collection findScientificCruiseByRecorderPerson(int transform,
                                                                 java.lang.String queryString,
                                                                 int pageNumber,
                                                                 int pageSize,
                                                                 Person recorderPerson)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByRecorderPerson(int, String, fr.ifremer.allegro.administration.user.Person) 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:
findScientificCruiseByRecorderPerson in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByRecorderPerson(int, java.lang.String, int, int, fr.ifremer.allegro.administration.user.Person)

findScientificCruiseByNaturalId

public ScientificCruise findScientificCruiseByNaturalId(java.util.Date departureDateTime,
                                                        ScientificResearchVessel scientificResearchVessel,
                                                        Program program)
Specified by:
findScientificCruiseByNaturalId in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel, fr.ifremer.allegro.administration.programStrategy.Program)

findScientificCruiseByNaturalId

public java.lang.Object findScientificCruiseByNaturalId(int transform,
                                                        java.util.Date departureDateTime,
                                                        ScientificResearchVessel scientificResearchVessel,
                                                        Program program)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel, 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:
findScientificCruiseByNaturalId in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByNaturalId(int, java.util.Date, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel, fr.ifremer.allegro.administration.programStrategy.Program)

findScientificCruiseByNaturalId

public ScientificCruise findScientificCruiseByNaturalId(java.lang.String queryString,
                                                        java.util.Date departureDateTime,
                                                        ScientificResearchVessel scientificResearchVessel,
                                                        Program program)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ScientificCruiseDao.findScientificCruiseByNaturalId(java.util.Date, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel, fr.ifremer.allegro.administration.programStrategy.Program).

Specified by:
findScientificCruiseByNaturalId in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByNaturalId(java.lang.String, java.util.Date, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel, fr.ifremer.allegro.administration.programStrategy.Program)

findScientificCruiseByNaturalId

public java.lang.Object findScientificCruiseByNaturalId(int transform,
                                                        java.lang.String queryString,
                                                        java.util.Date departureDateTime,
                                                        ScientificResearchVessel scientificResearchVessel,
                                                        Program program)
Description copied from interface: ScientificCruiseDao

Does the same thing as ScientificCruiseDao.findScientificCruiseByNaturalId(int, java.util.Date, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ScientificCruiseDao.findScientificCruiseByNaturalId(int, java.util.Date departureDateTime, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel scientificResearchVessel, fr.ifremer.allegro.administration.programStrategy.Program program).

Specified by:
findScientificCruiseByNaturalId in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.findScientificCruiseByNaturalId(int, java.lang.String, java.util.Date, fr.ifremer.allegro.referential.vessel.ScientificResearchVessel, fr.ifremer.allegro.administration.programStrategy.Program)

getAllScientificCruiseSinceDateSynchro

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

getAllScientificCruiseSinceDateSynchro

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

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

getAllScientificCruiseSinceDateSynchro

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

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

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

getAllScientificCruiseSinceDateSynchro

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

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

getAllScientificCruiseSinceDateSynchro

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

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

getAllScientificCruiseSinceDateSynchro

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

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

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

getAllScientificCruiseSinceDateSynchro

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

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

getAllScientificCruiseSinceDateSynchro

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

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

createFromClusterScientificCruise

public ScientificCruise createFromClusterScientificCruise(ClusterScientificCruise clusterScientificCruise)
Specified by:
createFromClusterScientificCruise in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.createFromClusterScientificCruise(fr.ifremer.allegro.data.survey.scientificCruise.generic.cluster.ClusterScientificCruise)

handleCreateFromClusterScientificCruise

protected abstract ScientificCruise handleCreateFromClusterScientificCruise(ClusterScientificCruise clusterScientificCruise)
                                                                     throws java.lang.Exception
Performs the core logic for createFromClusterScientificCruise(fr.ifremer.allegro.data.survey.scientificCruise.generic.cluster.ClusterScientificCruise)

Throws:
java.lang.Exception

getAllClusterScientificCruiseSinceDateSynchro

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

handleGetAllClusterScientificCruiseSinceDateSynchro

protected abstract ClusterScientificCruise[] handleGetAllClusterScientificCruiseSinceDateSynchro(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 getAllClusterScientificCruiseSinceDateSynchro(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,
                                           ScientificCruise 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.scientificCruise.ScientificCruiseDao, please note that the ScientificCruiseDao.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 ScientificCruiseDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteScientificCruiseFullVOCollection

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

Specified by:
toRemoteScientificCruiseFullVOCollection in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.toRemoteScientificCruiseFullVOCollection(java.util.Collection)

toRemoteScientificCruiseFullVOArray

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

Specified by:
toRemoteScientificCruiseFullVOArray in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.toRemoteScientificCruiseFullVOArray(java.util.Collection)

toRemoteScientificCruiseFullVO

protected RemoteScientificCruiseFullVO toRemoteScientificCruiseFullVO(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 ScientificCruiseDaoImpl class if you intend to use reporting queries.

See Also:
ScientificCruiseDao.toRemoteScientificCruiseFullVO(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

remoteScientificCruiseFullVOToEntityCollection

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

Specified by:
remoteScientificCruiseFullVOToEntityCollection in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.remoteScientificCruiseFullVOToEntityCollection(java.util.Collection)

toRemoteScientificCruiseFullVO

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

toRemoteScientificCruiseFullVO

public RemoteScientificCruiseFullVO toRemoteScientificCruiseFullVO(ScientificCruise entity)
Description copied from interface: ScientificCruiseDao
Converts this DAO's entity to an object of type RemoteScientificCruiseFullVO.

Specified by:
toRemoteScientificCruiseFullVO in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.toRemoteScientificCruiseFullVO(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

remoteScientificCruiseFullVOToEntity

public void remoteScientificCruiseFullVOToEntity(RemoteScientificCruiseFullVO source,
                                                 ScientificCruise target,
                                                 boolean copyIfNull)
Description copied from interface: ScientificCruiseDao
Copies the fields of RemoteScientificCruiseFullVO to the specified entity.

Specified by:
remoteScientificCruiseFullVOToEntity in interface ScientificCruiseDao
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.scientificCruise.ScientificCruiseDao#remoteScientificCruiseFullVOToEntity(fr.ifremer.allegro.data.survey.scientificCruise.generic.vo.RemoteScientificCruiseFullVO, fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

toRemoteScientificCruiseNaturalIdCollection

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

Specified by:
toRemoteScientificCruiseNaturalIdCollection in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.toRemoteScientificCruiseNaturalIdCollection(java.util.Collection)

toRemoteScientificCruiseNaturalIdArray

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

Specified by:
toRemoteScientificCruiseNaturalIdArray in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.toRemoteScientificCruiseNaturalIdArray(java.util.Collection)

toRemoteScientificCruiseNaturalId

protected RemoteScientificCruiseNaturalId toRemoteScientificCruiseNaturalId(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 ScientificCruiseDaoImpl class if you intend to use reporting queries.

See Also:
ScientificCruiseDao.toRemoteScientificCruiseNaturalId(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

remoteScientificCruiseNaturalIdToEntityCollection

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

Specified by:
remoteScientificCruiseNaturalIdToEntityCollection in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.remoteScientificCruiseNaturalIdToEntityCollection(java.util.Collection)

toRemoteScientificCruiseNaturalId

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

toRemoteScientificCruiseNaturalId

public RemoteScientificCruiseNaturalId toRemoteScientificCruiseNaturalId(ScientificCruise entity)
Description copied from interface: ScientificCruiseDao
Converts this DAO's entity to an object of type RemoteScientificCruiseNaturalId.

Specified by:
toRemoteScientificCruiseNaturalId in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.toRemoteScientificCruiseNaturalId(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

remoteScientificCruiseNaturalIdToEntity

public void remoteScientificCruiseNaturalIdToEntity(RemoteScientificCruiseNaturalId source,
                                                    ScientificCruise target,
                                                    boolean copyIfNull)
Description copied from interface: ScientificCruiseDao
Copies the fields of RemoteScientificCruiseNaturalId to the specified entity.

Specified by:
remoteScientificCruiseNaturalIdToEntity in interface ScientificCruiseDao
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.scientificCruise.ScientificCruiseDao#remoteScientificCruiseNaturalIdToEntity(fr.ifremer.allegro.data.survey.scientificCruise.generic.vo.RemoteScientificCruiseNaturalId, fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

toClusterScientificCruiseCollection

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

Specified by:
toClusterScientificCruiseCollection in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.toClusterScientificCruiseCollection(java.util.Collection)

toClusterScientificCruiseArray

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

Specified by:
toClusterScientificCruiseArray in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.toClusterScientificCruiseArray(java.util.Collection)

toClusterScientificCruise

protected ClusterScientificCruise toClusterScientificCruise(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 ScientificCruiseDaoImpl class if you intend to use reporting queries.

See Also:
ScientificCruiseDao.toClusterScientificCruise(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

clusterScientificCruiseToEntityCollection

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

Specified by:
clusterScientificCruiseToEntityCollection in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.clusterScientificCruiseToEntityCollection(java.util.Collection)

toClusterScientificCruise

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

toClusterScientificCruise

public ClusterScientificCruise toClusterScientificCruise(ScientificCruise entity)
Description copied from interface: ScientificCruiseDao
Converts this DAO's entity to an object of type ClusterScientificCruise.

Specified by:
toClusterScientificCruise in interface ScientificCruiseDao
See Also:
ScientificCruiseDao.toClusterScientificCruise(fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

clusterScientificCruiseToEntity

public void clusterScientificCruiseToEntity(ClusterScientificCruise source,
                                            ScientificCruise target,
                                            boolean copyIfNull)
Description copied from interface: ScientificCruiseDao
Copies the fields of ClusterScientificCruise to the specified entity.

Specified by:
clusterScientificCruiseToEntity in interface ScientificCruiseDao
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.scientificCruise.ScientificCruiseDao#clusterScientificCruiseToEntity(fr.ifremer.allegro.data.survey.scientificCruise.generic.cluster.ClusterScientificCruise, fr.ifremer.allegro.data.survey.scientificCruise.ScientificCruise)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.