fr.ifremer.allegro.referential.taxon.generic.service
Class RemoteTaxonInformationFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.referential.taxon.generic.service.RemoteTaxonInformationFullServiceBase
All Implemented Interfaces:
RemoteTaxonInformationFullService
Direct Known Subclasses:
RemoteTaxonInformationFullServiceImpl

public abstract class RemoteTaxonInformationFullServiceBase
extends java.lang.Object
implements RemoteTaxonInformationFullService

Spring Service base class for fr.ifremer.allegro.referential.taxon.generic.service.RemoteTaxonInformationFullService, provides access to all services and entities referenced by this service.

See Also:
RemoteTaxonInformationFullService

Constructor Summary
RemoteTaxonInformationFullServiceBase()
           
 
Method Summary
 ClusterTaxonInformation addOrUpdateClusterTaxonInformation(ClusterTaxonInformation clusterTaxonInformation)
           
 RemoteTaxonInformationFullVO addTaxonInformation(RemoteTaxonInformationFullVO taxonInformation)
           
 ClusterTaxonInformation[] getAllClusterTaxonInformationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteTaxonInformationFullVO[] getAllTaxonInformation()
           
 ClusterTaxonInformation getClusterTaxonInformationByIdentifiers(java.lang.Integer taxonNameId, java.lang.Integer referenceDocumentId)
           
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  ReferenceDocumentDao getReferenceDocumentDao()
          Gets the reference to referenceDocument's DAO.
 RemoteTaxonInformationFullVO getTaxonInformationByIdentifiers(java.lang.Integer taxonNameId, java.lang.Integer referenceDocumentId)
           
 RemoteTaxonInformationFullVO getTaxonInformationByNaturalId(RemoteTaxonInformationNaturalId taxonInformationNaturalId)
           
 RemoteTaxonInformationFullVO[] getTaxonInformationByReferenceDocumentId(java.lang.Integer id)
           
 RemoteTaxonInformationFullVO[] getTaxonInformationByTaxonNameId(java.lang.Integer id)
           
protected  TaxonInformationDao getTaxonInformationDao()
          Gets the reference to taxonInformation's DAO.
 RemoteTaxonInformationNaturalId[] getTaxonInformationNaturalIds()
           
protected  TaxonNameDao getTaxonNameDao()
          Gets the reference to taxonName's DAO.
protected abstract  ClusterTaxonInformation handleAddOrUpdateClusterTaxonInformation(ClusterTaxonInformation clusterTaxonInformation)
          Performs the core logic for addOrUpdateClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation)
protected abstract  RemoteTaxonInformationFullVO handleAddTaxonInformation(RemoteTaxonInformationFullVO taxonInformation)
          Performs the core logic for addTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)
protected abstract  ClusterTaxonInformation[] handleGetAllClusterTaxonInformationSinceDateSynchro(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 getAllClusterTaxonInformationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteTaxonInformationFullVO[] handleGetAllTaxonInformation()
          Performs the core logic for getAllTaxonInformation()
protected abstract  ClusterTaxonInformation handleGetClusterTaxonInformationByIdentifiers(java.lang.Integer taxonNameId, java.lang.Integer referenceDocumentId)
          Performs the core logic for getClusterTaxonInformationByIdentifiers(java.lang.Integer, java.lang.Integer)
protected abstract  RemoteTaxonInformationFullVO handleGetTaxonInformationByIdentifiers(java.lang.Integer taxonNameId, java.lang.Integer referenceDocumentId)
          Performs the core logic for getTaxonInformationByIdentifiers(java.lang.Integer, java.lang.Integer)
protected abstract  RemoteTaxonInformationFullVO handleGetTaxonInformationByNaturalId(RemoteTaxonInformationNaturalId taxonInformationNaturalId)
          Performs the core logic for getTaxonInformationByNaturalId(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationNaturalId)
protected abstract  RemoteTaxonInformationFullVO[] handleGetTaxonInformationByReferenceDocumentId(java.lang.Integer id)
          Performs the core logic for getTaxonInformationByReferenceDocumentId(java.lang.Integer)
protected abstract  RemoteTaxonInformationFullVO[] handleGetTaxonInformationByTaxonNameId(java.lang.Integer id)
          Performs the core logic for getTaxonInformationByTaxonNameId(java.lang.Integer)
protected abstract  RemoteTaxonInformationNaturalId[] handleGetTaxonInformationNaturalIds()
          Performs the core logic for getTaxonInformationNaturalIds()
protected abstract  boolean handleRemoteTaxonInformationFullVOsAreEqual(RemoteTaxonInformationFullVO remoteTaxonInformationFullVOFirst, RemoteTaxonInformationFullVO remoteTaxonInformationFullVOSecond)
          Performs the core logic for remoteTaxonInformationFullVOsAreEqual(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)
protected abstract  boolean handleRemoteTaxonInformationFullVOsAreEqualOnIdentifiers(RemoteTaxonInformationFullVO remoteTaxonInformationFullVOFirst, RemoteTaxonInformationFullVO remoteTaxonInformationFullVOSecond)
          Performs the core logic for remoteTaxonInformationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)
protected abstract  void handleRemoveTaxonInformation(RemoteTaxonInformationFullVO taxonInformation)
          Performs the core logic for removeTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)
protected abstract  void handleUpdateTaxonInformation(RemoteTaxonInformationFullVO taxonInformation)
          Performs the core logic for updateTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)
 boolean remoteTaxonInformationFullVOsAreEqual(RemoteTaxonInformationFullVO remoteTaxonInformationFullVOFirst, RemoteTaxonInformationFullVO remoteTaxonInformationFullVOSecond)
           
 boolean remoteTaxonInformationFullVOsAreEqualOnIdentifiers(RemoteTaxonInformationFullVO remoteTaxonInformationFullVOFirst, RemoteTaxonInformationFullVO remoteTaxonInformationFullVOSecond)
           
 void removeTaxonInformation(RemoteTaxonInformationFullVO taxonInformation)
           
 void setReferenceDocumentDao(ReferenceDocumentDao referenceDocumentDao)
          Sets the reference to referenceDocument's DAO.
 void setTaxonInformationDao(TaxonInformationDao taxonInformationDao)
          Sets the reference to taxonInformation's DAO.
 void setTaxonNameDao(TaxonNameDao taxonNameDao)
          Sets the reference to taxonName's DAO.
 void updateTaxonInformation(RemoteTaxonInformationFullVO taxonInformation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteTaxonInformationFullServiceBase

public RemoteTaxonInformationFullServiceBase()
Method Detail

setTaxonInformationDao

public void setTaxonInformationDao(TaxonInformationDao taxonInformationDao)
Sets the reference to taxonInformation's DAO.


getTaxonInformationDao

protected TaxonInformationDao getTaxonInformationDao()
Gets the reference to taxonInformation's DAO.


setTaxonNameDao

public void setTaxonNameDao(TaxonNameDao taxonNameDao)
Sets the reference to taxonName's DAO.


getTaxonNameDao

protected TaxonNameDao getTaxonNameDao()
Gets the reference to taxonName's DAO.


setReferenceDocumentDao

public void setReferenceDocumentDao(ReferenceDocumentDao referenceDocumentDao)
Sets the reference to referenceDocument's DAO.


getReferenceDocumentDao

protected ReferenceDocumentDao getReferenceDocumentDao()
Gets the reference to referenceDocument's DAO.


addTaxonInformation

public RemoteTaxonInformationFullVO addTaxonInformation(RemoteTaxonInformationFullVO taxonInformation)
Specified by:
addTaxonInformation in interface RemoteTaxonInformationFullService
See Also:
RemoteTaxonInformationFullService.addTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)

handleAddTaxonInformation

protected abstract RemoteTaxonInformationFullVO handleAddTaxonInformation(RemoteTaxonInformationFullVO taxonInformation)
                                                                   throws java.lang.Exception
Performs the core logic for addTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)

Throws:
java.lang.Exception

updateTaxonInformation

public void updateTaxonInformation(RemoteTaxonInformationFullVO taxonInformation)
Specified by:
updateTaxonInformation in interface RemoteTaxonInformationFullService
See Also:
RemoteTaxonInformationFullService.updateTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)

handleUpdateTaxonInformation

protected abstract void handleUpdateTaxonInformation(RemoteTaxonInformationFullVO taxonInformation)
                                              throws java.lang.Exception
Performs the core logic for updateTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)

Throws:
java.lang.Exception

removeTaxonInformation

public void removeTaxonInformation(RemoteTaxonInformationFullVO taxonInformation)
Specified by:
removeTaxonInformation in interface RemoteTaxonInformationFullService
See Also:
RemoteTaxonInformationFullService.removeTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)

handleRemoveTaxonInformation

protected abstract void handleRemoveTaxonInformation(RemoteTaxonInformationFullVO taxonInformation)
                                              throws java.lang.Exception
Performs the core logic for removeTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)

Throws:
java.lang.Exception

getAllTaxonInformation

public RemoteTaxonInformationFullVO[] getAllTaxonInformation()
Specified by:
getAllTaxonInformation in interface RemoteTaxonInformationFullService
See Also:
RemoteTaxonInformationFullService.getAllTaxonInformation()

handleGetAllTaxonInformation

protected abstract RemoteTaxonInformationFullVO[] handleGetAllTaxonInformation()
                                                                        throws java.lang.Exception
Performs the core logic for getAllTaxonInformation()

Throws:
java.lang.Exception

getTaxonInformationByTaxonNameId

public RemoteTaxonInformationFullVO[] getTaxonInformationByTaxonNameId(java.lang.Integer id)
Specified by:
getTaxonInformationByTaxonNameId in interface RemoteTaxonInformationFullService
See Also:
RemoteTaxonInformationFullService.getTaxonInformationByTaxonNameId(java.lang.Integer)

handleGetTaxonInformationByTaxonNameId

protected abstract RemoteTaxonInformationFullVO[] handleGetTaxonInformationByTaxonNameId(java.lang.Integer id)
                                                                                  throws java.lang.Exception
Performs the core logic for getTaxonInformationByTaxonNameId(java.lang.Integer)

Throws:
java.lang.Exception

getTaxonInformationByReferenceDocumentId

public RemoteTaxonInformationFullVO[] getTaxonInformationByReferenceDocumentId(java.lang.Integer id)
Specified by:
getTaxonInformationByReferenceDocumentId in interface RemoteTaxonInformationFullService
See Also:
RemoteTaxonInformationFullService.getTaxonInformationByReferenceDocumentId(java.lang.Integer)

handleGetTaxonInformationByReferenceDocumentId

protected abstract RemoteTaxonInformationFullVO[] handleGetTaxonInformationByReferenceDocumentId(java.lang.Integer id)
                                                                                          throws java.lang.Exception
Performs the core logic for getTaxonInformationByReferenceDocumentId(java.lang.Integer)

Throws:
java.lang.Exception

getTaxonInformationByIdentifiers

public RemoteTaxonInformationFullVO getTaxonInformationByIdentifiers(java.lang.Integer taxonNameId,
                                                                     java.lang.Integer referenceDocumentId)
Specified by:
getTaxonInformationByIdentifiers in interface RemoteTaxonInformationFullService
See Also:
RemoteTaxonInformationFullService.getTaxonInformationByIdentifiers(java.lang.Integer, java.lang.Integer)

handleGetTaxonInformationByIdentifiers

protected abstract RemoteTaxonInformationFullVO handleGetTaxonInformationByIdentifiers(java.lang.Integer taxonNameId,
                                                                                       java.lang.Integer referenceDocumentId)
                                                                                throws java.lang.Exception
Performs the core logic for getTaxonInformationByIdentifiers(java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

remoteTaxonInformationFullVOsAreEqualOnIdentifiers

public boolean remoteTaxonInformationFullVOsAreEqualOnIdentifiers(RemoteTaxonInformationFullVO remoteTaxonInformationFullVOFirst,
                                                                  RemoteTaxonInformationFullVO remoteTaxonInformationFullVOSecond)
Specified by:
remoteTaxonInformationFullVOsAreEqualOnIdentifiers in interface RemoteTaxonInformationFullService
See Also:
RemoteTaxonInformationFullService.remoteTaxonInformationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)

handleRemoteTaxonInformationFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteTaxonInformationFullVOsAreEqualOnIdentifiers(RemoteTaxonInformationFullVO remoteTaxonInformationFullVOFirst,
                                                                                    RemoteTaxonInformationFullVO remoteTaxonInformationFullVOSecond)
                                                                             throws java.lang.Exception
Performs the core logic for remoteTaxonInformationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)

Throws:
java.lang.Exception

remoteTaxonInformationFullVOsAreEqual

public boolean remoteTaxonInformationFullVOsAreEqual(RemoteTaxonInformationFullVO remoteTaxonInformationFullVOFirst,
                                                     RemoteTaxonInformationFullVO remoteTaxonInformationFullVOSecond)
Specified by:
remoteTaxonInformationFullVOsAreEqual in interface RemoteTaxonInformationFullService
See Also:
RemoteTaxonInformationFullService.remoteTaxonInformationFullVOsAreEqual(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)

handleRemoteTaxonInformationFullVOsAreEqual

protected abstract boolean handleRemoteTaxonInformationFullVOsAreEqual(RemoteTaxonInformationFullVO remoteTaxonInformationFullVOFirst,
                                                                       RemoteTaxonInformationFullVO remoteTaxonInformationFullVOSecond)
                                                                throws java.lang.Exception
Performs the core logic for remoteTaxonInformationFullVOsAreEqual(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationFullVO)

Throws:
java.lang.Exception

getTaxonInformationNaturalIds

public RemoteTaxonInformationNaturalId[] getTaxonInformationNaturalIds()
Specified by:
getTaxonInformationNaturalIds in interface RemoteTaxonInformationFullService
See Also:
RemoteTaxonInformationFullService.getTaxonInformationNaturalIds()

handleGetTaxonInformationNaturalIds

protected abstract RemoteTaxonInformationNaturalId[] handleGetTaxonInformationNaturalIds()
                                                                                  throws java.lang.Exception
Performs the core logic for getTaxonInformationNaturalIds()

Throws:
java.lang.Exception

getTaxonInformationByNaturalId

public RemoteTaxonInformationFullVO getTaxonInformationByNaturalId(RemoteTaxonInformationNaturalId taxonInformationNaturalId)
Specified by:
getTaxonInformationByNaturalId in interface RemoteTaxonInformationFullService
See Also:
RemoteTaxonInformationFullService.getTaxonInformationByNaturalId(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationNaturalId)

handleGetTaxonInformationByNaturalId

protected abstract RemoteTaxonInformationFullVO handleGetTaxonInformationByNaturalId(RemoteTaxonInformationNaturalId taxonInformationNaturalId)
                                                                              throws java.lang.Exception
Performs the core logic for getTaxonInformationByNaturalId(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteTaxonInformationNaturalId)

Throws:
java.lang.Exception

addOrUpdateClusterTaxonInformation

public ClusterTaxonInformation addOrUpdateClusterTaxonInformation(ClusterTaxonInformation clusterTaxonInformation)
Specified by:
addOrUpdateClusterTaxonInformation in interface RemoteTaxonInformationFullService
See Also:
RemoteTaxonInformationFullService.addOrUpdateClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation)

handleAddOrUpdateClusterTaxonInformation

protected abstract ClusterTaxonInformation handleAddOrUpdateClusterTaxonInformation(ClusterTaxonInformation clusterTaxonInformation)
                                                                             throws java.lang.Exception
Performs the core logic for addOrUpdateClusterTaxonInformation(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterTaxonInformation)

Throws:
java.lang.Exception

getAllClusterTaxonInformationSinceDateSynchro

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

handleGetAllClusterTaxonInformationSinceDateSynchro

protected abstract ClusterTaxonInformation[] handleGetAllClusterTaxonInformationSinceDateSynchro(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 getAllClusterTaxonInformationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterTaxonInformationByIdentifiers

public ClusterTaxonInformation getClusterTaxonInformationByIdentifiers(java.lang.Integer taxonNameId,
                                                                       java.lang.Integer referenceDocumentId)
Specified by:
getClusterTaxonInformationByIdentifiers in interface RemoteTaxonInformationFullService
See Also:
RemoteTaxonInformationFullService.getClusterTaxonInformationByIdentifiers(java.lang.Integer, java.lang.Integer)

handleGetClusterTaxonInformationByIdentifiers

protected abstract ClusterTaxonInformation handleGetClusterTaxonInformationByIdentifiers(java.lang.Integer taxonNameId,
                                                                                         java.lang.Integer referenceDocumentId)
                                                                                  throws java.lang.Exception
Performs the core logic for getClusterTaxonInformationByIdentifiers(java.lang.Integer, java.lang.Integer)

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.