fr.ifremer.allegro.referential.gear.generic.service
Class RemoteFishingGearFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.referential.gear.generic.service.RemoteFishingGearFullServiceBase
All Implemented Interfaces:
RemoteFishingGearFullService
Direct Known Subclasses:
RemoteFishingGearFullServiceImpl

public abstract class RemoteFishingGearFullServiceBase
extends java.lang.Object
implements RemoteFishingGearFullService

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

See Also:
RemoteFishingGearFullService

Constructor Summary
RemoteFishingGearFullServiceBase()
           
 
Method Summary
 RemoteFishingGearFullVO addFishingGear(RemoteFishingGearFullVO fishingGear)
           
 ClusterFishingGear addOrUpdateClusterFishingGear(ClusterFishingGear clusterFishingGear)
           
 ClusterFishingGear[] getAllClusterFishingGearSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteFishingGearFullVO[] getAllFishingGear()
           
 ClusterFishingGear getClusterFishingGearByIdentifiers(java.lang.Integer id)
           
 RemoteFishingGearFullVO[] getFishingGearByGearClassificationId(java.lang.Integer id)
           
 RemoteFishingGearFullVO getFishingGearById(java.lang.Integer id)
           
 RemoteFishingGearFullVO[] getFishingGearByIds(java.lang.Integer[] id)
           
 RemoteFishingGearFullVO getFishingGearByNaturalId(RemoteFishingGearNaturalId fishingGearNaturalId)
           
 RemoteFishingGearFullVO[] getFishingGearByParentGearId(java.lang.Integer id)
           
 RemoteFishingGearFullVO[] getFishingGearByStatusCode(java.lang.String code)
           
protected  FishingGearDao getFishingGearDao()
          Gets the reference to fishingGear's DAO.
 RemoteFishingGearNaturalId getFishingGearNaturalIdById(java.lang.Integer id)
           
 RemoteFishingGearNaturalId[] getFishingGearNaturalIds()
           
protected  GearAssociationDao getGearAssociationDao()
          Gets the reference to gearAssociation's DAO.
protected  GearClassificationDao getGearClassificationDao()
          Gets the reference to gearClassification's DAO.
protected  GearDao getGearDao()
          Gets the reference to gear'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  StatusDao getStatusDao()
          Gets the reference to status's DAO.
protected abstract  RemoteFishingGearFullVO handleAddFishingGear(RemoteFishingGearFullVO fishingGear)
          Performs the core logic for addFishingGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)
protected abstract  ClusterFishingGear handleAddOrUpdateClusterFishingGear(ClusterFishingGear clusterFishingGear)
          Performs the core logic for addOrUpdateClusterFishingGear(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterFishingGear)
protected abstract  ClusterFishingGear[] handleGetAllClusterFishingGearSinceDateSynchro(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 getAllClusterFishingGearSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteFishingGearFullVO[] handleGetAllFishingGear()
          Performs the core logic for getAllFishingGear()
protected abstract  ClusterFishingGear handleGetClusterFishingGearByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterFishingGearByIdentifiers(java.lang.Integer)
protected abstract  RemoteFishingGearFullVO[] handleGetFishingGearByGearClassificationId(java.lang.Integer id)
          Performs the core logic for getFishingGearByGearClassificationId(java.lang.Integer)
protected abstract  RemoteFishingGearFullVO handleGetFishingGearById(java.lang.Integer id)
          Performs the core logic for getFishingGearById(java.lang.Integer)
protected abstract  RemoteFishingGearFullVO[] handleGetFishingGearByIds(java.lang.Integer[] id)
          Performs the core logic for getFishingGearByIds(java.lang.Integer[])
protected abstract  RemoteFishingGearFullVO handleGetFishingGearByNaturalId(RemoteFishingGearNaturalId fishingGearNaturalId)
          Performs the core logic for getFishingGearByNaturalId(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearNaturalId)
protected abstract  RemoteFishingGearFullVO[] handleGetFishingGearByParentGearId(java.lang.Integer id)
          Performs the core logic for getFishingGearByParentGearId(java.lang.Integer)
protected abstract  RemoteFishingGearFullVO[] handleGetFishingGearByStatusCode(java.lang.String code)
          Performs the core logic for getFishingGearByStatusCode(java.lang.String)
protected abstract  RemoteFishingGearNaturalId handleGetFishingGearNaturalIdById(java.lang.Integer id)
          Performs the core logic for getFishingGearNaturalIdById(java.lang.Integer)
protected abstract  RemoteFishingGearNaturalId[] handleGetFishingGearNaturalIds()
          Performs the core logic for getFishingGearNaturalIds()
protected abstract  boolean handleRemoteFishingGearFullVOsAreEqual(RemoteFishingGearFullVO remoteFishingGearFullVOFirst, RemoteFishingGearFullVO remoteFishingGearFullVOSecond)
          Performs the core logic for remoteFishingGearFullVOsAreEqual(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)
protected abstract  boolean handleRemoteFishingGearFullVOsAreEqualOnIdentifiers(RemoteFishingGearFullVO remoteFishingGearFullVOFirst, RemoteFishingGearFullVO remoteFishingGearFullVOSecond)
          Performs the core logic for remoteFishingGearFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)
protected abstract  void handleRemoveFishingGear(RemoteFishingGearFullVO fishingGear)
          Performs the core logic for removeFishingGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)
protected abstract  void handleUpdateFishingGear(RemoteFishingGearFullVO fishingGear)
          Performs the core logic for updateFishingGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)
 boolean remoteFishingGearFullVOsAreEqual(RemoteFishingGearFullVO remoteFishingGearFullVOFirst, RemoteFishingGearFullVO remoteFishingGearFullVOSecond)
           
 boolean remoteFishingGearFullVOsAreEqualOnIdentifiers(RemoteFishingGearFullVO remoteFishingGearFullVOFirst, RemoteFishingGearFullVO remoteFishingGearFullVOSecond)
           
 void removeFishingGear(RemoteFishingGearFullVO fishingGear)
           
 void setFishingGearDao(FishingGearDao fishingGearDao)
          Sets the reference to fishingGear's DAO.
 void setGearAssociationDao(GearAssociationDao gearAssociationDao)
          Sets the reference to gearAssociation's DAO.
 void setGearClassificationDao(GearClassificationDao gearClassificationDao)
          Sets the reference to gearClassification's DAO.
 void setGearDao(GearDao gearDao)
          Sets the reference to gear's DAO.
 void setStatusDao(StatusDao statusDao)
          Sets the reference to status's DAO.
 void updateFishingGear(RemoteFishingGearFullVO fishingGear)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteFishingGearFullServiceBase

public RemoteFishingGearFullServiceBase()
Method Detail

setFishingGearDao

public void setFishingGearDao(FishingGearDao fishingGearDao)
Sets the reference to fishingGear's DAO.


getFishingGearDao

protected FishingGearDao getFishingGearDao()
Gets the reference to fishingGear's DAO.


setGearDao

public void setGearDao(GearDao gearDao)
Sets the reference to gear's DAO.


getGearDao

protected GearDao getGearDao()
Gets the reference to gear's DAO.


setGearClassificationDao

public void setGearClassificationDao(GearClassificationDao gearClassificationDao)
Sets the reference to gearClassification's DAO.


getGearClassificationDao

protected GearClassificationDao getGearClassificationDao()
Gets the reference to gearClassification's DAO.


setStatusDao

public void setStatusDao(StatusDao statusDao)
Sets the reference to status's DAO.


getStatusDao

protected StatusDao getStatusDao()
Gets the reference to status's DAO.


setGearAssociationDao

public void setGearAssociationDao(GearAssociationDao gearAssociationDao)
Sets the reference to gearAssociation's DAO.


getGearAssociationDao

protected GearAssociationDao getGearAssociationDao()
Gets the reference to gearAssociation's DAO.


addFishingGear

public RemoteFishingGearFullVO addFishingGear(RemoteFishingGearFullVO fishingGear)
Specified by:
addFishingGear in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.addFishingGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)

handleAddFishingGear

protected abstract RemoteFishingGearFullVO handleAddFishingGear(RemoteFishingGearFullVO fishingGear)
                                                         throws java.lang.Exception
Performs the core logic for addFishingGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)

Throws:
java.lang.Exception

updateFishingGear

public void updateFishingGear(RemoteFishingGearFullVO fishingGear)
Specified by:
updateFishingGear in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.updateFishingGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)

handleUpdateFishingGear

protected abstract void handleUpdateFishingGear(RemoteFishingGearFullVO fishingGear)
                                         throws java.lang.Exception
Performs the core logic for updateFishingGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)

Throws:
java.lang.Exception

removeFishingGear

public void removeFishingGear(RemoteFishingGearFullVO fishingGear)
Specified by:
removeFishingGear in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.removeFishingGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)

handleRemoveFishingGear

protected abstract void handleRemoveFishingGear(RemoteFishingGearFullVO fishingGear)
                                         throws java.lang.Exception
Performs the core logic for removeFishingGear(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)

Throws:
java.lang.Exception

getAllFishingGear

public RemoteFishingGearFullVO[] getAllFishingGear()
Specified by:
getAllFishingGear in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.getAllFishingGear()

handleGetAllFishingGear

protected abstract RemoteFishingGearFullVO[] handleGetAllFishingGear()
                                                              throws java.lang.Exception
Performs the core logic for getAllFishingGear()

Throws:
java.lang.Exception

getFishingGearById

public RemoteFishingGearFullVO getFishingGearById(java.lang.Integer id)
Specified by:
getFishingGearById in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.getFishingGearById(java.lang.Integer)

handleGetFishingGearById

protected abstract RemoteFishingGearFullVO handleGetFishingGearById(java.lang.Integer id)
                                                             throws java.lang.Exception
Performs the core logic for getFishingGearById(java.lang.Integer)

Throws:
java.lang.Exception

getFishingGearByIds

public RemoteFishingGearFullVO[] getFishingGearByIds(java.lang.Integer[] id)
Specified by:
getFishingGearByIds in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.getFishingGearByIds(java.lang.Integer[])

handleGetFishingGearByIds

protected abstract RemoteFishingGearFullVO[] handleGetFishingGearByIds(java.lang.Integer[] id)
                                                                throws java.lang.Exception
Performs the core logic for getFishingGearByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getFishingGearByParentGearId

public RemoteFishingGearFullVO[] getFishingGearByParentGearId(java.lang.Integer id)
Specified by:
getFishingGearByParentGearId in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.getFishingGearByParentGearId(java.lang.Integer)

handleGetFishingGearByParentGearId

protected abstract RemoteFishingGearFullVO[] handleGetFishingGearByParentGearId(java.lang.Integer id)
                                                                         throws java.lang.Exception
Performs the core logic for getFishingGearByParentGearId(java.lang.Integer)

Throws:
java.lang.Exception

getFishingGearByGearClassificationId

public RemoteFishingGearFullVO[] getFishingGearByGearClassificationId(java.lang.Integer id)
Specified by:
getFishingGearByGearClassificationId in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.getFishingGearByGearClassificationId(java.lang.Integer)

handleGetFishingGearByGearClassificationId

protected abstract RemoteFishingGearFullVO[] handleGetFishingGearByGearClassificationId(java.lang.Integer id)
                                                                                 throws java.lang.Exception
Performs the core logic for getFishingGearByGearClassificationId(java.lang.Integer)

Throws:
java.lang.Exception

getFishingGearByStatusCode

public RemoteFishingGearFullVO[] getFishingGearByStatusCode(java.lang.String code)
Specified by:
getFishingGearByStatusCode in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.getFishingGearByStatusCode(java.lang.String)

handleGetFishingGearByStatusCode

protected abstract RemoteFishingGearFullVO[] handleGetFishingGearByStatusCode(java.lang.String code)
                                                                       throws java.lang.Exception
Performs the core logic for getFishingGearByStatusCode(java.lang.String)

Throws:
java.lang.Exception

remoteFishingGearFullVOsAreEqualOnIdentifiers

public boolean remoteFishingGearFullVOsAreEqualOnIdentifiers(RemoteFishingGearFullVO remoteFishingGearFullVOFirst,
                                                             RemoteFishingGearFullVO remoteFishingGearFullVOSecond)
Specified by:
remoteFishingGearFullVOsAreEqualOnIdentifiers in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.remoteFishingGearFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)

handleRemoteFishingGearFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteFishingGearFullVOsAreEqualOnIdentifiers(RemoteFishingGearFullVO remoteFishingGearFullVOFirst,
                                                                               RemoteFishingGearFullVO remoteFishingGearFullVOSecond)
                                                                        throws java.lang.Exception
Performs the core logic for remoteFishingGearFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)

Throws:
java.lang.Exception

remoteFishingGearFullVOsAreEqual

public boolean remoteFishingGearFullVOsAreEqual(RemoteFishingGearFullVO remoteFishingGearFullVOFirst,
                                                RemoteFishingGearFullVO remoteFishingGearFullVOSecond)
Specified by:
remoteFishingGearFullVOsAreEqual in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.remoteFishingGearFullVOsAreEqual(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)

handleRemoteFishingGearFullVOsAreEqual

protected abstract boolean handleRemoteFishingGearFullVOsAreEqual(RemoteFishingGearFullVO remoteFishingGearFullVOFirst,
                                                                  RemoteFishingGearFullVO remoteFishingGearFullVOSecond)
                                                           throws java.lang.Exception
Performs the core logic for remoteFishingGearFullVOsAreEqual(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearFullVO)

Throws:
java.lang.Exception

getFishingGearNaturalIds

public RemoteFishingGearNaturalId[] getFishingGearNaturalIds()
Specified by:
getFishingGearNaturalIds in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.getFishingGearNaturalIds()

handleGetFishingGearNaturalIds

protected abstract RemoteFishingGearNaturalId[] handleGetFishingGearNaturalIds()
                                                                        throws java.lang.Exception
Performs the core logic for getFishingGearNaturalIds()

Throws:
java.lang.Exception

getFishingGearByNaturalId

public RemoteFishingGearFullVO getFishingGearByNaturalId(RemoteFishingGearNaturalId fishingGearNaturalId)
Specified by:
getFishingGearByNaturalId in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.getFishingGearByNaturalId(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearNaturalId)

handleGetFishingGearByNaturalId

protected abstract RemoteFishingGearFullVO handleGetFishingGearByNaturalId(RemoteFishingGearNaturalId fishingGearNaturalId)
                                                                    throws java.lang.Exception
Performs the core logic for getFishingGearByNaturalId(fr.ifremer.allegro.referential.gear.generic.vo.RemoteFishingGearNaturalId)

Throws:
java.lang.Exception

getFishingGearNaturalIdById

public RemoteFishingGearNaturalId getFishingGearNaturalIdById(java.lang.Integer id)
Specified by:
getFishingGearNaturalIdById in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.getFishingGearNaturalIdById(java.lang.Integer)

handleGetFishingGearNaturalIdById

protected abstract RemoteFishingGearNaturalId handleGetFishingGearNaturalIdById(java.lang.Integer id)
                                                                         throws java.lang.Exception
Performs the core logic for getFishingGearNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

getAllClusterFishingGearSinceDateSynchro

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

handleGetAllClusterFishingGearSinceDateSynchro

protected abstract ClusterFishingGear[] handleGetAllClusterFishingGearSinceDateSynchro(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 getAllClusterFishingGearSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterFishingGearByIdentifiers

public ClusterFishingGear getClusterFishingGearByIdentifiers(java.lang.Integer id)
Specified by:
getClusterFishingGearByIdentifiers in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.getClusterFishingGearByIdentifiers(java.lang.Integer)

handleGetClusterFishingGearByIdentifiers

protected abstract ClusterFishingGear handleGetClusterFishingGearByIdentifiers(java.lang.Integer id)
                                                                        throws java.lang.Exception
Performs the core logic for getClusterFishingGearByIdentifiers(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterFishingGear

public ClusterFishingGear addOrUpdateClusterFishingGear(ClusterFishingGear clusterFishingGear)
Specified by:
addOrUpdateClusterFishingGear in interface RemoteFishingGearFullService
See Also:
RemoteFishingGearFullService.addOrUpdateClusterFishingGear(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterFishingGear)

handleAddOrUpdateClusterFishingGear

protected abstract ClusterFishingGear handleAddOrUpdateClusterFishingGear(ClusterFishingGear clusterFishingGear)
                                                                   throws java.lang.Exception
Performs the core logic for addOrUpdateClusterFishingGear(fr.ifremer.allegro.referential.gear.generic.cluster.ClusterFishingGear)

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.