fr.ifremer.allegro.data.survey.delaration
Class DeclaredDocumentReferenceDaoBase

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReferenceDaoBase
All Implemented Interfaces:
DeclaredDocumentReferenceDao
Direct Known Subclasses:
DeclaredDocumentReferenceDaoImpl

public abstract class DeclaredDocumentReferenceDaoBase
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements DeclaredDocumentReferenceDao

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

See Also:
DeclaredDocumentReference

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReferenceDao
TRANSFORM_CLUSTERDECLAREDDOCUMENTREFERENCE, TRANSFORM_NONE, TRANSFORM_REMOTEDECLAREDDOCUMENTREFERENCEFULLVO, TRANSFORM_REMOTEDECLAREDDOCUMENTREFERENCENATURALID
 
Constructor Summary
DeclaredDocumentReferenceDaoBase()
           
 
Method Summary
 void clusterDeclaredDocumentReferenceToEntity(ClusterDeclaredDocumentReference source, DeclaredDocumentReference target, boolean copyIfNull)
          Copies the fields of ClusterDeclaredDocumentReference to the specified entity.
 void clusterDeclaredDocumentReferenceToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type ClusterDeclaredDocumentReference to this DAO's entity.
 java.util.Collection create(java.util.Collection entities)
          Creates a new instance of fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference and adds from the passed in entities collection
 DeclaredDocumentReference create(java.util.Date creationDate, java.util.Date documentDate, Program program, QualityFlag qualityFlag, Department recorderDepartment, Vessel vessel)
           Creates a new fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference instance from only required properties (attributes and association ends) and adds it to the persistent store.
 DeclaredDocumentReference create(DeclaredDocumentReference declaredDocumentReference)
          Creates an instance of fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference and adds it to the persistent store.
 java.util.Collection create(int transform, java.util.Collection entities)
           Does the same thing as DeclaredDocumentReferenceDao.create(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional flag called transform.
 java.lang.Object create(int transform, java.util.Date creationDate, java.util.Date documentDate, Program program, QualityFlag qualityFlag, Department recorderDepartment, Vessel vessel)
           Does the same thing as DeclaredDocumentReferenceDao.create(java.util.Date,java.util.Date,fr.ifremer.allegro.administration.programStrategy.Program,fr.ifremer.allegro.referential.QualityFlag,fr.ifremer.allegro.administration.user.Department,fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.lang.Object create(int transform, DeclaredDocumentReference declaredDocumentReference)
           Does the same thing as DeclaredDocumentReferenceDao.create(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional flag called transform.
 java.lang.Object create(int transform, java.lang.String reference, java.lang.String fileName, java.util.Date documentDate, java.lang.String otherDocumentReference, java.lang.String firstSheetNumber, java.lang.String lastSheetNumber, java.lang.Short sheetCount, 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 childDeclareddocumentReferences, DeclaredDocumentReference parentDeclaredDocumentReference, Vessel vessel, Program program, Department recorderDepartment, QualityFlag qualityFlag, Person recorderPerson, java.util.Collection fishingTrips, java.util.Collection sales)
           Does the same thing as DeclaredDocumentReferenceDao.create(java.lang.String,java.lang.String,java.util.Date,java.lang.String,java.lang.String,java.lang.String,java.lang.Short,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.delaration.DeclaredDocumentReference,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.
 DeclaredDocumentReference create(java.lang.String reference, java.lang.String fileName, java.util.Date documentDate, java.lang.String otherDocumentReference, java.lang.String firstSheetNumber, java.lang.String lastSheetNumber, java.lang.Short sheetCount, 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 childDeclareddocumentReferences, DeclaredDocumentReference parentDeclaredDocumentReference, Vessel vessel, Program program, Department recorderDepartment, QualityFlag qualityFlag, Person recorderPerson, java.util.Collection fishingTrips, java.util.Collection sales)
           Creates a new fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference instance from all attributes and properties and adds it to the persistent store.
 DeclaredDocumentReference createFromClusterDeclaredDocumentReference(ClusterDeclaredDocumentReference clusterDeclaredDocumentReference)
           
 DeclaredDocumentReference findDeclaredDocumentReferenceById(java.lang.Integer id)
           
 java.lang.Object findDeclaredDocumentReferenceById(int transform, java.lang.Integer id)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceById(java.lang.Integer) with an additional flag called transform.
 java.lang.Object findDeclaredDocumentReferenceById(int transform, java.lang.String queryString, java.lang.Integer id)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceById(int, java.lang.Integer) with an additional argument called queryString.
 DeclaredDocumentReference findDeclaredDocumentReferenceById(java.lang.String queryString, java.lang.Integer id)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceById(java.lang.Integer) with an additional argument called queryString.
 java.lang.Object findDeclaredDocumentReferenceByNaturalId(int transform, java.lang.String queryString, java.lang.String reference, Vessel vessel, Program program)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByNaturalId(int, java.lang.String, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.lang.Object findDeclaredDocumentReferenceByNaturalId(int transform, java.lang.String reference, Vessel vessel, Program program)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByNaturalId(java.lang.String, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 DeclaredDocumentReference findDeclaredDocumentReferenceByNaturalId(java.lang.String queryString, java.lang.String reference, Vessel vessel, Program program)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByNaturalId(java.lang.String, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 DeclaredDocumentReference findDeclaredDocumentReferenceByNaturalId(java.lang.String reference, Vessel vessel, Program program)
           
 java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(DeclaredDocumentReference parentDeclaredDocumentReference)
           
 java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int transform, DeclaredDocumentReference parentDeclaredDocumentReference)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional flag called transform.
 java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int pageNumber, int pageSize, DeclaredDocumentReference parentDeclaredDocumentReference)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int transform, int pageNumber, int pageSize, DeclaredDocumentReference parentDeclaredDocumentReference)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int transform, java.lang.String queryString, DeclaredDocumentReference parentDeclaredDocumentReference)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional argument called queryString.
 java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int transform, java.lang.String queryString, int pageNumber, int pageSize, DeclaredDocumentReference parentDeclaredDocumentReference)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int, String, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(java.lang.String queryString, DeclaredDocumentReference parentDeclaredDocumentReference)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional argument called queryString.
 java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(java.lang.String queryString, int pageNumber, int pageSize, DeclaredDocumentReference parentDeclaredDocumentReference)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(String, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByProgram(int transform, int pageNumber, int pageSize, Program program)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByProgram(int pageNumber, int pageSize, Program program)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByProgram(int transform, Program program)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional flag called transform.
 java.util.Collection findDeclaredDocumentReferenceByProgram(int transform, java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByProgram(int, String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByProgram(int transform, java.lang.String queryString, Program program)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByProgram(int, fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findDeclaredDocumentReferenceByProgram(Program program)
           
 java.util.Collection findDeclaredDocumentReferenceByProgram(java.lang.String queryString, int pageNumber, int pageSize, Program program)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByProgram(String, fr.ifremer.allegro.administration.programStrategy.Program) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByProgram(java.lang.String queryString, Program program)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByProgram(fr.ifremer.allegro.administration.programStrategy.Program) with an additional argument called queryString.
 java.util.Collection findDeclaredDocumentReferenceByQualityFlag(int transform, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByQualityFlag(int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByQualityFlag(int transform, QualityFlag qualityFlag)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional flag called transform.
 java.util.Collection findDeclaredDocumentReferenceByQualityFlag(int transform, java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByQualityFlag(int, String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByQualityFlag(int transform, java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByQualityFlag(int, fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findDeclaredDocumentReferenceByQualityFlag(QualityFlag qualityFlag)
           
 java.util.Collection findDeclaredDocumentReferenceByQualityFlag(java.lang.String queryString, int pageNumber, int pageSize, QualityFlag qualityFlag)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByQualityFlag(String, fr.ifremer.allegro.referential.QualityFlag) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByQualityFlag(java.lang.String queryString, QualityFlag qualityFlag)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByQualityFlag(fr.ifremer.allegro.referential.QualityFlag) with an additional argument called queryString.
 java.util.Collection findDeclaredDocumentReferenceByRecorderDepartment(Department recorderDepartment)
           
 java.util.Collection findDeclaredDocumentReferenceByRecorderDepartment(int transform, Department recorderDepartment)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional flag called transform.
 java.util.Collection findDeclaredDocumentReferenceByRecorderDepartment(int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByRecorderDepartment(int transform, int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByRecorderDepartment(int transform, java.lang.String queryString, Department recorderDepartment)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByRecorderDepartment(int, fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findDeclaredDocumentReferenceByRecorderDepartment(int transform, java.lang.String queryString, int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByRecorderDepartment(int, String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByRecorderDepartment(java.lang.String queryString, Department recorderDepartment)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByRecorderDepartment(fr.ifremer.allegro.administration.user.Department) with an additional argument called queryString.
 java.util.Collection findDeclaredDocumentReferenceByRecorderDepartment(java.lang.String queryString, int pageNumber, int pageSize, Department recorderDepartment)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByRecorderDepartment(String, fr.ifremer.allegro.administration.user.Department) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByRecorderPerson(int transform, int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByRecorderPerson(int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByRecorderPerson(fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByRecorderPerson(int transform, Person recorderPerson)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByRecorderPerson(fr.ifremer.allegro.administration.user.Person) with an additional flag called transform.
 java.util.Collection findDeclaredDocumentReferenceByRecorderPerson(int transform, java.lang.String queryString, int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByRecorderPerson(int, String, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByRecorderPerson(int transform, java.lang.String queryString, Person recorderPerson)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByRecorderPerson(int, fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString.
 java.util.Collection findDeclaredDocumentReferenceByRecorderPerson(Person recorderPerson)
           
 java.util.Collection findDeclaredDocumentReferenceByRecorderPerson(java.lang.String queryString, int pageNumber, int pageSize, Person recorderPerson)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByRecorderPerson(String, fr.ifremer.allegro.administration.user.Person) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByRecorderPerson(java.lang.String queryString, Person recorderPerson)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByRecorderPerson(fr.ifremer.allegro.administration.user.Person) with an additional argument called queryString.
 java.util.Collection findDeclaredDocumentReferenceByVessel(int transform, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByVessel(int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByVessel(int transform, java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByVessel(int, String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByVessel(int transform, java.lang.String queryString, Vessel vessel)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findDeclaredDocumentReferenceByVessel(int transform, Vessel vessel)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional flag called transform.
 java.util.Collection findDeclaredDocumentReferenceByVessel(java.lang.String queryString, int pageNumber, int pageSize, Vessel vessel)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByVessel(String, fr.ifremer.allegro.referential.vessel.Vessel) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection findDeclaredDocumentReferenceByVessel(java.lang.String queryString, Vessel vessel)
           Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByVessel(fr.ifremer.allegro.referential.vessel.Vessel) with an additional argument called queryString.
 java.util.Collection findDeclaredDocumentReferenceByVessel(Vessel vessel)
           
 ClusterDeclaredDocumentReference[] getAllClusterDeclaredDocumentReferenceSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 java.util.Collection getAllDeclaredDocumentReference()
           
 java.util.Collection getAllDeclaredDocumentReference(int transform)
           Does the same thing as DeclaredDocumentReferenceDao.getAllDeclaredDocumentReference() with an additional flag called transform.
 java.util.Collection getAllDeclaredDocumentReference(int pageNumber, int pageSize)
           Does the same thing as DeclaredDocumentReferenceDao.getAllDeclaredDocumentReference() with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDeclaredDocumentReference(int transform, int pageNumber, int pageSize)
           Does the same thing as DeclaredDocumentReferenceDao.getAllDeclaredDocumentReference(int) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDeclaredDocumentReference(int transform, java.lang.String queryString)
           Does the same thing as DeclaredDocumentReferenceDao.getAllDeclaredDocumentReference(int) with an additional argument called queryString.
 java.util.Collection getAllDeclaredDocumentReference(int transform, java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as DeclaredDocumentReferenceDao.getAllDeclaredDocumentReference(int, String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDeclaredDocumentReference(java.lang.String queryString)
           Does the same thing as DeclaredDocumentReferenceDao.getAllDeclaredDocumentReference() with an additional argument called queryString.
 java.util.Collection getAllDeclaredDocumentReference(java.lang.String queryString, int pageNumber, int pageSize)
           Does the same thing as DeclaredDocumentReferenceDao.getAllDeclaredDocumentReference(String) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDeclaredDocumentReferenceSinceDateSynchro(int transform, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as DeclaredDocumentReferenceDao.getAllDeclaredDocumentReferenceSinceDateSynchro(int, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDeclaredDocumentReferenceSinceDateSynchro(int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as DeclaredDocumentReferenceDao.getAllDeclaredDocumentReferenceSinceDateSynchro(java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDeclaredDocumentReferenceSinceDateSynchro(int transform, java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as DeclaredDocumentReferenceDao.getAllDeclaredDocumentReferenceSinceDateSynchro(int, String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDeclaredDocumentReferenceSinceDateSynchro(int transform, java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as DeclaredDocumentReferenceDao.getAllDeclaredDocumentReferenceSinceDateSynchro(int, java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllDeclaredDocumentReferenceSinceDateSynchro(int transform, java.sql.Timestamp updateDate)
           Does the same thing as DeclaredDocumentReferenceDao.getAllDeclaredDocumentReferenceSinceDateSynchro(java.sql.Timestamp) with an additional flag called transform.
 java.util.Collection getAllDeclaredDocumentReferenceSinceDateSynchro(java.lang.String queryString, int pageNumber, int pageSize, java.sql.Timestamp updateDate)
           Does the same thing as DeclaredDocumentReferenceDao.getAllDeclaredDocumentReferenceSinceDateSynchro(String, java.sql.Timestamp) with an additional two arguments called pageNumber and pageSize.
 java.util.Collection getAllDeclaredDocumentReferenceSinceDateSynchro(java.lang.String queryString, java.sql.Timestamp updateDate)
           Does the same thing as DeclaredDocumentReferenceDao.getAllDeclaredDocumentReferenceSinceDateSynchro(java.sql.Timestamp) with an additional argument called queryString.
 java.util.Collection getAllDeclaredDocumentReferenceSinceDateSynchro(java.sql.Timestamp updateDate)
           
protected  DeclaredDocumentReferenceDao getDeclaredDocumentReferenceDao()
          Gets the reference to declaredDocumentReferenceDao.
protected  DepartmentDao getDepartmentDao()
          Gets the reference to departmentDao.
protected  FishingTripDao getFishingTripDao()
          Gets the reference to fishingTripDao.
protected  ObservedFishingTripDao getObservedFishingTripDao()
          Gets the reference to observedFishingTripDao.
protected  ObservedSaleDao getObservedSaleDao()
          Gets the reference to observedSaleDao.
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  SaleDao getSaleDao()
          Gets the reference to saleDao.
protected  VesselDao getVesselDao()
          Gets the reference to vesselDao.
protected abstract  DeclaredDocumentReference handleCreateFromClusterDeclaredDocumentReference(ClusterDeclaredDocumentReference clusterDeclaredDocumentReference)
          Performs the core logic for createFromClusterDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.generic.cluster.ClusterDeclaredDocumentReference)
protected abstract  ClusterDeclaredDocumentReference[] handleGetAllClusterDeclaredDocumentReferenceSinceDateSynchro(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 getAllClusterDeclaredDocumentReferenceSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 DeclaredDocumentReference load(java.lang.Integer id)
          Loads an instance of fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference from the persistent store.
 java.lang.Object load(int transform, java.lang.Integer id)
           Does the same thing as DeclaredDocumentReferenceDao.load(java.lang.Integer) with an additional flag called transform.
 java.util.Collection loadAll()
          Loads all entities of type DeclaredDocumentReference.
 java.util.Collection loadAll(int transform)
           Does the same thing as DeclaredDocumentReferenceDao.loadAll() with an additional flag called transform.
 java.util.Collection loadAll(int pageNumber, int pageSize)
           Does the same thing as DeclaredDocumentReferenceDao.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 DeclaredDocumentReferenceDao.loadAll(int) with an additional two arguments called pageNumber and pageSize.
 void remoteDeclaredDocumentReferenceFullVOToEntity(RemoteDeclaredDocumentReferenceFullVO source, DeclaredDocumentReference target, boolean copyIfNull)
          Copies the fields of RemoteDeclaredDocumentReferenceFullVO to the specified entity.
 void remoteDeclaredDocumentReferenceFullVOToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteDeclaredDocumentReferenceFullVO to this DAO's entity.
 void remoteDeclaredDocumentReferenceNaturalIdToEntity(RemoteDeclaredDocumentReferenceNaturalId source, DeclaredDocumentReference target, boolean copyIfNull)
          Copies the fields of RemoteDeclaredDocumentReferenceNaturalId to the specified entity.
 void remoteDeclaredDocumentReferenceNaturalIdToEntityCollection(java.util.Collection instances)
          Converts a Collection of instances of type RemoteDeclaredDocumentReferenceNaturalId to this DAO's entity.
 void remove(java.util.Collection entities)
          Removes all entities in the given entities collection.
 void remove(DeclaredDocumentReference declaredDocumentReference)
          Removes the instance of fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference from the persistent store.
 void remove(java.lang.Integer id)
          Removes the instance of fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference 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 DeclaredDocumentReferenceDao.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 setDeclaredDocumentReferenceDao(DeclaredDocumentReferenceDao declaredDocumentReferenceDao)
          Sets the reference to declaredDocumentReferenceDao.
 void setDepartmentDao(DepartmentDao departmentDao)
          Sets the reference to departmentDao.
 void setFishingTripDao(FishingTripDao fishingTripDao)
          Sets the reference to fishingTripDao.
 void setObservedFishingTripDao(ObservedFishingTripDao observedFishingTripDao)
          Sets the reference to observedFishingTripDao.
 void setObservedSaleDao(ObservedSaleDao observedSaleDao)
          Sets the reference to observedSaleDao.
 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 setSaleDao(SaleDao saleDao)
          Sets the reference to saleDao.
 void setVesselDao(VesselDao vesselDao)
          Sets the reference to vesselDao.
 ClusterDeclaredDocumentReference toClusterDeclaredDocumentReference(DeclaredDocumentReference entity)
          Converts this DAO's entity to an object of type ClusterDeclaredDocumentReference.
 void toClusterDeclaredDocumentReference(DeclaredDocumentReference source, ClusterDeclaredDocumentReference target)
          Copies the fields of the specified entity to the target value object.
protected  ClusterDeclaredDocumentReference toClusterDeclaredDocumentReference(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 ClusterDeclaredDocumentReference[] toClusterDeclaredDocumentReferenceArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type ClusterDeclaredDocumentReference.
 void toClusterDeclaredDocumentReferenceCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type ClusterDeclaredDocumentReference.
protected  DeclaredDocumentReference toEntity(java.lang.Object[] row)
           
 RemoteDeclaredDocumentReferenceFullVO toRemoteDeclaredDocumentReferenceFullVO(DeclaredDocumentReference entity)
          Converts this DAO's entity to an object of type RemoteDeclaredDocumentReferenceFullVO.
 void toRemoteDeclaredDocumentReferenceFullVO(DeclaredDocumentReference source, RemoteDeclaredDocumentReferenceFullVO target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteDeclaredDocumentReferenceFullVO toRemoteDeclaredDocumentReferenceFullVO(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteDeclaredDocumentReferenceFullVO[] toRemoteDeclaredDocumentReferenceFullVOArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteDeclaredDocumentReferenceFullVO.
 void toRemoteDeclaredDocumentReferenceFullVOCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteDeclaredDocumentReferenceFullVO.
 RemoteDeclaredDocumentReferenceNaturalId toRemoteDeclaredDocumentReferenceNaturalId(DeclaredDocumentReference entity)
          Converts this DAO's entity to an object of type RemoteDeclaredDocumentReferenceNaturalId.
 void toRemoteDeclaredDocumentReferenceNaturalId(DeclaredDocumentReference source, RemoteDeclaredDocumentReferenceNaturalId target)
          Copies the fields of the specified entity to the target value object.
protected  RemoteDeclaredDocumentReferenceNaturalId toRemoteDeclaredDocumentReferenceNaturalId(java.lang.Object[] row)
          Default implementation for transforming the results of a report query into a value object.
 RemoteDeclaredDocumentReferenceNaturalId[] toRemoteDeclaredDocumentReferenceNaturalIdArray(java.util.Collection entities)
          Converts this DAO's entity to an array of instances of type RemoteDeclaredDocumentReferenceNaturalId.
 void toRemoteDeclaredDocumentReferenceNaturalIdCollection(java.util.Collection entities)
          Converts this DAO's entity to a Collection of instances of type RemoteDeclaredDocumentReferenceNaturalId.
protected  void transformEntities(int transform, java.util.Collection entities)
          Transforms a collection of entities using the transformEntity(int,fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) method.
protected  java.lang.Object transformEntity(int transform, DeclaredDocumentReference 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.delaration.DeclaredDocumentReferenceDao, please note that the DeclaredDocumentReferenceDao.TRANSFORM_NONE constant denotes no transformation, so the entity itself will be returned.
 void update(java.util.Collection entities)
          Updates all instances in the entities collection in the persistent store.
 void update(DeclaredDocumentReference declaredDocumentReference)
          Updates the declaredDocumentReference instance in the persistent store.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReferenceDao
clusterDeclaredDocumentReferenceToEntity, remoteDeclaredDocumentReferenceFullVOToEntity, remoteDeclaredDocumentReferenceNaturalIdToEntity
 

Constructor Detail

DeclaredDocumentReferenceDaoBase

public DeclaredDocumentReferenceDaoBase()
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.


setDeclaredDocumentReferenceDao

public void setDeclaredDocumentReferenceDao(DeclaredDocumentReferenceDao declaredDocumentReferenceDao)
Sets the reference to declaredDocumentReferenceDao.


getDeclaredDocumentReferenceDao

protected DeclaredDocumentReferenceDao getDeclaredDocumentReferenceDao()
Gets the reference to declaredDocumentReferenceDao.


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.


setFishingTripDao

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


getFishingTripDao

protected FishingTripDao getFishingTripDao()
Gets the reference to fishingTripDao.


setSaleDao

public void setSaleDao(SaleDao saleDao)
Sets the reference to saleDao.


getSaleDao

protected SaleDao getSaleDao()
Gets the reference to saleDao.


setObservedFishingTripDao

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


getObservedFishingTripDao

protected ObservedFishingTripDao getObservedFishingTripDao()
Gets the reference to observedFishingTripDao.


setObservedSaleDao

public void setObservedSaleDao(ObservedSaleDao observedSaleDao)
Sets the reference to observedSaleDao.


getObservedSaleDao

protected ObservedSaleDao getObservedSaleDao()
Gets the reference to observedSaleDao.


load

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

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

load

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

loadAll

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

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

create

public DeclaredDocumentReference create(DeclaredDocumentReference declaredDocumentReference)
Description copied from interface: DeclaredDocumentReferenceDao
Creates an instance of fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference and adds it to the persistent store.

Specified by:
create in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.create(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

create

public java.lang.Object create(int transform,
                               DeclaredDocumentReference declaredDocumentReference)
Description copied from interface: DeclaredDocumentReferenceDao

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

create

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

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

create

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

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

create

public DeclaredDocumentReference create(java.lang.String reference,
                                        java.lang.String fileName,
                                        java.util.Date documentDate,
                                        java.lang.String otherDocumentReference,
                                        java.lang.String firstSheetNumber,
                                        java.lang.String lastSheetNumber,
                                        java.lang.Short sheetCount,
                                        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 childDeclareddocumentReferences,
                                        DeclaredDocumentReference parentDeclaredDocumentReference,
                                        Vessel vessel,
                                        Program program,
                                        Department recorderDepartment,
                                        QualityFlag qualityFlag,
                                        Person recorderPerson,
                                        java.util.Collection fishingTrips,
                                        java.util.Collection sales)
Description copied from interface: DeclaredDocumentReferenceDao

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

Specified by:
create in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.create(java.lang.String,java.lang.String,java.util.Date,java.lang.String,java.lang.String,java.lang.String,java.lang.Short,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.delaration.DeclaredDocumentReference,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.String reference,
                               java.lang.String fileName,
                               java.util.Date documentDate,
                               java.lang.String otherDocumentReference,
                               java.lang.String firstSheetNumber,
                               java.lang.String lastSheetNumber,
                               java.lang.Short sheetCount,
                               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 childDeclareddocumentReferences,
                               DeclaredDocumentReference parentDeclaredDocumentReference,
                               Vessel vessel,
                               Program program,
                               Department recorderDepartment,
                               QualityFlag qualityFlag,
                               Person recorderPerson,
                               java.util.Collection fishingTrips,
                               java.util.Collection sales)
Description copied from interface: DeclaredDocumentReferenceDao

Does the same thing as DeclaredDocumentReferenceDao.create(java.lang.String,java.lang.String,java.util.Date,java.lang.String,java.lang.String,java.lang.String,java.lang.Short,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.delaration.DeclaredDocumentReference,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 DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.create(int, java.lang.String,java.lang.String,java.util.Date,java.lang.String,java.lang.String,java.lang.String,java.lang.Short,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.delaration.DeclaredDocumentReference,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 DeclaredDocumentReference create(java.util.Date creationDate,
                                        java.util.Date documentDate,
                                        Program program,
                                        QualityFlag qualityFlag,
                                        Department recorderDepartment,
                                        Vessel vessel)
Description copied from interface: DeclaredDocumentReferenceDao

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

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

create

public java.lang.Object create(int transform,
                               java.util.Date creationDate,
                               java.util.Date documentDate,
                               Program program,
                               QualityFlag qualityFlag,
                               Department recorderDepartment,
                               Vessel vessel)
Description copied from interface: DeclaredDocumentReferenceDao

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

update

public void update(DeclaredDocumentReference declaredDocumentReference)
Description copied from interface: DeclaredDocumentReferenceDao
Updates the declaredDocumentReference instance in the persistent store.

Specified by:
update in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.update(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

update

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

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

remove

public void remove(DeclaredDocumentReference declaredDocumentReference)
Description copied from interface: DeclaredDocumentReferenceDao
Removes the instance of fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference from the persistent store.

Specified by:
remove in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.remove(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

remove

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

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

remove

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

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

getAllDeclaredDocumentReference

public java.util.Collection getAllDeclaredDocumentReference()
Specified by:
getAllDeclaredDocumentReference in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.getAllDeclaredDocumentReference()

getAllDeclaredDocumentReference

public java.util.Collection getAllDeclaredDocumentReference(int transform)
Description copied from interface: DeclaredDocumentReferenceDao

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

getAllDeclaredDocumentReference

public java.util.Collection getAllDeclaredDocumentReference(java.lang.String queryString)
Description copied from interface: DeclaredDocumentReferenceDao

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

Specified by:
getAllDeclaredDocumentReference in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.getAllDeclaredDocumentReference(java.lang.String)

getAllDeclaredDocumentReference

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

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

getAllDeclaredDocumentReference

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

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

getAllDeclaredDocumentReference

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

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

Specified by:
getAllDeclaredDocumentReference in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.getAllDeclaredDocumentReference(int, String)

getAllDeclaredDocumentReference

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

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

getAllDeclaredDocumentReference

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

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

findDeclaredDocumentReferenceById

public DeclaredDocumentReference findDeclaredDocumentReferenceById(java.lang.Integer id)
Specified by:
findDeclaredDocumentReferenceById in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceById(java.lang.Integer)

findDeclaredDocumentReferenceById

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

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

findDeclaredDocumentReferenceById

public DeclaredDocumentReference findDeclaredDocumentReferenceById(java.lang.String queryString,
                                                                   java.lang.Integer id)
Description copied from interface: DeclaredDocumentReferenceDao

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

Specified by:
findDeclaredDocumentReferenceById in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceById(java.lang.String, java.lang.Integer)

findDeclaredDocumentReferenceById

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

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

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

findDeclaredDocumentReferenceByParentDeclaredDocumentReference

public java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(DeclaredDocumentReference parentDeclaredDocumentReference)
Specified by:
findDeclaredDocumentReferenceByParentDeclaredDocumentReference in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findDeclaredDocumentReferenceByParentDeclaredDocumentReference

public java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int transform,
                                                                                           DeclaredDocumentReference parentDeclaredDocumentReference)
Description copied from interface: DeclaredDocumentReferenceDao

Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) 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:
findDeclaredDocumentReferenceByParentDeclaredDocumentReference in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findDeclaredDocumentReferenceByParentDeclaredDocumentReference

public java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(java.lang.String queryString,
                                                                                           DeclaredDocumentReference parentDeclaredDocumentReference)
Description copied from interface: DeclaredDocumentReferenceDao

Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional argument called queryString. This queryString argument allows you to override the query string defined in DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference).

Specified by:
findDeclaredDocumentReferenceByParentDeclaredDocumentReference in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(java.lang.String, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findDeclaredDocumentReferenceByParentDeclaredDocumentReference

public java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int pageNumber,
                                                                                           int pageSize,
                                                                                           DeclaredDocumentReference parentDeclaredDocumentReference)
Description copied from interface: DeclaredDocumentReferenceDao

Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) 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:
findDeclaredDocumentReferenceByParentDeclaredDocumentReference in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int, int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findDeclaredDocumentReferenceByParentDeclaredDocumentReference

public java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(java.lang.String queryString,
                                                                                           int pageNumber,
                                                                                           int pageSize,
                                                                                           DeclaredDocumentReference parentDeclaredDocumentReference)
Description copied from interface: DeclaredDocumentReferenceDao

Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(String, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) 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:
findDeclaredDocumentReferenceByParentDeclaredDocumentReference in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(String, int, int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findDeclaredDocumentReferenceByParentDeclaredDocumentReference

public java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int transform,
                                                                                           java.lang.String queryString,
                                                                                           DeclaredDocumentReference parentDeclaredDocumentReference)
Description copied from interface: DeclaredDocumentReferenceDao

Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) with an additional argument called queryString. This queryString argument allows you to override the query string defined in DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference parentDeclaredDocumentReference).

Specified by:
findDeclaredDocumentReferenceByParentDeclaredDocumentReference in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int, String, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findDeclaredDocumentReferenceByParentDeclaredDocumentReference

public java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int transform,
                                                                                           int pageNumber,
                                                                                           int pageSize,
                                                                                           DeclaredDocumentReference parentDeclaredDocumentReference)
Description copied from interface: DeclaredDocumentReferenceDao

Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) 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:
findDeclaredDocumentReferenceByParentDeclaredDocumentReference in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int, int, int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findDeclaredDocumentReferenceByParentDeclaredDocumentReference

public java.util.Collection findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int transform,
                                                                                           java.lang.String queryString,
                                                                                           int pageNumber,
                                                                                           int pageSize,
                                                                                           DeclaredDocumentReference parentDeclaredDocumentReference)
Description copied from interface: DeclaredDocumentReferenceDao

Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int, String, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference) 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:
findDeclaredDocumentReferenceByParentDeclaredDocumentReference in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByParentDeclaredDocumentReference(int, java.lang.String, int, int, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

findDeclaredDocumentReferenceByVessel

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

findDeclaredDocumentReferenceByVessel

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

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

findDeclaredDocumentReferenceByVessel

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

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

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

findDeclaredDocumentReferenceByVessel

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

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

findDeclaredDocumentReferenceByVessel

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

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

findDeclaredDocumentReferenceByVessel

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

Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByVessel(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 DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByVessel(int, fr.ifremer.allegro.referential.vessel.Vessel vessel).

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

findDeclaredDocumentReferenceByVessel

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

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

findDeclaredDocumentReferenceByVessel

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

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

findDeclaredDocumentReferenceByProgram

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

findDeclaredDocumentReferenceByProgram

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

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

findDeclaredDocumentReferenceByProgram

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

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

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

findDeclaredDocumentReferenceByProgram

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

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

findDeclaredDocumentReferenceByProgram

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

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

findDeclaredDocumentReferenceByProgram

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

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

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

findDeclaredDocumentReferenceByProgram

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

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

findDeclaredDocumentReferenceByProgram

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

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

findDeclaredDocumentReferenceByRecorderDepartment

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

findDeclaredDocumentReferenceByRecorderDepartment

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

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

findDeclaredDocumentReferenceByRecorderDepartment

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

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

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

findDeclaredDocumentReferenceByRecorderDepartment

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

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

findDeclaredDocumentReferenceByRecorderDepartment

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

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

findDeclaredDocumentReferenceByRecorderDepartment

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

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

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

findDeclaredDocumentReferenceByRecorderDepartment

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

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

findDeclaredDocumentReferenceByRecorderDepartment

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

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

findDeclaredDocumentReferenceByQualityFlag

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

findDeclaredDocumentReferenceByQualityFlag

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

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

findDeclaredDocumentReferenceByQualityFlag

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

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

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

findDeclaredDocumentReferenceByQualityFlag

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

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

findDeclaredDocumentReferenceByQualityFlag

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

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

findDeclaredDocumentReferenceByQualityFlag

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

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

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

findDeclaredDocumentReferenceByQualityFlag

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

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

findDeclaredDocumentReferenceByQualityFlag

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

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

findDeclaredDocumentReferenceByRecorderPerson

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

findDeclaredDocumentReferenceByRecorderPerson

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

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

findDeclaredDocumentReferenceByRecorderPerson

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

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

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

findDeclaredDocumentReferenceByRecorderPerson

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

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

findDeclaredDocumentReferenceByRecorderPerson

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

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

findDeclaredDocumentReferenceByRecorderPerson

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

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

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

findDeclaredDocumentReferenceByRecorderPerson

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

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

findDeclaredDocumentReferenceByRecorderPerson

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

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

findDeclaredDocumentReferenceByNaturalId

public DeclaredDocumentReference findDeclaredDocumentReferenceByNaturalId(java.lang.String reference,
                                                                          Vessel vessel,
                                                                          Program program)
Specified by:
findDeclaredDocumentReferenceByNaturalId in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByNaturalId(java.lang.String, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program)

findDeclaredDocumentReferenceByNaturalId

public java.lang.Object findDeclaredDocumentReferenceByNaturalId(int transform,
                                                                 java.lang.String reference,
                                                                 Vessel vessel,
                                                                 Program program)
Description copied from interface: DeclaredDocumentReferenceDao

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

findDeclaredDocumentReferenceByNaturalId

public DeclaredDocumentReference findDeclaredDocumentReferenceByNaturalId(java.lang.String queryString,
                                                                          java.lang.String reference,
                                                                          Vessel vessel,
                                                                          Program program)
Description copied from interface: DeclaredDocumentReferenceDao

Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByNaturalId(java.lang.String, 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 DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByNaturalId(java.lang.String, fr.ifremer.allegro.referential.vessel.Vessel, fr.ifremer.allegro.administration.programStrategy.Program).

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

findDeclaredDocumentReferenceByNaturalId

public java.lang.Object findDeclaredDocumentReferenceByNaturalId(int transform,
                                                                 java.lang.String queryString,
                                                                 java.lang.String reference,
                                                                 Vessel vessel,
                                                                 Program program)
Description copied from interface: DeclaredDocumentReferenceDao

Does the same thing as DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByNaturalId(int, java.lang.String, 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 DeclaredDocumentReferenceDao.findDeclaredDocumentReferenceByNaturalId(int, java.lang.String reference, fr.ifremer.allegro.referential.vessel.Vessel vessel, fr.ifremer.allegro.administration.programStrategy.Program program).

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

getAllDeclaredDocumentReferenceSinceDateSynchro

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

getAllDeclaredDocumentReferenceSinceDateSynchro

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

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

getAllDeclaredDocumentReferenceSinceDateSynchro

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

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

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

getAllDeclaredDocumentReferenceSinceDateSynchro

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

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

getAllDeclaredDocumentReferenceSinceDateSynchro

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

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

getAllDeclaredDocumentReferenceSinceDateSynchro

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

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

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

getAllDeclaredDocumentReferenceSinceDateSynchro

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

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

getAllDeclaredDocumentReferenceSinceDateSynchro

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

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

createFromClusterDeclaredDocumentReference

public DeclaredDocumentReference createFromClusterDeclaredDocumentReference(ClusterDeclaredDocumentReference clusterDeclaredDocumentReference)
Specified by:
createFromClusterDeclaredDocumentReference in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.createFromClusterDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.generic.cluster.ClusterDeclaredDocumentReference)

handleCreateFromClusterDeclaredDocumentReference

protected abstract DeclaredDocumentReference handleCreateFromClusterDeclaredDocumentReference(ClusterDeclaredDocumentReference clusterDeclaredDocumentReference)
                                                                                       throws java.lang.Exception
Performs the core logic for createFromClusterDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.generic.cluster.ClusterDeclaredDocumentReference)

Throws:
java.lang.Exception

getAllClusterDeclaredDocumentReferenceSinceDateSynchro

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

handleGetAllClusterDeclaredDocumentReferenceSinceDateSynchro

protected abstract ClusterDeclaredDocumentReference[] handleGetAllClusterDeclaredDocumentReferenceSinceDateSynchro(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 getAllClusterDeclaredDocumentReferenceSinceDateSynchro(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,
                                           DeclaredDocumentReference 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.delaration.DeclaredDocumentReferenceDao, please note that the DeclaredDocumentReferenceDao.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 DeclaredDocumentReferenceDao.TRANSFORM_NONE is assumed.

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

toEntity

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

toRemoteDeclaredDocumentReferenceFullVOCollection

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

Specified by:
toRemoteDeclaredDocumentReferenceFullVOCollection in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.toRemoteDeclaredDocumentReferenceFullVOCollection(java.util.Collection)

toRemoteDeclaredDocumentReferenceFullVOArray

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

Specified by:
toRemoteDeclaredDocumentReferenceFullVOArray in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.toRemoteDeclaredDocumentReferenceFullVOArray(java.util.Collection)

toRemoteDeclaredDocumentReferenceFullVO

protected RemoteDeclaredDocumentReferenceFullVO toRemoteDeclaredDocumentReferenceFullVO(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 DeclaredDocumentReferenceDaoImpl class if you intend to use reporting queries.

See Also:
DeclaredDocumentReferenceDao.toRemoteDeclaredDocumentReferenceFullVO(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

remoteDeclaredDocumentReferenceFullVOToEntityCollection

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

Specified by:
remoteDeclaredDocumentReferenceFullVOToEntityCollection in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.remoteDeclaredDocumentReferenceFullVOToEntityCollection(java.util.Collection)

toRemoteDeclaredDocumentReferenceFullVO

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

toRemoteDeclaredDocumentReferenceFullVO

public RemoteDeclaredDocumentReferenceFullVO toRemoteDeclaredDocumentReferenceFullVO(DeclaredDocumentReference entity)
Description copied from interface: DeclaredDocumentReferenceDao
Converts this DAO's entity to an object of type RemoteDeclaredDocumentReferenceFullVO.

Specified by:
toRemoteDeclaredDocumentReferenceFullVO in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.toRemoteDeclaredDocumentReferenceFullVO(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

remoteDeclaredDocumentReferenceFullVOToEntity

public void remoteDeclaredDocumentReferenceFullVOToEntity(RemoteDeclaredDocumentReferenceFullVO source,
                                                          DeclaredDocumentReference target,
                                                          boolean copyIfNull)
Description copied from interface: DeclaredDocumentReferenceDao
Copies the fields of RemoteDeclaredDocumentReferenceFullVO to the specified entity.

Specified by:
remoteDeclaredDocumentReferenceFullVOToEntity in interface DeclaredDocumentReferenceDao
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.delaration.DeclaredDocumentReferenceDao#remoteDeclaredDocumentReferenceFullVOToEntity(fr.ifremer.allegro.data.survey.delaration.generic.vo.RemoteDeclaredDocumentReferenceFullVO, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

toRemoteDeclaredDocumentReferenceNaturalIdCollection

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

Specified by:
toRemoteDeclaredDocumentReferenceNaturalIdCollection in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.toRemoteDeclaredDocumentReferenceNaturalIdCollection(java.util.Collection)

toRemoteDeclaredDocumentReferenceNaturalIdArray

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

Specified by:
toRemoteDeclaredDocumentReferenceNaturalIdArray in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.toRemoteDeclaredDocumentReferenceNaturalIdArray(java.util.Collection)

toRemoteDeclaredDocumentReferenceNaturalId

protected RemoteDeclaredDocumentReferenceNaturalId toRemoteDeclaredDocumentReferenceNaturalId(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 DeclaredDocumentReferenceDaoImpl class if you intend to use reporting queries.

See Also:
DeclaredDocumentReferenceDao.toRemoteDeclaredDocumentReferenceNaturalId(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

remoteDeclaredDocumentReferenceNaturalIdToEntityCollection

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

Specified by:
remoteDeclaredDocumentReferenceNaturalIdToEntityCollection in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.remoteDeclaredDocumentReferenceNaturalIdToEntityCollection(java.util.Collection)

toRemoteDeclaredDocumentReferenceNaturalId

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

toRemoteDeclaredDocumentReferenceNaturalId

public RemoteDeclaredDocumentReferenceNaturalId toRemoteDeclaredDocumentReferenceNaturalId(DeclaredDocumentReference entity)
Description copied from interface: DeclaredDocumentReferenceDao
Converts this DAO's entity to an object of type RemoteDeclaredDocumentReferenceNaturalId.

Specified by:
toRemoteDeclaredDocumentReferenceNaturalId in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.toRemoteDeclaredDocumentReferenceNaturalId(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

remoteDeclaredDocumentReferenceNaturalIdToEntity

public void remoteDeclaredDocumentReferenceNaturalIdToEntity(RemoteDeclaredDocumentReferenceNaturalId source,
                                                             DeclaredDocumentReference target,
                                                             boolean copyIfNull)
Description copied from interface: DeclaredDocumentReferenceDao
Copies the fields of RemoteDeclaredDocumentReferenceNaturalId to the specified entity.

Specified by:
remoteDeclaredDocumentReferenceNaturalIdToEntity in interface DeclaredDocumentReferenceDao
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.delaration.DeclaredDocumentReferenceDao#remoteDeclaredDocumentReferenceNaturalIdToEntity(fr.ifremer.allegro.data.survey.delaration.generic.vo.RemoteDeclaredDocumentReferenceNaturalId, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

toClusterDeclaredDocumentReferenceCollection

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

Specified by:
toClusterDeclaredDocumentReferenceCollection in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.toClusterDeclaredDocumentReferenceCollection(java.util.Collection)

toClusterDeclaredDocumentReferenceArray

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

Specified by:
toClusterDeclaredDocumentReferenceArray in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.toClusterDeclaredDocumentReferenceArray(java.util.Collection)

toClusterDeclaredDocumentReference

protected ClusterDeclaredDocumentReference toClusterDeclaredDocumentReference(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 DeclaredDocumentReferenceDaoImpl class if you intend to use reporting queries.

See Also:
DeclaredDocumentReferenceDao.toClusterDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

clusterDeclaredDocumentReferenceToEntityCollection

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

Specified by:
clusterDeclaredDocumentReferenceToEntityCollection in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.clusterDeclaredDocumentReferenceToEntityCollection(java.util.Collection)

toClusterDeclaredDocumentReference

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

toClusterDeclaredDocumentReference

public ClusterDeclaredDocumentReference toClusterDeclaredDocumentReference(DeclaredDocumentReference entity)
Description copied from interface: DeclaredDocumentReferenceDao
Converts this DAO's entity to an object of type ClusterDeclaredDocumentReference.

Specified by:
toClusterDeclaredDocumentReference in interface DeclaredDocumentReferenceDao
See Also:
DeclaredDocumentReferenceDao.toClusterDeclaredDocumentReference(fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

clusterDeclaredDocumentReferenceToEntity

public void clusterDeclaredDocumentReferenceToEntity(ClusterDeclaredDocumentReference source,
                                                     DeclaredDocumentReference target,
                                                     boolean copyIfNull)
Description copied from interface: DeclaredDocumentReferenceDao
Copies the fields of ClusterDeclaredDocumentReference to the specified entity.

Specified by:
clusterDeclaredDocumentReferenceToEntity in interface DeclaredDocumentReferenceDao
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.delaration.DeclaredDocumentReferenceDao#clusterDeclaredDocumentReferenceToEntity(fr.ifremer.allegro.data.survey.delaration.generic.cluster.ClusterDeclaredDocumentReference, fr.ifremer.allegro.data.survey.delaration.DeclaredDocumentReference)

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

search

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

search

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

search

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

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


Copyright © 2008-2010 IFREMER. All Rights Reserved.