fr.ifremer.allegro.referential.location.generic.service
Class RemoteLocationAreaFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.referential.location.generic.service.RemoteLocationAreaFullServiceBase
All Implemented Interfaces:
RemoteLocationAreaFullService
Direct Known Subclasses:
RemoteLocationAreaFullServiceImpl

public abstract class RemoteLocationAreaFullServiceBase
extends java.lang.Object
implements RemoteLocationAreaFullService

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

See Also:
RemoteLocationAreaFullService

Constructor Summary
RemoteLocationAreaFullServiceBase()
           
 
Method Summary
 RemoteLocationAreaFullVO addLocationArea(RemoteLocationAreaFullVO locationArea)
           
 RemoteLocationAreaFullVO[] getAllLocationArea()
           
 ClusterLocationArea getClusterLocationAreaByIdentifiers(java.lang.Integer id)
           
 RemoteLocationAreaFullVO getLocationAreaById(java.lang.Integer id)
           
 RemoteLocationAreaFullVO[] getLocationAreaByIds(java.lang.Integer[] id)
           
 RemoteLocationAreaFullVO[] getLocationAreaByLocationId(java.lang.Integer id)
           
 RemoteLocationAreaFullVO getLocationAreaByNaturalId(RemoteLocationAreaNaturalId locationAreaNaturalId)
           
protected  LocationAreaDao getLocationAreaDao()
          Gets the reference to locationArea's DAO.
 RemoteLocationAreaNaturalId getLocationAreaNaturalIdById(java.lang.Integer id)
           
 RemoteLocationAreaNaturalId[] getLocationAreaNaturalIds()
           
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 abstract  RemoteLocationAreaFullVO handleAddLocationArea(RemoteLocationAreaFullVO locationArea)
          Performs the core logic for addLocationArea(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)
protected abstract  RemoteLocationAreaFullVO[] handleGetAllLocationArea()
          Performs the core logic for getAllLocationArea()
protected abstract  ClusterLocationArea handleGetClusterLocationAreaByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterLocationAreaByIdentifiers(java.lang.Integer)
protected abstract  RemoteLocationAreaFullVO handleGetLocationAreaById(java.lang.Integer id)
          Performs the core logic for getLocationAreaById(java.lang.Integer)
protected abstract  RemoteLocationAreaFullVO[] handleGetLocationAreaByIds(java.lang.Integer[] id)
          Performs the core logic for getLocationAreaByIds(java.lang.Integer[])
protected abstract  RemoteLocationAreaFullVO[] handleGetLocationAreaByLocationId(java.lang.Integer id)
          Performs the core logic for getLocationAreaByLocationId(java.lang.Integer)
protected abstract  RemoteLocationAreaFullVO handleGetLocationAreaByNaturalId(RemoteLocationAreaNaturalId locationAreaNaturalId)
          Performs the core logic for getLocationAreaByNaturalId(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaNaturalId)
protected abstract  RemoteLocationAreaNaturalId handleGetLocationAreaNaturalIdById(java.lang.Integer id)
          Performs the core logic for getLocationAreaNaturalIdById(java.lang.Integer)
protected abstract  RemoteLocationAreaNaturalId[] handleGetLocationAreaNaturalIds()
          Performs the core logic for getLocationAreaNaturalIds()
protected abstract  boolean handleRemoteLocationAreaFullVOsAreEqual(RemoteLocationAreaFullVO remoteLocationAreaFullVOFirst, RemoteLocationAreaFullVO remoteLocationAreaFullVOSecond)
          Performs the core logic for remoteLocationAreaFullVOsAreEqual(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)
protected abstract  boolean handleRemoteLocationAreaFullVOsAreEqualOnIdentifiers(RemoteLocationAreaFullVO remoteLocationAreaFullVOFirst, RemoteLocationAreaFullVO remoteLocationAreaFullVOSecond)
          Performs the core logic for remoteLocationAreaFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)
protected abstract  void handleRemoveLocationArea(RemoteLocationAreaFullVO locationArea)
          Performs the core logic for removeLocationArea(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)
protected abstract  void handleUpdateLocationArea(RemoteLocationAreaFullVO locationArea)
          Performs the core logic for updateLocationArea(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)
 boolean remoteLocationAreaFullVOsAreEqual(RemoteLocationAreaFullVO remoteLocationAreaFullVOFirst, RemoteLocationAreaFullVO remoteLocationAreaFullVOSecond)
           
 boolean remoteLocationAreaFullVOsAreEqualOnIdentifiers(RemoteLocationAreaFullVO remoteLocationAreaFullVOFirst, RemoteLocationAreaFullVO remoteLocationAreaFullVOSecond)
           
 void removeLocationArea(RemoteLocationAreaFullVO locationArea)
           
 void setLocationAreaDao(LocationAreaDao locationAreaDao)
          Sets the reference to locationArea's DAO.
 void setLocationDao(LocationDao locationDao)
          Sets the reference to location's DAO.
 void updateLocationArea(RemoteLocationAreaFullVO locationArea)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteLocationAreaFullServiceBase

public RemoteLocationAreaFullServiceBase()
Method Detail

setLocationAreaDao

public void setLocationAreaDao(LocationAreaDao locationAreaDao)
Sets the reference to locationArea's DAO.


getLocationAreaDao

protected LocationAreaDao getLocationAreaDao()
Gets the reference to locationArea'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.


addLocationArea

public RemoteLocationAreaFullVO addLocationArea(RemoteLocationAreaFullVO locationArea)
Specified by:
addLocationArea in interface RemoteLocationAreaFullService
See Also:
RemoteLocationAreaFullService.addLocationArea(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)

handleAddLocationArea

protected abstract RemoteLocationAreaFullVO handleAddLocationArea(RemoteLocationAreaFullVO locationArea)
                                                           throws java.lang.Exception
Performs the core logic for addLocationArea(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)

Throws:
java.lang.Exception

updateLocationArea

public void updateLocationArea(RemoteLocationAreaFullVO locationArea)
Specified by:
updateLocationArea in interface RemoteLocationAreaFullService
See Also:
RemoteLocationAreaFullService.updateLocationArea(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)

handleUpdateLocationArea

protected abstract void handleUpdateLocationArea(RemoteLocationAreaFullVO locationArea)
                                          throws java.lang.Exception
Performs the core logic for updateLocationArea(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)

Throws:
java.lang.Exception

removeLocationArea

public void removeLocationArea(RemoteLocationAreaFullVO locationArea)
Specified by:
removeLocationArea in interface RemoteLocationAreaFullService
See Also:
RemoteLocationAreaFullService.removeLocationArea(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)

handleRemoveLocationArea

protected abstract void handleRemoveLocationArea(RemoteLocationAreaFullVO locationArea)
                                          throws java.lang.Exception
Performs the core logic for removeLocationArea(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)

Throws:
java.lang.Exception

getAllLocationArea

public RemoteLocationAreaFullVO[] getAllLocationArea()
Specified by:
getAllLocationArea in interface RemoteLocationAreaFullService
See Also:
RemoteLocationAreaFullService.getAllLocationArea()

handleGetAllLocationArea

protected abstract RemoteLocationAreaFullVO[] handleGetAllLocationArea()
                                                                throws java.lang.Exception
Performs the core logic for getAllLocationArea()

Throws:
java.lang.Exception

getLocationAreaById

public RemoteLocationAreaFullVO getLocationAreaById(java.lang.Integer id)
Specified by:
getLocationAreaById in interface RemoteLocationAreaFullService
See Also:
RemoteLocationAreaFullService.getLocationAreaById(java.lang.Integer)

handleGetLocationAreaById

protected abstract RemoteLocationAreaFullVO handleGetLocationAreaById(java.lang.Integer id)
                                                               throws java.lang.Exception
Performs the core logic for getLocationAreaById(java.lang.Integer)

Throws:
java.lang.Exception

getLocationAreaByIds

public RemoteLocationAreaFullVO[] getLocationAreaByIds(java.lang.Integer[] id)
Specified by:
getLocationAreaByIds in interface RemoteLocationAreaFullService
See Also:
RemoteLocationAreaFullService.getLocationAreaByIds(java.lang.Integer[])

handleGetLocationAreaByIds

protected abstract RemoteLocationAreaFullVO[] handleGetLocationAreaByIds(java.lang.Integer[] id)
                                                                  throws java.lang.Exception
Performs the core logic for getLocationAreaByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getLocationAreaByLocationId

public RemoteLocationAreaFullVO[] getLocationAreaByLocationId(java.lang.Integer id)
Specified by:
getLocationAreaByLocationId in interface RemoteLocationAreaFullService
See Also:
RemoteLocationAreaFullService.getLocationAreaByLocationId(java.lang.Integer)

handleGetLocationAreaByLocationId

protected abstract RemoteLocationAreaFullVO[] handleGetLocationAreaByLocationId(java.lang.Integer id)
                                                                         throws java.lang.Exception
Performs the core logic for getLocationAreaByLocationId(java.lang.Integer)

Throws:
java.lang.Exception

remoteLocationAreaFullVOsAreEqualOnIdentifiers

public boolean remoteLocationAreaFullVOsAreEqualOnIdentifiers(RemoteLocationAreaFullVO remoteLocationAreaFullVOFirst,
                                                              RemoteLocationAreaFullVO remoteLocationAreaFullVOSecond)
Specified by:
remoteLocationAreaFullVOsAreEqualOnIdentifiers in interface RemoteLocationAreaFullService
See Also:
RemoteLocationAreaFullService.remoteLocationAreaFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)

handleRemoteLocationAreaFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteLocationAreaFullVOsAreEqualOnIdentifiers(RemoteLocationAreaFullVO remoteLocationAreaFullVOFirst,
                                                                                RemoteLocationAreaFullVO remoteLocationAreaFullVOSecond)
                                                                         throws java.lang.Exception
Performs the core logic for remoteLocationAreaFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)

Throws:
java.lang.Exception

remoteLocationAreaFullVOsAreEqual

public boolean remoteLocationAreaFullVOsAreEqual(RemoteLocationAreaFullVO remoteLocationAreaFullVOFirst,
                                                 RemoteLocationAreaFullVO remoteLocationAreaFullVOSecond)
Specified by:
remoteLocationAreaFullVOsAreEqual in interface RemoteLocationAreaFullService
See Also:
RemoteLocationAreaFullService.remoteLocationAreaFullVOsAreEqual(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)

handleRemoteLocationAreaFullVOsAreEqual

protected abstract boolean handleRemoteLocationAreaFullVOsAreEqual(RemoteLocationAreaFullVO remoteLocationAreaFullVOFirst,
                                                                   RemoteLocationAreaFullVO remoteLocationAreaFullVOSecond)
                                                            throws java.lang.Exception
Performs the core logic for remoteLocationAreaFullVOsAreEqual(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaFullVO)

Throws:
java.lang.Exception

getLocationAreaNaturalIds

public RemoteLocationAreaNaturalId[] getLocationAreaNaturalIds()
Specified by:
getLocationAreaNaturalIds in interface RemoteLocationAreaFullService
See Also:
RemoteLocationAreaFullService.getLocationAreaNaturalIds()

handleGetLocationAreaNaturalIds

protected abstract RemoteLocationAreaNaturalId[] handleGetLocationAreaNaturalIds()
                                                                          throws java.lang.Exception
Performs the core logic for getLocationAreaNaturalIds()

Throws:
java.lang.Exception

getLocationAreaByNaturalId

public RemoteLocationAreaFullVO getLocationAreaByNaturalId(RemoteLocationAreaNaturalId locationAreaNaturalId)
Specified by:
getLocationAreaByNaturalId in interface RemoteLocationAreaFullService
See Also:
RemoteLocationAreaFullService.getLocationAreaByNaturalId(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaNaturalId)

handleGetLocationAreaByNaturalId

protected abstract RemoteLocationAreaFullVO handleGetLocationAreaByNaturalId(RemoteLocationAreaNaturalId locationAreaNaturalId)
                                                                      throws java.lang.Exception
Performs the core logic for getLocationAreaByNaturalId(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAreaNaturalId)

Throws:
java.lang.Exception

getLocationAreaNaturalIdById

public RemoteLocationAreaNaturalId getLocationAreaNaturalIdById(java.lang.Integer id)
Specified by:
getLocationAreaNaturalIdById in interface RemoteLocationAreaFullService
See Also:
RemoteLocationAreaFullService.getLocationAreaNaturalIdById(java.lang.Integer)

handleGetLocationAreaNaturalIdById

protected abstract RemoteLocationAreaNaturalId handleGetLocationAreaNaturalIdById(java.lang.Integer id)
                                                                           throws java.lang.Exception
Performs the core logic for getLocationAreaNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

getClusterLocationAreaByIdentifiers

public ClusterLocationArea getClusterLocationAreaByIdentifiers(java.lang.Integer id)
Specified by:
getClusterLocationAreaByIdentifiers in interface RemoteLocationAreaFullService
See Also:
RemoteLocationAreaFullService.getClusterLocationAreaByIdentifiers(java.lang.Integer)

handleGetClusterLocationAreaByIdentifiers

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