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

java.lang.Object
  extended by fr.ifremer.allegro.referential.location.generic.service.RemoteLocationLevelFullServiceBase
All Implemented Interfaces:
RemoteLocationLevelFullService
Direct Known Subclasses:
RemoteLocationLevelFullServiceImpl

public abstract class RemoteLocationLevelFullServiceBase
extends java.lang.Object
implements RemoteLocationLevelFullService

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

See Also:
RemoteLocationLevelFullService

Constructor Summary
RemoteLocationLevelFullServiceBase()
           
 
Method Summary
 RemoteLocationLevelFullVO addLocationLevel(RemoteLocationLevelFullVO locationLevel)
           
 ClusterLocationLevel addOrUpdateClusterLocationLevel(ClusterLocationLevel clusterLocationLevel)
           
 ClusterLocationLevel[] getAllClusterLocationLevelSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteLocationLevelFullVO[] getAllLocationLevel()
           
 ClusterLocationLevel getClusterLocationLevelByIdentifiers(java.lang.Integer id)
           
protected  LocationClassificationDao getLocationClassificationDao()
          Gets the reference to locationClassification's DAO.
 RemoteLocationLevelFullVO getLocationLevelById(java.lang.Integer id)
           
 RemoteLocationLevelFullVO[] getLocationLevelByIds(java.lang.Integer[] id)
           
 RemoteLocationLevelFullVO[] getLocationLevelByLocationClassificationId(java.lang.Integer id)
           
 RemoteLocationLevelFullVO getLocationLevelByNaturalId(RemoteLocationLevelNaturalId locationLevelNaturalId)
           
 RemoteLocationLevelFullVO[] getLocationLevelByParentLocationLevelId(java.lang.Integer id)
           
protected  LocationLevelDao getLocationLevelDao()
          Gets the reference to locationLevel's DAO.
 RemoteLocationLevelNaturalId getLocationLevelNaturalIdById(java.lang.Integer id)
           
 RemoteLocationLevelNaturalId[] getLocationLevelNaturalIds()
           
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  RemoteLocationLevelFullVO handleAddLocationLevel(RemoteLocationLevelFullVO locationLevel)
          Performs the core logic for addLocationLevel(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)
protected abstract  ClusterLocationLevel handleAddOrUpdateClusterLocationLevel(ClusterLocationLevel clusterLocationLevel)
          Performs the core logic for addOrUpdateClusterLocationLevel(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLevel)
protected abstract  ClusterLocationLevel[] handleGetAllClusterLocationLevelSinceDateSynchro(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 getAllClusterLocationLevelSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteLocationLevelFullVO[] handleGetAllLocationLevel()
          Performs the core logic for getAllLocationLevel()
protected abstract  ClusterLocationLevel handleGetClusterLocationLevelByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterLocationLevelByIdentifiers(java.lang.Integer)
protected abstract  RemoteLocationLevelFullVO handleGetLocationLevelById(java.lang.Integer id)
          Performs the core logic for getLocationLevelById(java.lang.Integer)
protected abstract  RemoteLocationLevelFullVO[] handleGetLocationLevelByIds(java.lang.Integer[] id)
          Performs the core logic for getLocationLevelByIds(java.lang.Integer[])
protected abstract  RemoteLocationLevelFullVO[] handleGetLocationLevelByLocationClassificationId(java.lang.Integer id)
          Performs the core logic for getLocationLevelByLocationClassificationId(java.lang.Integer)
protected abstract  RemoteLocationLevelFullVO handleGetLocationLevelByNaturalId(RemoteLocationLevelNaturalId locationLevelNaturalId)
          Performs the core logic for getLocationLevelByNaturalId(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelNaturalId)
protected abstract  RemoteLocationLevelFullVO[] handleGetLocationLevelByParentLocationLevelId(java.lang.Integer id)
          Performs the core logic for getLocationLevelByParentLocationLevelId(java.lang.Integer)
protected abstract  RemoteLocationLevelNaturalId handleGetLocationLevelNaturalIdById(java.lang.Integer id)
          Performs the core logic for getLocationLevelNaturalIdById(java.lang.Integer)
protected abstract  RemoteLocationLevelNaturalId[] handleGetLocationLevelNaturalIds()
          Performs the core logic for getLocationLevelNaturalIds()
protected abstract  boolean handleRemoteLocationLevelFullVOsAreEqual(RemoteLocationLevelFullVO remoteLocationLevelFullVOFirst, RemoteLocationLevelFullVO remoteLocationLevelFullVOSecond)
          Performs the core logic for remoteLocationLevelFullVOsAreEqual(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)
protected abstract  boolean handleRemoteLocationLevelFullVOsAreEqualOnIdentifiers(RemoteLocationLevelFullVO remoteLocationLevelFullVOFirst, RemoteLocationLevelFullVO remoteLocationLevelFullVOSecond)
          Performs the core logic for remoteLocationLevelFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)
protected abstract  void handleRemoveLocationLevel(RemoteLocationLevelFullVO locationLevel)
          Performs the core logic for removeLocationLevel(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)
protected abstract  void handleUpdateLocationLevel(RemoteLocationLevelFullVO locationLevel)
          Performs the core logic for updateLocationLevel(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)
 boolean remoteLocationLevelFullVOsAreEqual(RemoteLocationLevelFullVO remoteLocationLevelFullVOFirst, RemoteLocationLevelFullVO remoteLocationLevelFullVOSecond)
           
 boolean remoteLocationLevelFullVOsAreEqualOnIdentifiers(RemoteLocationLevelFullVO remoteLocationLevelFullVOFirst, RemoteLocationLevelFullVO remoteLocationLevelFullVOSecond)
           
 void removeLocationLevel(RemoteLocationLevelFullVO locationLevel)
           
 void setLocationClassificationDao(LocationClassificationDao locationClassificationDao)
          Sets the reference to locationClassification's DAO.
 void setLocationLevelDao(LocationLevelDao locationLevelDao)
          Sets the reference to locationLevel's DAO.
 void updateLocationLevel(RemoteLocationLevelFullVO locationLevel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteLocationLevelFullServiceBase

public RemoteLocationLevelFullServiceBase()
Method Detail

setLocationLevelDao

public void setLocationLevelDao(LocationLevelDao locationLevelDao)
Sets the reference to locationLevel's DAO.


getLocationLevelDao

protected LocationLevelDao getLocationLevelDao()
Gets the reference to locationLevel's DAO.


setLocationClassificationDao

public void setLocationClassificationDao(LocationClassificationDao locationClassificationDao)
Sets the reference to locationClassification's DAO.


getLocationClassificationDao

protected LocationClassificationDao getLocationClassificationDao()
Gets the reference to locationClassification's DAO.


addLocationLevel

public RemoteLocationLevelFullVO addLocationLevel(RemoteLocationLevelFullVO locationLevel)
Specified by:
addLocationLevel in interface RemoteLocationLevelFullService
See Also:
RemoteLocationLevelFullService.addLocationLevel(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)

handleAddLocationLevel

protected abstract RemoteLocationLevelFullVO handleAddLocationLevel(RemoteLocationLevelFullVO locationLevel)
                                                             throws java.lang.Exception
Performs the core logic for addLocationLevel(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)

Throws:
java.lang.Exception

updateLocationLevel

public void updateLocationLevel(RemoteLocationLevelFullVO locationLevel)
Specified by:
updateLocationLevel in interface RemoteLocationLevelFullService
See Also:
RemoteLocationLevelFullService.updateLocationLevel(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)

handleUpdateLocationLevel

protected abstract void handleUpdateLocationLevel(RemoteLocationLevelFullVO locationLevel)
                                           throws java.lang.Exception
Performs the core logic for updateLocationLevel(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)

Throws:
java.lang.Exception

removeLocationLevel

public void removeLocationLevel(RemoteLocationLevelFullVO locationLevel)
Specified by:
removeLocationLevel in interface RemoteLocationLevelFullService
See Also:
RemoteLocationLevelFullService.removeLocationLevel(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)

handleRemoveLocationLevel

protected abstract void handleRemoveLocationLevel(RemoteLocationLevelFullVO locationLevel)
                                           throws java.lang.Exception
Performs the core logic for removeLocationLevel(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)

Throws:
java.lang.Exception

getAllLocationLevel

public RemoteLocationLevelFullVO[] getAllLocationLevel()
Specified by:
getAllLocationLevel in interface RemoteLocationLevelFullService
See Also:
RemoteLocationLevelFullService.getAllLocationLevel()

handleGetAllLocationLevel

protected abstract RemoteLocationLevelFullVO[] handleGetAllLocationLevel()
                                                                  throws java.lang.Exception
Performs the core logic for getAllLocationLevel()

Throws:
java.lang.Exception

getLocationLevelById

public RemoteLocationLevelFullVO getLocationLevelById(java.lang.Integer id)
Specified by:
getLocationLevelById in interface RemoteLocationLevelFullService
See Also:
RemoteLocationLevelFullService.getLocationLevelById(java.lang.Integer)

handleGetLocationLevelById

protected abstract RemoteLocationLevelFullVO handleGetLocationLevelById(java.lang.Integer id)
                                                                 throws java.lang.Exception
Performs the core logic for getLocationLevelById(java.lang.Integer)

Throws:
java.lang.Exception

getLocationLevelByIds

public RemoteLocationLevelFullVO[] getLocationLevelByIds(java.lang.Integer[] id)
Specified by:
getLocationLevelByIds in interface RemoteLocationLevelFullService
See Also:
RemoteLocationLevelFullService.getLocationLevelByIds(java.lang.Integer[])

handleGetLocationLevelByIds

protected abstract RemoteLocationLevelFullVO[] handleGetLocationLevelByIds(java.lang.Integer[] id)
                                                                    throws java.lang.Exception
Performs the core logic for getLocationLevelByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getLocationLevelByParentLocationLevelId

public RemoteLocationLevelFullVO[] getLocationLevelByParentLocationLevelId(java.lang.Integer id)
Specified by:
getLocationLevelByParentLocationLevelId in interface RemoteLocationLevelFullService
See Also:
RemoteLocationLevelFullService.getLocationLevelByParentLocationLevelId(java.lang.Integer)

handleGetLocationLevelByParentLocationLevelId

protected abstract RemoteLocationLevelFullVO[] handleGetLocationLevelByParentLocationLevelId(java.lang.Integer id)
                                                                                      throws java.lang.Exception
Performs the core logic for getLocationLevelByParentLocationLevelId(java.lang.Integer)

Throws:
java.lang.Exception

getLocationLevelByLocationClassificationId

public RemoteLocationLevelFullVO[] getLocationLevelByLocationClassificationId(java.lang.Integer id)
Specified by:
getLocationLevelByLocationClassificationId in interface RemoteLocationLevelFullService
See Also:
RemoteLocationLevelFullService.getLocationLevelByLocationClassificationId(java.lang.Integer)

handleGetLocationLevelByLocationClassificationId

protected abstract RemoteLocationLevelFullVO[] handleGetLocationLevelByLocationClassificationId(java.lang.Integer id)
                                                                                         throws java.lang.Exception
Performs the core logic for getLocationLevelByLocationClassificationId(java.lang.Integer)

Throws:
java.lang.Exception

remoteLocationLevelFullVOsAreEqualOnIdentifiers

public boolean remoteLocationLevelFullVOsAreEqualOnIdentifiers(RemoteLocationLevelFullVO remoteLocationLevelFullVOFirst,
                                                               RemoteLocationLevelFullVO remoteLocationLevelFullVOSecond)
Specified by:
remoteLocationLevelFullVOsAreEqualOnIdentifiers in interface RemoteLocationLevelFullService
See Also:
RemoteLocationLevelFullService.remoteLocationLevelFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)

handleRemoteLocationLevelFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteLocationLevelFullVOsAreEqualOnIdentifiers(RemoteLocationLevelFullVO remoteLocationLevelFullVOFirst,
                                                                                 RemoteLocationLevelFullVO remoteLocationLevelFullVOSecond)
                                                                          throws java.lang.Exception
Performs the core logic for remoteLocationLevelFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)

Throws:
java.lang.Exception

remoteLocationLevelFullVOsAreEqual

public boolean remoteLocationLevelFullVOsAreEqual(RemoteLocationLevelFullVO remoteLocationLevelFullVOFirst,
                                                  RemoteLocationLevelFullVO remoteLocationLevelFullVOSecond)
Specified by:
remoteLocationLevelFullVOsAreEqual in interface RemoteLocationLevelFullService
See Also:
RemoteLocationLevelFullService.remoteLocationLevelFullVOsAreEqual(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)

handleRemoteLocationLevelFullVOsAreEqual

protected abstract boolean handleRemoteLocationLevelFullVOsAreEqual(RemoteLocationLevelFullVO remoteLocationLevelFullVOFirst,
                                                                    RemoteLocationLevelFullVO remoteLocationLevelFullVOSecond)
                                                             throws java.lang.Exception
Performs the core logic for remoteLocationLevelFullVOsAreEqual(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelFullVO)

Throws:
java.lang.Exception

getLocationLevelNaturalIds

public RemoteLocationLevelNaturalId[] getLocationLevelNaturalIds()
Specified by:
getLocationLevelNaturalIds in interface RemoteLocationLevelFullService
See Also:
RemoteLocationLevelFullService.getLocationLevelNaturalIds()

handleGetLocationLevelNaturalIds

protected abstract RemoteLocationLevelNaturalId[] handleGetLocationLevelNaturalIds()
                                                                            throws java.lang.Exception
Performs the core logic for getLocationLevelNaturalIds()

Throws:
java.lang.Exception

getLocationLevelByNaturalId

public RemoteLocationLevelFullVO getLocationLevelByNaturalId(RemoteLocationLevelNaturalId locationLevelNaturalId)
Specified by:
getLocationLevelByNaturalId in interface RemoteLocationLevelFullService
See Also:
RemoteLocationLevelFullService.getLocationLevelByNaturalId(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelNaturalId)

handleGetLocationLevelByNaturalId

protected abstract RemoteLocationLevelFullVO handleGetLocationLevelByNaturalId(RemoteLocationLevelNaturalId locationLevelNaturalId)
                                                                        throws java.lang.Exception
Performs the core logic for getLocationLevelByNaturalId(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLevelNaturalId)

Throws:
java.lang.Exception

getLocationLevelNaturalIdById

public RemoteLocationLevelNaturalId getLocationLevelNaturalIdById(java.lang.Integer id)
Specified by:
getLocationLevelNaturalIdById in interface RemoteLocationLevelFullService
See Also:
RemoteLocationLevelFullService.getLocationLevelNaturalIdById(java.lang.Integer)

handleGetLocationLevelNaturalIdById

protected abstract RemoteLocationLevelNaturalId handleGetLocationLevelNaturalIdById(java.lang.Integer id)
                                                                             throws java.lang.Exception
Performs the core logic for getLocationLevelNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterLocationLevel

public ClusterLocationLevel addOrUpdateClusterLocationLevel(ClusterLocationLevel clusterLocationLevel)
Specified by:
addOrUpdateClusterLocationLevel in interface RemoteLocationLevelFullService
See Also:
RemoteLocationLevelFullService.addOrUpdateClusterLocationLevel(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLevel)

handleAddOrUpdateClusterLocationLevel

protected abstract ClusterLocationLevel handleAddOrUpdateClusterLocationLevel(ClusterLocationLevel clusterLocationLevel)
                                                                       throws java.lang.Exception
Performs the core logic for addOrUpdateClusterLocationLevel(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLevel)

Throws:
java.lang.Exception

getAllClusterLocationLevelSinceDateSynchro

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

handleGetAllClusterLocationLevelSinceDateSynchro

protected abstract ClusterLocationLevel[] handleGetAllClusterLocationLevelSinceDateSynchro(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 getAllClusterLocationLevelSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterLocationLevelByIdentifiers

public ClusterLocationLevel getClusterLocationLevelByIdentifiers(java.lang.Integer id)
Specified by:
getClusterLocationLevelByIdentifiers in interface RemoteLocationLevelFullService
See Also:
RemoteLocationLevelFullService.getClusterLocationLevelByIdentifiers(java.lang.Integer)

handleGetClusterLocationLevelByIdentifiers

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