fr.ifremer.allegro.technical.synchronization.generic.service
Class RemoteDataSynchronizationFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.technical.synchronization.generic.service.RemoteDataSynchronizationFullServiceBase
All Implemented Interfaces:
RemoteDataSynchronizationFullService
Direct Known Subclasses:
RemoteDataSynchronizationFullServiceImpl

public abstract class RemoteDataSynchronizationFullServiceBase
extends java.lang.Object
implements RemoteDataSynchronizationFullService

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

See Also:
RemoteDataSynchronizationFullService

Constructor Summary
RemoteDataSynchronizationFullServiceBase()
           
 
Method Summary
 RemoteDataSynchronizationFullVO addDataSynchronization(RemoteDataSynchronizationFullVO dataSynchronization)
           
 ClusterDataSynchronization addOrUpdateClusterDataSynchronization(ClusterDataSynchronization clusterDataSynchronization)
           
 ClusterDataSynchronization[] getAllClusterDataSynchronizationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteDataSynchronizationFullVO[] getAllDataSynchronization()
           
 ClusterDataSynchronization getClusterDataSynchronizationByIdentifiers(java.lang.Integer id)
           
 RemoteDataSynchronizationFullVO getDataSynchronizationById(java.lang.Integer id)
           
 RemoteDataSynchronizationFullVO[] getDataSynchronizationByIds(java.lang.Integer[] id)
           
 RemoteDataSynchronizationFullVO getDataSynchronizationByNaturalId(RemoteDataSynchronizationNaturalId dataSynchronizationNaturalId)
           
protected  DataSynchronizationDao getDataSynchronizationDao()
          Gets the reference to dataSynchronization's DAO.
 RemoteDataSynchronizationNaturalId getDataSynchronizationNaturalIdById(java.lang.Integer id)
           
 RemoteDataSynchronizationNaturalId[] getDataSynchronizationNaturalIds()
           
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 abstract  RemoteDataSynchronizationFullVO handleAddDataSynchronization(RemoteDataSynchronizationFullVO dataSynchronization)
          Performs the core logic for addDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)
protected abstract  ClusterDataSynchronization handleAddOrUpdateClusterDataSynchronization(ClusterDataSynchronization clusterDataSynchronization)
          Performs the core logic for addOrUpdateClusterDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.cluster.ClusterDataSynchronization)
protected abstract  ClusterDataSynchronization[] handleGetAllClusterDataSynchronizationSinceDateSynchro(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 getAllClusterDataSynchronizationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteDataSynchronizationFullVO[] handleGetAllDataSynchronization()
          Performs the core logic for getAllDataSynchronization()
protected abstract  ClusterDataSynchronization handleGetClusterDataSynchronizationByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterDataSynchronizationByIdentifiers(java.lang.Integer)
protected abstract  RemoteDataSynchronizationFullVO handleGetDataSynchronizationById(java.lang.Integer id)
          Performs the core logic for getDataSynchronizationById(java.lang.Integer)
protected abstract  RemoteDataSynchronizationFullVO[] handleGetDataSynchronizationByIds(java.lang.Integer[] id)
          Performs the core logic for getDataSynchronizationByIds(java.lang.Integer[])
protected abstract  RemoteDataSynchronizationFullVO handleGetDataSynchronizationByNaturalId(RemoteDataSynchronizationNaturalId dataSynchronizationNaturalId)
          Performs the core logic for getDataSynchronizationByNaturalId(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationNaturalId)
protected abstract  RemoteDataSynchronizationNaturalId handleGetDataSynchronizationNaturalIdById(java.lang.Integer id)
          Performs the core logic for getDataSynchronizationNaturalIdById(java.lang.Integer)
protected abstract  RemoteDataSynchronizationNaturalId[] handleGetDataSynchronizationNaturalIds()
          Performs the core logic for getDataSynchronizationNaturalIds()
protected abstract  boolean handleRemoteDataSynchronizationFullVOsAreEqual(RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOFirst, RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOSecond)
          Performs the core logic for remoteDataSynchronizationFullVOsAreEqual(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO, fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)
protected abstract  boolean handleRemoteDataSynchronizationFullVOsAreEqualOnIdentifiers(RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOFirst, RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOSecond)
          Performs the core logic for remoteDataSynchronizationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO, fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)
protected abstract  void handleRemoveDataSynchronization(RemoteDataSynchronizationFullVO dataSynchronization)
          Performs the core logic for removeDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)
protected abstract  void handleUpdateDataSynchronization(RemoteDataSynchronizationFullVO dataSynchronization)
          Performs the core logic for updateDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)
 boolean remoteDataSynchronizationFullVOsAreEqual(RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOFirst, RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOSecond)
           
 boolean remoteDataSynchronizationFullVOsAreEqualOnIdentifiers(RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOFirst, RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOSecond)
           
 void removeDataSynchronization(RemoteDataSynchronizationFullVO dataSynchronization)
           
 void setDataSynchronizationDao(DataSynchronizationDao dataSynchronizationDao)
          Sets the reference to dataSynchronization's DAO.
 void updateDataSynchronization(RemoteDataSynchronizationFullVO dataSynchronization)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteDataSynchronizationFullServiceBase

public RemoteDataSynchronizationFullServiceBase()
Method Detail

setDataSynchronizationDao

public void setDataSynchronizationDao(DataSynchronizationDao dataSynchronizationDao)
Sets the reference to dataSynchronization's DAO.


getDataSynchronizationDao

protected DataSynchronizationDao getDataSynchronizationDao()
Gets the reference to dataSynchronization's DAO.


addDataSynchronization

public RemoteDataSynchronizationFullVO addDataSynchronization(RemoteDataSynchronizationFullVO dataSynchronization)
Specified by:
addDataSynchronization in interface RemoteDataSynchronizationFullService
See Also:
RemoteDataSynchronizationFullService.addDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)

handleAddDataSynchronization

protected abstract RemoteDataSynchronizationFullVO handleAddDataSynchronization(RemoteDataSynchronizationFullVO dataSynchronization)
                                                                         throws java.lang.Exception
Performs the core logic for addDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)

Throws:
java.lang.Exception

updateDataSynchronization

public void updateDataSynchronization(RemoteDataSynchronizationFullVO dataSynchronization)
Specified by:
updateDataSynchronization in interface RemoteDataSynchronizationFullService
See Also:
RemoteDataSynchronizationFullService.updateDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)

handleUpdateDataSynchronization

protected abstract void handleUpdateDataSynchronization(RemoteDataSynchronizationFullVO dataSynchronization)
                                                 throws java.lang.Exception
Performs the core logic for updateDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)

Throws:
java.lang.Exception

removeDataSynchronization

public void removeDataSynchronization(RemoteDataSynchronizationFullVO dataSynchronization)
Specified by:
removeDataSynchronization in interface RemoteDataSynchronizationFullService
See Also:
RemoteDataSynchronizationFullService.removeDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)

handleRemoveDataSynchronization

protected abstract void handleRemoveDataSynchronization(RemoteDataSynchronizationFullVO dataSynchronization)
                                                 throws java.lang.Exception
Performs the core logic for removeDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)

Throws:
java.lang.Exception

getAllDataSynchronization

public RemoteDataSynchronizationFullVO[] getAllDataSynchronization()
Specified by:
getAllDataSynchronization in interface RemoteDataSynchronizationFullService
See Also:
RemoteDataSynchronizationFullService.getAllDataSynchronization()

handleGetAllDataSynchronization

protected abstract RemoteDataSynchronizationFullVO[] handleGetAllDataSynchronization()
                                                                              throws java.lang.Exception
Performs the core logic for getAllDataSynchronization()

Throws:
java.lang.Exception

getDataSynchronizationById

public RemoteDataSynchronizationFullVO getDataSynchronizationById(java.lang.Integer id)
Specified by:
getDataSynchronizationById in interface RemoteDataSynchronizationFullService
See Also:
RemoteDataSynchronizationFullService.getDataSynchronizationById(java.lang.Integer)

handleGetDataSynchronizationById

protected abstract RemoteDataSynchronizationFullVO handleGetDataSynchronizationById(java.lang.Integer id)
                                                                             throws java.lang.Exception
Performs the core logic for getDataSynchronizationById(java.lang.Integer)

Throws:
java.lang.Exception

getDataSynchronizationByIds

public RemoteDataSynchronizationFullVO[] getDataSynchronizationByIds(java.lang.Integer[] id)
Specified by:
getDataSynchronizationByIds in interface RemoteDataSynchronizationFullService
See Also:
RemoteDataSynchronizationFullService.getDataSynchronizationByIds(java.lang.Integer[])

handleGetDataSynchronizationByIds

protected abstract RemoteDataSynchronizationFullVO[] handleGetDataSynchronizationByIds(java.lang.Integer[] id)
                                                                                throws java.lang.Exception
Performs the core logic for getDataSynchronizationByIds(java.lang.Integer[])

Throws:
java.lang.Exception

remoteDataSynchronizationFullVOsAreEqualOnIdentifiers

public boolean remoteDataSynchronizationFullVOsAreEqualOnIdentifiers(RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOFirst,
                                                                     RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOSecond)
Specified by:
remoteDataSynchronizationFullVOsAreEqualOnIdentifiers in interface RemoteDataSynchronizationFullService
See Also:
RemoteDataSynchronizationFullService.remoteDataSynchronizationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO, fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)

handleRemoteDataSynchronizationFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteDataSynchronizationFullVOsAreEqualOnIdentifiers(RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOFirst,
                                                                                       RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOSecond)
                                                                                throws java.lang.Exception
Performs the core logic for remoteDataSynchronizationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO, fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)

Throws:
java.lang.Exception

remoteDataSynchronizationFullVOsAreEqual

public boolean remoteDataSynchronizationFullVOsAreEqual(RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOFirst,
                                                        RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOSecond)
Specified by:
remoteDataSynchronizationFullVOsAreEqual in interface RemoteDataSynchronizationFullService
See Also:
RemoteDataSynchronizationFullService.remoteDataSynchronizationFullVOsAreEqual(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO, fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)

handleRemoteDataSynchronizationFullVOsAreEqual

protected abstract boolean handleRemoteDataSynchronizationFullVOsAreEqual(RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOFirst,
                                                                          RemoteDataSynchronizationFullVO remoteDataSynchronizationFullVOSecond)
                                                                   throws java.lang.Exception
Performs the core logic for remoteDataSynchronizationFullVOsAreEqual(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO, fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationFullVO)

Throws:
java.lang.Exception

getDataSynchronizationNaturalIds

public RemoteDataSynchronizationNaturalId[] getDataSynchronizationNaturalIds()
Specified by:
getDataSynchronizationNaturalIds in interface RemoteDataSynchronizationFullService
See Also:
RemoteDataSynchronizationFullService.getDataSynchronizationNaturalIds()

handleGetDataSynchronizationNaturalIds

protected abstract RemoteDataSynchronizationNaturalId[] handleGetDataSynchronizationNaturalIds()
                                                                                        throws java.lang.Exception
Performs the core logic for getDataSynchronizationNaturalIds()

Throws:
java.lang.Exception

getDataSynchronizationByNaturalId

public RemoteDataSynchronizationFullVO getDataSynchronizationByNaturalId(RemoteDataSynchronizationNaturalId dataSynchronizationNaturalId)
Specified by:
getDataSynchronizationByNaturalId in interface RemoteDataSynchronizationFullService
See Also:
RemoteDataSynchronizationFullService.getDataSynchronizationByNaturalId(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationNaturalId)

handleGetDataSynchronizationByNaturalId

protected abstract RemoteDataSynchronizationFullVO handleGetDataSynchronizationByNaturalId(RemoteDataSynchronizationNaturalId dataSynchronizationNaturalId)
                                                                                    throws java.lang.Exception
Performs the core logic for getDataSynchronizationByNaturalId(fr.ifremer.allegro.technical.synchronization.generic.vo.RemoteDataSynchronizationNaturalId)

Throws:
java.lang.Exception

getDataSynchronizationNaturalIdById

public RemoteDataSynchronizationNaturalId getDataSynchronizationNaturalIdById(java.lang.Integer id)
Specified by:
getDataSynchronizationNaturalIdById in interface RemoteDataSynchronizationFullService
See Also:
RemoteDataSynchronizationFullService.getDataSynchronizationNaturalIdById(java.lang.Integer)

handleGetDataSynchronizationNaturalIdById

protected abstract RemoteDataSynchronizationNaturalId handleGetDataSynchronizationNaturalIdById(java.lang.Integer id)
                                                                                         throws java.lang.Exception
Performs the core logic for getDataSynchronizationNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterDataSynchronization

public ClusterDataSynchronization addOrUpdateClusterDataSynchronization(ClusterDataSynchronization clusterDataSynchronization)
Specified by:
addOrUpdateClusterDataSynchronization in interface RemoteDataSynchronizationFullService
See Also:
RemoteDataSynchronizationFullService.addOrUpdateClusterDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.cluster.ClusterDataSynchronization)

handleAddOrUpdateClusterDataSynchronization

protected abstract ClusterDataSynchronization handleAddOrUpdateClusterDataSynchronization(ClusterDataSynchronization clusterDataSynchronization)
                                                                                   throws java.lang.Exception
Performs the core logic for addOrUpdateClusterDataSynchronization(fr.ifremer.allegro.technical.synchronization.generic.cluster.ClusterDataSynchronization)

Throws:
java.lang.Exception

getAllClusterDataSynchronizationSinceDateSynchro

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

handleGetAllClusterDataSynchronizationSinceDateSynchro

protected abstract ClusterDataSynchronization[] handleGetAllClusterDataSynchronizationSinceDateSynchro(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 getAllClusterDataSynchronizationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterDataSynchronizationByIdentifiers

public ClusterDataSynchronization getClusterDataSynchronizationByIdentifiers(java.lang.Integer id)
Specified by:
getClusterDataSynchronizationByIdentifiers in interface RemoteDataSynchronizationFullService
See Also:
RemoteDataSynchronizationFullService.getClusterDataSynchronizationByIdentifiers(java.lang.Integer)

handleGetClusterDataSynchronizationByIdentifiers

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