fr.ifremer.allegro.data.operation.generic.service
Class RemoteOperationFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.data.operation.generic.service.RemoteOperationFullServiceBase
All Implemented Interfaces:
RemoteOperationFullService
Direct Known Subclasses:
RemoteOperationFullServiceImpl

public abstract class RemoteOperationFullServiceBase
extends java.lang.Object
implements RemoteOperationFullService

Spring Service base class for fr.ifremer.allegro.data.operation.generic.service.RemoteOperationFullService, provides access to all services and entities referenced by this service.

See Also:
RemoteOperationFullService

Constructor Summary
RemoteOperationFullServiceBase()
           
 
Method Summary
 RemoteOperationFullVO addOperation(RemoteOperationFullVO operation)
           
 ClusterOperation addOrUpdateClusterOperation(ClusterOperation clusterOperation)
           
 ClusterOperation[] getAllClusterOperation(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteOperationFullVO[] getAllOperation()
           
 ClusterOperation getClusterOperationByIdentifiers(java.lang.Integer id)
           
protected  FishingTripDao getFishingTripDao()
          Gets the reference to fishingTrip's DAO.
protected  GearPhysicalFeaturesDao getGearPhysicalFeaturesDao()
          Gets the reference to gearPhysicalFeatures's DAO.
protected  GearUseFeaturesDao getGearUseFeaturesDao()
          Gets the reference to gearUseFeatures'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.
 RemoteOperationFullVO[] getOperationByFishingTripId(java.lang.Integer id)
           
 RemoteOperationFullVO[] getOperationByGearPhysicalFeaturesId(java.lang.Integer id)
           
 RemoteOperationFullVO getOperationById(java.lang.Integer id)
           
 RemoteOperationFullVO[] getOperationByIds(java.lang.Integer[] id)
           
 RemoteOperationFullVO getOperationByNaturalId(RemoteOperationNaturalId operationNaturalId)
           
 RemoteOperationFullVO[] getOperationByQualityFlagCode(java.lang.String code)
           
 RemoteOperationFullVO[] getOperationByVesselCode(java.lang.String code)
           
protected  OperationDao getOperationDao()
          Gets the reference to operation's DAO.
 RemoteOperationNaturalId getOperationNaturalIdById(java.lang.Integer id)
           
 RemoteOperationNaturalId[] getOperationNaturalIds()
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  QualityFlagDao getQualityFlagDao()
          Gets the reference to qualityFlag's DAO.
protected  VesselDao getVesselDao()
          Gets the reference to vessel's DAO.
protected  VesselPositionDao getVesselPositionDao()
          Gets the reference to vesselPosition's DAO.
protected  VesselUseFeaturesDao getVesselUseFeaturesDao()
          Gets the reference to vesselUseFeatures's DAO.
protected abstract  RemoteOperationFullVO handleAddOperation(RemoteOperationFullVO operation)
          Performs the core logic for addOperation(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)
protected abstract  ClusterOperation handleAddOrUpdateClusterOperation(ClusterOperation clusterOperation)
          Performs the core logic for addOrUpdateClusterOperation(fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation)
protected abstract  ClusterOperation[] handleGetAllClusterOperation(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterOperation(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteOperationFullVO[] handleGetAllOperation()
          Performs the core logic for getAllOperation()
protected abstract  ClusterOperation handleGetClusterOperationByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterOperationByIdentifiers(java.lang.Integer)
protected abstract  RemoteOperationFullVO[] handleGetOperationByFishingTripId(java.lang.Integer id)
          Performs the core logic for getOperationByFishingTripId(java.lang.Integer)
protected abstract  RemoteOperationFullVO[] handleGetOperationByGearPhysicalFeaturesId(java.lang.Integer id)
          Performs the core logic for getOperationByGearPhysicalFeaturesId(java.lang.Integer)
protected abstract  RemoteOperationFullVO handleGetOperationById(java.lang.Integer id)
          Performs the core logic for getOperationById(java.lang.Integer)
protected abstract  RemoteOperationFullVO[] handleGetOperationByIds(java.lang.Integer[] id)
          Performs the core logic for getOperationByIds(java.lang.Integer[])
protected abstract  RemoteOperationFullVO handleGetOperationByNaturalId(RemoteOperationNaturalId operationNaturalId)
          Performs the core logic for getOperationByNaturalId(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationNaturalId)
protected abstract  RemoteOperationFullVO[] handleGetOperationByQualityFlagCode(java.lang.String code)
          Performs the core logic for getOperationByQualityFlagCode(java.lang.String)
protected abstract  RemoteOperationFullVO[] handleGetOperationByVesselCode(java.lang.String code)
          Performs the core logic for getOperationByVesselCode(java.lang.String)
protected abstract  RemoteOperationNaturalId handleGetOperationNaturalIdById(java.lang.Integer id)
          Performs the core logic for getOperationNaturalIdById(java.lang.Integer)
protected abstract  RemoteOperationNaturalId[] handleGetOperationNaturalIds()
          Performs the core logic for getOperationNaturalIds()
protected abstract  boolean handleRemoteOperationFullVOsAreEqual(RemoteOperationFullVO remoteOperationFullVOFirst, RemoteOperationFullVO remoteOperationFullVOSecond)
          Performs the core logic for remoteOperationFullVOsAreEqual(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO, fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)
protected abstract  boolean handleRemoteOperationFullVOsAreEqualOnIdentifiers(RemoteOperationFullVO remoteOperationFullVOFirst, RemoteOperationFullVO remoteOperationFullVOSecond)
          Performs the core logic for remoteOperationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO, fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)
protected abstract  void handleRemoveOperation(RemoteOperationFullVO operation)
          Performs the core logic for removeOperation(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)
protected abstract  void handleUpdateOperation(RemoteOperationFullVO operation)
          Performs the core logic for updateOperation(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)
 boolean remoteOperationFullVOsAreEqual(RemoteOperationFullVO remoteOperationFullVOFirst, RemoteOperationFullVO remoteOperationFullVOSecond)
           
 boolean remoteOperationFullVOsAreEqualOnIdentifiers(RemoteOperationFullVO remoteOperationFullVOFirst, RemoteOperationFullVO remoteOperationFullVOSecond)
           
 void removeOperation(RemoteOperationFullVO operation)
           
 void setFishingTripDao(FishingTripDao fishingTripDao)
          Sets the reference to fishingTrip's DAO.
 void setGearPhysicalFeaturesDao(GearPhysicalFeaturesDao gearPhysicalFeaturesDao)
          Sets the reference to gearPhysicalFeatures's DAO.
 void setGearUseFeaturesDao(GearUseFeaturesDao gearUseFeaturesDao)
          Sets the reference to gearUseFeatures's DAO.
 void setOperationDao(OperationDao operationDao)
          Sets the reference to operation's DAO.
 void setQualityFlagDao(QualityFlagDao qualityFlagDao)
          Sets the reference to qualityFlag's DAO.
 void setVesselDao(VesselDao vesselDao)
          Sets the reference to vessel's DAO.
 void setVesselPositionDao(VesselPositionDao vesselPositionDao)
          Sets the reference to vesselPosition's DAO.
 void setVesselUseFeaturesDao(VesselUseFeaturesDao vesselUseFeaturesDao)
          Sets the reference to vesselUseFeatures's DAO.
 void updateOperation(RemoteOperationFullVO operation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteOperationFullServiceBase

public RemoteOperationFullServiceBase()
Method Detail

setOperationDao

public void setOperationDao(OperationDao operationDao)
Sets the reference to operation's DAO.


getOperationDao

protected OperationDao getOperationDao()
Gets the reference to operation'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.


setGearPhysicalFeaturesDao

public void setGearPhysicalFeaturesDao(GearPhysicalFeaturesDao gearPhysicalFeaturesDao)
Sets the reference to gearPhysicalFeatures's DAO.


getGearPhysicalFeaturesDao

protected GearPhysicalFeaturesDao getGearPhysicalFeaturesDao()
Gets the reference to gearPhysicalFeatures's DAO.


setGearUseFeaturesDao

public void setGearUseFeaturesDao(GearUseFeaturesDao gearUseFeaturesDao)
Sets the reference to gearUseFeatures's DAO.


getGearUseFeaturesDao

protected GearUseFeaturesDao getGearUseFeaturesDao()
Gets the reference to gearUseFeatures's DAO.


setFishingTripDao

public void setFishingTripDao(FishingTripDao fishingTripDao)
Sets the reference to fishingTrip's DAO.


getFishingTripDao

protected FishingTripDao getFishingTripDao()
Gets the reference to fishingTrip's DAO.


setVesselUseFeaturesDao

public void setVesselUseFeaturesDao(VesselUseFeaturesDao vesselUseFeaturesDao)
Sets the reference to vesselUseFeatures's DAO.


getVesselUseFeaturesDao

protected VesselUseFeaturesDao getVesselUseFeaturesDao()
Gets the reference to vesselUseFeatures's DAO.


setVesselPositionDao

public void setVesselPositionDao(VesselPositionDao vesselPositionDao)
Sets the reference to vesselPosition's DAO.


getVesselPositionDao

protected VesselPositionDao getVesselPositionDao()
Gets the reference to vesselPosition'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.


addOperation

public RemoteOperationFullVO addOperation(RemoteOperationFullVO operation)
Specified by:
addOperation in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.addOperation(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)

handleAddOperation

protected abstract RemoteOperationFullVO handleAddOperation(RemoteOperationFullVO operation)
                                                     throws java.lang.Exception
Performs the core logic for addOperation(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)

Throws:
java.lang.Exception

updateOperation

public void updateOperation(RemoteOperationFullVO operation)
Specified by:
updateOperation in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.updateOperation(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)

handleUpdateOperation

protected abstract void handleUpdateOperation(RemoteOperationFullVO operation)
                                       throws java.lang.Exception
Performs the core logic for updateOperation(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)

Throws:
java.lang.Exception

removeOperation

public void removeOperation(RemoteOperationFullVO operation)
Specified by:
removeOperation in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.removeOperation(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)

handleRemoveOperation

protected abstract void handleRemoveOperation(RemoteOperationFullVO operation)
                                       throws java.lang.Exception
Performs the core logic for removeOperation(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)

Throws:
java.lang.Exception

getAllOperation

public RemoteOperationFullVO[] getAllOperation()
Specified by:
getAllOperation in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.getAllOperation()

handleGetAllOperation

protected abstract RemoteOperationFullVO[] handleGetAllOperation()
                                                          throws java.lang.Exception
Performs the core logic for getAllOperation()

Throws:
java.lang.Exception

getOperationById

public RemoteOperationFullVO getOperationById(java.lang.Integer id)
Specified by:
getOperationById in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.getOperationById(java.lang.Integer)

handleGetOperationById

protected abstract RemoteOperationFullVO handleGetOperationById(java.lang.Integer id)
                                                         throws java.lang.Exception
Performs the core logic for getOperationById(java.lang.Integer)

Throws:
java.lang.Exception

getOperationByIds

public RemoteOperationFullVO[] getOperationByIds(java.lang.Integer[] id)
Specified by:
getOperationByIds in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.getOperationByIds(java.lang.Integer[])

handleGetOperationByIds

protected abstract RemoteOperationFullVO[] handleGetOperationByIds(java.lang.Integer[] id)
                                                            throws java.lang.Exception
Performs the core logic for getOperationByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getOperationByVesselCode

public RemoteOperationFullVO[] getOperationByVesselCode(java.lang.String code)
Specified by:
getOperationByVesselCode in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.getOperationByVesselCode(java.lang.String)

handleGetOperationByVesselCode

protected abstract RemoteOperationFullVO[] handleGetOperationByVesselCode(java.lang.String code)
                                                                   throws java.lang.Exception
Performs the core logic for getOperationByVesselCode(java.lang.String)

Throws:
java.lang.Exception

getOperationByGearPhysicalFeaturesId

public RemoteOperationFullVO[] getOperationByGearPhysicalFeaturesId(java.lang.Integer id)
Specified by:
getOperationByGearPhysicalFeaturesId in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.getOperationByGearPhysicalFeaturesId(java.lang.Integer)

handleGetOperationByGearPhysicalFeaturesId

protected abstract RemoteOperationFullVO[] handleGetOperationByGearPhysicalFeaturesId(java.lang.Integer id)
                                                                               throws java.lang.Exception
Performs the core logic for getOperationByGearPhysicalFeaturesId(java.lang.Integer)

Throws:
java.lang.Exception

getOperationByFishingTripId

public RemoteOperationFullVO[] getOperationByFishingTripId(java.lang.Integer id)
Specified by:
getOperationByFishingTripId in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.getOperationByFishingTripId(java.lang.Integer)

handleGetOperationByFishingTripId

protected abstract RemoteOperationFullVO[] handleGetOperationByFishingTripId(java.lang.Integer id)
                                                                      throws java.lang.Exception
Performs the core logic for getOperationByFishingTripId(java.lang.Integer)

Throws:
java.lang.Exception

getOperationByQualityFlagCode

public RemoteOperationFullVO[] getOperationByQualityFlagCode(java.lang.String code)
Specified by:
getOperationByQualityFlagCode in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.getOperationByQualityFlagCode(java.lang.String)

handleGetOperationByQualityFlagCode

protected abstract RemoteOperationFullVO[] handleGetOperationByQualityFlagCode(java.lang.String code)
                                                                        throws java.lang.Exception
Performs the core logic for getOperationByQualityFlagCode(java.lang.String)

Throws:
java.lang.Exception

remoteOperationFullVOsAreEqualOnIdentifiers

public boolean remoteOperationFullVOsAreEqualOnIdentifiers(RemoteOperationFullVO remoteOperationFullVOFirst,
                                                           RemoteOperationFullVO remoteOperationFullVOSecond)
Specified by:
remoteOperationFullVOsAreEqualOnIdentifiers in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.remoteOperationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO, fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)

handleRemoteOperationFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteOperationFullVOsAreEqualOnIdentifiers(RemoteOperationFullVO remoteOperationFullVOFirst,
                                                                             RemoteOperationFullVO remoteOperationFullVOSecond)
                                                                      throws java.lang.Exception
Performs the core logic for remoteOperationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO, fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)

Throws:
java.lang.Exception

remoteOperationFullVOsAreEqual

public boolean remoteOperationFullVOsAreEqual(RemoteOperationFullVO remoteOperationFullVOFirst,
                                              RemoteOperationFullVO remoteOperationFullVOSecond)
Specified by:
remoteOperationFullVOsAreEqual in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.remoteOperationFullVOsAreEqual(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO, fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)

handleRemoteOperationFullVOsAreEqual

protected abstract boolean handleRemoteOperationFullVOsAreEqual(RemoteOperationFullVO remoteOperationFullVOFirst,
                                                                RemoteOperationFullVO remoteOperationFullVOSecond)
                                                         throws java.lang.Exception
Performs the core logic for remoteOperationFullVOsAreEqual(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO, fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationFullVO)

Throws:
java.lang.Exception

getOperationNaturalIds

public RemoteOperationNaturalId[] getOperationNaturalIds()
Specified by:
getOperationNaturalIds in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.getOperationNaturalIds()

handleGetOperationNaturalIds

protected abstract RemoteOperationNaturalId[] handleGetOperationNaturalIds()
                                                                    throws java.lang.Exception
Performs the core logic for getOperationNaturalIds()

Throws:
java.lang.Exception

getOperationByNaturalId

public RemoteOperationFullVO getOperationByNaturalId(RemoteOperationNaturalId operationNaturalId)
Specified by:
getOperationByNaturalId in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.getOperationByNaturalId(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationNaturalId)

handleGetOperationByNaturalId

protected abstract RemoteOperationFullVO handleGetOperationByNaturalId(RemoteOperationNaturalId operationNaturalId)
                                                                throws java.lang.Exception
Performs the core logic for getOperationByNaturalId(fr.ifremer.allegro.data.operation.generic.vo.RemoteOperationNaturalId)

Throws:
java.lang.Exception

getOperationNaturalIdById

public RemoteOperationNaturalId getOperationNaturalIdById(java.lang.Integer id)
Specified by:
getOperationNaturalIdById in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.getOperationNaturalIdById(java.lang.Integer)

handleGetOperationNaturalIdById

protected abstract RemoteOperationNaturalId handleGetOperationNaturalIdById(java.lang.Integer id)
                                                                     throws java.lang.Exception
Performs the core logic for getOperationNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

getAllClusterOperation

public ClusterOperation[] getAllClusterOperation(java.lang.Integer userId,
                                                 java.lang.Integer[] registrationLocationIds,
                                                 java.lang.Integer pageNumber,
                                                 java.lang.Integer pageSize)
Specified by:
getAllClusterOperation in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.getAllClusterOperation(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterOperation

protected abstract ClusterOperation[] handleGetAllClusterOperation(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 getAllClusterOperation(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterOperationByIdentifiers

public ClusterOperation getClusterOperationByIdentifiers(java.lang.Integer id)
Specified by:
getClusterOperationByIdentifiers in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.getClusterOperationByIdentifiers(java.lang.Integer)

handleGetClusterOperationByIdentifiers

protected abstract ClusterOperation handleGetClusterOperationByIdentifiers(java.lang.Integer id)
                                                                    throws java.lang.Exception
Performs the core logic for getClusterOperationByIdentifiers(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterOperation

public ClusterOperation addOrUpdateClusterOperation(ClusterOperation clusterOperation)
Specified by:
addOrUpdateClusterOperation in interface RemoteOperationFullService
See Also:
RemoteOperationFullService.addOrUpdateClusterOperation(fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation)

handleAddOrUpdateClusterOperation

protected abstract ClusterOperation handleAddOrUpdateClusterOperation(ClusterOperation clusterOperation)
                                                               throws java.lang.Exception
Performs the core logic for addOrUpdateClusterOperation(fr.ifremer.allegro.data.operation.generic.cluster.ClusterOperation)

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.