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

java.lang.Object
  extended by fr.ifremer.allegro.referential.taxon.generic.service.RemoteReferenceTaxonFullServiceBase
All Implemented Interfaces:
RemoteReferenceTaxonFullService
Direct Known Subclasses:
RemoteReferenceTaxonFullServiceImpl

public abstract class RemoteReferenceTaxonFullServiceBase
extends java.lang.Object
implements RemoteReferenceTaxonFullService

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

See Also:
RemoteReferenceTaxonFullService

Constructor Summary
RemoteReferenceTaxonFullServiceBase()
           
 
Method Summary
 ClusterReferenceTaxon addOrUpdateClusterReferenceTaxon(ClusterReferenceTaxon clusterReferenceTaxon)
           
 RemoteReferenceTaxonFullVO addReferenceTaxon(RemoteReferenceTaxonFullVO referenceTaxon)
           
 ClusterReferenceTaxon[] getAllClusterReferenceTaxonSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteReferenceTaxonFullVO[] getAllReferenceTaxon()
           
 ClusterReferenceTaxon getClusterReferenceTaxonByIdentifiers(java.lang.Integer id)
           
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.
 RemoteReferenceTaxonFullVO getReferenceTaxonById(java.lang.Integer id)
           
 RemoteReferenceTaxonFullVO[] getReferenceTaxonByIds(java.lang.Integer[] id)
           
 RemoteReferenceTaxonFullVO getReferenceTaxonByNaturalId(RemoteReferenceTaxonNaturalId referenceTaxonNaturalId)
           
protected  ReferenceTaxonDao getReferenceTaxonDao()
          Gets the reference to referenceTaxon's DAO.
 RemoteReferenceTaxonNaturalId getReferenceTaxonNaturalIdById(java.lang.Integer id)
           
 RemoteReferenceTaxonNaturalId[] getReferenceTaxonNaturalIds()
           
protected abstract  ClusterReferenceTaxon handleAddOrUpdateClusterReferenceTaxon(ClusterReferenceTaxon clusterReferenceTaxon)
          Performs the core logic for addOrUpdateClusterReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceTaxon)
protected abstract  RemoteReferenceTaxonFullVO handleAddReferenceTaxon(RemoteReferenceTaxonFullVO referenceTaxon)
          Performs the core logic for addReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)
protected abstract  ClusterReferenceTaxon[] handleGetAllClusterReferenceTaxonSinceDateSynchro(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 getAllClusterReferenceTaxonSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteReferenceTaxonFullVO[] handleGetAllReferenceTaxon()
          Performs the core logic for getAllReferenceTaxon()
protected abstract  ClusterReferenceTaxon handleGetClusterReferenceTaxonByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterReferenceTaxonByIdentifiers(java.lang.Integer)
protected abstract  RemoteReferenceTaxonFullVO handleGetReferenceTaxonById(java.lang.Integer id)
          Performs the core logic for getReferenceTaxonById(java.lang.Integer)
protected abstract  RemoteReferenceTaxonFullVO[] handleGetReferenceTaxonByIds(java.lang.Integer[] id)
          Performs the core logic for getReferenceTaxonByIds(java.lang.Integer[])
protected abstract  RemoteReferenceTaxonFullVO handleGetReferenceTaxonByNaturalId(RemoteReferenceTaxonNaturalId referenceTaxonNaturalId)
          Performs the core logic for getReferenceTaxonByNaturalId(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonNaturalId)
protected abstract  RemoteReferenceTaxonNaturalId handleGetReferenceTaxonNaturalIdById(java.lang.Integer id)
          Performs the core logic for getReferenceTaxonNaturalIdById(java.lang.Integer)
protected abstract  RemoteReferenceTaxonNaturalId[] handleGetReferenceTaxonNaturalIds()
          Performs the core logic for getReferenceTaxonNaturalIds()
protected abstract  boolean handleRemoteReferenceTaxonFullVOsAreEqual(RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOFirst, RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOSecond)
          Performs the core logic for remoteReferenceTaxonFullVOsAreEqual(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)
protected abstract  boolean handleRemoteReferenceTaxonFullVOsAreEqualOnIdentifiers(RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOFirst, RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOSecond)
          Performs the core logic for remoteReferenceTaxonFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)
protected abstract  void handleRemoveReferenceTaxon(RemoteReferenceTaxonFullVO referenceTaxon)
          Performs the core logic for removeReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)
protected abstract  void handleUpdateReferenceTaxon(RemoteReferenceTaxonFullVO referenceTaxon)
          Performs the core logic for updateReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)
 boolean remoteReferenceTaxonFullVOsAreEqual(RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOFirst, RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOSecond)
           
 boolean remoteReferenceTaxonFullVOsAreEqualOnIdentifiers(RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOFirst, RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOSecond)
           
 void removeReferenceTaxon(RemoteReferenceTaxonFullVO referenceTaxon)
           
 void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
          Sets the reference to referenceTaxon's DAO.
 void updateReferenceTaxon(RemoteReferenceTaxonFullVO referenceTaxon)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteReferenceTaxonFullServiceBase

public RemoteReferenceTaxonFullServiceBase()
Method Detail

setReferenceTaxonDao

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


getReferenceTaxonDao

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


addReferenceTaxon

public RemoteReferenceTaxonFullVO addReferenceTaxon(RemoteReferenceTaxonFullVO referenceTaxon)
Specified by:
addReferenceTaxon in interface RemoteReferenceTaxonFullService
See Also:
RemoteReferenceTaxonFullService.addReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)

handleAddReferenceTaxon

protected abstract RemoteReferenceTaxonFullVO handleAddReferenceTaxon(RemoteReferenceTaxonFullVO referenceTaxon)
                                                               throws java.lang.Exception
Performs the core logic for addReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)

Throws:
java.lang.Exception

updateReferenceTaxon

public void updateReferenceTaxon(RemoteReferenceTaxonFullVO referenceTaxon)
Specified by:
updateReferenceTaxon in interface RemoteReferenceTaxonFullService
See Also:
RemoteReferenceTaxonFullService.updateReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)

handleUpdateReferenceTaxon

protected abstract void handleUpdateReferenceTaxon(RemoteReferenceTaxonFullVO referenceTaxon)
                                            throws java.lang.Exception
Performs the core logic for updateReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)

Throws:
java.lang.Exception

removeReferenceTaxon

public void removeReferenceTaxon(RemoteReferenceTaxonFullVO referenceTaxon)
Specified by:
removeReferenceTaxon in interface RemoteReferenceTaxonFullService
See Also:
RemoteReferenceTaxonFullService.removeReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)

handleRemoveReferenceTaxon

protected abstract void handleRemoveReferenceTaxon(RemoteReferenceTaxonFullVO referenceTaxon)
                                            throws java.lang.Exception
Performs the core logic for removeReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)

Throws:
java.lang.Exception

getAllReferenceTaxon

public RemoteReferenceTaxonFullVO[] getAllReferenceTaxon()
Specified by:
getAllReferenceTaxon in interface RemoteReferenceTaxonFullService
See Also:
RemoteReferenceTaxonFullService.getAllReferenceTaxon()

handleGetAllReferenceTaxon

protected abstract RemoteReferenceTaxonFullVO[] handleGetAllReferenceTaxon()
                                                                    throws java.lang.Exception
Performs the core logic for getAllReferenceTaxon()

Throws:
java.lang.Exception

getReferenceTaxonById

public RemoteReferenceTaxonFullVO getReferenceTaxonById(java.lang.Integer id)
Specified by:
getReferenceTaxonById in interface RemoteReferenceTaxonFullService
See Also:
RemoteReferenceTaxonFullService.getReferenceTaxonById(java.lang.Integer)

handleGetReferenceTaxonById

protected abstract RemoteReferenceTaxonFullVO handleGetReferenceTaxonById(java.lang.Integer id)
                                                                   throws java.lang.Exception
Performs the core logic for getReferenceTaxonById(java.lang.Integer)

Throws:
java.lang.Exception

getReferenceTaxonByIds

public RemoteReferenceTaxonFullVO[] getReferenceTaxonByIds(java.lang.Integer[] id)
Specified by:
getReferenceTaxonByIds in interface RemoteReferenceTaxonFullService
See Also:
RemoteReferenceTaxonFullService.getReferenceTaxonByIds(java.lang.Integer[])

handleGetReferenceTaxonByIds

protected abstract RemoteReferenceTaxonFullVO[] handleGetReferenceTaxonByIds(java.lang.Integer[] id)
                                                                      throws java.lang.Exception
Performs the core logic for getReferenceTaxonByIds(java.lang.Integer[])

Throws:
java.lang.Exception

remoteReferenceTaxonFullVOsAreEqualOnIdentifiers

public boolean remoteReferenceTaxonFullVOsAreEqualOnIdentifiers(RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOFirst,
                                                                RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOSecond)
Specified by:
remoteReferenceTaxonFullVOsAreEqualOnIdentifiers in interface RemoteReferenceTaxonFullService
See Also:
RemoteReferenceTaxonFullService.remoteReferenceTaxonFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)

handleRemoteReferenceTaxonFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteReferenceTaxonFullVOsAreEqualOnIdentifiers(RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOFirst,
                                                                                  RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOSecond)
                                                                           throws java.lang.Exception
Performs the core logic for remoteReferenceTaxonFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)

Throws:
java.lang.Exception

remoteReferenceTaxonFullVOsAreEqual

public boolean remoteReferenceTaxonFullVOsAreEqual(RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOFirst,
                                                   RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOSecond)
Specified by:
remoteReferenceTaxonFullVOsAreEqual in interface RemoteReferenceTaxonFullService
See Also:
RemoteReferenceTaxonFullService.remoteReferenceTaxonFullVOsAreEqual(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)

handleRemoteReferenceTaxonFullVOsAreEqual

protected abstract boolean handleRemoteReferenceTaxonFullVOsAreEqual(RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOFirst,
                                                                     RemoteReferenceTaxonFullVO remoteReferenceTaxonFullVOSecond)
                                                              throws java.lang.Exception
Performs the core logic for remoteReferenceTaxonFullVOsAreEqual(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonFullVO)

Throws:
java.lang.Exception

getReferenceTaxonNaturalIds

public RemoteReferenceTaxonNaturalId[] getReferenceTaxonNaturalIds()
Specified by:
getReferenceTaxonNaturalIds in interface RemoteReferenceTaxonFullService
See Also:
RemoteReferenceTaxonFullService.getReferenceTaxonNaturalIds()

handleGetReferenceTaxonNaturalIds

protected abstract RemoteReferenceTaxonNaturalId[] handleGetReferenceTaxonNaturalIds()
                                                                              throws java.lang.Exception
Performs the core logic for getReferenceTaxonNaturalIds()

Throws:
java.lang.Exception

getReferenceTaxonByNaturalId

public RemoteReferenceTaxonFullVO getReferenceTaxonByNaturalId(RemoteReferenceTaxonNaturalId referenceTaxonNaturalId)
Specified by:
getReferenceTaxonByNaturalId in interface RemoteReferenceTaxonFullService
See Also:
RemoteReferenceTaxonFullService.getReferenceTaxonByNaturalId(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonNaturalId)

handleGetReferenceTaxonByNaturalId

protected abstract RemoteReferenceTaxonFullVO handleGetReferenceTaxonByNaturalId(RemoteReferenceTaxonNaturalId referenceTaxonNaturalId)
                                                                          throws java.lang.Exception
Performs the core logic for getReferenceTaxonByNaturalId(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceTaxonNaturalId)

Throws:
java.lang.Exception

getReferenceTaxonNaturalIdById

public RemoteReferenceTaxonNaturalId getReferenceTaxonNaturalIdById(java.lang.Integer id)
Specified by:
getReferenceTaxonNaturalIdById in interface RemoteReferenceTaxonFullService
See Also:
RemoteReferenceTaxonFullService.getReferenceTaxonNaturalIdById(java.lang.Integer)

handleGetReferenceTaxonNaturalIdById

protected abstract RemoteReferenceTaxonNaturalId handleGetReferenceTaxonNaturalIdById(java.lang.Integer id)
                                                                               throws java.lang.Exception
Performs the core logic for getReferenceTaxonNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterReferenceTaxon

public ClusterReferenceTaxon addOrUpdateClusterReferenceTaxon(ClusterReferenceTaxon clusterReferenceTaxon)
Specified by:
addOrUpdateClusterReferenceTaxon in interface RemoteReferenceTaxonFullService
See Also:
RemoteReferenceTaxonFullService.addOrUpdateClusterReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceTaxon)

handleAddOrUpdateClusterReferenceTaxon

protected abstract ClusterReferenceTaxon handleAddOrUpdateClusterReferenceTaxon(ClusterReferenceTaxon clusterReferenceTaxon)
                                                                         throws java.lang.Exception
Performs the core logic for addOrUpdateClusterReferenceTaxon(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceTaxon)

Throws:
java.lang.Exception

getAllClusterReferenceTaxonSinceDateSynchro

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

handleGetAllClusterReferenceTaxonSinceDateSynchro

protected abstract ClusterReferenceTaxon[] handleGetAllClusterReferenceTaxonSinceDateSynchro(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 getAllClusterReferenceTaxonSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterReferenceTaxonByIdentifiers

public ClusterReferenceTaxon getClusterReferenceTaxonByIdentifiers(java.lang.Integer id)
Specified by:
getClusterReferenceTaxonByIdentifiers in interface RemoteReferenceTaxonFullService
See Also:
RemoteReferenceTaxonFullService.getClusterReferenceTaxonByIdentifiers(java.lang.Integer)

handleGetClusterReferenceTaxonByIdentifiers

protected abstract ClusterReferenceTaxon handleGetClusterReferenceTaxonByIdentifiers(java.lang.Integer id)
                                                                              throws java.lang.Exception
Performs the core logic for getClusterReferenceTaxonByIdentifiers(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.