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

java.lang.Object
  extended by fr.ifremer.allegro.referential.location.generic.service.RemoteLocationAssociationFullServiceBase
All Implemented Interfaces:
RemoteLocationAssociationFullService
Direct Known Subclasses:
RemoteLocationAssociationFullServiceImpl

public abstract class RemoteLocationAssociationFullServiceBase
extends java.lang.Object
implements RemoteLocationAssociationFullService

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

See Also:
RemoteLocationAssociationFullService

Constructor Summary
RemoteLocationAssociationFullServiceBase()
           
 
Method Summary
 RemoteLocationAssociationFullVO addLocationAssociation(RemoteLocationAssociationFullVO locationAssociation)
           
 ClusterLocationAssociation addOrUpdateClusterLocationAssociation(ClusterLocationAssociation clusterLocationAssociation)
           
 ClusterLocationAssociation[] getAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteLocationAssociationFullVO[] getAllLocationAssociation()
           
 ClusterLocationAssociation getClusterLocationAssociationByIdentifiers(java.lang.Integer parentLocationId, java.lang.Integer childLocationId)
           
 RemoteLocationAssociationFullVO[] getLocationAssociationByChildLocationId(java.lang.Integer id)
           
 RemoteLocationAssociationFullVO getLocationAssociationByIdentifiers(java.lang.Integer parentLocationId, java.lang.Integer childLocationId)
           
 RemoteLocationAssociationFullVO getLocationAssociationByNaturalId(RemoteLocationAssociationNaturalId locationAssociationNaturalId)
           
 RemoteLocationAssociationFullVO[] getLocationAssociationByParentLocationId(java.lang.Integer id)
           
protected  LocationAssociationDao getLocationAssociationDao()
          Gets the reference to locationAssociation's DAO.
 RemoteLocationAssociationNaturalId[] getLocationAssociationNaturalIds()
           
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  RemoteLocationAssociationFullVO handleAddLocationAssociation(RemoteLocationAssociationFullVO locationAssociation)
          Performs the core logic for addLocationAssociation(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)
protected abstract  ClusterLocationAssociation handleAddOrUpdateClusterLocationAssociation(ClusterLocationAssociation clusterLocationAssociation)
          Performs the core logic for addOrUpdateClusterLocationAssociation(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationAssociation)
protected abstract  ClusterLocationAssociation[] handleGetAllClusterLocationAssociationSinceDateSynchro(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 getAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteLocationAssociationFullVO[] handleGetAllLocationAssociation()
          Performs the core logic for getAllLocationAssociation()
protected abstract  ClusterLocationAssociation handleGetClusterLocationAssociationByIdentifiers(java.lang.Integer parentLocationId, java.lang.Integer childLocationId)
          Performs the core logic for getClusterLocationAssociationByIdentifiers(java.lang.Integer, java.lang.Integer)
protected abstract  RemoteLocationAssociationFullVO[] handleGetLocationAssociationByChildLocationId(java.lang.Integer id)
          Performs the core logic for getLocationAssociationByChildLocationId(java.lang.Integer)
protected abstract  RemoteLocationAssociationFullVO handleGetLocationAssociationByIdentifiers(java.lang.Integer parentLocationId, java.lang.Integer childLocationId)
          Performs the core logic for getLocationAssociationByIdentifiers(java.lang.Integer, java.lang.Integer)
protected abstract  RemoteLocationAssociationFullVO handleGetLocationAssociationByNaturalId(RemoteLocationAssociationNaturalId locationAssociationNaturalId)
          Performs the core logic for getLocationAssociationByNaturalId(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationNaturalId)
protected abstract  RemoteLocationAssociationFullVO[] handleGetLocationAssociationByParentLocationId(java.lang.Integer id)
          Performs the core logic for getLocationAssociationByParentLocationId(java.lang.Integer)
protected abstract  RemoteLocationAssociationNaturalId[] handleGetLocationAssociationNaturalIds()
          Performs the core logic for getLocationAssociationNaturalIds()
protected abstract  boolean handleRemoteLocationAssociationFullVOsAreEqual(RemoteLocationAssociationFullVO remoteLocationAssociationFullVOFirst, RemoteLocationAssociationFullVO remoteLocationAssociationFullVOSecond)
          Performs the core logic for remoteLocationAssociationFullVOsAreEqual(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)
protected abstract  boolean handleRemoteLocationAssociationFullVOsAreEqualOnIdentifiers(RemoteLocationAssociationFullVO remoteLocationAssociationFullVOFirst, RemoteLocationAssociationFullVO remoteLocationAssociationFullVOSecond)
          Performs the core logic for remoteLocationAssociationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)
protected abstract  void handleRemoveLocationAssociation(RemoteLocationAssociationFullVO locationAssociation)
          Performs the core logic for removeLocationAssociation(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)
protected abstract  void handleUpdateLocationAssociation(RemoteLocationAssociationFullVO locationAssociation)
          Performs the core logic for updateLocationAssociation(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)
 boolean remoteLocationAssociationFullVOsAreEqual(RemoteLocationAssociationFullVO remoteLocationAssociationFullVOFirst, RemoteLocationAssociationFullVO remoteLocationAssociationFullVOSecond)
           
 boolean remoteLocationAssociationFullVOsAreEqualOnIdentifiers(RemoteLocationAssociationFullVO remoteLocationAssociationFullVOFirst, RemoteLocationAssociationFullVO remoteLocationAssociationFullVOSecond)
           
 void removeLocationAssociation(RemoteLocationAssociationFullVO locationAssociation)
           
 void setLocationAssociationDao(LocationAssociationDao locationAssociationDao)
          Sets the reference to locationAssociation's DAO.
 void setLocationDao(LocationDao locationDao)
          Sets the reference to location's DAO.
 void updateLocationAssociation(RemoteLocationAssociationFullVO locationAssociation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteLocationAssociationFullServiceBase

public RemoteLocationAssociationFullServiceBase()
Method Detail

setLocationAssociationDao

public void setLocationAssociationDao(LocationAssociationDao locationAssociationDao)
Sets the reference to locationAssociation's DAO.


getLocationAssociationDao

protected LocationAssociationDao getLocationAssociationDao()
Gets the reference to locationAssociation'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.


addLocationAssociation

public RemoteLocationAssociationFullVO addLocationAssociation(RemoteLocationAssociationFullVO locationAssociation)
Specified by:
addLocationAssociation in interface RemoteLocationAssociationFullService
See Also:
RemoteLocationAssociationFullService.addLocationAssociation(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)

handleAddLocationAssociation

protected abstract RemoteLocationAssociationFullVO handleAddLocationAssociation(RemoteLocationAssociationFullVO locationAssociation)
                                                                         throws java.lang.Exception
Performs the core logic for addLocationAssociation(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)

Throws:
java.lang.Exception

updateLocationAssociation

public void updateLocationAssociation(RemoteLocationAssociationFullVO locationAssociation)
Specified by:
updateLocationAssociation in interface RemoteLocationAssociationFullService
See Also:
RemoteLocationAssociationFullService.updateLocationAssociation(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)

handleUpdateLocationAssociation

protected abstract void handleUpdateLocationAssociation(RemoteLocationAssociationFullVO locationAssociation)
                                                 throws java.lang.Exception
Performs the core logic for updateLocationAssociation(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)

Throws:
java.lang.Exception

removeLocationAssociation

public void removeLocationAssociation(RemoteLocationAssociationFullVO locationAssociation)
Specified by:
removeLocationAssociation in interface RemoteLocationAssociationFullService
See Also:
RemoteLocationAssociationFullService.removeLocationAssociation(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)

handleRemoveLocationAssociation

protected abstract void handleRemoveLocationAssociation(RemoteLocationAssociationFullVO locationAssociation)
                                                 throws java.lang.Exception
Performs the core logic for removeLocationAssociation(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)

Throws:
java.lang.Exception

getAllLocationAssociation

public RemoteLocationAssociationFullVO[] getAllLocationAssociation()
Specified by:
getAllLocationAssociation in interface RemoteLocationAssociationFullService
See Also:
RemoteLocationAssociationFullService.getAllLocationAssociation()

handleGetAllLocationAssociation

protected abstract RemoteLocationAssociationFullVO[] handleGetAllLocationAssociation()
                                                                              throws java.lang.Exception
Performs the core logic for getAllLocationAssociation()

Throws:
java.lang.Exception

getLocationAssociationByParentLocationId

public RemoteLocationAssociationFullVO[] getLocationAssociationByParentLocationId(java.lang.Integer id)
Specified by:
getLocationAssociationByParentLocationId in interface RemoteLocationAssociationFullService
See Also:
RemoteLocationAssociationFullService.getLocationAssociationByParentLocationId(java.lang.Integer)

handleGetLocationAssociationByParentLocationId

protected abstract RemoteLocationAssociationFullVO[] handleGetLocationAssociationByParentLocationId(java.lang.Integer id)
                                                                                             throws java.lang.Exception
Performs the core logic for getLocationAssociationByParentLocationId(java.lang.Integer)

Throws:
java.lang.Exception

getLocationAssociationByChildLocationId

public RemoteLocationAssociationFullVO[] getLocationAssociationByChildLocationId(java.lang.Integer id)
Specified by:
getLocationAssociationByChildLocationId in interface RemoteLocationAssociationFullService
See Also:
RemoteLocationAssociationFullService.getLocationAssociationByChildLocationId(java.lang.Integer)

handleGetLocationAssociationByChildLocationId

protected abstract RemoteLocationAssociationFullVO[] handleGetLocationAssociationByChildLocationId(java.lang.Integer id)
                                                                                            throws java.lang.Exception
Performs the core logic for getLocationAssociationByChildLocationId(java.lang.Integer)

Throws:
java.lang.Exception

getLocationAssociationByIdentifiers

public RemoteLocationAssociationFullVO getLocationAssociationByIdentifiers(java.lang.Integer parentLocationId,
                                                                           java.lang.Integer childLocationId)
Specified by:
getLocationAssociationByIdentifiers in interface RemoteLocationAssociationFullService
See Also:
RemoteLocationAssociationFullService.getLocationAssociationByIdentifiers(java.lang.Integer, java.lang.Integer)

handleGetLocationAssociationByIdentifiers

protected abstract RemoteLocationAssociationFullVO handleGetLocationAssociationByIdentifiers(java.lang.Integer parentLocationId,
                                                                                             java.lang.Integer childLocationId)
                                                                                      throws java.lang.Exception
Performs the core logic for getLocationAssociationByIdentifiers(java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

remoteLocationAssociationFullVOsAreEqualOnIdentifiers

public boolean remoteLocationAssociationFullVOsAreEqualOnIdentifiers(RemoteLocationAssociationFullVO remoteLocationAssociationFullVOFirst,
                                                                     RemoteLocationAssociationFullVO remoteLocationAssociationFullVOSecond)
Specified by:
remoteLocationAssociationFullVOsAreEqualOnIdentifiers in interface RemoteLocationAssociationFullService
See Also:
RemoteLocationAssociationFullService.remoteLocationAssociationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)

handleRemoteLocationAssociationFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteLocationAssociationFullVOsAreEqualOnIdentifiers(RemoteLocationAssociationFullVO remoteLocationAssociationFullVOFirst,
                                                                                       RemoteLocationAssociationFullVO remoteLocationAssociationFullVOSecond)
                                                                                throws java.lang.Exception
Performs the core logic for remoteLocationAssociationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)

Throws:
java.lang.Exception

remoteLocationAssociationFullVOsAreEqual

public boolean remoteLocationAssociationFullVOsAreEqual(RemoteLocationAssociationFullVO remoteLocationAssociationFullVOFirst,
                                                        RemoteLocationAssociationFullVO remoteLocationAssociationFullVOSecond)
Specified by:
remoteLocationAssociationFullVOsAreEqual in interface RemoteLocationAssociationFullService
See Also:
RemoteLocationAssociationFullService.remoteLocationAssociationFullVOsAreEqual(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)

handleRemoteLocationAssociationFullVOsAreEqual

protected abstract boolean handleRemoteLocationAssociationFullVOsAreEqual(RemoteLocationAssociationFullVO remoteLocationAssociationFullVOFirst,
                                                                          RemoteLocationAssociationFullVO remoteLocationAssociationFullVOSecond)
                                                                   throws java.lang.Exception
Performs the core logic for remoteLocationAssociationFullVOsAreEqual(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationFullVO)

Throws:
java.lang.Exception

getLocationAssociationNaturalIds

public RemoteLocationAssociationNaturalId[] getLocationAssociationNaturalIds()
Specified by:
getLocationAssociationNaturalIds in interface RemoteLocationAssociationFullService
See Also:
RemoteLocationAssociationFullService.getLocationAssociationNaturalIds()

handleGetLocationAssociationNaturalIds

protected abstract RemoteLocationAssociationNaturalId[] handleGetLocationAssociationNaturalIds()
                                                                                        throws java.lang.Exception
Performs the core logic for getLocationAssociationNaturalIds()

Throws:
java.lang.Exception

getLocationAssociationByNaturalId

public RemoteLocationAssociationFullVO getLocationAssociationByNaturalId(RemoteLocationAssociationNaturalId locationAssociationNaturalId)
Specified by:
getLocationAssociationByNaturalId in interface RemoteLocationAssociationFullService
See Also:
RemoteLocationAssociationFullService.getLocationAssociationByNaturalId(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationNaturalId)

handleGetLocationAssociationByNaturalId

protected abstract RemoteLocationAssociationFullVO handleGetLocationAssociationByNaturalId(RemoteLocationAssociationNaturalId locationAssociationNaturalId)
                                                                                    throws java.lang.Exception
Performs the core logic for getLocationAssociationByNaturalId(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationAssociationNaturalId)

Throws:
java.lang.Exception

addOrUpdateClusterLocationAssociation

public ClusterLocationAssociation addOrUpdateClusterLocationAssociation(ClusterLocationAssociation clusterLocationAssociation)
Specified by:
addOrUpdateClusterLocationAssociation in interface RemoteLocationAssociationFullService
See Also:
RemoteLocationAssociationFullService.addOrUpdateClusterLocationAssociation(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationAssociation)

handleAddOrUpdateClusterLocationAssociation

protected abstract ClusterLocationAssociation handleAddOrUpdateClusterLocationAssociation(ClusterLocationAssociation clusterLocationAssociation)
                                                                                   throws java.lang.Exception
Performs the core logic for addOrUpdateClusterLocationAssociation(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationAssociation)

Throws:
java.lang.Exception

getAllClusterLocationAssociationSinceDateSynchro

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

handleGetAllClusterLocationAssociationSinceDateSynchro

protected abstract ClusterLocationAssociation[] handleGetAllClusterLocationAssociationSinceDateSynchro(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 getAllClusterLocationAssociationSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterLocationAssociationByIdentifiers

public ClusterLocationAssociation getClusterLocationAssociationByIdentifiers(java.lang.Integer parentLocationId,
                                                                             java.lang.Integer childLocationId)
Specified by:
getClusterLocationAssociationByIdentifiers in interface RemoteLocationAssociationFullService
See Also:
RemoteLocationAssociationFullService.getClusterLocationAssociationByIdentifiers(java.lang.Integer, java.lang.Integer)

handleGetClusterLocationAssociationByIdentifiers

protected abstract ClusterLocationAssociation handleGetClusterLocationAssociationByIdentifiers(java.lang.Integer parentLocationId,
                                                                                               java.lang.Integer childLocationId)
                                                                                        throws java.lang.Exception
Performs the core logic for getClusterLocationAssociationByIdentifiers(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.