fr.ifremer.allegro.data.survey.activity
Class ActivityCalendarDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.survey.activity.ActivityCalendarDaoBase
All Implemented Interfaces:
ActivityCalendarDao
Direct Known Subclasses:
ActivityCalendarDaoImpl

public abstract class ActivityCalendarDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements ActivityCalendarDao

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

See Also:
ActivityCalendar

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.survey.activity.ActivityCalendarDao
TRANSFORM_CLUSTERACTIVITYCALENDAR, TRANSFORM_NONE, TRANSFORM_REMOTEACTIVITYCALENDARFULLVO, TRANSFORM_REMOTEACTIVITYCALENDARNATURALID
 
Constructor Summary
ActivityCalendarDaoBase()
           
 
Method Summary
 void clusterActivityCalendarToEntity(ClusterActivityCalendar source, ActivityCalendar target, boolean copyIfNull)
          Copies the fields of ClusterActivityCalendar to the specified entity.
 void clusterActivityCalendarToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterActivityCalendar to this DAO's entity.
 ActivityCalendar create(ActivityCalendar activityCalendar)
          Creates an instance of fr.ifremer.allegro.data.survey.activity.ActivityCalendar and adds it to the persistent store.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.data.survey.activity.ActivityCalendar and adds from the passed in entities collection
 ActivityCalendar create(java.util.Date creationDate, java.lang.Boolean directSurveyInvestigation, Program program, QualityFlag qualityFlag, Department recorderDepartment, Vessel vessel, java.lang.Integer year)
           Creates a new fr.ifremer.allegro.data.survey.activity.ActivityCalendar instance from only required properties (attributes and association ends) and adds it to the persistent store.
 java.lang.Object create(int transform, ActivityCalendar activityCalendar)
           Does the same thing as ActivityCalendarDao.create(fr.ifremer.allegro.data.survey.activity.ActivityCalendar) with an additional flag called transform.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as ActivityCalendarDao.create(fr.ifremer.allegro.data.survey.activity.ActivityCalendar) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date creationDate, java.lang.Boolean directSurveyInvestigation, Program program, QualityFlag qualityFlag, Department recorderDepartment, Vessel vessel, java.lang.Integer year)
           Does the same thing as ActivityCalendarDao.create(java.util.Date,java.lang.Boolean,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.vessel.Vessel,java.lang.Integer) with an additional flag called transform.
 ActivityCalendar create(java.lang.Integer year, java.lang.Boolean directSurveyInvestigation, java.lang.String comments, java.util.Date creationDate, java.util.Date controlDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, java.sql.Timestamp updateDate, java.util.Collection surveyMeasurements, FishingEffortCalendar fishingEffortCalendar, Vessel vessel, Program program, Department recorderDepartment, QualityFlag qualityFlag, Person recorderPerson, java.util.Collection metierUseFeatures, java.util.Collection vesselUseFeatures)
           Creates a new fr.ifremer.allegro.data.survey.activity.ActivityCalendar instance from all attributes and properties and adds it to the persistent store.
 java.lang.Object create(int transform, java.lang.Integer year, java.lang.Boolean directSurveyInvestigation, java.lang.String comments, java.util.Date creationDate, java.util.Date controlDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, java.sql.Timestamp updateDate, java.util.Collection surveyMeasurements, FishingEffortCalendar fishingEffortCalendar, Vessel vessel, Program program, Department recorderDepartment, QualityFlag qualityFlag, Person recorderPerson, java.util.Collection metierUseFeatures, java.util.Collection vesselUseFeatures)
           Does the same thing as ActivityCalendarDao.create(java.lang.Integer,java.lang.Boolean,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar,fr.ifremer.allegro.referential.vessel.Vessel,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.administration.user.Person,java.util.Collection,java.util.Collection) with an additional flag called transform.
 ActivityCalendar createFromClusterActivityCalendar(ClusterActivityCalendar clusterActivityCalendar)
           
 ActivityCalendar findActivityCalendarByFishingEffortCalendar(FishingEffortCalendar fishingEffortCalendar)
           
 java.lang.Object findActivityCalendarByFishingEffortCalendar(int transform, FishingEffortCalendar fishingEffortCalendar)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByFishingEffortCalendar(fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar) with an additional flag called transform.
 java.lang.Object findActivityCalendarByFishingEffortCalendar(int transform, java.lang.String queryString, FishingEffortCalendar fishingEffortCalendar)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByFishingEffortCalendar(int, fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar) with an additional argument called queryString.
 ActivityCalendar findActivityCalendarByFishingEffortCalendar(java.lang.String queryString, FishingEffortCalendar fishingEffortCalendar)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByFishingEffortCalendar(fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar) with an additional argument called queryString.
 ActivityCalendar findActivityCalendarById(java.lang.Integer id)
           
 java.lang.Object findActivityCalendarById(int transform, java.lang.Integer id)
           Does the same thing as ActivityCalendarDao.findActivityCalendarById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findActivityCalendarById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as ActivityCalendarDao.findActivityCalendarById(int, java.lang.Integer) with an additional argument called queryString.
 ActivityCalendar findActivityCalendarById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as ActivityCalendarDao.findActivityCalendarById(java.lang.Integer) with an additional argument called queryString.
 ActivityCalendar findActivityCalendarByNaturalId(java.lang.Integer year, Vessel vessel, Program program)
           
 java.lang.Object findActivityCalendarByNaturalId(int transform, java.lang.Integer year, Vessel vessel, Program program)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByNaturalId(java.lang.Integer, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.lang.Object findActivityCalendarByNaturalId(int transform, java.lang.String queryString, java.lang.Integer year, Vessel vessel, Program program)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByNaturalId(int, java.lang.Integer, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 ActivityCalendar findActivityCalendarByNaturalId(java.lang.String queryString, java.lang.Integer year, Vessel vessel, Program program)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByNaturalId(java.lang.Integer, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findActivityCalendarByProgram(int transform, int pageNumber, int pageSize, Program program)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByProgram(int pageNumber, int pageSize, Program program)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByProgram(int transform, Program program)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.util.Collection findActivityCalendarByProgram(int transform, java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByProgram(int transform, java.lang.String queryString, Program program)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findActivityCalendarByProgram(Program program)
           
 java.util.Collection findActivityCalendarByProgram(java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByProgram(java.lang.String queryString, Program program)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findActivityCalendarByQualityFlag(int transform, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByQualityFlag(int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByQualityFlag(int transform, QualityFlag qualityFlag)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform.
 java.util.Collection findActivityCalendarByQualityFlag(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByQualityFlag(int transform, java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findActivityCalendarByQualityFlag(QualityFlag qualityFlag)
           
 java.util.Collection findActivityCalendarByQualityFlag(java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByQualityFlag(java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findActivityCalendarByRecorderDepartment(Department recorderDepartment)
           
 java.util.Collection findActivityCalendarByRecorderDepartment(int transform, Department recorderDepartment)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional flag called transform.
 java.util.Collection findActivityCalendarByRecorderDepartment(int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByRecorderDepartment(int transform, int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByRecorderDepartment(int transform, java.lang.String queryString, Department recorderDepartment)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findActivityCalendarByRecorderDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByRecorderDepartment(java.lang.String queryString, Department recorderDepartment)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findActivityCalendarByRecorderDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderDepartment(String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByRecorderPerson(int transform, int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByRecorderPerson(int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderPerson(fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByRecorderPerson(int transform, Person recorderPerson)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderPerson(fr.ifremer.allegro.administration.user.Person) with an additional flag called transform.
 java.util.Collection findActivityCalendarByRecorderPerson(int transform, java.lang.String queryString, int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderPerson(int, String, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByRecorderPerson(int transform, java.lang.String queryString, Person recorderPerson)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString.
 java.util.Collection findActivityCalendarByRecorderPerson(Person recorderPerson)
           
 java.util.Collection findActivityCalendarByRecorderPerson(java.lang.String queryString, int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderPerson(String, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByRecorderPerson(java.lang.String queryString, Person recorderPerson)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderPerson(fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString.
 java.util.Collection findActivityCalendarByVessel(int transform, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByVessel(int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByVessel(int transform, java.lang.String queryString, Vessel vessel)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findActivityCalendarByVessel(int transform, Vessel vessel)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.util.Collection findActivityCalendarByVessel(java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByVessel(String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findActivityCalendarByVessel(java.lang.String queryString, Vessel vessel)
           Does the same thing as ActivityCalendarDao.findActivityCalendarByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findActivityCalendarByVessel(Vessel vessel)
           
 java.util.Collection getAllActivityCalendar()
           
 java.util.Collection getAllActivityCalendar(int transform)
           Does the same thing as ActivityCalendarDao.getAllActivityCalendar() with an additional flag called transform.
 java.util.Collection getAllActivityCalendar(int pageNumber, int pageSize)
           Does the same thing as ActivityCalendarDao.getAllActivityCalendar() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllActivityCalendar(int transform, int pageNumber, int pageSize)
           Does the same thing as ActivityCalendarDao.getAllActivityCalendar(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllActivityCalendar(int transform, java.lang.String queryString)
           Does the same thing as ActivityCalendarDao.getAllActivityCalendar(int) with an additional argument called queryString.
 java.util.Collection getAllActivityCalendar(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as ActivityCalendarDao.getAllActivityCalendar(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllActivityCalendar(java.lang.String queryString)
           Does the same thing as ActivityCalendarDao.getAllActivityCalendar() with an additional argument called queryString.
 java.util.Collection getAllActivityCalendar(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as ActivityCalendarDao.getAllActivityCalendar(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllActivityCalendarSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as ActivityCalendarDao.getAllActivityCalendarSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllActivityCalendarSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as ActivityCalendarDao.getAllActivityCalendarSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllActivityCalendarSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as ActivityCalendarDao.getAllActivityCalendarSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllActivityCalendarSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as ActivityCalendarDao.getAllActivityCalendarSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllActivityCalendarSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as ActivityCalendarDao.getAllActivityCalendarSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllActivityCalendarSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as ActivityCalendarDao.getAllActivityCalendarSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllActivityCalendarSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as ActivityCalendarDao.getAllActivityCalendarSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllActivityCalendarSinceDateSynchro(java.sql.Timestamp updateDate)
           
 ClusterActivityCalendar[] getAllClusterActivityCalendarSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
protected  DepartmentDao getDepartmentDao()
          Gets the reference to departmentDao.
protected  FishingEffortCalendarDao getFishingEffortCalendarDao()
          Gets the reference to fishingEffortCalendarDao.
protected  MetierUseFeaturesDao getMetierUseFeaturesDao()
          Gets the reference to metierUseFeaturesDao.
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  QualityFlagDao getQualityFlagDao()
          Gets the reference to qualityFlagDao.
protected  SurveyMeasurementDao getSurveyMeasurementDao()
          Gets the reference to surveyMeasurementDao.
protected  VesselDao getVesselDao()
          Gets the reference to vesselDao.
protected  VesselUseFeaturesDao getVesselUseFeaturesDao()
          Gets the reference to vesselUseFeaturesDao.
protected abstract  ActivityCalendar handleCreateFromClusterActivityCalendar(ClusterActivityCalendar clusterActivityCalendar)
          Performs the core logic for createFromClusterActivityCalendar(fr.ifremer.allegro.data.survey.activity.generic.cluster.ClusterActivityCalendar)
protected abstract  ClusterActivityCalendar[] handleGetAllClusterActivityCalendarSinceDateSynchro(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 getAllClusterActivityCalendarSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 ActivityCalendar load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.data.survey.activity.ActivityCalendar from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as ActivityCalendarDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type ActivityCalendar.
 java.util.Collection loadAll(int transform)
           Does the same thing as ActivityCalendarDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as ActivityCalendarDao.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 ActivityCalendarDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteActivityCalendarFullVOToEntity(RemoteActivityCalendarFullVO source, ActivityCalendar target, boolean copyIfNull)
          Copies the fields of RemoteActivityCalendarFullVO to the specified entity.
 void remoteActivityCalendarFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteActivityCalendarFullVO to this DAO's entity.
 void remoteActivityCalendarNaturalIdToEntity(RemoteActivityCalendarNaturalId source, ActivityCalendar target, boolean copyIfNull)
          Copies the fields of RemoteActivityCalendarNaturalId to the specified entity.
 void remoteActivityCalendarNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteActivityCalendarNaturalId to this DAO's entity.
 void remove(ActivityCalendar activityCalendar)
          Removes the instance of fr.ifremer.allegro.data.survey.activity.ActivityCalendar from the persistent store.
 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.activity.ActivityCalendar having the given identifier from the persistent store.
 PaginationResult search(int transform, int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(int, fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 PaginationResult search(int pageNumber, int pageSize, Search search)
          Does the same thing as {@link #search(fr.ifremer.allegro.Search) but with an additional two flags called pageNumber and pageSize.
 java.util.Set search(int transform, Search search)
          Does the same thing as ActivityCalendarDao.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 setFishingEffortCalendarDao(FishingEffortCalendarDao fishingEffortCalendarDao)
          Sets the reference to fishingEffortCalendarDao.
 void setMetierUseFeaturesDao(MetierUseFeaturesDao metierUseFeaturesDao)
          Sets the reference to metierUseFeaturesDao.
 void setPersonDao(PersonDao personDao)
          Sets the reference to personDao.
 void setProgramDao(ProgramDao programDao)
          Sets the reference to programDao.
 void setQualityFlagDao(QualityFlagDao qualityFlagDao)
          Sets the reference to qualityFlagDao.
 void setSurveyMeasurementDao(SurveyMeasurementDao surveyMeasurementDao)
          Sets the reference to surveyMeasurementDao.
 void setVesselDao(VesselDao vesselDao)
          Sets the reference to vesselDao.
 void setVesselUseFeaturesDao(VesselUseFeaturesDao vesselUseFeaturesDao)
          Sets the reference to vesselUseFeaturesDao.
 ClusterActivityCalendar toClusterActivityCalendar(ActivityCalendar entity)
          Converts this DAO's entity to an object of type ClusterActivityCalendar.
 void toClusterActivityCalendar(ActivityCalendar source, ClusterActivityCalendar target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterActivityCalendar toClusterActivityCalendar(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterActivityCalendar[] toClusterActivityCalendarArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterActivityCalendar.
 void toClusterActivityCalendarCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterActivityCalendar.
protected  ActivityCalendar toEntity(java.lang.Object[] row)
           
 RemoteActivityCalendarFullVO toRemoteActivityCalendarFullVO(ActivityCalendar entity)
          Converts this DAO's entity to an object of type RemoteActivityCalendarFullVO.
 void toRemoteActivityCalendarFullVO(ActivityCalendar source, RemoteActivityCalendarFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteActivityCalendarFullVO toRemoteActivityCalendarFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteActivityCalendarFullVO[] toRemoteActivityCalendarFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteActivityCalendarFullVO.
 void toRemoteActivityCalendarFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteActivityCalendarFullVO.
 RemoteActivityCalendarNaturalId toRemoteActivityCalendarNaturalId(ActivityCalendar entity)
          Converts this DAO's entity to an object of type RemoteActivityCalendarNaturalId.
 void toRemoteActivityCalendarNaturalId(ActivityCalendar source, RemoteActivityCalendarNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteActivityCalendarNaturalId toRemoteActivityCalendarNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteActivityCalendarNaturalId[] toRemoteActivityCalendarNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteActivityCalendarNaturalId.
 void toRemoteActivityCalendarNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteActivityCalendarNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.survey.activity.ActivityCalendar) method.
protected  java.lang.Object transformEntity(int transform, ActivityCalendar 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.activity.ActivityCalendarDao, please note that the ActivityCalendarDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 void update(ActivityCalendar activityCalendar)
          Updates the activityCalendar instance in the persistent store.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection 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.activity.ActivityCalendarDao
clusterActivityCalendarToEntity, remoteActivityCalendarFullVOToEntity, remoteActivityCalendarNaturalIdToEntity
 

Constructor Detail

ActivityCalendarDaoBase

public ActivityCalendarDaoBase()
Method Detail

setVesselDao

public void setVesselDao(VesselDao vesselDao)
Sets the reference to vesselDao.


getVesselDao

protected VesselDao getVesselDao()
Gets the reference to vesselDao.


setProgramDao

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


getProgramDao

protected ProgramDao getProgramDao()
Gets the reference to programDao.


setDepartmentDao

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


getDepartmentDao

protected DepartmentDao getDepartmentDao()
Gets the reference to departmentDao.


setQualityFlagDao

public void setQualityFlagDao(QualityFlagDao qualityFlagDao)
Sets the reference to qualityFlagDao.


getQualityFlagDao

protected QualityFlagDao getQualityFlagDao()
Gets the reference to qualityFlagDao.


setPersonDao

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


getPersonDao

protected PersonDao getPersonDao()
Gets the reference to personDao.


setMetierUseFeaturesDao

public void setMetierUseFeaturesDao(MetierUseFeaturesDao metierUseFeaturesDao)
Sets the reference to metierUseFeaturesDao.


getMetierUseFeaturesDao

protected MetierUseFeaturesDao getMetierUseFeaturesDao()
Gets the reference to metierUseFeaturesDao.


setVesselUseFeaturesDao

public void setVesselUseFeaturesDao(VesselUseFeaturesDao vesselUseFeaturesDao)
Sets the reference to vesselUseFeaturesDao.


getVesselUseFeaturesDao

protected VesselUseFeaturesDao getVesselUseFeaturesDao()
Gets the reference to vesselUseFeaturesDao.


setFishingEffortCalendarDao

public void setFishingEffortCalendarDao(FishingEffortCalendarDao fishingEffortCalendarDao)
Sets the reference to fishingEffortCalendarDao.


getFishingEffortCalendarDao

protected FishingEffortCalendarDao getFishingEffortCalendarDao()
Gets the reference to fishingEffortCalendarDao.


setSurveyMeasurementDao

public void setSurveyMeasurementDao(SurveyMeasurementDao surveyMeasurementDao)
Sets the reference to surveyMeasurementDao.


getSurveyMeasurementDao

protected SurveyMeasurementDao getSurveyMeasurementDao()
Gets the reference to surveyMeasurementDao.


load

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

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public ActivityCalendar create(ActivityCalendar activityCalendar)
Description copied from interface: ActivityCalendarDao
Creates an instance of fr.ifremer.allegro.data.survey.activity.ActivityCalendar and adds it to the persistent store.

Specified by:
create in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.create(fr.ifremer.allegro.data.survey.activity.ActivityCalendar)

create

public java.lang.Object create(int transform,
                               ActivityCalendar activityCalendar)
Description copied from interface: ActivityCalendarDao

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

create

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

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

create

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

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

create

public ActivityCalendar create(java.lang.Integer year,
                               java.lang.Boolean directSurveyInvestigation,
                               java.lang.String comments,
                               java.util.Date creationDate,
                               java.util.Date controlDate,
                               java.util.Date validationDate,
                               java.util.Date qualificationDate,
                               java.lang.String qualificationComments,
                               java.sql.Timestamp updateDate,
                               java.util.Collection surveyMeasurements,
                               FishingEffortCalendar fishingEffortCalendar,
                               Vessel vessel,
                               Program program,
                               Department recorderDepartment,
                               QualityFlag qualityFlag,
                               Person recorderPerson,
                               java.util.Collection metierUseFeatures,
                               java.util.Collection vesselUseFeatures)
Description copied from interface: ActivityCalendarDao

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

Specified by:
create in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.create(java.lang.Integer,java.lang.Boolean,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar,fr.ifremer.allegro.referential.vessel.Vessel,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.administration.user.Person,java.util.Collection,java.util.Collection)

create

public java.lang.Object create(int transform,
                               java.lang.Integer year,
                               java.lang.Boolean directSurveyInvestigation,
                               java.lang.String comments,
                               java.util.Date creationDate,
                               java.util.Date controlDate,
                               java.util.Date validationDate,
                               java.util.Date qualificationDate,
                               java.lang.String qualificationComments,
                               java.sql.Timestamp updateDate,
                               java.util.Collection surveyMeasurements,
                               FishingEffortCalendar fishingEffortCalendar,
                               Vessel vessel,
                               Program program,
                               Department recorderDepartment,
                               QualityFlag qualityFlag,
                               Person recorderPerson,
                               java.util.Collection metierUseFeatures,
                               java.util.Collection vesselUseFeatures)
Description copied from interface: ActivityCalendarDao

Does the same thing as ActivityCalendarDao.create(java.lang.Integer,java.lang.Boolean,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar,fr.ifremer.allegro.referential.vessel.Vessel,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.administration.user.Person,java.util.Collection,java.util.Collection) 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 ActivityCalendarDao
See Also:
ActivityCalendarDao.create(int, java.lang.Integer,java.lang.Boolean,java.lang.String,java.util.Date,java.util.Date,java.util.Date,java.util.Date,java.lang.String,java.sql.Timestamp,java.util.Collection,fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar,fr.ifremer.allegro.referential.vessel.Vessel,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.administration.user.Person,java.util.Collection,java.util.Collection)

create

public ActivityCalendar create(java.util.Date creationDate,
                               java.lang.Boolean directSurveyInvestigation,
                               Program program,
                               QualityFlag qualityFlag,
                               Department recorderDepartment,
                               Vessel vessel,
                               java.lang.Integer year)
Description copied from interface: ActivityCalendarDao

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

Specified by:
create in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.create(java.util.Date,java.lang.Boolean,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.vessel.Vessel,java.lang.Integer)

create

public java.lang.Object create(int transform,
                               java.util.Date creationDate,
                               java.lang.Boolean directSurveyInvestigation,
                               Program program,
                               QualityFlag qualityFlag,
                               Department recorderDepartment,
                               Vessel vessel,
                               java.lang.Integer year)
Description copied from interface: ActivityCalendarDao

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

update

public void update(ActivityCalendar activityCalendar)
Description copied from interface: ActivityCalendarDao
Updates the activityCalendar instance in the persistent store.

Specified by:
update in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.update(fr.ifremer.allegro.data.survey.activity.ActivityCalendar)

update

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

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

remove

public void remove(ActivityCalendar activityCalendar)
Description copied from interface: ActivityCalendarDao
Removes the instance of fr.ifremer.allegro.data.survey.activity.ActivityCalendar from the persistent store.

Specified by:
remove in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.remove(fr.ifremer.allegro.data.survey.activity.ActivityCalendar)

remove

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

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

remove

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

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

getAllActivityCalendar

public java.util.Collection getAllActivityCalendar()
Specified by:
getAllActivityCalendar in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.getAllActivityCalendar()

getAllActivityCalendar

public java.util.Collection getAllActivityCalendar(int transform)
Description copied from interface: ActivityCalendarDao

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

getAllActivityCalendar

public java.util.Collection getAllActivityCalendar(java.lang.String queryString)
Description copied from interface: ActivityCalendarDao

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

Specified by:
getAllActivityCalendar in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.getAllActivityCalendar(java.lang.String)

getAllActivityCalendar

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

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

getAllActivityCalendar

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

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

getAllActivityCalendar

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

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

Specified by:
getAllActivityCalendar in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.getAllActivityCalendar(int, String)

getAllActivityCalendar

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

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

getAllActivityCalendar

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

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

findActivityCalendarById

public ActivityCalendar findActivityCalendarById(java.lang.Integer id)
Specified by:
findActivityCalendarById in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarById(java.lang.Integer)

findActivityCalendarById

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

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

findActivityCalendarById

public ActivityCalendar findActivityCalendarById(java.lang.String queryString,
                                                 java.lang.Integer id)
Description copied from interface: ActivityCalendarDao

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

Specified by:
findActivityCalendarById in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarById(java.lang.String, java.lang.Integer)

findActivityCalendarById

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

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

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

findActivityCalendarByRecorderDepartment

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

findActivityCalendarByRecorderDepartment

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

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

findActivityCalendarByRecorderDepartment

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

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

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

findActivityCalendarByRecorderDepartment

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

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

findActivityCalendarByRecorderDepartment

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

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

findActivityCalendarByRecorderDepartment

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

Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderDepartment(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 ActivityCalendarDao.findActivityCalendarByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department recorderDepartment).

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

findActivityCalendarByRecorderDepartment

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

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

findActivityCalendarByRecorderDepartment

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

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

findActivityCalendarByVessel

public java.util.Collection findActivityCalendarByVessel(Vessel vessel)
Specified by:
findActivityCalendarByVessel in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByVessel(fr.ifremer.allegro.referential.vessel.Vessel)

findActivityCalendarByVessel

public java.util.Collection findActivityCalendarByVessel(int transform,
                                                         Vessel vessel)
Description copied from interface: ActivityCalendarDao

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

findActivityCalendarByVessel

public java.util.Collection findActivityCalendarByVessel(java.lang.String queryString,
                                                         Vessel vessel)
Description copied from interface: ActivityCalendarDao

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

Specified by:
findActivityCalendarByVessel in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByVessel(java.lang.String, fr.ifremer.allegro.referential.vessel.Vessel)

findActivityCalendarByVessel

public java.util.Collection findActivityCalendarByVessel(int pageNumber,
                                                         int pageSize,
                                                         Vessel vessel)
Description copied from interface: ActivityCalendarDao

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

findActivityCalendarByVessel

public java.util.Collection findActivityCalendarByVessel(java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         Vessel vessel)
Description copied from interface: ActivityCalendarDao

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

findActivityCalendarByVessel

public java.util.Collection findActivityCalendarByVessel(int transform,
                                                         java.lang.String queryString,
                                                         Vessel vessel)
Description copied from interface: ActivityCalendarDao

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

Specified by:
findActivityCalendarByVessel in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel)

findActivityCalendarByVessel

public java.util.Collection findActivityCalendarByVessel(int transform,
                                                         int pageNumber,
                                                         int pageSize,
                                                         Vessel vessel)
Description copied from interface: ActivityCalendarDao

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

findActivityCalendarByVessel

public java.util.Collection findActivityCalendarByVessel(int transform,
                                                         java.lang.String queryString,
                                                         int pageNumber,
                                                         int pageSize,
                                                         Vessel vessel)
Description copied from interface: ActivityCalendarDao

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

findActivityCalendarByProgram

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

findActivityCalendarByProgram

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

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

findActivityCalendarByProgram

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

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

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

findActivityCalendarByProgram

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

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

findActivityCalendarByProgram

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

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

findActivityCalendarByProgram

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

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

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

findActivityCalendarByProgram

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

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

findActivityCalendarByProgram

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

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

findActivityCalendarByQualityFlag

public java.util.Collection findActivityCalendarByQualityFlag(QualityFlag qualityFlag)
Specified by:
findActivityCalendarByQualityFlag in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByQualityFlag(fr.ifremer.allegro.referential.QualityFlag)

findActivityCalendarByQualityFlag

public java.util.Collection findActivityCalendarByQualityFlag(int transform,
                                                              QualityFlag qualityFlag)
Description copied from interface: ActivityCalendarDao

Does the same thing as ActivityCalendarDao.findActivityCalendarByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) 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:
findActivityCalendarByQualityFlag in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag)

findActivityCalendarByQualityFlag

public java.util.Collection findActivityCalendarByQualityFlag(java.lang.String queryString,
                                                              QualityFlag qualityFlag)
Description copied from interface: ActivityCalendarDao

Does the same thing as ActivityCalendarDao.findActivityCalendarByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ActivityCalendarDao.findActivityCalendarByQualityFlag(fr.ifremer.allegro.referential.QualityFlag).

Specified by:
findActivityCalendarByQualityFlag in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByQualityFlag(java.lang.String, fr.ifremer.allegro.referential.QualityFlag)

findActivityCalendarByQualityFlag

public java.util.Collection findActivityCalendarByQualityFlag(int pageNumber,
                                                              int pageSize,
                                                              QualityFlag qualityFlag)
Description copied from interface: ActivityCalendarDao

Does the same thing as ActivityCalendarDao.findActivityCalendarByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) 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:
findActivityCalendarByQualityFlag in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByQualityFlag(int, int, fr.ifremer.allegro.referential.QualityFlag)

findActivityCalendarByQualityFlag

public java.util.Collection findActivityCalendarByQualityFlag(java.lang.String queryString,
                                                              int pageNumber,
                                                              int pageSize,
                                                              QualityFlag qualityFlag)
Description copied from interface: ActivityCalendarDao

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

findActivityCalendarByQualityFlag

public java.util.Collection findActivityCalendarByQualityFlag(int transform,
                                                              java.lang.String queryString,
                                                              QualityFlag qualityFlag)
Description copied from interface: ActivityCalendarDao

Does the same thing as ActivityCalendarDao.findActivityCalendarByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ActivityCalendarDao.findActivityCalendarByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag qualityFlag).

Specified by:
findActivityCalendarByQualityFlag in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag)

findActivityCalendarByQualityFlag

public java.util.Collection findActivityCalendarByQualityFlag(int transform,
                                                              int pageNumber,
                                                              int pageSize,
                                                              QualityFlag qualityFlag)
Description copied from interface: ActivityCalendarDao

Does the same thing as ActivityCalendarDao.findActivityCalendarByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) 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:
findActivityCalendarByQualityFlag in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByQualityFlag(int, int, int, fr.ifremer.allegro.referential.QualityFlag)

findActivityCalendarByQualityFlag

public java.util.Collection findActivityCalendarByQualityFlag(int transform,
                                                              java.lang.String queryString,
                                                              int pageNumber,
                                                              int pageSize,
                                                              QualityFlag qualityFlag)
Description copied from interface: ActivityCalendarDao

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

findActivityCalendarByFishingEffortCalendar

public ActivityCalendar findActivityCalendarByFishingEffortCalendar(FishingEffortCalendar fishingEffortCalendar)
Specified by:
findActivityCalendarByFishingEffortCalendar in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByFishingEffortCalendar(fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar)

findActivityCalendarByFishingEffortCalendar

public java.lang.Object findActivityCalendarByFishingEffortCalendar(int transform,
                                                                    FishingEffortCalendar fishingEffortCalendar)
Description copied from interface: ActivityCalendarDao

Does the same thing as ActivityCalendarDao.findActivityCalendarByFishingEffortCalendar(fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar) 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:
findActivityCalendarByFishingEffortCalendar in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByFishingEffortCalendar(int, fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar)

findActivityCalendarByFishingEffortCalendar

public ActivityCalendar findActivityCalendarByFishingEffortCalendar(java.lang.String queryString,
                                                                    FishingEffortCalendar fishingEffortCalendar)
Description copied from interface: ActivityCalendarDao

Does the same thing as ActivityCalendarDao.findActivityCalendarByFishingEffortCalendar(fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ActivityCalendarDao.findActivityCalendarByFishingEffortCalendar(fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar).

Specified by:
findActivityCalendarByFishingEffortCalendar in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByFishingEffortCalendar(java.lang.String, fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar)

findActivityCalendarByFishingEffortCalendar

public java.lang.Object findActivityCalendarByFishingEffortCalendar(int transform,
                                                                    java.lang.String queryString,
                                                                    FishingEffortCalendar fishingEffortCalendar)
Description copied from interface: ActivityCalendarDao

Does the same thing as ActivityCalendarDao.findActivityCalendarByFishingEffortCalendar(int, fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ActivityCalendarDao.findActivityCalendarByFishingEffortCalendar(int, fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar fishingEffortCalendar).

Specified by:
findActivityCalendarByFishingEffortCalendar in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByFishingEffortCalendar(int, java.lang.String, fr.ifremer.allegro.data.survey.fishingEffort.FishingEffortCalendar)

findActivityCalendarByRecorderPerson

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

findActivityCalendarByRecorderPerson

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

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

findActivityCalendarByRecorderPerson

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

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

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

findActivityCalendarByRecorderPerson

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

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

findActivityCalendarByRecorderPerson

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

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

findActivityCalendarByRecorderPerson

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

Does the same thing as ActivityCalendarDao.findActivityCalendarByRecorderPerson(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 ActivityCalendarDao.findActivityCalendarByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person recorderPerson).

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

findActivityCalendarByRecorderPerson

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

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

findActivityCalendarByRecorderPerson

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

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

findActivityCalendarByNaturalId

public ActivityCalendar findActivityCalendarByNaturalId(java.lang.Integer year,
                                                        Vessel vessel,
                                                        Program program)
Specified by:
findActivityCalendarByNaturalId in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByNaturalId(java.lang.Integer, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program)

findActivityCalendarByNaturalId

public java.lang.Object findActivityCalendarByNaturalId(int transform,
                                                        java.lang.Integer year,
                                                        Vessel vessel,
                                                        Program program)
Description copied from interface: ActivityCalendarDao

Does the same thing as ActivityCalendarDao.findActivityCalendarByNaturalId(java.lang.Integer, fr.ifremer.allegro.referential.vessel.Vessel, 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:
findActivityCalendarByNaturalId in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByNaturalId(int, java.lang.Integer, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program)

findActivityCalendarByNaturalId

public ActivityCalendar findActivityCalendarByNaturalId(java.lang.String queryString,
                                                        java.lang.Integer year,
                                                        Vessel vessel,
                                                        Program program)
Description copied from interface: ActivityCalendarDao

Does the same thing as ActivityCalendarDao.findActivityCalendarByNaturalId(java.lang.Integer, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ActivityCalendarDao.findActivityCalendarByNaturalId(java.lang.Integer, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program).

Specified by:
findActivityCalendarByNaturalId in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByNaturalId(java.lang.String, java.lang.Integer, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program)

findActivityCalendarByNaturalId

public java.lang.Object findActivityCalendarByNaturalId(int transform,
                                                        java.lang.String queryString,
                                                        java.lang.Integer year,
                                                        Vessel vessel,
                                                        Program program)
Description copied from interface: ActivityCalendarDao

Does the same thing as ActivityCalendarDao.findActivityCalendarByNaturalId(int, java.lang.Integer, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString. This queryString argument allows you to override the query string defined in ActivityCalendarDao.findActivityCalendarByNaturalId(int, java.lang.Integer year, fr.ifremer.allegro.referential.vessel.Vessel vessel, fr.ifremer.allegro.administration.programStrategy.Program program).

Specified by:
findActivityCalendarByNaturalId in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.findActivityCalendarByNaturalId(int, java.lang.String, java.lang.Integer, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program)

getAllActivityCalendarSinceDateSynchro

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

getAllActivityCalendarSinceDateSynchro

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

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

getAllActivityCalendarSinceDateSynchro

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

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

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

getAllActivityCalendarSinceDateSynchro

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

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

getAllActivityCalendarSinceDateSynchro

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

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

getAllActivityCalendarSinceDateSynchro

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

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

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

getAllActivityCalendarSinceDateSynchro

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

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

getAllActivityCalendarSinceDateSynchro

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

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

createFromClusterActivityCalendar

public ActivityCalendar createFromClusterActivityCalendar(ClusterActivityCalendar clusterActivityCalendar)
Specified by:
createFromClusterActivityCalendar in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.createFromClusterActivityCalendar(fr.ifremer.allegro.data.survey.activity.generic.cluster.ClusterActivityCalendar)

handleCreateFromClusterActivityCalendar

protected abstract ActivityCalendar handleCreateFromClusterActivityCalendar(ClusterActivityCalendar clusterActivityCalendar)
                                                                     throws java.lang.Exception
Performs the core logic for createFromClusterActivityCalendar(fr.ifremer.allegro.data.survey.activity.generic.cluster.ClusterActivityCalendar)

Throws:
java.lang.Exception

getAllClusterActivityCalendarSinceDateSynchro

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

handleGetAllClusterActivityCalendarSinceDateSynchro

protected abstract ClusterActivityCalendar[] handleGetAllClusterActivityCalendarSinceDateSynchro(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 getAllClusterActivityCalendarSinceDateSynchro(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,
                                           ActivityCalendar 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.activity.ActivityCalendarDao, please note that the ActivityCalendarDao.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 ActivityCalendarDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteActivityCalendarFullVOCollection

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

Specified by:
toRemoteActivityCalendarFullVOCollection in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.toRemoteActivityCalendarFullVOCollection(java.util.Collection)

toRemoteActivityCalendarFullVOArray

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

Specified by:
toRemoteActivityCalendarFullVOArray in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.toRemoteActivityCalendarFullVOArray(java.util.Collection)

toRemoteActivityCalendarFullVO

protected RemoteActivityCalendarFullVO toRemoteActivityCalendarFullVO(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 ActivityCalendarDaoImpl class if you intend to use reporting queries.

See Also:
ActivityCalendarDao.toRemoteActivityCalendarFullVO(fr.ifremer.allegro.data.survey.activity.ActivityCalendar)

remoteActivityCalendarFullVOToEntityCollection

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

Specified by:
remoteActivityCalendarFullVOToEntityCollection in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.remoteActivityCalendarFullVOToEntityCollection(java.util.Collection)

toRemoteActivityCalendarFullVO

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

toRemoteActivityCalendarFullVO

public RemoteActivityCalendarFullVO toRemoteActivityCalendarFullVO(ActivityCalendar entity)
Description copied from interface: ActivityCalendarDao
Converts this DAO's entity to an object of type RemoteActivityCalendarFullVO.

Specified by:
toRemoteActivityCalendarFullVO in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.toRemoteActivityCalendarFullVO(fr.ifremer.allegro.data.survey.activity.ActivityCalendar)

remoteActivityCalendarFullVOToEntity

public void remoteActivityCalendarFullVOToEntity(RemoteActivityCalendarFullVO source,
                                                 ActivityCalendar target,
                                                 boolean copyIfNull)
Description copied from interface: ActivityCalendarDao
Copies the fields of RemoteActivityCalendarFullVO to the specified entity.

Specified by:
remoteActivityCalendarFullVOToEntity in interface ActivityCalendarDao
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.activity.ActivityCalendarDao#remoteActivityCalendarFullVOToEntity(fr.ifremer.allegro.data.survey.activity.generic.vo.RemoteActivityCalendarFullVO, fr.ifremer.allegro.data.survey.activity.ActivityCalendar)

toRemoteActivityCalendarNaturalIdCollection

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

Specified by:
toRemoteActivityCalendarNaturalIdCollection in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.toRemoteActivityCalendarNaturalIdCollection(java.util.Collection)

toRemoteActivityCalendarNaturalIdArray

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

Specified by:
toRemoteActivityCalendarNaturalIdArray in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.toRemoteActivityCalendarNaturalIdArray(java.util.Collection)

toRemoteActivityCalendarNaturalId

protected RemoteActivityCalendarNaturalId toRemoteActivityCalendarNaturalId(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 ActivityCalendarDaoImpl class if you intend to use reporting queries.

See Also:
ActivityCalendarDao.toRemoteActivityCalendarNaturalId(fr.ifremer.allegro.data.survey.activity.ActivityCalendar)

remoteActivityCalendarNaturalIdToEntityCollection

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

Specified by:
remoteActivityCalendarNaturalIdToEntityCollection in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.remoteActivityCalendarNaturalIdToEntityCollection(java.util.Collection)

toRemoteActivityCalendarNaturalId

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

toRemoteActivityCalendarNaturalId

public RemoteActivityCalendarNaturalId toRemoteActivityCalendarNaturalId(ActivityCalendar entity)
Description copied from interface: ActivityCalendarDao
Converts this DAO's entity to an object of type RemoteActivityCalendarNaturalId.

Specified by:
toRemoteActivityCalendarNaturalId in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.toRemoteActivityCalendarNaturalId(fr.ifremer.allegro.data.survey.activity.ActivityCalendar)

remoteActivityCalendarNaturalIdToEntity

public void remoteActivityCalendarNaturalIdToEntity(RemoteActivityCalendarNaturalId source,
                                                    ActivityCalendar target,
                                                    boolean copyIfNull)
Description copied from interface: ActivityCalendarDao
Copies the fields of RemoteActivityCalendarNaturalId to the specified entity.

Specified by:
remoteActivityCalendarNaturalIdToEntity in interface ActivityCalendarDao
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.activity.ActivityCalendarDao#remoteActivityCalendarNaturalIdToEntity(fr.ifremer.allegro.data.survey.activity.generic.vo.RemoteActivityCalendarNaturalId, fr.ifremer.allegro.data.survey.activity.ActivityCalendar)

toClusterActivityCalendarCollection

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

Specified by:
toClusterActivityCalendarCollection in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.toClusterActivityCalendarCollection(java.util.Collection)

toClusterActivityCalendarArray

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

Specified by:
toClusterActivityCalendarArray in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.toClusterActivityCalendarArray(java.util.Collection)

toClusterActivityCalendar

protected ClusterActivityCalendar toClusterActivityCalendar(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 ActivityCalendarDaoImpl class if you intend to use reporting queries.

See Also:
ActivityCalendarDao.toClusterActivityCalendar(fr.ifremer.allegro.data.survey.activity.ActivityCalendar)

clusterActivityCalendarToEntityCollection

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

Specified by:
clusterActivityCalendarToEntityCollection in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.clusterActivityCalendarToEntityCollection(java.util.Collection)

toClusterActivityCalendar

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

toClusterActivityCalendar

public ClusterActivityCalendar toClusterActivityCalendar(ActivityCalendar entity)
Description copied from interface: ActivityCalendarDao
Converts this DAO's entity to an object of type ClusterActivityCalendar.

Specified by:
toClusterActivityCalendar in interface ActivityCalendarDao
See Also:
ActivityCalendarDao.toClusterActivityCalendar(fr.ifremer.allegro.data.survey.activity.ActivityCalendar)

clusterActivityCalendarToEntity

public void clusterActivityCalendarToEntity(ClusterActivityCalendar source,
                                            ActivityCalendar target,
                                            boolean copyIfNull)
Description copied from interface: ActivityCalendarDao
Copies the fields of ClusterActivityCalendar to the specified entity.

Specified by:
clusterActivityCalendarToEntity in interface ActivityCalendarDao
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.activity.ActivityCalendarDao#clusterActivityCalendarToEntity(fr.ifremer.allegro.data.survey.activity.generic.cluster.ClusterActivityCalendar, fr.ifremer.allegro.data.survey.activity.ActivityCalendar)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.