fr.ifremer.allegro.referential.generic.service
Class RemoteAnalysisInstrumentFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.referential.generic.service.RemoteAnalysisInstrumentFullServiceBase
All Implemented Interfaces:
RemoteAnalysisInstrumentFullService
Direct Known Subclasses:
RemoteAnalysisInstrumentFullServiceImpl

public abstract class RemoteAnalysisInstrumentFullServiceBase
extends java.lang.Object
implements RemoteAnalysisInstrumentFullService

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

See Also:
RemoteAnalysisInstrumentFullService

Constructor Summary
RemoteAnalysisInstrumentFullServiceBase()
           
 
Method Summary
 RemoteAnalysisInstrumentFullVO addAnalysisInstrument(RemoteAnalysisInstrumentFullVO analysisInstrument)
           
 ClusterAnalysisInstrument addOrUpdateClusterAnalysisInstrument(ClusterAnalysisInstrument clusterAnalysisInstrument)
           
 RemoteAnalysisInstrumentFullVO[] getAllAnalysisInstrument()
           
 ClusterAnalysisInstrument[] getAllClusterAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteAnalysisInstrumentFullVO getAnalysisInstrumentById(java.lang.Integer id)
           
 RemoteAnalysisInstrumentFullVO[] getAnalysisInstrumentByIds(java.lang.Integer[] id)
           
 RemoteAnalysisInstrumentFullVO getAnalysisInstrumentByNaturalId(RemoteAnalysisInstrumentNaturalId analysisInstrumentNaturalId)
           
 RemoteAnalysisInstrumentFullVO[] getAnalysisInstrumentByStatusCode(java.lang.String code)
           
protected  AnalysisInstrumentDao getAnalysisInstrumentDao()
          Gets the reference to analysisInstrument's DAO.
 RemoteAnalysisInstrumentNaturalId getAnalysisInstrumentNaturalIdById(java.lang.Integer id)
           
 RemoteAnalysisInstrumentNaturalId[] getAnalysisInstrumentNaturalIds()
           
 ClusterAnalysisInstrument getClusterAnalysisInstrumentByIdentifiers(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.
protected  StatusDao getStatusDao()
          Gets the reference to status's DAO.
protected abstract  RemoteAnalysisInstrumentFullVO handleAddAnalysisInstrument(RemoteAnalysisInstrumentFullVO analysisInstrument)
          Performs the core logic for addAnalysisInstrument(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)
protected abstract  ClusterAnalysisInstrument handleAddOrUpdateClusterAnalysisInstrument(ClusterAnalysisInstrument clusterAnalysisInstrument)
          Performs the core logic for addOrUpdateClusterAnalysisInstrument(fr.ifremer.allegro.referential.generic.cluster.ClusterAnalysisInstrument)
protected abstract  RemoteAnalysisInstrumentFullVO[] handleGetAllAnalysisInstrument()
          Performs the core logic for getAllAnalysisInstrument()
protected abstract  ClusterAnalysisInstrument[] handleGetAllClusterAnalysisInstrumentSinceDateSynchro(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 getAllClusterAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteAnalysisInstrumentFullVO handleGetAnalysisInstrumentById(java.lang.Integer id)
          Performs the core logic for getAnalysisInstrumentById(java.lang.Integer)
protected abstract  RemoteAnalysisInstrumentFullVO[] handleGetAnalysisInstrumentByIds(java.lang.Integer[] id)
          Performs the core logic for getAnalysisInstrumentByIds(java.lang.Integer[])
protected abstract  RemoteAnalysisInstrumentFullVO handleGetAnalysisInstrumentByNaturalId(RemoteAnalysisInstrumentNaturalId analysisInstrumentNaturalId)
          Performs the core logic for getAnalysisInstrumentByNaturalId(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentNaturalId)
protected abstract  RemoteAnalysisInstrumentFullVO[] handleGetAnalysisInstrumentByStatusCode(java.lang.String code)
          Performs the core logic for getAnalysisInstrumentByStatusCode(java.lang.String)
protected abstract  RemoteAnalysisInstrumentNaturalId handleGetAnalysisInstrumentNaturalIdById(java.lang.Integer id)
          Performs the core logic for getAnalysisInstrumentNaturalIdById(java.lang.Integer)
protected abstract  RemoteAnalysisInstrumentNaturalId[] handleGetAnalysisInstrumentNaturalIds()
          Performs the core logic for getAnalysisInstrumentNaturalIds()
protected abstract  ClusterAnalysisInstrument handleGetClusterAnalysisInstrumentByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterAnalysisInstrumentByIdentifiers(java.lang.Integer)
protected abstract  boolean handleRemoteAnalysisInstrumentFullVOsAreEqual(RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOFirst, RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOSecond)
          Performs the core logic for remoteAnalysisInstrumentFullVOsAreEqual(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO, fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)
protected abstract  boolean handleRemoteAnalysisInstrumentFullVOsAreEqualOnIdentifiers(RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOFirst, RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOSecond)
          Performs the core logic for remoteAnalysisInstrumentFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO, fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)
protected abstract  void handleRemoveAnalysisInstrument(RemoteAnalysisInstrumentFullVO analysisInstrument)
          Performs the core logic for removeAnalysisInstrument(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)
protected abstract  void handleUpdateAnalysisInstrument(RemoteAnalysisInstrumentFullVO analysisInstrument)
          Performs the core logic for updateAnalysisInstrument(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)
 boolean remoteAnalysisInstrumentFullVOsAreEqual(RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOFirst, RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOSecond)
           
 boolean remoteAnalysisInstrumentFullVOsAreEqualOnIdentifiers(RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOFirst, RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOSecond)
           
 void removeAnalysisInstrument(RemoteAnalysisInstrumentFullVO analysisInstrument)
           
 void setAnalysisInstrumentDao(AnalysisInstrumentDao analysisInstrumentDao)
          Sets the reference to analysisInstrument's DAO.
 void setStatusDao(StatusDao statusDao)
          Sets the reference to status's DAO.
 void updateAnalysisInstrument(RemoteAnalysisInstrumentFullVO analysisInstrument)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteAnalysisInstrumentFullServiceBase

public RemoteAnalysisInstrumentFullServiceBase()
Method Detail

setAnalysisInstrumentDao

public void setAnalysisInstrumentDao(AnalysisInstrumentDao analysisInstrumentDao)
Sets the reference to analysisInstrument's DAO.


getAnalysisInstrumentDao

protected AnalysisInstrumentDao getAnalysisInstrumentDao()
Gets the reference to analysisInstrument's DAO.


setStatusDao

public void setStatusDao(StatusDao statusDao)
Sets the reference to status's DAO.


getStatusDao

protected StatusDao getStatusDao()
Gets the reference to status's DAO.


addAnalysisInstrument

public RemoteAnalysisInstrumentFullVO addAnalysisInstrument(RemoteAnalysisInstrumentFullVO analysisInstrument)
Specified by:
addAnalysisInstrument in interface RemoteAnalysisInstrumentFullService
See Also:
RemoteAnalysisInstrumentFullService.addAnalysisInstrument(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)

handleAddAnalysisInstrument

protected abstract RemoteAnalysisInstrumentFullVO handleAddAnalysisInstrument(RemoteAnalysisInstrumentFullVO analysisInstrument)
                                                                       throws java.lang.Exception
Performs the core logic for addAnalysisInstrument(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)

Throws:
java.lang.Exception

updateAnalysisInstrument

public void updateAnalysisInstrument(RemoteAnalysisInstrumentFullVO analysisInstrument)
Specified by:
updateAnalysisInstrument in interface RemoteAnalysisInstrumentFullService
See Also:
RemoteAnalysisInstrumentFullService.updateAnalysisInstrument(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)

handleUpdateAnalysisInstrument

protected abstract void handleUpdateAnalysisInstrument(RemoteAnalysisInstrumentFullVO analysisInstrument)
                                                throws java.lang.Exception
Performs the core logic for updateAnalysisInstrument(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)

Throws:
java.lang.Exception

removeAnalysisInstrument

public void removeAnalysisInstrument(RemoteAnalysisInstrumentFullVO analysisInstrument)
Specified by:
removeAnalysisInstrument in interface RemoteAnalysisInstrumentFullService
See Also:
RemoteAnalysisInstrumentFullService.removeAnalysisInstrument(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)

handleRemoveAnalysisInstrument

protected abstract void handleRemoveAnalysisInstrument(RemoteAnalysisInstrumentFullVO analysisInstrument)
                                                throws java.lang.Exception
Performs the core logic for removeAnalysisInstrument(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)

Throws:
java.lang.Exception

getAllAnalysisInstrument

public RemoteAnalysisInstrumentFullVO[] getAllAnalysisInstrument()
Specified by:
getAllAnalysisInstrument in interface RemoteAnalysisInstrumentFullService
See Also:
RemoteAnalysisInstrumentFullService.getAllAnalysisInstrument()

handleGetAllAnalysisInstrument

protected abstract RemoteAnalysisInstrumentFullVO[] handleGetAllAnalysisInstrument()
                                                                            throws java.lang.Exception
Performs the core logic for getAllAnalysisInstrument()

Throws:
java.lang.Exception

getAnalysisInstrumentById

public RemoteAnalysisInstrumentFullVO getAnalysisInstrumentById(java.lang.Integer id)
Specified by:
getAnalysisInstrumentById in interface RemoteAnalysisInstrumentFullService
See Also:
RemoteAnalysisInstrumentFullService.getAnalysisInstrumentById(java.lang.Integer)

handleGetAnalysisInstrumentById

protected abstract RemoteAnalysisInstrumentFullVO handleGetAnalysisInstrumentById(java.lang.Integer id)
                                                                           throws java.lang.Exception
Performs the core logic for getAnalysisInstrumentById(java.lang.Integer)

Throws:
java.lang.Exception

getAnalysisInstrumentByIds

public RemoteAnalysisInstrumentFullVO[] getAnalysisInstrumentByIds(java.lang.Integer[] id)
Specified by:
getAnalysisInstrumentByIds in interface RemoteAnalysisInstrumentFullService
See Also:
RemoteAnalysisInstrumentFullService.getAnalysisInstrumentByIds(java.lang.Integer[])

handleGetAnalysisInstrumentByIds

protected abstract RemoteAnalysisInstrumentFullVO[] handleGetAnalysisInstrumentByIds(java.lang.Integer[] id)
                                                                              throws java.lang.Exception
Performs the core logic for getAnalysisInstrumentByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getAnalysisInstrumentByStatusCode

public RemoteAnalysisInstrumentFullVO[] getAnalysisInstrumentByStatusCode(java.lang.String code)
Specified by:
getAnalysisInstrumentByStatusCode in interface RemoteAnalysisInstrumentFullService
See Also:
RemoteAnalysisInstrumentFullService.getAnalysisInstrumentByStatusCode(java.lang.String)

handleGetAnalysisInstrumentByStatusCode

protected abstract RemoteAnalysisInstrumentFullVO[] handleGetAnalysisInstrumentByStatusCode(java.lang.String code)
                                                                                     throws java.lang.Exception
Performs the core logic for getAnalysisInstrumentByStatusCode(java.lang.String)

Throws:
java.lang.Exception

remoteAnalysisInstrumentFullVOsAreEqualOnIdentifiers

public boolean remoteAnalysisInstrumentFullVOsAreEqualOnIdentifiers(RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOFirst,
                                                                    RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOSecond)
Specified by:
remoteAnalysisInstrumentFullVOsAreEqualOnIdentifiers in interface RemoteAnalysisInstrumentFullService
See Also:
RemoteAnalysisInstrumentFullService.remoteAnalysisInstrumentFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO, fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)

handleRemoteAnalysisInstrumentFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteAnalysisInstrumentFullVOsAreEqualOnIdentifiers(RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOFirst,
                                                                                      RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOSecond)
                                                                               throws java.lang.Exception
Performs the core logic for remoteAnalysisInstrumentFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO, fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)

Throws:
java.lang.Exception

remoteAnalysisInstrumentFullVOsAreEqual

public boolean remoteAnalysisInstrumentFullVOsAreEqual(RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOFirst,
                                                       RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOSecond)
Specified by:
remoteAnalysisInstrumentFullVOsAreEqual in interface RemoteAnalysisInstrumentFullService
See Also:
RemoteAnalysisInstrumentFullService.remoteAnalysisInstrumentFullVOsAreEqual(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO, fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)

handleRemoteAnalysisInstrumentFullVOsAreEqual

protected abstract boolean handleRemoteAnalysisInstrumentFullVOsAreEqual(RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOFirst,
                                                                         RemoteAnalysisInstrumentFullVO remoteAnalysisInstrumentFullVOSecond)
                                                                  throws java.lang.Exception
Performs the core logic for remoteAnalysisInstrumentFullVOsAreEqual(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO, fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentFullVO)

Throws:
java.lang.Exception

getAnalysisInstrumentNaturalIds

public RemoteAnalysisInstrumentNaturalId[] getAnalysisInstrumentNaturalIds()
Specified by:
getAnalysisInstrumentNaturalIds in interface RemoteAnalysisInstrumentFullService
See Also:
RemoteAnalysisInstrumentFullService.getAnalysisInstrumentNaturalIds()

handleGetAnalysisInstrumentNaturalIds

protected abstract RemoteAnalysisInstrumentNaturalId[] handleGetAnalysisInstrumentNaturalIds()
                                                                                      throws java.lang.Exception
Performs the core logic for getAnalysisInstrumentNaturalIds()

Throws:
java.lang.Exception

getAnalysisInstrumentByNaturalId

public RemoteAnalysisInstrumentFullVO getAnalysisInstrumentByNaturalId(RemoteAnalysisInstrumentNaturalId analysisInstrumentNaturalId)
Specified by:
getAnalysisInstrumentByNaturalId in interface RemoteAnalysisInstrumentFullService
See Also:
RemoteAnalysisInstrumentFullService.getAnalysisInstrumentByNaturalId(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentNaturalId)

handleGetAnalysisInstrumentByNaturalId

protected abstract RemoteAnalysisInstrumentFullVO handleGetAnalysisInstrumentByNaturalId(RemoteAnalysisInstrumentNaturalId analysisInstrumentNaturalId)
                                                                                  throws java.lang.Exception
Performs the core logic for getAnalysisInstrumentByNaturalId(fr.ifremer.allegro.referential.generic.vo.RemoteAnalysisInstrumentNaturalId)

Throws:
java.lang.Exception

getAnalysisInstrumentNaturalIdById

public RemoteAnalysisInstrumentNaturalId getAnalysisInstrumentNaturalIdById(java.lang.Integer id)
Specified by:
getAnalysisInstrumentNaturalIdById in interface RemoteAnalysisInstrumentFullService
See Also:
RemoteAnalysisInstrumentFullService.getAnalysisInstrumentNaturalIdById(java.lang.Integer)

handleGetAnalysisInstrumentNaturalIdById

protected abstract RemoteAnalysisInstrumentNaturalId handleGetAnalysisInstrumentNaturalIdById(java.lang.Integer id)
                                                                                       throws java.lang.Exception
Performs the core logic for getAnalysisInstrumentNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterAnalysisInstrument

public ClusterAnalysisInstrument addOrUpdateClusterAnalysisInstrument(ClusterAnalysisInstrument clusterAnalysisInstrument)
Specified by:
addOrUpdateClusterAnalysisInstrument in interface RemoteAnalysisInstrumentFullService
See Also:
RemoteAnalysisInstrumentFullService.addOrUpdateClusterAnalysisInstrument(fr.ifremer.allegro.referential.generic.cluster.ClusterAnalysisInstrument)

handleAddOrUpdateClusterAnalysisInstrument

protected abstract ClusterAnalysisInstrument handleAddOrUpdateClusterAnalysisInstrument(ClusterAnalysisInstrument clusterAnalysisInstrument)
                                                                                 throws java.lang.Exception
Performs the core logic for addOrUpdateClusterAnalysisInstrument(fr.ifremer.allegro.referential.generic.cluster.ClusterAnalysisInstrument)

Throws:
java.lang.Exception

getAllClusterAnalysisInstrumentSinceDateSynchro

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

handleGetAllClusterAnalysisInstrumentSinceDateSynchro

protected abstract ClusterAnalysisInstrument[] handleGetAllClusterAnalysisInstrumentSinceDateSynchro(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 getAllClusterAnalysisInstrumentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterAnalysisInstrumentByIdentifiers

public ClusterAnalysisInstrument getClusterAnalysisInstrumentByIdentifiers(java.lang.Integer id)
Specified by:
getClusterAnalysisInstrumentByIdentifiers in interface RemoteAnalysisInstrumentFullService
See Also:
RemoteAnalysisInstrumentFullService.getClusterAnalysisInstrumentByIdentifiers(java.lang.Integer)

handleGetClusterAnalysisInstrumentByIdentifiers

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