fr.ifremer.allegro.administration.user.generic.service
Class RemoteManagedDataFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.administration.user.generic.service.RemoteManagedDataFullServiceBase
All Implemented Interfaces:
RemoteManagedDataFullService
Direct Known Subclasses:
RemoteManagedDataFullServiceImpl

public abstract class RemoteManagedDataFullServiceBase
extends java.lang.Object
implements RemoteManagedDataFullService

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

See Also:
RemoteManagedDataFullService

Constructor Summary
RemoteManagedDataFullServiceBase()
           
 
Method Summary
 RemoteManagedDataFullVO addManagedData(RemoteManagedDataFullVO managedData)
           
 ClusterManagedData addOrUpdateClusterManagedData(ClusterManagedData clusterManagedData)
           
 ClusterManagedData[] getAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize, java.lang.Integer[] managedDataIds)
           
 RemoteManagedDataFullVO[] getAllManagedData()
           
 ClusterManagedData getClusterManagedDataByIdentifiers(java.lang.Integer id)
           
 RemoteManagedDataFullVO getManagedDataById(java.lang.Integer id)
           
 RemoteManagedDataFullVO[] getManagedDataByIds(java.lang.Integer[] id)
           
 RemoteManagedDataFullVO[] getManagedDataByManagedDataTypeId(java.lang.Integer id)
           
 RemoteManagedDataFullVO[] getManagedDataByManagerUserId(java.lang.Integer id)
           
 RemoteManagedDataFullVO getManagedDataByNaturalId(RemoteManagedDataNaturalId managedDataNaturalId)
           
 RemoteManagedDataFullVO[] getManagedDataBySupervisorUserId(java.lang.Integer id)
           
protected  ManagedDataDao getManagedDataDao()
          Gets the reference to managedData's DAO.
 RemoteManagedDataNaturalId getManagedDataNaturalIdById(java.lang.Integer id)
           
 RemoteManagedDataNaturalId[] getManagedDataNaturalIds()
           
protected  ManagedDataTypeDao getManagedDataTypeDao()
          Gets the reference to managedDataType'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  UserDao getUserDao()
          Gets the reference to user's DAO.
protected  VesselManagePeriodDao getVesselManagePeriodDao()
          Gets the reference to vesselManagePeriod's DAO.
protected abstract  RemoteManagedDataFullVO handleAddManagedData(RemoteManagedDataFullVO managedData)
          Performs the core logic for addManagedData(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)
protected abstract  ClusterManagedData handleAddOrUpdateClusterManagedData(ClusterManagedData clusterManagedData)
          Performs the core logic for addOrUpdateClusterManagedData(fr.ifremer.allegro.administration.user.generic.cluster.ClusterManagedData)
protected abstract  ClusterManagedData[] handleGetAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize, java.lang.Integer[] managedDataIds)
          Performs the core logic for getAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer, java.lang.Integer[])
protected abstract  RemoteManagedDataFullVO[] handleGetAllManagedData()
          Performs the core logic for getAllManagedData()
protected abstract  ClusterManagedData handleGetClusterManagedDataByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterManagedDataByIdentifiers(java.lang.Integer)
protected abstract  RemoteManagedDataFullVO handleGetManagedDataById(java.lang.Integer id)
          Performs the core logic for getManagedDataById(java.lang.Integer)
protected abstract  RemoteManagedDataFullVO[] handleGetManagedDataByIds(java.lang.Integer[] id)
          Performs the core logic for getManagedDataByIds(java.lang.Integer[])
protected abstract  RemoteManagedDataFullVO[] handleGetManagedDataByManagedDataTypeId(java.lang.Integer id)
          Performs the core logic for getManagedDataByManagedDataTypeId(java.lang.Integer)
protected abstract  RemoteManagedDataFullVO[] handleGetManagedDataByManagerUserId(java.lang.Integer id)
          Performs the core logic for getManagedDataByManagerUserId(java.lang.Integer)
protected abstract  RemoteManagedDataFullVO handleGetManagedDataByNaturalId(RemoteManagedDataNaturalId managedDataNaturalId)
          Performs the core logic for getManagedDataByNaturalId(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataNaturalId)
protected abstract  RemoteManagedDataFullVO[] handleGetManagedDataBySupervisorUserId(java.lang.Integer id)
          Performs the core logic for getManagedDataBySupervisorUserId(java.lang.Integer)
protected abstract  RemoteManagedDataNaturalId handleGetManagedDataNaturalIdById(java.lang.Integer id)
          Performs the core logic for getManagedDataNaturalIdById(java.lang.Integer)
protected abstract  RemoteManagedDataNaturalId[] handleGetManagedDataNaturalIds()
          Performs the core logic for getManagedDataNaturalIds()
protected abstract  boolean handleRemoteManagedDataFullVOsAreEqual(RemoteManagedDataFullVO remoteManagedDataFullVOFirst, RemoteManagedDataFullVO remoteManagedDataFullVOSecond)
          Performs the core logic for remoteManagedDataFullVOsAreEqual(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)
protected abstract  boolean handleRemoteManagedDataFullVOsAreEqualOnIdentifiers(RemoteManagedDataFullVO remoteManagedDataFullVOFirst, RemoteManagedDataFullVO remoteManagedDataFullVOSecond)
          Performs the core logic for remoteManagedDataFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)
protected abstract  void handleRemoveManagedData(RemoteManagedDataFullVO managedData)
          Performs the core logic for removeManagedData(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)
protected abstract  void handleUpdateManagedData(RemoteManagedDataFullVO managedData)
          Performs the core logic for updateManagedData(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)
 boolean remoteManagedDataFullVOsAreEqual(RemoteManagedDataFullVO remoteManagedDataFullVOFirst, RemoteManagedDataFullVO remoteManagedDataFullVOSecond)
           
 boolean remoteManagedDataFullVOsAreEqualOnIdentifiers(RemoteManagedDataFullVO remoteManagedDataFullVOFirst, RemoteManagedDataFullVO remoteManagedDataFullVOSecond)
           
 void removeManagedData(RemoteManagedDataFullVO managedData)
           
 void setManagedDataDao(ManagedDataDao managedDataDao)
          Sets the reference to managedData's DAO.
 void setManagedDataTypeDao(ManagedDataTypeDao managedDataTypeDao)
          Sets the reference to managedDataType's DAO.
 void setUserDao(UserDao userDao)
          Sets the reference to user's DAO.
 void setVesselManagePeriodDao(VesselManagePeriodDao vesselManagePeriodDao)
          Sets the reference to vesselManagePeriod's DAO.
 void updateManagedData(RemoteManagedDataFullVO managedData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteManagedDataFullServiceBase

public RemoteManagedDataFullServiceBase()
Method Detail

setManagedDataDao

public void setManagedDataDao(ManagedDataDao managedDataDao)
Sets the reference to managedData's DAO.


getManagedDataDao

protected ManagedDataDao getManagedDataDao()
Gets the reference to managedData'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.


setManagedDataTypeDao

public void setManagedDataTypeDao(ManagedDataTypeDao managedDataTypeDao)
Sets the reference to managedDataType's DAO.


getManagedDataTypeDao

protected ManagedDataTypeDao getManagedDataTypeDao()
Gets the reference to managedDataType's DAO.


setVesselManagePeriodDao

public void setVesselManagePeriodDao(VesselManagePeriodDao vesselManagePeriodDao)
Sets the reference to vesselManagePeriod's DAO.


getVesselManagePeriodDao

protected VesselManagePeriodDao getVesselManagePeriodDao()
Gets the reference to vesselManagePeriod's DAO.


addManagedData

public RemoteManagedDataFullVO addManagedData(RemoteManagedDataFullVO managedData)
Specified by:
addManagedData in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.addManagedData(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)

handleAddManagedData

protected abstract RemoteManagedDataFullVO handleAddManagedData(RemoteManagedDataFullVO managedData)
                                                         throws java.lang.Exception
Performs the core logic for addManagedData(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)

Throws:
java.lang.Exception

updateManagedData

public void updateManagedData(RemoteManagedDataFullVO managedData)
Specified by:
updateManagedData in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.updateManagedData(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)

handleUpdateManagedData

protected abstract void handleUpdateManagedData(RemoteManagedDataFullVO managedData)
                                         throws java.lang.Exception
Performs the core logic for updateManagedData(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)

Throws:
java.lang.Exception

removeManagedData

public void removeManagedData(RemoteManagedDataFullVO managedData)
Specified by:
removeManagedData in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.removeManagedData(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)

handleRemoveManagedData

protected abstract void handleRemoveManagedData(RemoteManagedDataFullVO managedData)
                                         throws java.lang.Exception
Performs the core logic for removeManagedData(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)

Throws:
java.lang.Exception

getAllManagedData

public RemoteManagedDataFullVO[] getAllManagedData()
Specified by:
getAllManagedData in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.getAllManagedData()

handleGetAllManagedData

protected abstract RemoteManagedDataFullVO[] handleGetAllManagedData()
                                                              throws java.lang.Exception
Performs the core logic for getAllManagedData()

Throws:
java.lang.Exception

getManagedDataById

public RemoteManagedDataFullVO getManagedDataById(java.lang.Integer id)
Specified by:
getManagedDataById in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.getManagedDataById(java.lang.Integer)

handleGetManagedDataById

protected abstract RemoteManagedDataFullVO handleGetManagedDataById(java.lang.Integer id)
                                                             throws java.lang.Exception
Performs the core logic for getManagedDataById(java.lang.Integer)

Throws:
java.lang.Exception

getManagedDataByIds

public RemoteManagedDataFullVO[] getManagedDataByIds(java.lang.Integer[] id)
Specified by:
getManagedDataByIds in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.getManagedDataByIds(java.lang.Integer[])

handleGetManagedDataByIds

protected abstract RemoteManagedDataFullVO[] handleGetManagedDataByIds(java.lang.Integer[] id)
                                                                throws java.lang.Exception
Performs the core logic for getManagedDataByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getManagedDataBySupervisorUserId

public RemoteManagedDataFullVO[] getManagedDataBySupervisorUserId(java.lang.Integer id)
Specified by:
getManagedDataBySupervisorUserId in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.getManagedDataBySupervisorUserId(java.lang.Integer)

handleGetManagedDataBySupervisorUserId

protected abstract RemoteManagedDataFullVO[] handleGetManagedDataBySupervisorUserId(java.lang.Integer id)
                                                                             throws java.lang.Exception
Performs the core logic for getManagedDataBySupervisorUserId(java.lang.Integer)

Throws:
java.lang.Exception

getManagedDataByManagedDataTypeId

public RemoteManagedDataFullVO[] getManagedDataByManagedDataTypeId(java.lang.Integer id)
Specified by:
getManagedDataByManagedDataTypeId in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.getManagedDataByManagedDataTypeId(java.lang.Integer)

handleGetManagedDataByManagedDataTypeId

protected abstract RemoteManagedDataFullVO[] handleGetManagedDataByManagedDataTypeId(java.lang.Integer id)
                                                                              throws java.lang.Exception
Performs the core logic for getManagedDataByManagedDataTypeId(java.lang.Integer)

Throws:
java.lang.Exception

getManagedDataByManagerUserId

public RemoteManagedDataFullVO[] getManagedDataByManagerUserId(java.lang.Integer id)
Specified by:
getManagedDataByManagerUserId in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.getManagedDataByManagerUserId(java.lang.Integer)

handleGetManagedDataByManagerUserId

protected abstract RemoteManagedDataFullVO[] handleGetManagedDataByManagerUserId(java.lang.Integer id)
                                                                          throws java.lang.Exception
Performs the core logic for getManagedDataByManagerUserId(java.lang.Integer)

Throws:
java.lang.Exception

remoteManagedDataFullVOsAreEqualOnIdentifiers

public boolean remoteManagedDataFullVOsAreEqualOnIdentifiers(RemoteManagedDataFullVO remoteManagedDataFullVOFirst,
                                                             RemoteManagedDataFullVO remoteManagedDataFullVOSecond)
Specified by:
remoteManagedDataFullVOsAreEqualOnIdentifiers in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.remoteManagedDataFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)

handleRemoteManagedDataFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteManagedDataFullVOsAreEqualOnIdentifiers(RemoteManagedDataFullVO remoteManagedDataFullVOFirst,
                                                                               RemoteManagedDataFullVO remoteManagedDataFullVOSecond)
                                                                        throws java.lang.Exception
Performs the core logic for remoteManagedDataFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)

Throws:
java.lang.Exception

remoteManagedDataFullVOsAreEqual

public boolean remoteManagedDataFullVOsAreEqual(RemoteManagedDataFullVO remoteManagedDataFullVOFirst,
                                                RemoteManagedDataFullVO remoteManagedDataFullVOSecond)
Specified by:
remoteManagedDataFullVOsAreEqual in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.remoteManagedDataFullVOsAreEqual(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)

handleRemoteManagedDataFullVOsAreEqual

protected abstract boolean handleRemoteManagedDataFullVOsAreEqual(RemoteManagedDataFullVO remoteManagedDataFullVOFirst,
                                                                  RemoteManagedDataFullVO remoteManagedDataFullVOSecond)
                                                           throws java.lang.Exception
Performs the core logic for remoteManagedDataFullVOsAreEqual(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO, fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataFullVO)

Throws:
java.lang.Exception

getManagedDataNaturalIds

public RemoteManagedDataNaturalId[] getManagedDataNaturalIds()
Specified by:
getManagedDataNaturalIds in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.getManagedDataNaturalIds()

handleGetManagedDataNaturalIds

protected abstract RemoteManagedDataNaturalId[] handleGetManagedDataNaturalIds()
                                                                        throws java.lang.Exception
Performs the core logic for getManagedDataNaturalIds()

Throws:
java.lang.Exception

getManagedDataByNaturalId

public RemoteManagedDataFullVO getManagedDataByNaturalId(RemoteManagedDataNaturalId managedDataNaturalId)
Specified by:
getManagedDataByNaturalId in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.getManagedDataByNaturalId(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataNaturalId)

handleGetManagedDataByNaturalId

protected abstract RemoteManagedDataFullVO handleGetManagedDataByNaturalId(RemoteManagedDataNaturalId managedDataNaturalId)
                                                                    throws java.lang.Exception
Performs the core logic for getManagedDataByNaturalId(fr.ifremer.allegro.administration.user.generic.vo.RemoteManagedDataNaturalId)

Throws:
java.lang.Exception

getManagedDataNaturalIdById

public RemoteManagedDataNaturalId getManagedDataNaturalIdById(java.lang.Integer id)
Specified by:
getManagedDataNaturalIdById in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.getManagedDataNaturalIdById(java.lang.Integer)

handleGetManagedDataNaturalIdById

protected abstract RemoteManagedDataNaturalId handleGetManagedDataNaturalIdById(java.lang.Integer id)
                                                                         throws java.lang.Exception
Performs the core logic for getManagedDataNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterManagedData

public ClusterManagedData addOrUpdateClusterManagedData(ClusterManagedData clusterManagedData)
Specified by:
addOrUpdateClusterManagedData in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.addOrUpdateClusterManagedData(fr.ifremer.allegro.administration.user.generic.cluster.ClusterManagedData)

handleAddOrUpdateClusterManagedData

protected abstract ClusterManagedData handleAddOrUpdateClusterManagedData(ClusterManagedData clusterManagedData)
                                                                   throws java.lang.Exception
Performs the core logic for addOrUpdateClusterManagedData(fr.ifremer.allegro.administration.user.generic.cluster.ClusterManagedData)

Throws:
java.lang.Exception

getAllClusterManagedDataSinceDateSynchro

public ClusterManagedData[] getAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                     java.lang.Integer userId,
                                                                     java.lang.Integer[] registrationLocationIds,
                                                                     java.lang.Integer pageNumber,
                                                                     java.lang.Integer pageSize,
                                                                     java.lang.Integer[] managedDataIds)
Specified by:
getAllClusterManagedDataSinceDateSynchro in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.getAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer, java.lang.Integer[])

handleGetAllClusterManagedDataSinceDateSynchro

protected abstract ClusterManagedData[] handleGetAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
                                                                                       java.lang.Integer userId,
                                                                                       java.lang.Integer[] registrationLocationIds,
                                                                                       java.lang.Integer pageNumber,
                                                                                       java.lang.Integer pageSize,
                                                                                       java.lang.Integer[] managedDataIds)
                                                                                throws java.lang.Exception
Performs the core logic for getAllClusterManagedDataSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer, java.lang.Integer[])

Throws:
java.lang.Exception

getClusterManagedDataByIdentifiers

public ClusterManagedData getClusterManagedDataByIdentifiers(java.lang.Integer id)
Specified by:
getClusterManagedDataByIdentifiers in interface RemoteManagedDataFullService
See Also:
RemoteManagedDataFullService.getClusterManagedDataByIdentifiers(java.lang.Integer)

handleGetClusterManagedDataByIdentifiers

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