fr.ifremer.allegro.administration.programStrategy.generic.service
Class RemoteAppliedStrategyFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.administration.programStrategy.generic.service.RemoteAppliedStrategyFullServiceBase
All Implemented Interfaces:
RemoteAppliedStrategyFullService
Direct Known Subclasses:
RemoteAppliedStrategyFullServiceImpl

public abstract class RemoteAppliedStrategyFullServiceBase
extends java.lang.Object
implements RemoteAppliedStrategyFullService

Spring Service base class for fr.ifremer.allegro.administration.programStrategy.generic.service.RemoteAppliedStrategyFullService, provides access to all services and entities referenced by this service.

See Also:
RemoteAppliedStrategyFullService

Constructor Summary
RemoteAppliedStrategyFullServiceBase()
           
 
Method Summary
 RemoteAppliedStrategyFullVO addAppliedStrategy(RemoteAppliedStrategyFullVO appliedStrategy)
           
 RemoteAppliedStrategyFullVO[] getAllAppliedStrategy()
           
protected  AppliedPeriodDao getAppliedPeriodDao()
          Gets the reference to appliedPeriod's DAO.
 RemoteAppliedStrategyFullVO getAppliedStrategyById(java.lang.Integer id)
           
 RemoteAppliedStrategyFullVO[] getAppliedStrategyByIds(java.lang.Integer[] id)
           
 RemoteAppliedStrategyFullVO[] getAppliedStrategyByLocationId(java.lang.Integer id)
           
 RemoteAppliedStrategyFullVO getAppliedStrategyByNaturalId(RemoteAppliedStrategyNaturalId appliedStrategyNaturalId)
           
 RemoteAppliedStrategyFullVO[] getAppliedStrategyByStrategyId(java.lang.Integer id)
           
protected  AppliedStrategyDao getAppliedStrategyDao()
          Gets the reference to appliedStrategy's DAO.
 RemoteAppliedStrategyNaturalId getAppliedStrategyNaturalIdById(java.lang.Integer id)
           
 RemoteAppliedStrategyNaturalId[] getAppliedStrategyNaturalIds()
           
 ClusterAppliedStrategy getClusterAppliedStrategyByIdentifiers(java.lang.Integer id)
           
protected  LocationDao getLocationDao()
          Gets the reference to location'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  StrategyDao getStrategyDao()
          Gets the reference to strategy's DAO.
protected abstract  RemoteAppliedStrategyFullVO handleAddAppliedStrategy(RemoteAppliedStrategyFullVO appliedStrategy)
          Performs the core logic for addAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)
protected abstract  RemoteAppliedStrategyFullVO[] handleGetAllAppliedStrategy()
          Performs the core logic for getAllAppliedStrategy()
protected abstract  RemoteAppliedStrategyFullVO handleGetAppliedStrategyById(java.lang.Integer id)
          Performs the core logic for getAppliedStrategyById(java.lang.Integer)
protected abstract  RemoteAppliedStrategyFullVO[] handleGetAppliedStrategyByIds(java.lang.Integer[] id)
          Performs the core logic for getAppliedStrategyByIds(java.lang.Integer[])
protected abstract  RemoteAppliedStrategyFullVO[] handleGetAppliedStrategyByLocationId(java.lang.Integer id)
          Performs the core logic for getAppliedStrategyByLocationId(java.lang.Integer)
protected abstract  RemoteAppliedStrategyFullVO handleGetAppliedStrategyByNaturalId(RemoteAppliedStrategyNaturalId appliedStrategyNaturalId)
          Performs the core logic for getAppliedStrategyByNaturalId(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyNaturalId)
protected abstract  RemoteAppliedStrategyFullVO[] handleGetAppliedStrategyByStrategyId(java.lang.Integer id)
          Performs the core logic for getAppliedStrategyByStrategyId(java.lang.Integer)
protected abstract  RemoteAppliedStrategyNaturalId handleGetAppliedStrategyNaturalIdById(java.lang.Integer id)
          Performs the core logic for getAppliedStrategyNaturalIdById(java.lang.Integer)
protected abstract  RemoteAppliedStrategyNaturalId[] handleGetAppliedStrategyNaturalIds()
          Performs the core logic for getAppliedStrategyNaturalIds()
protected abstract  ClusterAppliedStrategy handleGetClusterAppliedStrategyByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterAppliedStrategyByIdentifiers(java.lang.Integer)
protected abstract  boolean handleRemoteAppliedStrategyFullVOsAreEqual(RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOFirst, RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOSecond)
          Performs the core logic for remoteAppliedStrategyFullVOsAreEqual(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)
protected abstract  boolean handleRemoteAppliedStrategyFullVOsAreEqualOnIdentifiers(RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOFirst, RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOSecond)
          Performs the core logic for remoteAppliedStrategyFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)
protected abstract  void handleRemoveAppliedStrategy(RemoteAppliedStrategyFullVO appliedStrategy)
          Performs the core logic for removeAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)
protected abstract  void handleUpdateAppliedStrategy(RemoteAppliedStrategyFullVO appliedStrategy)
          Performs the core logic for updateAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)
 boolean remoteAppliedStrategyFullVOsAreEqual(RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOFirst, RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOSecond)
           
 boolean remoteAppliedStrategyFullVOsAreEqualOnIdentifiers(RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOFirst, RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOSecond)
           
 void removeAppliedStrategy(RemoteAppliedStrategyFullVO appliedStrategy)
           
 void setAppliedPeriodDao(AppliedPeriodDao appliedPeriodDao)
          Sets the reference to appliedPeriod's DAO.
 void setAppliedStrategyDao(AppliedStrategyDao appliedStrategyDao)
          Sets the reference to appliedStrategy's DAO.
 void setLocationDao(LocationDao locationDao)
          Sets the reference to location's DAO.
 void setStrategyDao(StrategyDao strategyDao)
          Sets the reference to strategy's DAO.
 void updateAppliedStrategy(RemoteAppliedStrategyFullVO appliedStrategy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteAppliedStrategyFullServiceBase

public RemoteAppliedStrategyFullServiceBase()
Method Detail

setAppliedStrategyDao

public void setAppliedStrategyDao(AppliedStrategyDao appliedStrategyDao)
Sets the reference to appliedStrategy's DAO.


getAppliedStrategyDao

protected AppliedStrategyDao getAppliedStrategyDao()
Gets the reference to appliedStrategy's DAO.


setAppliedPeriodDao

public void setAppliedPeriodDao(AppliedPeriodDao appliedPeriodDao)
Sets the reference to appliedPeriod's DAO.


getAppliedPeriodDao

protected AppliedPeriodDao getAppliedPeriodDao()
Gets the reference to appliedPeriod's DAO.


setLocationDao

public void setLocationDao(LocationDao locationDao)
Sets the reference to location's DAO.


getLocationDao

protected LocationDao getLocationDao()
Gets the reference to location's DAO.


setStrategyDao

public void setStrategyDao(StrategyDao strategyDao)
Sets the reference to strategy's DAO.


getStrategyDao

protected StrategyDao getStrategyDao()
Gets the reference to strategy's DAO.


addAppliedStrategy

public RemoteAppliedStrategyFullVO addAppliedStrategy(RemoteAppliedStrategyFullVO appliedStrategy)
Specified by:
addAppliedStrategy in interface RemoteAppliedStrategyFullService
See Also:
RemoteAppliedStrategyFullService.addAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)

handleAddAppliedStrategy

protected abstract RemoteAppliedStrategyFullVO handleAddAppliedStrategy(RemoteAppliedStrategyFullVO appliedStrategy)
                                                                 throws java.lang.Exception
Performs the core logic for addAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)

Throws:
java.lang.Exception

updateAppliedStrategy

public void updateAppliedStrategy(RemoteAppliedStrategyFullVO appliedStrategy)
Specified by:
updateAppliedStrategy in interface RemoteAppliedStrategyFullService
See Also:
RemoteAppliedStrategyFullService.updateAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)

handleUpdateAppliedStrategy

protected abstract void handleUpdateAppliedStrategy(RemoteAppliedStrategyFullVO appliedStrategy)
                                             throws java.lang.Exception
Performs the core logic for updateAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)

Throws:
java.lang.Exception

removeAppliedStrategy

public void removeAppliedStrategy(RemoteAppliedStrategyFullVO appliedStrategy)
Specified by:
removeAppliedStrategy in interface RemoteAppliedStrategyFullService
See Also:
RemoteAppliedStrategyFullService.removeAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)

handleRemoveAppliedStrategy

protected abstract void handleRemoveAppliedStrategy(RemoteAppliedStrategyFullVO appliedStrategy)
                                             throws java.lang.Exception
Performs the core logic for removeAppliedStrategy(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)

Throws:
java.lang.Exception

getAllAppliedStrategy

public RemoteAppliedStrategyFullVO[] getAllAppliedStrategy()
Specified by:
getAllAppliedStrategy in interface RemoteAppliedStrategyFullService
See Also:
RemoteAppliedStrategyFullService.getAllAppliedStrategy()

handleGetAllAppliedStrategy

protected abstract RemoteAppliedStrategyFullVO[] handleGetAllAppliedStrategy()
                                                                      throws java.lang.Exception
Performs the core logic for getAllAppliedStrategy()

Throws:
java.lang.Exception

getAppliedStrategyById

public RemoteAppliedStrategyFullVO getAppliedStrategyById(java.lang.Integer id)
Specified by:
getAppliedStrategyById in interface RemoteAppliedStrategyFullService
See Also:
RemoteAppliedStrategyFullService.getAppliedStrategyById(java.lang.Integer)

handleGetAppliedStrategyById

protected abstract RemoteAppliedStrategyFullVO handleGetAppliedStrategyById(java.lang.Integer id)
                                                                     throws java.lang.Exception
Performs the core logic for getAppliedStrategyById(java.lang.Integer)

Throws:
java.lang.Exception

getAppliedStrategyByIds

public RemoteAppliedStrategyFullVO[] getAppliedStrategyByIds(java.lang.Integer[] id)
Specified by:
getAppliedStrategyByIds in interface RemoteAppliedStrategyFullService
See Also:
RemoteAppliedStrategyFullService.getAppliedStrategyByIds(java.lang.Integer[])

handleGetAppliedStrategyByIds

protected abstract RemoteAppliedStrategyFullVO[] handleGetAppliedStrategyByIds(java.lang.Integer[] id)
                                                                        throws java.lang.Exception
Performs the core logic for getAppliedStrategyByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getAppliedStrategyByLocationId

public RemoteAppliedStrategyFullVO[] getAppliedStrategyByLocationId(java.lang.Integer id)
Specified by:
getAppliedStrategyByLocationId in interface RemoteAppliedStrategyFullService
See Also:
RemoteAppliedStrategyFullService.getAppliedStrategyByLocationId(java.lang.Integer)

handleGetAppliedStrategyByLocationId

protected abstract RemoteAppliedStrategyFullVO[] handleGetAppliedStrategyByLocationId(java.lang.Integer id)
                                                                               throws java.lang.Exception
Performs the core logic for getAppliedStrategyByLocationId(java.lang.Integer)

Throws:
java.lang.Exception

getAppliedStrategyByStrategyId

public RemoteAppliedStrategyFullVO[] getAppliedStrategyByStrategyId(java.lang.Integer id)
Specified by:
getAppliedStrategyByStrategyId in interface RemoteAppliedStrategyFullService
See Also:
RemoteAppliedStrategyFullService.getAppliedStrategyByStrategyId(java.lang.Integer)

handleGetAppliedStrategyByStrategyId

protected abstract RemoteAppliedStrategyFullVO[] handleGetAppliedStrategyByStrategyId(java.lang.Integer id)
                                                                               throws java.lang.Exception
Performs the core logic for getAppliedStrategyByStrategyId(java.lang.Integer)

Throws:
java.lang.Exception

remoteAppliedStrategyFullVOsAreEqualOnIdentifiers

public boolean remoteAppliedStrategyFullVOsAreEqualOnIdentifiers(RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOFirst,
                                                                 RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOSecond)
Specified by:
remoteAppliedStrategyFullVOsAreEqualOnIdentifiers in interface RemoteAppliedStrategyFullService
See Also:
RemoteAppliedStrategyFullService.remoteAppliedStrategyFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)

handleRemoteAppliedStrategyFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteAppliedStrategyFullVOsAreEqualOnIdentifiers(RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOFirst,
                                                                                   RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOSecond)
                                                                            throws java.lang.Exception
Performs the core logic for remoteAppliedStrategyFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)

Throws:
java.lang.Exception

remoteAppliedStrategyFullVOsAreEqual

public boolean remoteAppliedStrategyFullVOsAreEqual(RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOFirst,
                                                    RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOSecond)
Specified by:
remoteAppliedStrategyFullVOsAreEqual in interface RemoteAppliedStrategyFullService
See Also:
RemoteAppliedStrategyFullService.remoteAppliedStrategyFullVOsAreEqual(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)

handleRemoteAppliedStrategyFullVOsAreEqual

protected abstract boolean handleRemoteAppliedStrategyFullVOsAreEqual(RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOFirst,
                                                                      RemoteAppliedStrategyFullVO remoteAppliedStrategyFullVOSecond)
                                                               throws java.lang.Exception
Performs the core logic for remoteAppliedStrategyFullVOsAreEqual(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyFullVO)

Throws:
java.lang.Exception

getAppliedStrategyNaturalIds

public RemoteAppliedStrategyNaturalId[] getAppliedStrategyNaturalIds()
Specified by:
getAppliedStrategyNaturalIds in interface RemoteAppliedStrategyFullService
See Also:
RemoteAppliedStrategyFullService.getAppliedStrategyNaturalIds()

handleGetAppliedStrategyNaturalIds

protected abstract RemoteAppliedStrategyNaturalId[] handleGetAppliedStrategyNaturalIds()
                                                                                throws java.lang.Exception
Performs the core logic for getAppliedStrategyNaturalIds()

Throws:
java.lang.Exception

getAppliedStrategyByNaturalId

public RemoteAppliedStrategyFullVO getAppliedStrategyByNaturalId(RemoteAppliedStrategyNaturalId appliedStrategyNaturalId)
Specified by:
getAppliedStrategyByNaturalId in interface RemoteAppliedStrategyFullService
See Also:
RemoteAppliedStrategyFullService.getAppliedStrategyByNaturalId(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyNaturalId)

handleGetAppliedStrategyByNaturalId

protected abstract RemoteAppliedStrategyFullVO handleGetAppliedStrategyByNaturalId(RemoteAppliedStrategyNaturalId appliedStrategyNaturalId)
                                                                            throws java.lang.Exception
Performs the core logic for getAppliedStrategyByNaturalId(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteAppliedStrategyNaturalId)

Throws:
java.lang.Exception

getAppliedStrategyNaturalIdById

public RemoteAppliedStrategyNaturalId getAppliedStrategyNaturalIdById(java.lang.Integer id)
Specified by:
getAppliedStrategyNaturalIdById in interface RemoteAppliedStrategyFullService
See Also:
RemoteAppliedStrategyFullService.getAppliedStrategyNaturalIdById(java.lang.Integer)

handleGetAppliedStrategyNaturalIdById

protected abstract RemoteAppliedStrategyNaturalId handleGetAppliedStrategyNaturalIdById(java.lang.Integer id)
                                                                                 throws java.lang.Exception
Performs the core logic for getAppliedStrategyNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

getClusterAppliedStrategyByIdentifiers

public ClusterAppliedStrategy getClusterAppliedStrategyByIdentifiers(java.lang.Integer id)
Specified by:
getClusterAppliedStrategyByIdentifiers in interface RemoteAppliedStrategyFullService
See Also:
RemoteAppliedStrategyFullService.getClusterAppliedStrategyByIdentifiers(java.lang.Integer)

handleGetClusterAppliedStrategyByIdentifiers

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