fr.ifremer.allegro.referential.vessel.generic.service
Class RemoteVesselMasterFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.referential.vessel.generic.service.RemoteVesselMasterFullServiceBase
All Implemented Interfaces:
RemoteVesselMasterFullService
Direct Known Subclasses:
RemoteVesselMasterFullServiceImpl

public abstract class RemoteVesselMasterFullServiceBase
extends java.lang.Object
implements RemoteVesselMasterFullService

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

See Also:
RemoteVesselMasterFullService

Constructor Summary
RemoteVesselMasterFullServiceBase()
           
 
Method Summary
 ClusterVesselMaster addOrUpdateClusterVesselMaster(ClusterVesselMaster clusterVesselMaster)
           
 RemoteVesselMasterFullVO addVesselMaster(RemoteVesselMasterFullVO vesselMaster)
           
 ClusterVesselMaster[] getAllClusterVesselMasterSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteVesselMasterFullVO[] getAllVesselMaster()
           
 ClusterVesselMaster getClusterVesselMasterByIdentifiers(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.
 RemoteVesselMasterFullVO getVesselMasterById(java.lang.Integer id)
           
 RemoteVesselMasterFullVO[] getVesselMasterByIds(java.lang.Integer[] id)
           
 RemoteVesselMasterFullVO getVesselMasterByNaturalId(RemoteVesselMasterNaturalId vesselMasterNaturalId)
           
protected  VesselMasterDao getVesselMasterDao()
          Gets the reference to vesselMaster's DAO.
 RemoteVesselMasterNaturalId getVesselMasterNaturalIdById(java.lang.Integer id)
           
 RemoteVesselMasterNaturalId[] getVesselMasterNaturalIds()
           
protected abstract  ClusterVesselMaster handleAddOrUpdateClusterVesselMaster(ClusterVesselMaster clusterVesselMaster)
          Performs the core logic for addOrUpdateClusterVesselMaster(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMaster)
protected abstract  RemoteVesselMasterFullVO handleAddVesselMaster(RemoteVesselMasterFullVO vesselMaster)
          Performs the core logic for addVesselMaster(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)
protected abstract  ClusterVesselMaster[] handleGetAllClusterVesselMasterSinceDateSynchro(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 getAllClusterVesselMasterSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteVesselMasterFullVO[] handleGetAllVesselMaster()
          Performs the core logic for getAllVesselMaster()
protected abstract  ClusterVesselMaster handleGetClusterVesselMasterByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterVesselMasterByIdentifiers(java.lang.Integer)
protected abstract  RemoteVesselMasterFullVO handleGetVesselMasterById(java.lang.Integer id)
          Performs the core logic for getVesselMasterById(java.lang.Integer)
protected abstract  RemoteVesselMasterFullVO[] handleGetVesselMasterByIds(java.lang.Integer[] id)
          Performs the core logic for getVesselMasterByIds(java.lang.Integer[])
protected abstract  RemoteVesselMasterFullVO handleGetVesselMasterByNaturalId(RemoteVesselMasterNaturalId vesselMasterNaturalId)
          Performs the core logic for getVesselMasterByNaturalId(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterNaturalId)
protected abstract  RemoteVesselMasterNaturalId handleGetVesselMasterNaturalIdById(java.lang.Integer id)
          Performs the core logic for getVesselMasterNaturalIdById(java.lang.Integer)
protected abstract  RemoteVesselMasterNaturalId[] handleGetVesselMasterNaturalIds()
          Performs the core logic for getVesselMasterNaturalIds()
protected abstract  boolean handleRemoteVesselMasterFullVOsAreEqual(RemoteVesselMasterFullVO remoteVesselMasterFullVOFirst, RemoteVesselMasterFullVO remoteVesselMasterFullVOSecond)
          Performs the core logic for remoteVesselMasterFullVOsAreEqual(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)
protected abstract  boolean handleRemoteVesselMasterFullVOsAreEqualOnIdentifiers(RemoteVesselMasterFullVO remoteVesselMasterFullVOFirst, RemoteVesselMasterFullVO remoteVesselMasterFullVOSecond)
          Performs the core logic for remoteVesselMasterFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)
protected abstract  void handleRemoveVesselMaster(RemoteVesselMasterFullVO vesselMaster)
          Performs the core logic for removeVesselMaster(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)
protected abstract  void handleUpdateVesselMaster(RemoteVesselMasterFullVO vesselMaster)
          Performs the core logic for updateVesselMaster(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)
 boolean remoteVesselMasterFullVOsAreEqual(RemoteVesselMasterFullVO remoteVesselMasterFullVOFirst, RemoteVesselMasterFullVO remoteVesselMasterFullVOSecond)
           
 boolean remoteVesselMasterFullVOsAreEqualOnIdentifiers(RemoteVesselMasterFullVO remoteVesselMasterFullVOFirst, RemoteVesselMasterFullVO remoteVesselMasterFullVOSecond)
           
 void removeVesselMaster(RemoteVesselMasterFullVO vesselMaster)
           
 void setVesselMasterDao(VesselMasterDao vesselMasterDao)
          Sets the reference to vesselMaster's DAO.
 void updateVesselMaster(RemoteVesselMasterFullVO vesselMaster)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteVesselMasterFullServiceBase

public RemoteVesselMasterFullServiceBase()
Method Detail

setVesselMasterDao

public void setVesselMasterDao(VesselMasterDao vesselMasterDao)
Sets the reference to vesselMaster's DAO.


getVesselMasterDao

protected VesselMasterDao getVesselMasterDao()
Gets the reference to vesselMaster's DAO.


addVesselMaster

public RemoteVesselMasterFullVO addVesselMaster(RemoteVesselMasterFullVO vesselMaster)
Specified by:
addVesselMaster in interface RemoteVesselMasterFullService
See Also:
RemoteVesselMasterFullService.addVesselMaster(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)

handleAddVesselMaster

protected abstract RemoteVesselMasterFullVO handleAddVesselMaster(RemoteVesselMasterFullVO vesselMaster)
                                                           throws java.lang.Exception
Performs the core logic for addVesselMaster(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)

Throws:
java.lang.Exception

updateVesselMaster

public void updateVesselMaster(RemoteVesselMasterFullVO vesselMaster)
Specified by:
updateVesselMaster in interface RemoteVesselMasterFullService
See Also:
RemoteVesselMasterFullService.updateVesselMaster(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)

handleUpdateVesselMaster

protected abstract void handleUpdateVesselMaster(RemoteVesselMasterFullVO vesselMaster)
                                          throws java.lang.Exception
Performs the core logic for updateVesselMaster(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)

Throws:
java.lang.Exception

removeVesselMaster

public void removeVesselMaster(RemoteVesselMasterFullVO vesselMaster)
Specified by:
removeVesselMaster in interface RemoteVesselMasterFullService
See Also:
RemoteVesselMasterFullService.removeVesselMaster(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)

handleRemoveVesselMaster

protected abstract void handleRemoveVesselMaster(RemoteVesselMasterFullVO vesselMaster)
                                          throws java.lang.Exception
Performs the core logic for removeVesselMaster(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)

Throws:
java.lang.Exception

getAllVesselMaster

public RemoteVesselMasterFullVO[] getAllVesselMaster()
Specified by:
getAllVesselMaster in interface RemoteVesselMasterFullService
See Also:
RemoteVesselMasterFullService.getAllVesselMaster()

handleGetAllVesselMaster

protected abstract RemoteVesselMasterFullVO[] handleGetAllVesselMaster()
                                                                throws java.lang.Exception
Performs the core logic for getAllVesselMaster()

Throws:
java.lang.Exception

getVesselMasterById

public RemoteVesselMasterFullVO getVesselMasterById(java.lang.Integer id)
Specified by:
getVesselMasterById in interface RemoteVesselMasterFullService
See Also:
RemoteVesselMasterFullService.getVesselMasterById(java.lang.Integer)

handleGetVesselMasterById

protected abstract RemoteVesselMasterFullVO handleGetVesselMasterById(java.lang.Integer id)
                                                               throws java.lang.Exception
Performs the core logic for getVesselMasterById(java.lang.Integer)

Throws:
java.lang.Exception

getVesselMasterByIds

public RemoteVesselMasterFullVO[] getVesselMasterByIds(java.lang.Integer[] id)
Specified by:
getVesselMasterByIds in interface RemoteVesselMasterFullService
See Also:
RemoteVesselMasterFullService.getVesselMasterByIds(java.lang.Integer[])

handleGetVesselMasterByIds

protected abstract RemoteVesselMasterFullVO[] handleGetVesselMasterByIds(java.lang.Integer[] id)
                                                                  throws java.lang.Exception
Performs the core logic for getVesselMasterByIds(java.lang.Integer[])

Throws:
java.lang.Exception

remoteVesselMasterFullVOsAreEqualOnIdentifiers

public boolean remoteVesselMasterFullVOsAreEqualOnIdentifiers(RemoteVesselMasterFullVO remoteVesselMasterFullVOFirst,
                                                              RemoteVesselMasterFullVO remoteVesselMasterFullVOSecond)
Specified by:
remoteVesselMasterFullVOsAreEqualOnIdentifiers in interface RemoteVesselMasterFullService
See Also:
RemoteVesselMasterFullService.remoteVesselMasterFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)

handleRemoteVesselMasterFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteVesselMasterFullVOsAreEqualOnIdentifiers(RemoteVesselMasterFullVO remoteVesselMasterFullVOFirst,
                                                                                RemoteVesselMasterFullVO remoteVesselMasterFullVOSecond)
                                                                         throws java.lang.Exception
Performs the core logic for remoteVesselMasterFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)

Throws:
java.lang.Exception

remoteVesselMasterFullVOsAreEqual

public boolean remoteVesselMasterFullVOsAreEqual(RemoteVesselMasterFullVO remoteVesselMasterFullVOFirst,
                                                 RemoteVesselMasterFullVO remoteVesselMasterFullVOSecond)
Specified by:
remoteVesselMasterFullVOsAreEqual in interface RemoteVesselMasterFullService
See Also:
RemoteVesselMasterFullService.remoteVesselMasterFullVOsAreEqual(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)

handleRemoteVesselMasterFullVOsAreEqual

protected abstract boolean handleRemoteVesselMasterFullVOsAreEqual(RemoteVesselMasterFullVO remoteVesselMasterFullVOFirst,
                                                                   RemoteVesselMasterFullVO remoteVesselMasterFullVOSecond)
                                                            throws java.lang.Exception
Performs the core logic for remoteVesselMasterFullVOsAreEqual(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterFullVO)

Throws:
java.lang.Exception

getVesselMasterNaturalIds

public RemoteVesselMasterNaturalId[] getVesselMasterNaturalIds()
Specified by:
getVesselMasterNaturalIds in interface RemoteVesselMasterFullService
See Also:
RemoteVesselMasterFullService.getVesselMasterNaturalIds()

handleGetVesselMasterNaturalIds

protected abstract RemoteVesselMasterNaturalId[] handleGetVesselMasterNaturalIds()
                                                                          throws java.lang.Exception
Performs the core logic for getVesselMasterNaturalIds()

Throws:
java.lang.Exception

getVesselMasterByNaturalId

public RemoteVesselMasterFullVO getVesselMasterByNaturalId(RemoteVesselMasterNaturalId vesselMasterNaturalId)
Specified by:
getVesselMasterByNaturalId in interface RemoteVesselMasterFullService
See Also:
RemoteVesselMasterFullService.getVesselMasterByNaturalId(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterNaturalId)

handleGetVesselMasterByNaturalId

protected abstract RemoteVesselMasterFullVO handleGetVesselMasterByNaturalId(RemoteVesselMasterNaturalId vesselMasterNaturalId)
                                                                      throws java.lang.Exception
Performs the core logic for getVesselMasterByNaturalId(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterNaturalId)

Throws:
java.lang.Exception

getVesselMasterNaturalIdById

public RemoteVesselMasterNaturalId getVesselMasterNaturalIdById(java.lang.Integer id)
Specified by:
getVesselMasterNaturalIdById in interface RemoteVesselMasterFullService
See Also:
RemoteVesselMasterFullService.getVesselMasterNaturalIdById(java.lang.Integer)

handleGetVesselMasterNaturalIdById

protected abstract RemoteVesselMasterNaturalId handleGetVesselMasterNaturalIdById(java.lang.Integer id)
                                                                           throws java.lang.Exception
Performs the core logic for getVesselMasterNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterVesselMaster

public ClusterVesselMaster addOrUpdateClusterVesselMaster(ClusterVesselMaster clusterVesselMaster)
Specified by:
addOrUpdateClusterVesselMaster in interface RemoteVesselMasterFullService
See Also:
RemoteVesselMasterFullService.addOrUpdateClusterVesselMaster(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMaster)

handleAddOrUpdateClusterVesselMaster

protected abstract ClusterVesselMaster handleAddOrUpdateClusterVesselMaster(ClusterVesselMaster clusterVesselMaster)
                                                                     throws java.lang.Exception
Performs the core logic for addOrUpdateClusterVesselMaster(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselMaster)

Throws:
java.lang.Exception

getAllClusterVesselMasterSinceDateSynchro

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

handleGetAllClusterVesselMasterSinceDateSynchro

protected abstract ClusterVesselMaster[] handleGetAllClusterVesselMasterSinceDateSynchro(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 getAllClusterVesselMasterSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterVesselMasterByIdentifiers

public ClusterVesselMaster getClusterVesselMasterByIdentifiers(java.lang.Integer id)
Specified by:
getClusterVesselMasterByIdentifiers in interface RemoteVesselMasterFullService
See Also:
RemoteVesselMasterFullService.getClusterVesselMasterByIdentifiers(java.lang.Integer)

handleGetClusterVesselMasterByIdentifiers

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