fr.ifremer.allegro.referential.regulation.generic.service
Class RemoteFisheryFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.referential.regulation.generic.service.RemoteFisheryFullServiceBase
All Implemented Interfaces:
RemoteFisheryFullService
Direct Known Subclasses:
RemoteFisheryFullServiceImpl

public abstract class RemoteFisheryFullServiceBase
extends java.lang.Object
implements RemoteFisheryFullService

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

See Also:
RemoteFisheryFullService

Constructor Summary
RemoteFisheryFullServiceBase()
           
 
Method Summary
 RemoteFisheryFullVO addFishery(RemoteFisheryFullVO fishery)
           
 ClusterFishery addOrUpdateClusterFishery(ClusterFishery clusterFishery)
           
 ClusterFishery[] getAllClusterFisherySinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteFisheryFullVO[] getAllFishery()
           
 ClusterFishery getClusterFisheryByIdentifiers(java.lang.Integer id)
           
protected  CorpusDao getCorpusDao()
          Gets the reference to corpus's DAO.
 RemoteFisheryFullVO[] getFisheryByFishingAreaId(java.lang.Integer id)
           
 RemoteFisheryFullVO[] getFisheryByGearId(java.lang.Integer id)
           
 RemoteFisheryFullVO getFisheryById(java.lang.Integer id)
           
 RemoteFisheryFullVO[] getFisheryByIds(java.lang.Integer[] id)
           
 RemoteFisheryFullVO getFisheryByNaturalId(RemoteFisheryNaturalId fisheryNaturalId)
           
 RemoteFisheryFullVO[] getFisheryByTaxonGroupId(java.lang.Integer id)
           
protected  FisheryDao getFisheryDao()
          Gets the reference to fishery's DAO.
 RemoteFisheryNaturalId getFisheryNaturalIdById(java.lang.Integer id)
           
 RemoteFisheryNaturalId[] getFisheryNaturalIds()
           
protected  FishingAreaDao getFishingAreaDao()
          Gets the reference to fishingArea'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  TaxonGroupDao getTaxonGroupDao()
          Gets the reference to taxonGroup's DAO.
protected abstract  RemoteFisheryFullVO handleAddFishery(RemoteFisheryFullVO fishery)
          Performs the core logic for addFishery(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)
protected abstract  ClusterFishery handleAddOrUpdateClusterFishery(ClusterFishery clusterFishery)
          Performs the core logic for addOrUpdateClusterFishery(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterFishery)
protected abstract  ClusterFishery[] handleGetAllClusterFisherySinceDateSynchro(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 getAllClusterFisherySinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteFisheryFullVO[] handleGetAllFishery()
          Performs the core logic for getAllFishery()
protected abstract  ClusterFishery handleGetClusterFisheryByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterFisheryByIdentifiers(java.lang.Integer)
protected abstract  RemoteFisheryFullVO[] handleGetFisheryByFishingAreaId(java.lang.Integer id)
          Performs the core logic for getFisheryByFishingAreaId(java.lang.Integer)
protected abstract  RemoteFisheryFullVO[] handleGetFisheryByGearId(java.lang.Integer id)
          Performs the core logic for getFisheryByGearId(java.lang.Integer)
protected abstract  RemoteFisheryFullVO handleGetFisheryById(java.lang.Integer id)
          Performs the core logic for getFisheryById(java.lang.Integer)
protected abstract  RemoteFisheryFullVO[] handleGetFisheryByIds(java.lang.Integer[] id)
          Performs the core logic for getFisheryByIds(java.lang.Integer[])
protected abstract  RemoteFisheryFullVO handleGetFisheryByNaturalId(RemoteFisheryNaturalId fisheryNaturalId)
          Performs the core logic for getFisheryByNaturalId(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryNaturalId)
protected abstract  RemoteFisheryFullVO[] handleGetFisheryByTaxonGroupId(java.lang.Integer id)
          Performs the core logic for getFisheryByTaxonGroupId(java.lang.Integer)
protected abstract  RemoteFisheryNaturalId handleGetFisheryNaturalIdById(java.lang.Integer id)
          Performs the core logic for getFisheryNaturalIdById(java.lang.Integer)
protected abstract  RemoteFisheryNaturalId[] handleGetFisheryNaturalIds()
          Performs the core logic for getFisheryNaturalIds()
protected abstract  boolean handleRemoteFisheryFullVOsAreEqual(RemoteFisheryFullVO remoteFisheryFullVOFirst, RemoteFisheryFullVO remoteFisheryFullVOSecond)
          Performs the core logic for remoteFisheryFullVOsAreEqual(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)
protected abstract  boolean handleRemoteFisheryFullVOsAreEqualOnIdentifiers(RemoteFisheryFullVO remoteFisheryFullVOFirst, RemoteFisheryFullVO remoteFisheryFullVOSecond)
          Performs the core logic for remoteFisheryFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)
protected abstract  void handleRemoveFishery(RemoteFisheryFullVO fishery)
          Performs the core logic for removeFishery(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)
protected abstract  void handleUpdateFishery(RemoteFisheryFullVO fishery)
          Performs the core logic for updateFishery(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)
 boolean remoteFisheryFullVOsAreEqual(RemoteFisheryFullVO remoteFisheryFullVOFirst, RemoteFisheryFullVO remoteFisheryFullVOSecond)
           
 boolean remoteFisheryFullVOsAreEqualOnIdentifiers(RemoteFisheryFullVO remoteFisheryFullVOFirst, RemoteFisheryFullVO remoteFisheryFullVOSecond)
           
 void removeFishery(RemoteFisheryFullVO fishery)
           
 void setCorpusDao(CorpusDao corpusDao)
          Sets the reference to corpus's DAO.
 void setFisheryDao(FisheryDao fisheryDao)
          Sets the reference to fishery's DAO.
 void setFishingAreaDao(FishingAreaDao fishingAreaDao)
          Sets the reference to fishingArea's DAO.
 void setGearDao(GearDao gearDao)
          Sets the reference to gear's DAO.
 void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
          Sets the reference to taxonGroup's DAO.
 void updateFishery(RemoteFisheryFullVO fishery)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteFisheryFullServiceBase

public RemoteFisheryFullServiceBase()
Method Detail

setFisheryDao

public void setFisheryDao(FisheryDao fisheryDao)
Sets the reference to fishery's DAO.


getFisheryDao

protected FisheryDao getFisheryDao()
Gets the reference to fishery's DAO.


setTaxonGroupDao

public void setTaxonGroupDao(TaxonGroupDao taxonGroupDao)
Sets the reference to taxonGroup's DAO.


getTaxonGroupDao

protected TaxonGroupDao getTaxonGroupDao()
Gets the reference to taxonGroup'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.


setCorpusDao

public void setCorpusDao(CorpusDao corpusDao)
Sets the reference to corpus's DAO.


getCorpusDao

protected CorpusDao getCorpusDao()
Gets the reference to corpus's DAO.


setFishingAreaDao

public void setFishingAreaDao(FishingAreaDao fishingAreaDao)
Sets the reference to fishingArea's DAO.


getFishingAreaDao

protected FishingAreaDao getFishingAreaDao()
Gets the reference to fishingArea's DAO.


addFishery

public RemoteFisheryFullVO addFishery(RemoteFisheryFullVO fishery)
Specified by:
addFishery in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.addFishery(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)

handleAddFishery

protected abstract RemoteFisheryFullVO handleAddFishery(RemoteFisheryFullVO fishery)
                                                 throws java.lang.Exception
Performs the core logic for addFishery(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)

Throws:
java.lang.Exception

updateFishery

public void updateFishery(RemoteFisheryFullVO fishery)
Specified by:
updateFishery in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.updateFishery(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)

handleUpdateFishery

protected abstract void handleUpdateFishery(RemoteFisheryFullVO fishery)
                                     throws java.lang.Exception
Performs the core logic for updateFishery(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)

Throws:
java.lang.Exception

removeFishery

public void removeFishery(RemoteFisheryFullVO fishery)
Specified by:
removeFishery in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.removeFishery(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)

handleRemoveFishery

protected abstract void handleRemoveFishery(RemoteFisheryFullVO fishery)
                                     throws java.lang.Exception
Performs the core logic for removeFishery(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)

Throws:
java.lang.Exception

getAllFishery

public RemoteFisheryFullVO[] getAllFishery()
Specified by:
getAllFishery in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.getAllFishery()

handleGetAllFishery

protected abstract RemoteFisheryFullVO[] handleGetAllFishery()
                                                      throws java.lang.Exception
Performs the core logic for getAllFishery()

Throws:
java.lang.Exception

getFisheryById

public RemoteFisheryFullVO getFisheryById(java.lang.Integer id)
Specified by:
getFisheryById in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.getFisheryById(java.lang.Integer)

handleGetFisheryById

protected abstract RemoteFisheryFullVO handleGetFisheryById(java.lang.Integer id)
                                                     throws java.lang.Exception
Performs the core logic for getFisheryById(java.lang.Integer)

Throws:
java.lang.Exception

getFisheryByIds

public RemoteFisheryFullVO[] getFisheryByIds(java.lang.Integer[] id)
Specified by:
getFisheryByIds in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.getFisheryByIds(java.lang.Integer[])

handleGetFisheryByIds

protected abstract RemoteFisheryFullVO[] handleGetFisheryByIds(java.lang.Integer[] id)
                                                        throws java.lang.Exception
Performs the core logic for getFisheryByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getFisheryByTaxonGroupId

public RemoteFisheryFullVO[] getFisheryByTaxonGroupId(java.lang.Integer id)
Specified by:
getFisheryByTaxonGroupId in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.getFisheryByTaxonGroupId(java.lang.Integer)

handleGetFisheryByTaxonGroupId

protected abstract RemoteFisheryFullVO[] handleGetFisheryByTaxonGroupId(java.lang.Integer id)
                                                                 throws java.lang.Exception
Performs the core logic for getFisheryByTaxonGroupId(java.lang.Integer)

Throws:
java.lang.Exception

getFisheryByGearId

public RemoteFisheryFullVO[] getFisheryByGearId(java.lang.Integer id)
Specified by:
getFisheryByGearId in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.getFisheryByGearId(java.lang.Integer)

handleGetFisheryByGearId

protected abstract RemoteFisheryFullVO[] handleGetFisheryByGearId(java.lang.Integer id)
                                                           throws java.lang.Exception
Performs the core logic for getFisheryByGearId(java.lang.Integer)

Throws:
java.lang.Exception

getFisheryByFishingAreaId

public RemoteFisheryFullVO[] getFisheryByFishingAreaId(java.lang.Integer id)
Specified by:
getFisheryByFishingAreaId in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.getFisheryByFishingAreaId(java.lang.Integer)

handleGetFisheryByFishingAreaId

protected abstract RemoteFisheryFullVO[] handleGetFisheryByFishingAreaId(java.lang.Integer id)
                                                                  throws java.lang.Exception
Performs the core logic for getFisheryByFishingAreaId(java.lang.Integer)

Throws:
java.lang.Exception

remoteFisheryFullVOsAreEqualOnIdentifiers

public boolean remoteFisheryFullVOsAreEqualOnIdentifiers(RemoteFisheryFullVO remoteFisheryFullVOFirst,
                                                         RemoteFisheryFullVO remoteFisheryFullVOSecond)
Specified by:
remoteFisheryFullVOsAreEqualOnIdentifiers in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.remoteFisheryFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)

handleRemoteFisheryFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteFisheryFullVOsAreEqualOnIdentifiers(RemoteFisheryFullVO remoteFisheryFullVOFirst,
                                                                           RemoteFisheryFullVO remoteFisheryFullVOSecond)
                                                                    throws java.lang.Exception
Performs the core logic for remoteFisheryFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)

Throws:
java.lang.Exception

remoteFisheryFullVOsAreEqual

public boolean remoteFisheryFullVOsAreEqual(RemoteFisheryFullVO remoteFisheryFullVOFirst,
                                            RemoteFisheryFullVO remoteFisheryFullVOSecond)
Specified by:
remoteFisheryFullVOsAreEqual in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.remoteFisheryFullVOsAreEqual(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)

handleRemoteFisheryFullVOsAreEqual

protected abstract boolean handleRemoteFisheryFullVOsAreEqual(RemoteFisheryFullVO remoteFisheryFullVOFirst,
                                                              RemoteFisheryFullVO remoteFisheryFullVOSecond)
                                                       throws java.lang.Exception
Performs the core logic for remoteFisheryFullVOsAreEqual(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO, fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryFullVO)

Throws:
java.lang.Exception

getFisheryNaturalIds

public RemoteFisheryNaturalId[] getFisheryNaturalIds()
Specified by:
getFisheryNaturalIds in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.getFisheryNaturalIds()

handleGetFisheryNaturalIds

protected abstract RemoteFisheryNaturalId[] handleGetFisheryNaturalIds()
                                                                throws java.lang.Exception
Performs the core logic for getFisheryNaturalIds()

Throws:
java.lang.Exception

getFisheryByNaturalId

public RemoteFisheryFullVO getFisheryByNaturalId(RemoteFisheryNaturalId fisheryNaturalId)
Specified by:
getFisheryByNaturalId in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.getFisheryByNaturalId(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryNaturalId)

handleGetFisheryByNaturalId

protected abstract RemoteFisheryFullVO handleGetFisheryByNaturalId(RemoteFisheryNaturalId fisheryNaturalId)
                                                            throws java.lang.Exception
Performs the core logic for getFisheryByNaturalId(fr.ifremer.allegro.referential.regulation.generic.vo.RemoteFisheryNaturalId)

Throws:
java.lang.Exception

getFisheryNaturalIdById

public RemoteFisheryNaturalId getFisheryNaturalIdById(java.lang.Integer id)
Specified by:
getFisheryNaturalIdById in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.getFisheryNaturalIdById(java.lang.Integer)

handleGetFisheryNaturalIdById

protected abstract RemoteFisheryNaturalId handleGetFisheryNaturalIdById(java.lang.Integer id)
                                                                 throws java.lang.Exception
Performs the core logic for getFisheryNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterFishery

public ClusterFishery addOrUpdateClusterFishery(ClusterFishery clusterFishery)
Specified by:
addOrUpdateClusterFishery in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.addOrUpdateClusterFishery(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterFishery)

handleAddOrUpdateClusterFishery

protected abstract ClusterFishery handleAddOrUpdateClusterFishery(ClusterFishery clusterFishery)
                                                           throws java.lang.Exception
Performs the core logic for addOrUpdateClusterFishery(fr.ifremer.allegro.referential.regulation.generic.cluster.ClusterFishery)

Throws:
java.lang.Exception

getAllClusterFisherySinceDateSynchro

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

handleGetAllClusterFisherySinceDateSynchro

protected abstract ClusterFishery[] handleGetAllClusterFisherySinceDateSynchro(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 getAllClusterFisherySinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterFisheryByIdentifiers

public ClusterFishery getClusterFisheryByIdentifiers(java.lang.Integer id)
Specified by:
getClusterFisheryByIdentifiers in interface RemoteFisheryFullService
See Also:
RemoteFisheryFullService.getClusterFisheryByIdentifiers(java.lang.Integer)

handleGetClusterFisheryByIdentifiers

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