fr.ifremer.allegro.referential.spatial.generic.service
Class RemoteSpatialItem2LocationFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.referential.spatial.generic.service.RemoteSpatialItem2LocationFullServiceBase
All Implemented Interfaces:
RemoteSpatialItem2LocationFullService
Direct Known Subclasses:
RemoteSpatialItem2LocationFullServiceImpl

public abstract class RemoteSpatialItem2LocationFullServiceBase
extends java.lang.Object
implements RemoteSpatialItem2LocationFullService

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

See Also:
RemoteSpatialItem2LocationFullService

Constructor Summary
RemoteSpatialItem2LocationFullServiceBase()
           
 
Method Summary
 RemoteSpatialItem2LocationFullVO addSpatialItem2Location(RemoteSpatialItem2LocationFullVO spatialItem2Location)
           
 RemoteSpatialItem2LocationFullVO[] getAllSpatialItem2Location()
           
 ClusterSpatialItem2Location getClusterSpatialItem2LocationByIdentifiers(java.lang.Integer spatialItemId, java.lang.Integer locationId)
           
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.
 RemoteSpatialItem2LocationFullVO getSpatialItem2LocationByIdentifiers(java.lang.Integer spatialItemId, java.lang.Integer locationId)
           
 RemoteSpatialItem2LocationFullVO[] getSpatialItem2LocationByLocationId(java.lang.Integer id)
           
 RemoteSpatialItem2LocationFullVO getSpatialItem2LocationByNaturalId(RemoteSpatialItem2LocationNaturalId spatialItem2LocationNaturalId)
           
 RemoteSpatialItem2LocationFullVO[] getSpatialItem2LocationBySpatialItemId(java.lang.Integer id)
           
protected  SpatialItem2LocationDao getSpatialItem2LocationDao()
          Gets the reference to spatialItem2Location's DAO.
 RemoteSpatialItem2LocationNaturalId[] getSpatialItem2LocationNaturalIds()
           
protected  SpatialItemDao getSpatialItemDao()
          Gets the reference to spatialItem's DAO.
protected abstract  RemoteSpatialItem2LocationFullVO handleAddSpatialItem2Location(RemoteSpatialItem2LocationFullVO spatialItem2Location)
          Performs the core logic for addSpatialItem2Location(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)
protected abstract  RemoteSpatialItem2LocationFullVO[] handleGetAllSpatialItem2Location()
          Performs the core logic for getAllSpatialItem2Location()
protected abstract  ClusterSpatialItem2Location handleGetClusterSpatialItem2LocationByIdentifiers(java.lang.Integer spatialItemId, java.lang.Integer locationId)
          Performs the core logic for getClusterSpatialItem2LocationByIdentifiers(java.lang.Integer, java.lang.Integer)
protected abstract  RemoteSpatialItem2LocationFullVO handleGetSpatialItem2LocationByIdentifiers(java.lang.Integer spatialItemId, java.lang.Integer locationId)
          Performs the core logic for getSpatialItem2LocationByIdentifiers(java.lang.Integer, java.lang.Integer)
protected abstract  RemoteSpatialItem2LocationFullVO[] handleGetSpatialItem2LocationByLocationId(java.lang.Integer id)
          Performs the core logic for getSpatialItem2LocationByLocationId(java.lang.Integer)
protected abstract  RemoteSpatialItem2LocationFullVO handleGetSpatialItem2LocationByNaturalId(RemoteSpatialItem2LocationNaturalId spatialItem2LocationNaturalId)
          Performs the core logic for getSpatialItem2LocationByNaturalId(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationNaturalId)
protected abstract  RemoteSpatialItem2LocationFullVO[] handleGetSpatialItem2LocationBySpatialItemId(java.lang.Integer id)
          Performs the core logic for getSpatialItem2LocationBySpatialItemId(java.lang.Integer)
protected abstract  RemoteSpatialItem2LocationNaturalId[] handleGetSpatialItem2LocationNaturalIds()
          Performs the core logic for getSpatialItem2LocationNaturalIds()
protected abstract  boolean handleRemoteSpatialItem2LocationFullVOsAreEqual(RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOFirst, RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOSecond)
          Performs the core logic for remoteSpatialItem2LocationFullVOsAreEqual(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO, fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)
protected abstract  boolean handleRemoteSpatialItem2LocationFullVOsAreEqualOnIdentifiers(RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOFirst, RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOSecond)
          Performs the core logic for remoteSpatialItem2LocationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO, fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)
protected abstract  void handleRemoveSpatialItem2Location(RemoteSpatialItem2LocationFullVO spatialItem2Location)
          Performs the core logic for removeSpatialItem2Location(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)
protected abstract  void handleUpdateSpatialItem2Location(RemoteSpatialItem2LocationFullVO spatialItem2Location)
          Performs the core logic for updateSpatialItem2Location(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)
 boolean remoteSpatialItem2LocationFullVOsAreEqual(RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOFirst, RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOSecond)
           
 boolean remoteSpatialItem2LocationFullVOsAreEqualOnIdentifiers(RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOFirst, RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOSecond)
           
 void removeSpatialItem2Location(RemoteSpatialItem2LocationFullVO spatialItem2Location)
           
 void setLocationDao(LocationDao locationDao)
          Sets the reference to location's DAO.
 void setSpatialItem2LocationDao(SpatialItem2LocationDao spatialItem2LocationDao)
          Sets the reference to spatialItem2Location's DAO.
 void setSpatialItemDao(SpatialItemDao spatialItemDao)
          Sets the reference to spatialItem's DAO.
 void updateSpatialItem2Location(RemoteSpatialItem2LocationFullVO spatialItem2Location)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteSpatialItem2LocationFullServiceBase

public RemoteSpatialItem2LocationFullServiceBase()
Method Detail

setSpatialItem2LocationDao

public void setSpatialItem2LocationDao(SpatialItem2LocationDao spatialItem2LocationDao)
Sets the reference to spatialItem2Location's DAO.


getSpatialItem2LocationDao

protected SpatialItem2LocationDao getSpatialItem2LocationDao()
Gets the reference to spatialItem2Location's DAO.


setSpatialItemDao

public void setSpatialItemDao(SpatialItemDao spatialItemDao)
Sets the reference to spatialItem's DAO.


getSpatialItemDao

protected SpatialItemDao getSpatialItemDao()
Gets the reference to spatialItem'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.


addSpatialItem2Location

public RemoteSpatialItem2LocationFullVO addSpatialItem2Location(RemoteSpatialItem2LocationFullVO spatialItem2Location)
Specified by:
addSpatialItem2Location in interface RemoteSpatialItem2LocationFullService
See Also:
RemoteSpatialItem2LocationFullService.addSpatialItem2Location(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)

handleAddSpatialItem2Location

protected abstract RemoteSpatialItem2LocationFullVO handleAddSpatialItem2Location(RemoteSpatialItem2LocationFullVO spatialItem2Location)
                                                                           throws java.lang.Exception
Performs the core logic for addSpatialItem2Location(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)

Throws:
java.lang.Exception

updateSpatialItem2Location

public void updateSpatialItem2Location(RemoteSpatialItem2LocationFullVO spatialItem2Location)
Specified by:
updateSpatialItem2Location in interface RemoteSpatialItem2LocationFullService
See Also:
RemoteSpatialItem2LocationFullService.updateSpatialItem2Location(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)

handleUpdateSpatialItem2Location

protected abstract void handleUpdateSpatialItem2Location(RemoteSpatialItem2LocationFullVO spatialItem2Location)
                                                  throws java.lang.Exception
Performs the core logic for updateSpatialItem2Location(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)

Throws:
java.lang.Exception

removeSpatialItem2Location

public void removeSpatialItem2Location(RemoteSpatialItem2LocationFullVO spatialItem2Location)
Specified by:
removeSpatialItem2Location in interface RemoteSpatialItem2LocationFullService
See Also:
RemoteSpatialItem2LocationFullService.removeSpatialItem2Location(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)

handleRemoveSpatialItem2Location

protected abstract void handleRemoveSpatialItem2Location(RemoteSpatialItem2LocationFullVO spatialItem2Location)
                                                  throws java.lang.Exception
Performs the core logic for removeSpatialItem2Location(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)

Throws:
java.lang.Exception

getAllSpatialItem2Location

public RemoteSpatialItem2LocationFullVO[] getAllSpatialItem2Location()
Specified by:
getAllSpatialItem2Location in interface RemoteSpatialItem2LocationFullService
See Also:
RemoteSpatialItem2LocationFullService.getAllSpatialItem2Location()

handleGetAllSpatialItem2Location

protected abstract RemoteSpatialItem2LocationFullVO[] handleGetAllSpatialItem2Location()
                                                                                throws java.lang.Exception
Performs the core logic for getAllSpatialItem2Location()

Throws:
java.lang.Exception

getSpatialItem2LocationBySpatialItemId

public RemoteSpatialItem2LocationFullVO[] getSpatialItem2LocationBySpatialItemId(java.lang.Integer id)
Specified by:
getSpatialItem2LocationBySpatialItemId in interface RemoteSpatialItem2LocationFullService
See Also:
RemoteSpatialItem2LocationFullService.getSpatialItem2LocationBySpatialItemId(java.lang.Integer)

handleGetSpatialItem2LocationBySpatialItemId

protected abstract RemoteSpatialItem2LocationFullVO[] handleGetSpatialItem2LocationBySpatialItemId(java.lang.Integer id)
                                                                                            throws java.lang.Exception
Performs the core logic for getSpatialItem2LocationBySpatialItemId(java.lang.Integer)

Throws:
java.lang.Exception

getSpatialItem2LocationByLocationId

public RemoteSpatialItem2LocationFullVO[] getSpatialItem2LocationByLocationId(java.lang.Integer id)
Specified by:
getSpatialItem2LocationByLocationId in interface RemoteSpatialItem2LocationFullService
See Also:
RemoteSpatialItem2LocationFullService.getSpatialItem2LocationByLocationId(java.lang.Integer)

handleGetSpatialItem2LocationByLocationId

protected abstract RemoteSpatialItem2LocationFullVO[] handleGetSpatialItem2LocationByLocationId(java.lang.Integer id)
                                                                                         throws java.lang.Exception
Performs the core logic for getSpatialItem2LocationByLocationId(java.lang.Integer)

Throws:
java.lang.Exception

getSpatialItem2LocationByIdentifiers

public RemoteSpatialItem2LocationFullVO getSpatialItem2LocationByIdentifiers(java.lang.Integer spatialItemId,
                                                                             java.lang.Integer locationId)
Specified by:
getSpatialItem2LocationByIdentifiers in interface RemoteSpatialItem2LocationFullService
See Also:
RemoteSpatialItem2LocationFullService.getSpatialItem2LocationByIdentifiers(java.lang.Integer, java.lang.Integer)

handleGetSpatialItem2LocationByIdentifiers

protected abstract RemoteSpatialItem2LocationFullVO handleGetSpatialItem2LocationByIdentifiers(java.lang.Integer spatialItemId,
                                                                                               java.lang.Integer locationId)
                                                                                        throws java.lang.Exception
Performs the core logic for getSpatialItem2LocationByIdentifiers(java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

remoteSpatialItem2LocationFullVOsAreEqualOnIdentifiers

public boolean remoteSpatialItem2LocationFullVOsAreEqualOnIdentifiers(RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOFirst,
                                                                      RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOSecond)
Specified by:
remoteSpatialItem2LocationFullVOsAreEqualOnIdentifiers in interface RemoteSpatialItem2LocationFullService
See Also:
RemoteSpatialItem2LocationFullService.remoteSpatialItem2LocationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO, fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)

handleRemoteSpatialItem2LocationFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteSpatialItem2LocationFullVOsAreEqualOnIdentifiers(RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOFirst,
                                                                                        RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOSecond)
                                                                                 throws java.lang.Exception
Performs the core logic for remoteSpatialItem2LocationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO, fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)

Throws:
java.lang.Exception

remoteSpatialItem2LocationFullVOsAreEqual

public boolean remoteSpatialItem2LocationFullVOsAreEqual(RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOFirst,
                                                         RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOSecond)
Specified by:
remoteSpatialItem2LocationFullVOsAreEqual in interface RemoteSpatialItem2LocationFullService
See Also:
RemoteSpatialItem2LocationFullService.remoteSpatialItem2LocationFullVOsAreEqual(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO, fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)

handleRemoteSpatialItem2LocationFullVOsAreEqual

protected abstract boolean handleRemoteSpatialItem2LocationFullVOsAreEqual(RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOFirst,
                                                                           RemoteSpatialItem2LocationFullVO remoteSpatialItem2LocationFullVOSecond)
                                                                    throws java.lang.Exception
Performs the core logic for remoteSpatialItem2LocationFullVOsAreEqual(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO, fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationFullVO)

Throws:
java.lang.Exception

getSpatialItem2LocationNaturalIds

public RemoteSpatialItem2LocationNaturalId[] getSpatialItem2LocationNaturalIds()
Specified by:
getSpatialItem2LocationNaturalIds in interface RemoteSpatialItem2LocationFullService
See Also:
RemoteSpatialItem2LocationFullService.getSpatialItem2LocationNaturalIds()

handleGetSpatialItem2LocationNaturalIds

protected abstract RemoteSpatialItem2LocationNaturalId[] handleGetSpatialItem2LocationNaturalIds()
                                                                                          throws java.lang.Exception
Performs the core logic for getSpatialItem2LocationNaturalIds()

Throws:
java.lang.Exception

getSpatialItem2LocationByNaturalId

public RemoteSpatialItem2LocationFullVO getSpatialItem2LocationByNaturalId(RemoteSpatialItem2LocationNaturalId spatialItem2LocationNaturalId)
Specified by:
getSpatialItem2LocationByNaturalId in interface RemoteSpatialItem2LocationFullService
See Also:
RemoteSpatialItem2LocationFullService.getSpatialItem2LocationByNaturalId(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationNaturalId)

handleGetSpatialItem2LocationByNaturalId

protected abstract RemoteSpatialItem2LocationFullVO handleGetSpatialItem2LocationByNaturalId(RemoteSpatialItem2LocationNaturalId spatialItem2LocationNaturalId)
                                                                                      throws java.lang.Exception
Performs the core logic for getSpatialItem2LocationByNaturalId(fr.ifremer.allegro.referential.spatial.generic.vo.RemoteSpatialItem2LocationNaturalId)

Throws:
java.lang.Exception

getClusterSpatialItem2LocationByIdentifiers

public ClusterSpatialItem2Location getClusterSpatialItem2LocationByIdentifiers(java.lang.Integer spatialItemId,
                                                                               java.lang.Integer locationId)
Specified by:
getClusterSpatialItem2LocationByIdentifiers in interface RemoteSpatialItem2LocationFullService
See Also:
RemoteSpatialItem2LocationFullService.getClusterSpatialItem2LocationByIdentifiers(java.lang.Integer, java.lang.Integer)

handleGetClusterSpatialItem2LocationByIdentifiers

protected abstract ClusterSpatialItem2Location handleGetClusterSpatialItem2LocationByIdentifiers(java.lang.Integer spatialItemId,
                                                                                                 java.lang.Integer locationId)
                                                                                          throws java.lang.Exception
Performs the core logic for getClusterSpatialItem2LocationByIdentifiers(java.lang.Integer, 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.