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

java.lang.Object
  extended by fr.ifremer.allegro.referential.vessel.generic.service.RemoteVesselMasterPeriodFullServiceBase
All Implemented Interfaces:
RemoteVesselMasterPeriodFullService
Direct Known Subclasses:
RemoteVesselMasterPeriodFullServiceImpl

public abstract class RemoteVesselMasterPeriodFullServiceBase
extends java.lang.Object
implements RemoteVesselMasterPeriodFullService

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

See Also:
RemoteVesselMasterPeriodFullService

Constructor Summary
RemoteVesselMasterPeriodFullServiceBase()
           
 
Method Summary
 RemoteVesselMasterPeriodFullVO addVesselMasterPeriod(RemoteVesselMasterPeriodFullVO vesselMasterPeriod)
           
 RemoteVesselMasterPeriodFullVO[] getAllVesselMasterPeriod()
           
 ClusterVesselMasterPeriod getClusterVesselMasterPeriodByIdentifiers(java.util.Date startDateTime, java.lang.Integer vesselMasterId, java.lang.String fishingVesselCode)
           
protected  FishingVesselDao getFishingVesselDao()
          Gets the reference to fishingVessel'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  VesselMasterDao getVesselMasterDao()
          Gets the reference to vesselMaster's DAO.
 RemoteVesselMasterPeriodFullVO[] getVesselMasterPeriodByFishingVesselCode(java.lang.String code)
           
 RemoteVesselMasterPeriodFullVO getVesselMasterPeriodByIdentifiers(java.util.Date startDateTime, java.lang.Integer vesselMasterId, java.lang.String fishingVesselCode)
           
 RemoteVesselMasterPeriodFullVO getVesselMasterPeriodByNaturalId(RemoteVesselMasterPeriodNaturalId vesselMasterPeriodNaturalId)
           
 RemoteVesselMasterPeriodFullVO[] getVesselMasterPeriodByStartDateTime(java.util.Date startDateTime)
           
 RemoteVesselMasterPeriodFullVO[] getVesselMasterPeriodByStartDateTimes(java.util.Date[] startDateTime)
           
 RemoteVesselMasterPeriodFullVO[] getVesselMasterPeriodByVesselMasterId(java.lang.Integer id)
           
protected  VesselMasterPeriodDao getVesselMasterPeriodDao()
          Gets the reference to vesselMasterPeriod's DAO.
 RemoteVesselMasterPeriodNaturalId[] getVesselMasterPeriodNaturalIds()
           
protected abstract  RemoteVesselMasterPeriodFullVO handleAddVesselMasterPeriod(RemoteVesselMasterPeriodFullVO vesselMasterPeriod)
          Performs the core logic for addVesselMasterPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO)
protected abstract  RemoteVesselMasterPeriodFullVO[] handleGetAllVesselMasterPeriod()
          Performs the core logic for getAllVesselMasterPeriod()
protected abstract  ClusterVesselMasterPeriod handleGetClusterVesselMasterPeriodByIdentifiers(java.util.Date startDateTime, java.lang.Integer vesselMasterId, java.lang.String fishingVesselCode)
          Performs the core logic for getClusterVesselMasterPeriodByIdentifiers(java.util.Date, java.lang.Integer, java.lang.String)
protected abstract  RemoteVesselMasterPeriodFullVO[] handleGetVesselMasterPeriodByFishingVesselCode(java.lang.String code)
          Performs the core logic for getVesselMasterPeriodByFishingVesselCode(java.lang.String)
protected abstract  RemoteVesselMasterPeriodFullVO handleGetVesselMasterPeriodByIdentifiers(java.util.Date startDateTime, java.lang.Integer vesselMasterId, java.lang.String fishingVesselCode)
          Performs the core logic for getVesselMasterPeriodByIdentifiers(java.util.Date, java.lang.Integer, java.lang.String)
protected abstract  RemoteVesselMasterPeriodFullVO handleGetVesselMasterPeriodByNaturalId(RemoteVesselMasterPeriodNaturalId vesselMasterPeriodNaturalId)
          Performs the core logic for getVesselMasterPeriodByNaturalId(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodNaturalId)
protected abstract  RemoteVesselMasterPeriodFullVO[] handleGetVesselMasterPeriodByStartDateTime(java.util.Date startDateTime)
          Performs the core logic for getVesselMasterPeriodByStartDateTime(java.util.Date)
protected abstract  RemoteVesselMasterPeriodFullVO[] handleGetVesselMasterPeriodByStartDateTimes(java.util.Date[] startDateTime)
          Performs the core logic for getVesselMasterPeriodByStartDateTimes(java.util.Date[])
protected abstract  RemoteVesselMasterPeriodFullVO[] handleGetVesselMasterPeriodByVesselMasterId(java.lang.Integer id)
          Performs the core logic for getVesselMasterPeriodByVesselMasterId(java.lang.Integer)
protected abstract  RemoteVesselMasterPeriodNaturalId[] handleGetVesselMasterPeriodNaturalIds()
          Performs the core logic for getVesselMasterPeriodNaturalIds()
protected abstract  boolean handleRemoteVesselMasterPeriodFullVOsAreEqual(RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOFirst, RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOSecond)
          Performs the core logic for remoteVesselMasterPeriodFullVOsAreEqual(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO)
protected abstract  boolean handleRemoteVesselMasterPeriodFullVOsAreEqualOnIdentifiers(RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOFirst, RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOSecond)
          Performs the core logic for remoteVesselMasterPeriodFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO)
protected abstract  void handleRemoveVesselMasterPeriod(RemoteVesselMasterPeriodFullVO vesselMasterPeriod)
          Performs the core logic for removeVesselMasterPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO)
protected abstract  void handleUpdateVesselMasterPeriod(RemoteVesselMasterPeriodFullVO vesselMasterPeriod)
          Performs the core logic for updateVesselMasterPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO)
 boolean remoteVesselMasterPeriodFullVOsAreEqual(RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOFirst, RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOSecond)
           
 boolean remoteVesselMasterPeriodFullVOsAreEqualOnIdentifiers(RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOFirst, RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOSecond)
           
 void removeVesselMasterPeriod(RemoteVesselMasterPeriodFullVO vesselMasterPeriod)
           
 void setFishingVesselDao(FishingVesselDao fishingVesselDao)
          Sets the reference to fishingVessel's DAO.
 void setVesselMasterDao(VesselMasterDao vesselMasterDao)
          Sets the reference to vesselMaster's DAO.
 void setVesselMasterPeriodDao(VesselMasterPeriodDao vesselMasterPeriodDao)
          Sets the reference to vesselMasterPeriod's DAO.
 void updateVesselMasterPeriod(RemoteVesselMasterPeriodFullVO vesselMasterPeriod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteVesselMasterPeriodFullServiceBase

public RemoteVesselMasterPeriodFullServiceBase()
Method Detail

setVesselMasterPeriodDao

public void setVesselMasterPeriodDao(VesselMasterPeriodDao vesselMasterPeriodDao)
Sets the reference to vesselMasterPeriod's DAO.


getVesselMasterPeriodDao

protected VesselMasterPeriodDao getVesselMasterPeriodDao()
Gets the reference to vesselMasterPeriod's DAO.


setVesselMasterDao

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


getVesselMasterDao

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


setFishingVesselDao

public void setFishingVesselDao(FishingVesselDao fishingVesselDao)
Sets the reference to fishingVessel's DAO.


getFishingVesselDao

protected FishingVesselDao getFishingVesselDao()
Gets the reference to fishingVessel's DAO.


addVesselMasterPeriod

public RemoteVesselMasterPeriodFullVO addVesselMasterPeriod(RemoteVesselMasterPeriodFullVO vesselMasterPeriod)
Specified by:
addVesselMasterPeriod in interface RemoteVesselMasterPeriodFullService
See Also:
RemoteVesselMasterPeriodFullService.addVesselMasterPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO)

handleAddVesselMasterPeriod

protected abstract RemoteVesselMasterPeriodFullVO handleAddVesselMasterPeriod(RemoteVesselMasterPeriodFullVO vesselMasterPeriod)
                                                                       throws java.lang.Exception
Performs the core logic for addVesselMasterPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO)

Throws:
java.lang.Exception

updateVesselMasterPeriod

public void updateVesselMasterPeriod(RemoteVesselMasterPeriodFullVO vesselMasterPeriod)
Specified by:
updateVesselMasterPeriod in interface RemoteVesselMasterPeriodFullService
See Also:
RemoteVesselMasterPeriodFullService.updateVesselMasterPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO)

handleUpdateVesselMasterPeriod

protected abstract void handleUpdateVesselMasterPeriod(RemoteVesselMasterPeriodFullVO vesselMasterPeriod)
                                                throws java.lang.Exception
Performs the core logic for updateVesselMasterPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO)

Throws:
java.lang.Exception

removeVesselMasterPeriod

public void removeVesselMasterPeriod(RemoteVesselMasterPeriodFullVO vesselMasterPeriod)
Specified by:
removeVesselMasterPeriod in interface RemoteVesselMasterPeriodFullService
See Also:
RemoteVesselMasterPeriodFullService.removeVesselMasterPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO)

handleRemoveVesselMasterPeriod

protected abstract void handleRemoveVesselMasterPeriod(RemoteVesselMasterPeriodFullVO vesselMasterPeriod)
                                                throws java.lang.Exception
Performs the core logic for removeVesselMasterPeriod(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO)

Throws:
java.lang.Exception

getAllVesselMasterPeriod

public RemoteVesselMasterPeriodFullVO[] getAllVesselMasterPeriod()
Specified by:
getAllVesselMasterPeriod in interface RemoteVesselMasterPeriodFullService
See Also:
RemoteVesselMasterPeriodFullService.getAllVesselMasterPeriod()

handleGetAllVesselMasterPeriod

protected abstract RemoteVesselMasterPeriodFullVO[] handleGetAllVesselMasterPeriod()
                                                                            throws java.lang.Exception
Performs the core logic for getAllVesselMasterPeriod()

Throws:
java.lang.Exception

getVesselMasterPeriodByStartDateTime

public RemoteVesselMasterPeriodFullVO[] getVesselMasterPeriodByStartDateTime(java.util.Date startDateTime)
Specified by:
getVesselMasterPeriodByStartDateTime in interface RemoteVesselMasterPeriodFullService
See Also:
RemoteVesselMasterPeriodFullService.getVesselMasterPeriodByStartDateTime(java.util.Date)

handleGetVesselMasterPeriodByStartDateTime

protected abstract RemoteVesselMasterPeriodFullVO[] handleGetVesselMasterPeriodByStartDateTime(java.util.Date startDateTime)
                                                                                        throws java.lang.Exception
Performs the core logic for getVesselMasterPeriodByStartDateTime(java.util.Date)

Throws:
java.lang.Exception

getVesselMasterPeriodByStartDateTimes

public RemoteVesselMasterPeriodFullVO[] getVesselMasterPeriodByStartDateTimes(java.util.Date[] startDateTime)
Specified by:
getVesselMasterPeriodByStartDateTimes in interface RemoteVesselMasterPeriodFullService
See Also:
RemoteVesselMasterPeriodFullService.getVesselMasterPeriodByStartDateTimes(java.util.Date[])

handleGetVesselMasterPeriodByStartDateTimes

protected abstract RemoteVesselMasterPeriodFullVO[] handleGetVesselMasterPeriodByStartDateTimes(java.util.Date[] startDateTime)
                                                                                         throws java.lang.Exception
Performs the core logic for getVesselMasterPeriodByStartDateTimes(java.util.Date[])

Throws:
java.lang.Exception

getVesselMasterPeriodByVesselMasterId

public RemoteVesselMasterPeriodFullVO[] getVesselMasterPeriodByVesselMasterId(java.lang.Integer id)
Specified by:
getVesselMasterPeriodByVesselMasterId in interface RemoteVesselMasterPeriodFullService
See Also:
RemoteVesselMasterPeriodFullService.getVesselMasterPeriodByVesselMasterId(java.lang.Integer)

handleGetVesselMasterPeriodByVesselMasterId

protected abstract RemoteVesselMasterPeriodFullVO[] handleGetVesselMasterPeriodByVesselMasterId(java.lang.Integer id)
                                                                                         throws java.lang.Exception
Performs the core logic for getVesselMasterPeriodByVesselMasterId(java.lang.Integer)

Throws:
java.lang.Exception

getVesselMasterPeriodByFishingVesselCode

public RemoteVesselMasterPeriodFullVO[] getVesselMasterPeriodByFishingVesselCode(java.lang.String code)
Specified by:
getVesselMasterPeriodByFishingVesselCode in interface RemoteVesselMasterPeriodFullService
See Also:
RemoteVesselMasterPeriodFullService.getVesselMasterPeriodByFishingVesselCode(java.lang.String)

handleGetVesselMasterPeriodByFishingVesselCode

protected abstract RemoteVesselMasterPeriodFullVO[] handleGetVesselMasterPeriodByFishingVesselCode(java.lang.String code)
                                                                                            throws java.lang.Exception
Performs the core logic for getVesselMasterPeriodByFishingVesselCode(java.lang.String)

Throws:
java.lang.Exception

getVesselMasterPeriodByIdentifiers

public RemoteVesselMasterPeriodFullVO getVesselMasterPeriodByIdentifiers(java.util.Date startDateTime,
                                                                         java.lang.Integer vesselMasterId,
                                                                         java.lang.String fishingVesselCode)
Specified by:
getVesselMasterPeriodByIdentifiers in interface RemoteVesselMasterPeriodFullService
See Also:
RemoteVesselMasterPeriodFullService.getVesselMasterPeriodByIdentifiers(java.util.Date, java.lang.Integer, java.lang.String)

handleGetVesselMasterPeriodByIdentifiers

protected abstract RemoteVesselMasterPeriodFullVO handleGetVesselMasterPeriodByIdentifiers(java.util.Date startDateTime,
                                                                                           java.lang.Integer vesselMasterId,
                                                                                           java.lang.String fishingVesselCode)
                                                                                    throws java.lang.Exception
Performs the core logic for getVesselMasterPeriodByIdentifiers(java.util.Date, java.lang.Integer, java.lang.String)

Throws:
java.lang.Exception

remoteVesselMasterPeriodFullVOsAreEqualOnIdentifiers

public boolean remoteVesselMasterPeriodFullVOsAreEqualOnIdentifiers(RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOFirst,
                                                                    RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOSecond)
Specified by:
remoteVesselMasterPeriodFullVOsAreEqualOnIdentifiers in interface RemoteVesselMasterPeriodFullService
See Also:
RemoteVesselMasterPeriodFullService.remoteVesselMasterPeriodFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO)

handleRemoteVesselMasterPeriodFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteVesselMasterPeriodFullVOsAreEqualOnIdentifiers(RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOFirst,
                                                                                      RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOSecond)
                                                                               throws java.lang.Exception
Performs the core logic for remoteVesselMasterPeriodFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO)

Throws:
java.lang.Exception

remoteVesselMasterPeriodFullVOsAreEqual

public boolean remoteVesselMasterPeriodFullVOsAreEqual(RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOFirst,
                                                       RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOSecond)
Specified by:
remoteVesselMasterPeriodFullVOsAreEqual in interface RemoteVesselMasterPeriodFullService
See Also:
RemoteVesselMasterPeriodFullService.remoteVesselMasterPeriodFullVOsAreEqual(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO)

handleRemoteVesselMasterPeriodFullVOsAreEqual

protected abstract boolean handleRemoteVesselMasterPeriodFullVOsAreEqual(RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOFirst,
                                                                         RemoteVesselMasterPeriodFullVO remoteVesselMasterPeriodFullVOSecond)
                                                                  throws java.lang.Exception
Performs the core logic for remoteVesselMasterPeriodFullVOsAreEqual(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodFullVO)

Throws:
java.lang.Exception

getVesselMasterPeriodNaturalIds

public RemoteVesselMasterPeriodNaturalId[] getVesselMasterPeriodNaturalIds()
Specified by:
getVesselMasterPeriodNaturalIds in interface RemoteVesselMasterPeriodFullService
See Also:
RemoteVesselMasterPeriodFullService.getVesselMasterPeriodNaturalIds()

handleGetVesselMasterPeriodNaturalIds

protected abstract RemoteVesselMasterPeriodNaturalId[] handleGetVesselMasterPeriodNaturalIds()
                                                                                      throws java.lang.Exception
Performs the core logic for getVesselMasterPeriodNaturalIds()

Throws:
java.lang.Exception

getVesselMasterPeriodByNaturalId

public RemoteVesselMasterPeriodFullVO getVesselMasterPeriodByNaturalId(RemoteVesselMasterPeriodNaturalId vesselMasterPeriodNaturalId)
Specified by:
getVesselMasterPeriodByNaturalId in interface RemoteVesselMasterPeriodFullService
See Also:
RemoteVesselMasterPeriodFullService.getVesselMasterPeriodByNaturalId(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodNaturalId)

handleGetVesselMasterPeriodByNaturalId

protected abstract RemoteVesselMasterPeriodFullVO handleGetVesselMasterPeriodByNaturalId(RemoteVesselMasterPeriodNaturalId vesselMasterPeriodNaturalId)
                                                                                  throws java.lang.Exception
Performs the core logic for getVesselMasterPeriodByNaturalId(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselMasterPeriodNaturalId)

Throws:
java.lang.Exception

getClusterVesselMasterPeriodByIdentifiers

public ClusterVesselMasterPeriod getClusterVesselMasterPeriodByIdentifiers(java.util.Date startDateTime,
                                                                           java.lang.Integer vesselMasterId,
                                                                           java.lang.String fishingVesselCode)
Specified by:
getClusterVesselMasterPeriodByIdentifiers in interface RemoteVesselMasterPeriodFullService
See Also:
RemoteVesselMasterPeriodFullService.getClusterVesselMasterPeriodByIdentifiers(java.util.Date, java.lang.Integer, java.lang.String)

handleGetClusterVesselMasterPeriodByIdentifiers

protected abstract ClusterVesselMasterPeriod handleGetClusterVesselMasterPeriodByIdentifiers(java.util.Date startDateTime,
                                                                                             java.lang.Integer vesselMasterId,
                                                                                             java.lang.String fishingVesselCode)
                                                                                      throws java.lang.Exception
Performs the core logic for getClusterVesselMasterPeriodByIdentifiers(java.util.Date, java.lang.Integer, java.lang.String)

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.