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

java.lang.Object
  extended by fr.ifremer.allegro.referential.location.generic.service.RemoteLocationPointFullServiceBase
All Implemented Interfaces:
RemoteLocationPointFullService
Direct Known Subclasses:
RemoteLocationPointFullServiceImpl

public abstract class RemoteLocationPointFullServiceBase
extends java.lang.Object
implements RemoteLocationPointFullService

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

See Also:
RemoteLocationPointFullService

Constructor Summary
RemoteLocationPointFullServiceBase()
           
 
Method Summary
 RemoteLocationPointFullVO addLocationPoint(RemoteLocationPointFullVO locationPoint)
           
 RemoteLocationPointFullVO[] getAllLocationPoint()
           
 ClusterLocationPoint getClusterLocationPointByIdentifiers(java.lang.Integer id)
           
protected  LocationDao getLocationDao()
          Gets the reference to location's DAO.
 RemoteLocationPointFullVO getLocationPointById(java.lang.Integer id)
           
 RemoteLocationPointFullVO[] getLocationPointByIds(java.lang.Integer[] id)
           
 RemoteLocationPointFullVO[] getLocationPointByLocationId(java.lang.Integer id)
           
 RemoteLocationPointFullVO getLocationPointByNaturalId(RemoteLocationPointNaturalId locationPointNaturalId)
           
protected  LocationPointDao getLocationPointDao()
          Gets the reference to locationPoint's DAO.
 RemoteLocationPointNaturalId getLocationPointNaturalIdById(java.lang.Integer id)
           
 RemoteLocationPointNaturalId[] getLocationPointNaturalIds()
           
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  RemoteLocationPointFullVO handleAddLocationPoint(RemoteLocationPointFullVO locationPoint)
          Performs the core logic for addLocationPoint(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)
protected abstract  RemoteLocationPointFullVO[] handleGetAllLocationPoint()
          Performs the core logic for getAllLocationPoint()
protected abstract  ClusterLocationPoint handleGetClusterLocationPointByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterLocationPointByIdentifiers(java.lang.Integer)
protected abstract  RemoteLocationPointFullVO handleGetLocationPointById(java.lang.Integer id)
          Performs the core logic for getLocationPointById(java.lang.Integer)
protected abstract  RemoteLocationPointFullVO[] handleGetLocationPointByIds(java.lang.Integer[] id)
          Performs the core logic for getLocationPointByIds(java.lang.Integer[])
protected abstract  RemoteLocationPointFullVO[] handleGetLocationPointByLocationId(java.lang.Integer id)
          Performs the core logic for getLocationPointByLocationId(java.lang.Integer)
protected abstract  RemoteLocationPointFullVO handleGetLocationPointByNaturalId(RemoteLocationPointNaturalId locationPointNaturalId)
          Performs the core logic for getLocationPointByNaturalId(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointNaturalId)
protected abstract  RemoteLocationPointNaturalId handleGetLocationPointNaturalIdById(java.lang.Integer id)
          Performs the core logic for getLocationPointNaturalIdById(java.lang.Integer)
protected abstract  RemoteLocationPointNaturalId[] handleGetLocationPointNaturalIds()
          Performs the core logic for getLocationPointNaturalIds()
protected abstract  boolean handleRemoteLocationPointFullVOsAreEqual(RemoteLocationPointFullVO remoteLocationPointFullVOFirst, RemoteLocationPointFullVO remoteLocationPointFullVOSecond)
          Performs the core logic for remoteLocationPointFullVOsAreEqual(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)
protected abstract  boolean handleRemoteLocationPointFullVOsAreEqualOnIdentifiers(RemoteLocationPointFullVO remoteLocationPointFullVOFirst, RemoteLocationPointFullVO remoteLocationPointFullVOSecond)
          Performs the core logic for remoteLocationPointFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)
protected abstract  void handleRemoveLocationPoint(RemoteLocationPointFullVO locationPoint)
          Performs the core logic for removeLocationPoint(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)
protected abstract  void handleUpdateLocationPoint(RemoteLocationPointFullVO locationPoint)
          Performs the core logic for updateLocationPoint(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)
 boolean remoteLocationPointFullVOsAreEqual(RemoteLocationPointFullVO remoteLocationPointFullVOFirst, RemoteLocationPointFullVO remoteLocationPointFullVOSecond)
           
 boolean remoteLocationPointFullVOsAreEqualOnIdentifiers(RemoteLocationPointFullVO remoteLocationPointFullVOFirst, RemoteLocationPointFullVO remoteLocationPointFullVOSecond)
           
 void removeLocationPoint(RemoteLocationPointFullVO locationPoint)
           
 void setLocationDao(LocationDao locationDao)
          Sets the reference to location's DAO.
 void setLocationPointDao(LocationPointDao locationPointDao)
          Sets the reference to locationPoint's DAO.
 void updateLocationPoint(RemoteLocationPointFullVO locationPoint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteLocationPointFullServiceBase

public RemoteLocationPointFullServiceBase()
Method Detail

setLocationPointDao

public void setLocationPointDao(LocationPointDao locationPointDao)
Sets the reference to locationPoint's DAO.


getLocationPointDao

protected LocationPointDao getLocationPointDao()
Gets the reference to locationPoint'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.


addLocationPoint

public RemoteLocationPointFullVO addLocationPoint(RemoteLocationPointFullVO locationPoint)
Specified by:
addLocationPoint in interface RemoteLocationPointFullService
See Also:
RemoteLocationPointFullService.addLocationPoint(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)

handleAddLocationPoint

protected abstract RemoteLocationPointFullVO handleAddLocationPoint(RemoteLocationPointFullVO locationPoint)
                                                             throws java.lang.Exception
Performs the core logic for addLocationPoint(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)

Throws:
java.lang.Exception

updateLocationPoint

public void updateLocationPoint(RemoteLocationPointFullVO locationPoint)
Specified by:
updateLocationPoint in interface RemoteLocationPointFullService
See Also:
RemoteLocationPointFullService.updateLocationPoint(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)

handleUpdateLocationPoint

protected abstract void handleUpdateLocationPoint(RemoteLocationPointFullVO locationPoint)
                                           throws java.lang.Exception
Performs the core logic for updateLocationPoint(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)

Throws:
java.lang.Exception

removeLocationPoint

public void removeLocationPoint(RemoteLocationPointFullVO locationPoint)
Specified by:
removeLocationPoint in interface RemoteLocationPointFullService
See Also:
RemoteLocationPointFullService.removeLocationPoint(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)

handleRemoveLocationPoint

protected abstract void handleRemoveLocationPoint(RemoteLocationPointFullVO locationPoint)
                                           throws java.lang.Exception
Performs the core logic for removeLocationPoint(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)

Throws:
java.lang.Exception

getAllLocationPoint

public RemoteLocationPointFullVO[] getAllLocationPoint()
Specified by:
getAllLocationPoint in interface RemoteLocationPointFullService
See Also:
RemoteLocationPointFullService.getAllLocationPoint()

handleGetAllLocationPoint

protected abstract RemoteLocationPointFullVO[] handleGetAllLocationPoint()
                                                                  throws java.lang.Exception
Performs the core logic for getAllLocationPoint()

Throws:
java.lang.Exception

getLocationPointById

public RemoteLocationPointFullVO getLocationPointById(java.lang.Integer id)
Specified by:
getLocationPointById in interface RemoteLocationPointFullService
See Also:
RemoteLocationPointFullService.getLocationPointById(java.lang.Integer)

handleGetLocationPointById

protected abstract RemoteLocationPointFullVO handleGetLocationPointById(java.lang.Integer id)
                                                                 throws java.lang.Exception
Performs the core logic for getLocationPointById(java.lang.Integer)

Throws:
java.lang.Exception

getLocationPointByIds

public RemoteLocationPointFullVO[] getLocationPointByIds(java.lang.Integer[] id)
Specified by:
getLocationPointByIds in interface RemoteLocationPointFullService
See Also:
RemoteLocationPointFullService.getLocationPointByIds(java.lang.Integer[])

handleGetLocationPointByIds

protected abstract RemoteLocationPointFullVO[] handleGetLocationPointByIds(java.lang.Integer[] id)
                                                                    throws java.lang.Exception
Performs the core logic for getLocationPointByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getLocationPointByLocationId

public RemoteLocationPointFullVO[] getLocationPointByLocationId(java.lang.Integer id)
Specified by:
getLocationPointByLocationId in interface RemoteLocationPointFullService
See Also:
RemoteLocationPointFullService.getLocationPointByLocationId(java.lang.Integer)

handleGetLocationPointByLocationId

protected abstract RemoteLocationPointFullVO[] handleGetLocationPointByLocationId(java.lang.Integer id)
                                                                           throws java.lang.Exception
Performs the core logic for getLocationPointByLocationId(java.lang.Integer)

Throws:
java.lang.Exception

remoteLocationPointFullVOsAreEqualOnIdentifiers

public boolean remoteLocationPointFullVOsAreEqualOnIdentifiers(RemoteLocationPointFullVO remoteLocationPointFullVOFirst,
                                                               RemoteLocationPointFullVO remoteLocationPointFullVOSecond)
Specified by:
remoteLocationPointFullVOsAreEqualOnIdentifiers in interface RemoteLocationPointFullService
See Also:
RemoteLocationPointFullService.remoteLocationPointFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)

handleRemoteLocationPointFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteLocationPointFullVOsAreEqualOnIdentifiers(RemoteLocationPointFullVO remoteLocationPointFullVOFirst,
                                                                                 RemoteLocationPointFullVO remoteLocationPointFullVOSecond)
                                                                          throws java.lang.Exception
Performs the core logic for remoteLocationPointFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)

Throws:
java.lang.Exception

remoteLocationPointFullVOsAreEqual

public boolean remoteLocationPointFullVOsAreEqual(RemoteLocationPointFullVO remoteLocationPointFullVOFirst,
                                                  RemoteLocationPointFullVO remoteLocationPointFullVOSecond)
Specified by:
remoteLocationPointFullVOsAreEqual in interface RemoteLocationPointFullService
See Also:
RemoteLocationPointFullService.remoteLocationPointFullVOsAreEqual(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)

handleRemoteLocationPointFullVOsAreEqual

protected abstract boolean handleRemoteLocationPointFullVOsAreEqual(RemoteLocationPointFullVO remoteLocationPointFullVOFirst,
                                                                    RemoteLocationPointFullVO remoteLocationPointFullVOSecond)
                                                             throws java.lang.Exception
Performs the core logic for remoteLocationPointFullVOsAreEqual(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)

Throws:
java.lang.Exception

getLocationPointNaturalIds

public RemoteLocationPointNaturalId[] getLocationPointNaturalIds()
Specified by:
getLocationPointNaturalIds in interface RemoteLocationPointFullService
See Also:
RemoteLocationPointFullService.getLocationPointNaturalIds()

handleGetLocationPointNaturalIds

protected abstract RemoteLocationPointNaturalId[] handleGetLocationPointNaturalIds()
                                                                            throws java.lang.Exception
Performs the core logic for getLocationPointNaturalIds()

Throws:
java.lang.Exception

getLocationPointByNaturalId

public RemoteLocationPointFullVO getLocationPointByNaturalId(RemoteLocationPointNaturalId locationPointNaturalId)
Specified by:
getLocationPointByNaturalId in interface RemoteLocationPointFullService
See Also:
RemoteLocationPointFullService.getLocationPointByNaturalId(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointNaturalId)

handleGetLocationPointByNaturalId

protected abstract RemoteLocationPointFullVO handleGetLocationPointByNaturalId(RemoteLocationPointNaturalId locationPointNaturalId)
                                                                        throws java.lang.Exception
Performs the core logic for getLocationPointByNaturalId(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointNaturalId)

Throws:
java.lang.Exception

getLocationPointNaturalIdById

public RemoteLocationPointNaturalId getLocationPointNaturalIdById(java.lang.Integer id)
Specified by:
getLocationPointNaturalIdById in interface RemoteLocationPointFullService
See Also:
RemoteLocationPointFullService.getLocationPointNaturalIdById(java.lang.Integer)

handleGetLocationPointNaturalIdById

protected abstract RemoteLocationPointNaturalId handleGetLocationPointNaturalIdById(java.lang.Integer id)
                                                                             throws java.lang.Exception
Performs the core logic for getLocationPointNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

getClusterLocationPointByIdentifiers

public ClusterLocationPoint getClusterLocationPointByIdentifiers(java.lang.Integer id)
Specified by:
getClusterLocationPointByIdentifiers in interface RemoteLocationPointFullService
See Also:
RemoteLocationPointFullService.getClusterLocationPointByIdentifiers(java.lang.Integer)

handleGetClusterLocationPointByIdentifiers

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