fr.ifremer.allegro.data.sample.generic.service
Class RemoteSampleFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.data.sample.generic.service.RemoteSampleFullServiceBase
All Implemented Interfaces:
RemoteSampleFullService
Direct Known Subclasses:
RemoteSampleFullServiceImpl

public abstract class RemoteSampleFullServiceBase
extends java.lang.Object
implements RemoteSampleFullService

Spring Service base class for fr.ifremer.allegro.data.sample.generic.service.RemoteSampleFullService, provides access to all services and entities referenced by this service.

See Also:
RemoteSampleFullService

Constructor Summary
RemoteSampleFullServiceBase()
           
 
Method Summary
 ClusterSample addOrUpdateClusterSample(ClusterSample clusterSample)
           
 RemoteSampleFullVO addSample(RemoteSampleFullVO sample)
           
 ClusterSample[] getAllClusterSampleSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteSampleFullVO[] getAllSample()
           
protected  BatchDao getBatchDao()
          Gets the reference to batch's DAO.
 ClusterSample getClusterSampleByIdentifiers(java.lang.Integer id)
           
protected  DepartmentDao getDepartmentDao()
          Gets the reference to department's DAO.
protected  FishingAreaDao getFishingAreaDao()
          Gets the reference to fishingArea's DAO.
protected  FishingOperationDao getFishingOperationDao()
          Gets the reference to fishingOperation's DAO.
protected  MatrixDao getMatrixDao()
          Gets the reference to matrix's DAO.
protected  java.lang.String getMessage(java.lang.String key)
          Gets the message having the given key in the underlying message bundle.
protected  java.lang.String getMessage(java.lang.String key, java.lang.Object[] arguments)
          Gets the message having the given key and arguments in the underlying message bundle.
protected  java.lang.String getMessage(java.lang.String key, java.lang.Object[] arguments, java.util.Locale locale)
          Gets the message having the given key using the given arguments for the given locale.
protected  org.springframework.context.MessageSource getMessages()
          Gets the message source available to this service.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  ProgramDao getProgramDao()
          Gets the reference to program's DAO.
protected  QualityFlagDao getQualityFlagDao()
          Gets the reference to qualityFlag's DAO.
protected  ReferenceTaxonDao getReferenceTaxonDao()
          Gets the reference to referenceTaxon's DAO.
 RemoteSampleFullVO[] getSampleByBatchId(java.lang.Integer id)
           
 RemoteSampleFullVO[] getSampleByFishingOperationId(java.lang.Integer id)
           
 RemoteSampleFullVO getSampleById(java.lang.Integer id)
           
 RemoteSampleFullVO[] getSampleByIds(java.lang.Integer[] id)
           
 RemoteSampleFullVO[] getSampleByMatrixId(java.lang.Integer id)
           
 RemoteSampleFullVO getSampleByNaturalId(RemoteSampleNaturalId sampleNaturalId)
           
 RemoteSampleFullVO[] getSampleByParentSampleId(java.lang.Integer id)
           
 RemoteSampleFullVO[] getSampleByProgramCode(java.lang.String code)
           
 RemoteSampleFullVO[] getSampleByQualityFlagCode(java.lang.String code)
           
 RemoteSampleFullVO[] getSampleByRecorderDepartmentId(java.lang.Integer id)
           
 RemoteSampleFullVO[] getSampleByRecorderUserId(java.lang.Integer id)
           
 RemoteSampleFullVO[] getSampleByReferenceTaxonId(java.lang.Integer id)
           
 RemoteSampleFullVO[] getSampleBySizeUnitId(java.lang.Integer id)
           
 RemoteSampleFullVO[] getSampleByTaxonGroupId(java.lang.Integer id)
           
protected  SampleDao getSampleDao()
          Gets the reference to sample's DAO.
protected  SampleMeasurementDao getSampleMeasurementDao()
          Gets the reference to sampleMeasurement's DAO.
 RemoteSampleNaturalId getSampleNaturalIdById(java.lang.Integer id)
           
 RemoteSampleNaturalId[] getSampleNaturalIds()
           
protected  TaxonGroupDao getTaxonGroupDao()
          Gets the reference to taxonGroup's DAO.
protected  UnitDao getUnitDao()
          Gets the reference to unit's DAO.
protected  UserDao getUserDao()
          Gets the reference to user's DAO.
protected abstract  ClusterSample handleAddOrUpdateClusterSample(ClusterSample clusterSample)
          Performs the core logic for addOrUpdateClusterSample(fr.ifremer.allegro.data.sample.generic.cluster.ClusterSample)
protected abstract  RemoteSampleFullVO handleAddSample(RemoteSampleFullVO sample)
          Performs the core logic for addSample(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)
protected abstract  ClusterSample[] handleGetAllClusterSampleSinceDateSynchro(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 getAllClusterSampleSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteSampleFullVO[] handleGetAllSample()
          Performs the core logic for getAllSample()
protected abstract  ClusterSample handleGetClusterSampleByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterSampleByIdentifiers(java.lang.Integer)
protected abstract  RemoteSampleFullVO[] handleGetSampleByBatchId(java.lang.Integer id)
          Performs the core logic for getSampleByBatchId(java.lang.Integer)
protected abstract  RemoteSampleFullVO[] handleGetSampleByFishingOperationId(java.lang.Integer id)
          Performs the core logic for getSampleByFishingOperationId(java.lang.Integer)
protected abstract  RemoteSampleFullVO handleGetSampleById(java.lang.Integer id)
          Performs the core logic for getSampleById(java.lang.Integer)
protected abstract  RemoteSampleFullVO[] handleGetSampleByIds(java.lang.Integer[] id)
          Performs the core logic for getSampleByIds(java.lang.Integer[])
protected abstract  RemoteSampleFullVO[] handleGetSampleByMatrixId(java.lang.Integer id)
          Performs the core logic for getSampleByMatrixId(java.lang.Integer)
protected abstract  RemoteSampleFullVO handleGetSampleByNaturalId(RemoteSampleNaturalId sampleNaturalId)
          Performs the core logic for getSampleByNaturalId(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleNaturalId)
protected abstract  RemoteSampleFullVO[] handleGetSampleByParentSampleId(java.lang.Integer id)
          Performs the core logic for getSampleByParentSampleId(java.lang.Integer)
protected abstract  RemoteSampleFullVO[] handleGetSampleByProgramCode(java.lang.String code)
          Performs the core logic for getSampleByProgramCode(java.lang.String)
protected abstract  RemoteSampleFullVO[] handleGetSampleByQualityFlagCode(java.lang.String code)
          Performs the core logic for getSampleByQualityFlagCode(java.lang.String)
protected abstract  RemoteSampleFullVO[] handleGetSampleByRecorderDepartmentId(java.lang.Integer id)
          Performs the core logic for getSampleByRecorderDepartmentId(java.lang.Integer)
protected abstract  RemoteSampleFullVO[] handleGetSampleByRecorderUserId(java.lang.Integer id)
          Performs the core logic for getSampleByRecorderUserId(java.lang.Integer)
protected abstract  RemoteSampleFullVO[] handleGetSampleByReferenceTaxonId(java.lang.Integer id)
          Performs the core logic for getSampleByReferenceTaxonId(java.lang.Integer)
protected abstract  RemoteSampleFullVO[] handleGetSampleBySizeUnitId(java.lang.Integer id)
          Performs the core logic for getSampleBySizeUnitId(java.lang.Integer)
protected abstract  RemoteSampleFullVO[] handleGetSampleByTaxonGroupId(java.lang.Integer id)
          Performs the core logic for getSampleByTaxonGroupId(java.lang.Integer)
protected abstract  RemoteSampleNaturalId handleGetSampleNaturalIdById(java.lang.Integer id)
          Performs the core logic for getSampleNaturalIdById(java.lang.Integer)
protected abstract  RemoteSampleNaturalId[] handleGetSampleNaturalIds()
          Performs the core logic for getSampleNaturalIds()
protected abstract  boolean handleRemoteSampleFullVOsAreEqual(RemoteSampleFullVO remoteSampleFullVOFirst, RemoteSampleFullVO remoteSampleFullVOSecond)
          Performs the core logic for remoteSampleFullVOsAreEqual(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO, fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)
protected abstract  boolean handleRemoteSampleFullVOsAreEqualOnIdentifiers(RemoteSampleFullVO remoteSampleFullVOFirst, RemoteSampleFullVO remoteSampleFullVOSecond)
          Performs the core logic for remoteSampleFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO, fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)
protected abstract  void handleRemoveSample(RemoteSampleFullVO sample)
          Performs the core logic for removeSample(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)
protected abstract  void handleUpdateSample(RemoteSampleFullVO sample)
          Performs the core logic for updateSample(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)
 boolean remoteSampleFullVOsAreEqual(RemoteSampleFullVO remoteSampleFullVOFirst, RemoteSampleFullVO remoteSampleFullVOSecond)
           
 boolean remoteSampleFullVOsAreEqualOnIdentifiers(RemoteSampleFullVO remoteSampleFullVOFirst, RemoteSampleFullVO remoteSampleFullVOSecond)
           
 void removeSample(RemoteSampleFullVO sample)
           
 void setBatchDao(BatchDao batchDao)
          Sets the reference to batch's DAO.
 void setDepartmentDao(DepartmentDao departmentDao)
          Sets the reference to department's DAO.
 void setFishingAreaDao(FishingAreaDao fishingAreaDao)
          Sets the reference to fishingArea's DAO.
 void setFishingOperationDao(FishingOperationDao fishingOperationDao)
          Sets the reference to fishingOperation's DAO.
 void setMatrixDao(MatrixDao matrixDao)
          Sets the reference to matrix's DAO.
 void setProgramDao(ProgramDao programDao)
          Sets the reference to program's DAO.
 void setQualityFlagDao(QualityFlagDao qualityFlagDao)
          Sets the reference to qualityFlag's DAO.
 void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
          Sets the reference to referenceTaxon's DAO.
 void setSampleDao(SampleDao sampleDao)
          Sets the reference to sample's DAO.
 void setSampleMeasurementDao(SampleMeasurementDao sampleMeasurementDao)
          Sets the reference to sampleMeasurement's DAO.
 void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
          Sets the reference to taxonGroup's DAO.
 void setUnitDao(UnitDao unitDao)
          Sets the reference to unit's DAO.
 void setUserDao(UserDao userDao)
          Sets the reference to user's DAO.
 void updateSample(RemoteSampleFullVO sample)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteSampleFullServiceBase

public RemoteSampleFullServiceBase()
Method Detail

setSampleDao

public void setSampleDao(SampleDao sampleDao)
Sets the reference to sample's DAO.


getSampleDao

protected SampleDao getSampleDao()
Gets the reference to sample's DAO.


setMatrixDao

public void setMatrixDao(MatrixDao matrixDao)
Sets the reference to matrix's DAO.


getMatrixDao

protected MatrixDao getMatrixDao()
Gets the reference to matrix's DAO.


setUnitDao

public void setUnitDao(UnitDao unitDao)
Sets the reference to unit's DAO.


getUnitDao

protected UnitDao getUnitDao()
Gets the reference to unit's DAO.


setBatchDao

public void setBatchDao(BatchDao batchDao)
Sets the reference to batch's DAO.


getBatchDao

protected BatchDao getBatchDao()
Gets the reference to batch's DAO.


setFishingOperationDao

public void setFishingOperationDao(FishingOperationDao fishingOperationDao)
Sets the reference to fishingOperation's DAO.


getFishingOperationDao

protected FishingOperationDao getFishingOperationDao()
Gets the reference to fishingOperation's DAO.


setTaxonGroupDao

public void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
Sets the reference to taxonGroup's DAO.


getTaxonGroupDao

protected TaxonGroupDao getTaxonGroupDao()
Gets the reference to taxonGroup's DAO.


setReferenceTaxonDao

public void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
Sets the reference to referenceTaxon's DAO.


getReferenceTaxonDao

protected ReferenceTaxonDao getReferenceTaxonDao()
Gets the reference to referenceTaxon's DAO.


setSampleMeasurementDao

public void setSampleMeasurementDao(SampleMeasurementDao sampleMeasurementDao)
Sets the reference to sampleMeasurement's DAO.


getSampleMeasurementDao

protected SampleMeasurementDao getSampleMeasurementDao()
Gets the reference to sampleMeasurement's DAO.


setDepartmentDao

public void setDepartmentDao(DepartmentDao departmentDao)
Sets the reference to department's DAO.


getDepartmentDao

protected DepartmentDao getDepartmentDao()
Gets the reference to department's DAO.


setUserDao

public void setUserDao(UserDao userDao)
Sets the reference to user's DAO.


getUserDao

protected UserDao getUserDao()
Gets the reference to user's DAO.


setProgramDao

public void setProgramDao(ProgramDao programDao)
Sets the reference to program's DAO.


getProgramDao

protected ProgramDao getProgramDao()
Gets the reference to program's DAO.


setQualityFlagDao

public void setQualityFlagDao(QualityFlagDao qualityFlagDao)
Sets the reference to qualityFlag's DAO.


getQualityFlagDao

protected QualityFlagDao getQualityFlagDao()
Gets the reference to qualityFlag's DAO.


setFishingAreaDao

public void setFishingAreaDao(FishingAreaDao fishingAreaDao)
Sets the reference to fishingArea's DAO.


getFishingAreaDao

protected FishingAreaDao getFishingAreaDao()
Gets the reference to fishingArea's DAO.


addSample

public RemoteSampleFullVO addSample(RemoteSampleFullVO sample)
Specified by:
addSample in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.addSample(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)

handleAddSample

protected abstract RemoteSampleFullVO handleAddSample(RemoteSampleFullVO sample)
                                               throws java.lang.Exception
Performs the core logic for addSample(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)

Throws:
java.lang.Exception

updateSample

public void updateSample(RemoteSampleFullVO sample)
Specified by:
updateSample in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.updateSample(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)

handleUpdateSample

protected abstract void handleUpdateSample(RemoteSampleFullVO sample)
                                    throws java.lang.Exception
Performs the core logic for updateSample(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)

Throws:
java.lang.Exception

removeSample

public void removeSample(RemoteSampleFullVO sample)
Specified by:
removeSample in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.removeSample(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)

handleRemoveSample

protected abstract void handleRemoveSample(RemoteSampleFullVO sample)
                                    throws java.lang.Exception
Performs the core logic for removeSample(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)

Throws:
java.lang.Exception

getAllSample

public RemoteSampleFullVO[] getAllSample()
Specified by:
getAllSample in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getAllSample()

handleGetAllSample

protected abstract RemoteSampleFullVO[] handleGetAllSample()
                                                    throws java.lang.Exception
Performs the core logic for getAllSample()

Throws:
java.lang.Exception

getSampleById

public RemoteSampleFullVO getSampleById(java.lang.Integer id)
Specified by:
getSampleById in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleById(java.lang.Integer)

handleGetSampleById

protected abstract RemoteSampleFullVO handleGetSampleById(java.lang.Integer id)
                                                   throws java.lang.Exception
Performs the core logic for getSampleById(java.lang.Integer)

Throws:
java.lang.Exception

getSampleByIds

public RemoteSampleFullVO[] getSampleByIds(java.lang.Integer[] id)
Specified by:
getSampleByIds in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleByIds(java.lang.Integer[])

handleGetSampleByIds

protected abstract RemoteSampleFullVO[] handleGetSampleByIds(java.lang.Integer[] id)
                                                      throws java.lang.Exception
Performs the core logic for getSampleByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getSampleByMatrixId

public RemoteSampleFullVO[] getSampleByMatrixId(java.lang.Integer id)
Specified by:
getSampleByMatrixId in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleByMatrixId(java.lang.Integer)

handleGetSampleByMatrixId

protected abstract RemoteSampleFullVO[] handleGetSampleByMatrixId(java.lang.Integer id)
                                                           throws java.lang.Exception
Performs the core logic for getSampleByMatrixId(java.lang.Integer)

Throws:
java.lang.Exception

getSampleBySizeUnitId

public RemoteSampleFullVO[] getSampleBySizeUnitId(java.lang.Integer id)
Specified by:
getSampleBySizeUnitId in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleBySizeUnitId(java.lang.Integer)

handleGetSampleBySizeUnitId

protected abstract RemoteSampleFullVO[] handleGetSampleBySizeUnitId(java.lang.Integer id)
                                                             throws java.lang.Exception
Performs the core logic for getSampleBySizeUnitId(java.lang.Integer)

Throws:
java.lang.Exception

getSampleByBatchId

public RemoteSampleFullVO[] getSampleByBatchId(java.lang.Integer id)
Specified by:
getSampleByBatchId in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleByBatchId(java.lang.Integer)

handleGetSampleByBatchId

protected abstract RemoteSampleFullVO[] handleGetSampleByBatchId(java.lang.Integer id)
                                                          throws java.lang.Exception
Performs the core logic for getSampleByBatchId(java.lang.Integer)

Throws:
java.lang.Exception

getSampleByFishingOperationId

public RemoteSampleFullVO[] getSampleByFishingOperationId(java.lang.Integer id)
Specified by:
getSampleByFishingOperationId in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleByFishingOperationId(java.lang.Integer)

handleGetSampleByFishingOperationId

protected abstract RemoteSampleFullVO[] handleGetSampleByFishingOperationId(java.lang.Integer id)
                                                                     throws java.lang.Exception
Performs the core logic for getSampleByFishingOperationId(java.lang.Integer)

Throws:
java.lang.Exception

getSampleByTaxonGroupId

public RemoteSampleFullVO[] getSampleByTaxonGroupId(java.lang.Integer id)
Specified by:
getSampleByTaxonGroupId in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleByTaxonGroupId(java.lang.Integer)

handleGetSampleByTaxonGroupId

protected abstract RemoteSampleFullVO[] handleGetSampleByTaxonGroupId(java.lang.Integer id)
                                                               throws java.lang.Exception
Performs the core logic for getSampleByTaxonGroupId(java.lang.Integer)

Throws:
java.lang.Exception

getSampleByReferenceTaxonId

public RemoteSampleFullVO[] getSampleByReferenceTaxonId(java.lang.Integer id)
Specified by:
getSampleByReferenceTaxonId in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleByReferenceTaxonId(java.lang.Integer)

handleGetSampleByReferenceTaxonId

protected abstract RemoteSampleFullVO[] handleGetSampleByReferenceTaxonId(java.lang.Integer id)
                                                                   throws java.lang.Exception
Performs the core logic for getSampleByReferenceTaxonId(java.lang.Integer)

Throws:
java.lang.Exception

getSampleByRecorderDepartmentId

public RemoteSampleFullVO[] getSampleByRecorderDepartmentId(java.lang.Integer id)
Specified by:
getSampleByRecorderDepartmentId in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleByRecorderDepartmentId(java.lang.Integer)

handleGetSampleByRecorderDepartmentId

protected abstract RemoteSampleFullVO[] handleGetSampleByRecorderDepartmentId(java.lang.Integer id)
                                                                       throws java.lang.Exception
Performs the core logic for getSampleByRecorderDepartmentId(java.lang.Integer)

Throws:
java.lang.Exception

getSampleByRecorderUserId

public RemoteSampleFullVO[] getSampleByRecorderUserId(java.lang.Integer id)
Specified by:
getSampleByRecorderUserId in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleByRecorderUserId(java.lang.Integer)

handleGetSampleByRecorderUserId

protected abstract RemoteSampleFullVO[] handleGetSampleByRecorderUserId(java.lang.Integer id)
                                                                 throws java.lang.Exception
Performs the core logic for getSampleByRecorderUserId(java.lang.Integer)

Throws:
java.lang.Exception

getSampleByParentSampleId

public RemoteSampleFullVO[] getSampleByParentSampleId(java.lang.Integer id)
Specified by:
getSampleByParentSampleId in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleByParentSampleId(java.lang.Integer)

handleGetSampleByParentSampleId

protected abstract RemoteSampleFullVO[] handleGetSampleByParentSampleId(java.lang.Integer id)
                                                                 throws java.lang.Exception
Performs the core logic for getSampleByParentSampleId(java.lang.Integer)

Throws:
java.lang.Exception

getSampleByProgramCode

public RemoteSampleFullVO[] getSampleByProgramCode(java.lang.String code)
Specified by:
getSampleByProgramCode in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleByProgramCode(java.lang.String)

handleGetSampleByProgramCode

protected abstract RemoteSampleFullVO[] handleGetSampleByProgramCode(java.lang.String code)
                                                              throws java.lang.Exception
Performs the core logic for getSampleByProgramCode(java.lang.String)

Throws:
java.lang.Exception

getSampleByQualityFlagCode

public RemoteSampleFullVO[] getSampleByQualityFlagCode(java.lang.String code)
Specified by:
getSampleByQualityFlagCode in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleByQualityFlagCode(java.lang.String)

handleGetSampleByQualityFlagCode

protected abstract RemoteSampleFullVO[] handleGetSampleByQualityFlagCode(java.lang.String code)
                                                                  throws java.lang.Exception
Performs the core logic for getSampleByQualityFlagCode(java.lang.String)

Throws:
java.lang.Exception

remoteSampleFullVOsAreEqualOnIdentifiers

public boolean remoteSampleFullVOsAreEqualOnIdentifiers(RemoteSampleFullVO remoteSampleFullVOFirst,
                                                        RemoteSampleFullVO remoteSampleFullVOSecond)
Specified by:
remoteSampleFullVOsAreEqualOnIdentifiers in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.remoteSampleFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO, fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)

handleRemoteSampleFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteSampleFullVOsAreEqualOnIdentifiers(RemoteSampleFullVO remoteSampleFullVOFirst,
                                                                          RemoteSampleFullVO remoteSampleFullVOSecond)
                                                                   throws java.lang.Exception
Performs the core logic for remoteSampleFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO, fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)

Throws:
java.lang.Exception

remoteSampleFullVOsAreEqual

public boolean remoteSampleFullVOsAreEqual(RemoteSampleFullVO remoteSampleFullVOFirst,
                                           RemoteSampleFullVO remoteSampleFullVOSecond)
Specified by:
remoteSampleFullVOsAreEqual in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.remoteSampleFullVOsAreEqual(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO, fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)

handleRemoteSampleFullVOsAreEqual

protected abstract boolean handleRemoteSampleFullVOsAreEqual(RemoteSampleFullVO remoteSampleFullVOFirst,
                                                             RemoteSampleFullVO remoteSampleFullVOSecond)
                                                      throws java.lang.Exception
Performs the core logic for remoteSampleFullVOsAreEqual(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO, fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleFullVO)

Throws:
java.lang.Exception

getSampleNaturalIds

public RemoteSampleNaturalId[] getSampleNaturalIds()
Specified by:
getSampleNaturalIds in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleNaturalIds()

handleGetSampleNaturalIds

protected abstract RemoteSampleNaturalId[] handleGetSampleNaturalIds()
                                                              throws java.lang.Exception
Performs the core logic for getSampleNaturalIds()

Throws:
java.lang.Exception

getSampleByNaturalId

public RemoteSampleFullVO getSampleByNaturalId(RemoteSampleNaturalId sampleNaturalId)
Specified by:
getSampleByNaturalId in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleByNaturalId(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleNaturalId)

handleGetSampleByNaturalId

protected abstract RemoteSampleFullVO handleGetSampleByNaturalId(RemoteSampleNaturalId sampleNaturalId)
                                                          throws java.lang.Exception
Performs the core logic for getSampleByNaturalId(fr.ifremer.allegro.data.sample.generic.vo.RemoteSampleNaturalId)

Throws:
java.lang.Exception

getSampleNaturalIdById

public RemoteSampleNaturalId getSampleNaturalIdById(java.lang.Integer id)
Specified by:
getSampleNaturalIdById in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getSampleNaturalIdById(java.lang.Integer)

handleGetSampleNaturalIdById

protected abstract RemoteSampleNaturalId handleGetSampleNaturalIdById(java.lang.Integer id)
                                                               throws java.lang.Exception
Performs the core logic for getSampleNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

getAllClusterSampleSinceDateSynchro

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

handleGetAllClusterSampleSinceDateSynchro

protected abstract ClusterSample[] handleGetAllClusterSampleSinceDateSynchro(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 getAllClusterSampleSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterSampleByIdentifiers

public ClusterSample getClusterSampleByIdentifiers(java.lang.Integer id)
Specified by:
getClusterSampleByIdentifiers in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.getClusterSampleByIdentifiers(java.lang.Integer)

handleGetClusterSampleByIdentifiers

protected abstract ClusterSample handleGetClusterSampleByIdentifiers(java.lang.Integer id)
                                                              throws java.lang.Exception
Performs the core logic for getClusterSampleByIdentifiers(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterSample

public ClusterSample addOrUpdateClusterSample(ClusterSample clusterSample)
Specified by:
addOrUpdateClusterSample in interface RemoteSampleFullService
See Also:
RemoteSampleFullService.addOrUpdateClusterSample(fr.ifremer.allegro.data.sample.generic.cluster.ClusterSample)

handleAddOrUpdateClusterSample

protected abstract ClusterSample handleAddOrUpdateClusterSample(ClusterSample clusterSample)
                                                         throws java.lang.Exception
Performs the core logic for addOrUpdateClusterSample(fr.ifremer.allegro.data.sample.generic.cluster.ClusterSample)

Throws:
java.lang.Exception

getPrincipal

protected java.security.Principal getPrincipal()
Gets the current principal if one has been set, otherwise returns null.

Returns:
the current principal

getMessages

protected org.springframework.context.MessageSource getMessages()
Gets the message source available to this service.


getMessage

protected java.lang.String getMessage(java.lang.String key)
Gets the message having the given key in the underlying message bundle.

Parameters:
key - the key of the message in the messages.properties message bundle.

getMessage

protected java.lang.String getMessage(java.lang.String key,
                                      java.lang.Object[] arguments)
Gets the message having the given key and arguments in the underlying message bundle.

Parameters:
key - the key of the message in the messages.properties message bundle.
arguments - any arguments to substitute when resolving the message.

getMessage

protected java.lang.String getMessage(java.lang.String key,
                                      java.lang.Object[] arguments,
                                      java.util.Locale locale)
Gets the message having the given key using the given arguments for the given locale.

Parameters:
key - the key of the message in the messages.properties message bundle.
arguments - any arguments to substitute when resolving the message.
locale - the locale of the messages to retrieve.


Copyright © 2008-2010 IFREMER. All Rights Reserved.