fr.ifremer.allegro.data.vessel.feature.use.generic.service
Class RemoteUseFeaturesFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.data.vessel.feature.use.generic.service.RemoteUseFeaturesFullServiceBase
All Implemented Interfaces:
RemoteUseFeaturesFullService
Direct Known Subclasses:
RemoteUseFeaturesFullServiceImpl

public abstract class RemoteUseFeaturesFullServiceBase
extends java.lang.Object
implements RemoteUseFeaturesFullService

Spring Service base class for fr.ifremer.allegro.data.vessel.feature.use.generic.service.RemoteUseFeaturesFullService, provides access to all services and entities referenced by this service.

See Also:
RemoteUseFeaturesFullService

Constructor Summary
RemoteUseFeaturesFullServiceBase()
           
 
Method Summary
 RemoteUseFeaturesFullVO[] getAllUseFeatures()
           
 ClusterUseFeatures getClusterUseFeaturesByIdentifiers(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  ProgramDao getProgramDao()
          Gets the reference to program's DAO.
protected  QualityFlagDao getQualityFlagDao()
          Gets the reference to qualityFlag's DAO.
 RemoteUseFeaturesFullVO getUseFeaturesById(java.lang.Integer id)
           
 RemoteUseFeaturesFullVO[] getUseFeaturesByIds(java.lang.Integer[] id)
           
 RemoteUseFeaturesFullVO getUseFeaturesByNaturalId(RemoteUseFeaturesNaturalId useFeaturesNaturalId)
           
 RemoteUseFeaturesFullVO[] getUseFeaturesByProgramCode(java.lang.String code)
           
 RemoteUseFeaturesFullVO[] getUseFeaturesByQualityFlagCode(java.lang.String code)
           
 RemoteUseFeaturesFullVO[] getUseFeaturesByVesselCode(java.lang.String code)
           
protected  UseFeaturesDao getUseFeaturesDao()
          Gets the reference to useFeatures's DAO.
 RemoteUseFeaturesNaturalId getUseFeaturesNaturalIdById(java.lang.Integer id)
           
 RemoteUseFeaturesNaturalId[] getUseFeaturesNaturalIds()
           
protected  VesselDao getVesselDao()
          Gets the reference to vessel's DAO.
protected abstract  RemoteUseFeaturesFullVO[] handleGetAllUseFeatures()
          Performs the core logic for getAllUseFeatures()
protected abstract  ClusterUseFeatures handleGetClusterUseFeaturesByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterUseFeaturesByIdentifiers(java.lang.Integer)
protected abstract  RemoteUseFeaturesFullVO handleGetUseFeaturesById(java.lang.Integer id)
          Performs the core logic for getUseFeaturesById(java.lang.Integer)
protected abstract  RemoteUseFeaturesFullVO[] handleGetUseFeaturesByIds(java.lang.Integer[] id)
          Performs the core logic for getUseFeaturesByIds(java.lang.Integer[])
protected abstract  RemoteUseFeaturesFullVO handleGetUseFeaturesByNaturalId(RemoteUseFeaturesNaturalId useFeaturesNaturalId)
          Performs the core logic for getUseFeaturesByNaturalId(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesNaturalId)
protected abstract  RemoteUseFeaturesFullVO[] handleGetUseFeaturesByProgramCode(java.lang.String code)
          Performs the core logic for getUseFeaturesByProgramCode(java.lang.String)
protected abstract  RemoteUseFeaturesFullVO[] handleGetUseFeaturesByQualityFlagCode(java.lang.String code)
          Performs the core logic for getUseFeaturesByQualityFlagCode(java.lang.String)
protected abstract  RemoteUseFeaturesFullVO[] handleGetUseFeaturesByVesselCode(java.lang.String code)
          Performs the core logic for getUseFeaturesByVesselCode(java.lang.String)
protected abstract  RemoteUseFeaturesNaturalId handleGetUseFeaturesNaturalIdById(java.lang.Integer id)
          Performs the core logic for getUseFeaturesNaturalIdById(java.lang.Integer)
protected abstract  RemoteUseFeaturesNaturalId[] handleGetUseFeaturesNaturalIds()
          Performs the core logic for getUseFeaturesNaturalIds()
protected abstract  boolean handleRemoteUseFeaturesFullVOsAreEqual(RemoteUseFeaturesFullVO remoteUseFeaturesFullVOFirst, RemoteUseFeaturesFullVO remoteUseFeaturesFullVOSecond)
          Performs the core logic for remoteUseFeaturesFullVOsAreEqual(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO, fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO)
protected abstract  boolean handleRemoteUseFeaturesFullVOsAreEqualOnIdentifiers(RemoteUseFeaturesFullVO remoteUseFeaturesFullVOFirst, RemoteUseFeaturesFullVO remoteUseFeaturesFullVOSecond)
          Performs the core logic for remoteUseFeaturesFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO, fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO)
protected abstract  void handleRemoveUseFeatures(RemoteUseFeaturesFullVO useFeatures)
          Performs the core logic for removeUseFeatures(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO)
 boolean remoteUseFeaturesFullVOsAreEqual(RemoteUseFeaturesFullVO remoteUseFeaturesFullVOFirst, RemoteUseFeaturesFullVO remoteUseFeaturesFullVOSecond)
           
 boolean remoteUseFeaturesFullVOsAreEqualOnIdentifiers(RemoteUseFeaturesFullVO remoteUseFeaturesFullVOFirst, RemoteUseFeaturesFullVO remoteUseFeaturesFullVOSecond)
           
 void removeUseFeatures(RemoteUseFeaturesFullVO useFeatures)
           
 void setProgramDao(ProgramDao programDao)
          Sets the reference to program's DAO.
 void setQualityFlagDao(QualityFlagDao qualityFlagDao)
          Sets the reference to qualityFlag's DAO.
 void setUseFeaturesDao(UseFeaturesDao useFeaturesDao)
          Sets the reference to useFeatures's DAO.
 void setVesselDao(VesselDao vesselDao)
          Sets the reference to vessel's DAO.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteUseFeaturesFullServiceBase

public RemoteUseFeaturesFullServiceBase()
Method Detail

setUseFeaturesDao

public void setUseFeaturesDao(UseFeaturesDao useFeaturesDao)
Sets the reference to useFeatures's DAO.


getUseFeaturesDao

protected UseFeaturesDao getUseFeaturesDao()
Gets the reference to useFeatures's DAO.


setQualityFlagDao

public void setQualityFlagDao(QualityFlagDao qualityFlagDao)
Sets the reference to qualityFlag's DAO.


getQualityFlagDao

protected QualityFlagDao getQualityFlagDao()
Gets the reference to qualityFlag's DAO.


setVesselDao

public void setVesselDao(VesselDao vesselDao)
Sets the reference to vessel's DAO.


getVesselDao

protected VesselDao getVesselDao()
Gets the reference to vessel's DAO.


setProgramDao

public void setProgramDao(ProgramDao programDao)
Sets the reference to program's DAO.


getProgramDao

protected ProgramDao getProgramDao()
Gets the reference to program's DAO.


removeUseFeatures

public void removeUseFeatures(RemoteUseFeaturesFullVO useFeatures)
Specified by:
removeUseFeatures in interface RemoteUseFeaturesFullService
See Also:
RemoteUseFeaturesFullService.removeUseFeatures(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO)

handleRemoveUseFeatures

protected abstract void handleRemoveUseFeatures(RemoteUseFeaturesFullVO useFeatures)
                                         throws java.lang.Exception
Performs the core logic for removeUseFeatures(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO)

Throws:
java.lang.Exception

getAllUseFeatures

public RemoteUseFeaturesFullVO[] getAllUseFeatures()
Specified by:
getAllUseFeatures in interface RemoteUseFeaturesFullService
See Also:
RemoteUseFeaturesFullService.getAllUseFeatures()

handleGetAllUseFeatures

protected abstract RemoteUseFeaturesFullVO[] handleGetAllUseFeatures()
                                                              throws java.lang.Exception
Performs the core logic for getAllUseFeatures()

Throws:
java.lang.Exception

getUseFeaturesById

public RemoteUseFeaturesFullVO getUseFeaturesById(java.lang.Integer id)
Specified by:
getUseFeaturesById in interface RemoteUseFeaturesFullService
See Also:
RemoteUseFeaturesFullService.getUseFeaturesById(java.lang.Integer)

handleGetUseFeaturesById

protected abstract RemoteUseFeaturesFullVO handleGetUseFeaturesById(java.lang.Integer id)
                                                             throws java.lang.Exception
Performs the core logic for getUseFeaturesById(java.lang.Integer)

Throws:
java.lang.Exception

getUseFeaturesByIds

public RemoteUseFeaturesFullVO[] getUseFeaturesByIds(java.lang.Integer[] id)
Specified by:
getUseFeaturesByIds in interface RemoteUseFeaturesFullService
See Also:
RemoteUseFeaturesFullService.getUseFeaturesByIds(java.lang.Integer[])

handleGetUseFeaturesByIds

protected abstract RemoteUseFeaturesFullVO[] handleGetUseFeaturesByIds(java.lang.Integer[] id)
                                                                throws java.lang.Exception
Performs the core logic for getUseFeaturesByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getUseFeaturesByQualityFlagCode

public RemoteUseFeaturesFullVO[] getUseFeaturesByQualityFlagCode(java.lang.String code)
Specified by:
getUseFeaturesByQualityFlagCode in interface RemoteUseFeaturesFullService
See Also:
RemoteUseFeaturesFullService.getUseFeaturesByQualityFlagCode(java.lang.String)

handleGetUseFeaturesByQualityFlagCode

protected abstract RemoteUseFeaturesFullVO[] handleGetUseFeaturesByQualityFlagCode(java.lang.String code)
                                                                            throws java.lang.Exception
Performs the core logic for getUseFeaturesByQualityFlagCode(java.lang.String)

Throws:
java.lang.Exception

getUseFeaturesByVesselCode

public RemoteUseFeaturesFullVO[] getUseFeaturesByVesselCode(java.lang.String code)
Specified by:
getUseFeaturesByVesselCode in interface RemoteUseFeaturesFullService
See Also:
RemoteUseFeaturesFullService.getUseFeaturesByVesselCode(java.lang.String)

handleGetUseFeaturesByVesselCode

protected abstract RemoteUseFeaturesFullVO[] handleGetUseFeaturesByVesselCode(java.lang.String code)
                                                                       throws java.lang.Exception
Performs the core logic for getUseFeaturesByVesselCode(java.lang.String)

Throws:
java.lang.Exception

getUseFeaturesByProgramCode

public RemoteUseFeaturesFullVO[] getUseFeaturesByProgramCode(java.lang.String code)
Specified by:
getUseFeaturesByProgramCode in interface RemoteUseFeaturesFullService
See Also:
RemoteUseFeaturesFullService.getUseFeaturesByProgramCode(java.lang.String)

handleGetUseFeaturesByProgramCode

protected abstract RemoteUseFeaturesFullVO[] handleGetUseFeaturesByProgramCode(java.lang.String code)
                                                                        throws java.lang.Exception
Performs the core logic for getUseFeaturesByProgramCode(java.lang.String)

Throws:
java.lang.Exception

remoteUseFeaturesFullVOsAreEqualOnIdentifiers

public boolean remoteUseFeaturesFullVOsAreEqualOnIdentifiers(RemoteUseFeaturesFullVO remoteUseFeaturesFullVOFirst,
                                                             RemoteUseFeaturesFullVO remoteUseFeaturesFullVOSecond)
Specified by:
remoteUseFeaturesFullVOsAreEqualOnIdentifiers in interface RemoteUseFeaturesFullService
See Also:
RemoteUseFeaturesFullService.remoteUseFeaturesFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO, fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO)

handleRemoteUseFeaturesFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteUseFeaturesFullVOsAreEqualOnIdentifiers(RemoteUseFeaturesFullVO remoteUseFeaturesFullVOFirst,
                                                                               RemoteUseFeaturesFullVO remoteUseFeaturesFullVOSecond)
                                                                        throws java.lang.Exception
Performs the core logic for remoteUseFeaturesFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO, fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO)

Throws:
java.lang.Exception

remoteUseFeaturesFullVOsAreEqual

public boolean remoteUseFeaturesFullVOsAreEqual(RemoteUseFeaturesFullVO remoteUseFeaturesFullVOFirst,
                                                RemoteUseFeaturesFullVO remoteUseFeaturesFullVOSecond)
Specified by:
remoteUseFeaturesFullVOsAreEqual in interface RemoteUseFeaturesFullService
See Also:
RemoteUseFeaturesFullService.remoteUseFeaturesFullVOsAreEqual(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO, fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO)

handleRemoteUseFeaturesFullVOsAreEqual

protected abstract boolean handleRemoteUseFeaturesFullVOsAreEqual(RemoteUseFeaturesFullVO remoteUseFeaturesFullVOFirst,
                                                                  RemoteUseFeaturesFullVO remoteUseFeaturesFullVOSecond)
                                                           throws java.lang.Exception
Performs the core logic for remoteUseFeaturesFullVOsAreEqual(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO, fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO)

Throws:
java.lang.Exception

getUseFeaturesNaturalIds

public RemoteUseFeaturesNaturalId[] getUseFeaturesNaturalIds()
Specified by:
getUseFeaturesNaturalIds in interface RemoteUseFeaturesFullService
See Also:
RemoteUseFeaturesFullService.getUseFeaturesNaturalIds()

handleGetUseFeaturesNaturalIds

protected abstract RemoteUseFeaturesNaturalId[] handleGetUseFeaturesNaturalIds()
                                                                        throws java.lang.Exception
Performs the core logic for getUseFeaturesNaturalIds()

Throws:
java.lang.Exception

getUseFeaturesByNaturalId

public RemoteUseFeaturesFullVO getUseFeaturesByNaturalId(RemoteUseFeaturesNaturalId useFeaturesNaturalId)
Specified by:
getUseFeaturesByNaturalId in interface RemoteUseFeaturesFullService
See Also:
RemoteUseFeaturesFullService.getUseFeaturesByNaturalId(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesNaturalId)

handleGetUseFeaturesByNaturalId

protected abstract RemoteUseFeaturesFullVO handleGetUseFeaturesByNaturalId(RemoteUseFeaturesNaturalId useFeaturesNaturalId)
                                                                    throws java.lang.Exception
Performs the core logic for getUseFeaturesByNaturalId(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesNaturalId)

Throws:
java.lang.Exception

getUseFeaturesNaturalIdById

public RemoteUseFeaturesNaturalId getUseFeaturesNaturalIdById(java.lang.Integer id)
Specified by:
getUseFeaturesNaturalIdById in interface RemoteUseFeaturesFullService
See Also:
RemoteUseFeaturesFullService.getUseFeaturesNaturalIdById(java.lang.Integer)

handleGetUseFeaturesNaturalIdById

protected abstract RemoteUseFeaturesNaturalId handleGetUseFeaturesNaturalIdById(java.lang.Integer id)
                                                                         throws java.lang.Exception
Performs the core logic for getUseFeaturesNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

getClusterUseFeaturesByIdentifiers

public ClusterUseFeatures getClusterUseFeaturesByIdentifiers(java.lang.Integer id)
Specified by:
getClusterUseFeaturesByIdentifiers in interface RemoteUseFeaturesFullService
See Also:
RemoteUseFeaturesFullService.getClusterUseFeaturesByIdentifiers(java.lang.Integer)

handleGetClusterUseFeaturesByIdentifiers

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