fr.ifremer.allegro.referential.generic.service
Class RemoteStatusFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.referential.generic.service.RemoteStatusFullServiceBase
All Implemented Interfaces:
RemoteStatusFullService
Direct Known Subclasses:
RemoteStatusFullServiceImpl

public abstract class RemoteStatusFullServiceBase
extends java.lang.Object
implements RemoteStatusFullService

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

See Also:
RemoteStatusFullService

Constructor Summary
RemoteStatusFullServiceBase()
           
 
Method Summary
 ClusterStatus addOrUpdateClusterStatus(ClusterStatus clusterStatus)
           
 RemoteStatusFullVO addStatus(RemoteStatusFullVO status)
           
 ClusterStatus[] getAllClusterStatus(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteStatusFullVO[] getAllStatus()
           
 ClusterStatus getClusterStatusByIdentifiers(java.lang.String code)
           
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.
 RemoteStatusFullVO getStatusByCode(java.lang.String code)
           
 RemoteStatusFullVO[] getStatusByCodes(java.lang.String[] code)
           
 RemoteStatusFullVO getStatusByNaturalId(RemoteStatusNaturalId statusNaturalId)
           
protected  StatusDao getStatusDao()
          Gets the reference to status's DAO.
 RemoteStatusNaturalId getStatusNaturalIdByCode(java.lang.String code)
           
 RemoteStatusNaturalId[] getStatusNaturalIds()
           
protected abstract  ClusterStatus handleAddOrUpdateClusterStatus(ClusterStatus clusterStatus)
          Performs the core logic for addOrUpdateClusterStatus(fr.ifremer.allegro.referential.generic.cluster.ClusterStatus)
protected abstract  RemoteStatusFullVO handleAddStatus(RemoteStatusFullVO status)
          Performs the core logic for addStatus(fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO)
protected abstract  ClusterStatus[] handleGetAllClusterStatus(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for getAllClusterStatus(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteStatusFullVO[] handleGetAllStatus()
          Performs the core logic for getAllStatus()
protected abstract  ClusterStatus handleGetClusterStatusByIdentifiers(java.lang.String code)
          Performs the core logic for getClusterStatusByIdentifiers(java.lang.String)
protected abstract  RemoteStatusFullVO handleGetStatusByCode(java.lang.String code)
          Performs the core logic for getStatusByCode(java.lang.String)
protected abstract  RemoteStatusFullVO[] handleGetStatusByCodes(java.lang.String[] code)
          Performs the core logic for getStatusByCodes(java.lang.String[])
protected abstract  RemoteStatusFullVO handleGetStatusByNaturalId(RemoteStatusNaturalId statusNaturalId)
          Performs the core logic for getStatusByNaturalId(fr.ifremer.allegro.referential.generic.vo.RemoteStatusNaturalId)
protected abstract  RemoteStatusNaturalId handleGetStatusNaturalIdByCode(java.lang.String code)
          Performs the core logic for getStatusNaturalIdByCode(java.lang.String)
protected abstract  RemoteStatusNaturalId[] handleGetStatusNaturalIds()
          Performs the core logic for getStatusNaturalIds()
protected abstract  boolean handleRemoteStatusFullVOsAreEqual(RemoteStatusFullVO remoteStatusFullVOFirst, RemoteStatusFullVO remoteStatusFullVOSecond)
          Performs the core logic for remoteStatusFullVOsAreEqual(fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO, fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO)
protected abstract  boolean handleRemoteStatusFullVOsAreEqualOnIdentifiers(RemoteStatusFullVO remoteStatusFullVOFirst, RemoteStatusFullVO remoteStatusFullVOSecond)
          Performs the core logic for remoteStatusFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO, fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO)
protected abstract  void handleRemoveStatus(RemoteStatusFullVO status)
          Performs the core logic for removeStatus(fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO)
protected abstract  void handleUpdateStatus(RemoteStatusFullVO status)
          Performs the core logic for updateStatus(fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO)
 boolean remoteStatusFullVOsAreEqual(RemoteStatusFullVO remoteStatusFullVOFirst, RemoteStatusFullVO remoteStatusFullVOSecond)
           
 boolean remoteStatusFullVOsAreEqualOnIdentifiers(RemoteStatusFullVO remoteStatusFullVOFirst, RemoteStatusFullVO remoteStatusFullVOSecond)
           
 void removeStatus(RemoteStatusFullVO status)
           
 void setStatusDao(StatusDao statusDao)
          Sets the reference to status's DAO.
 void updateStatus(RemoteStatusFullVO status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteStatusFullServiceBase

public RemoteStatusFullServiceBase()
Method Detail

setStatusDao

public void setStatusDao(StatusDao statusDao)
Sets the reference to status's DAO.


getStatusDao

protected StatusDao getStatusDao()
Gets the reference to status's DAO.


addStatus

public RemoteStatusFullVO addStatus(RemoteStatusFullVO status)
Specified by:
addStatus in interface RemoteStatusFullService
See Also:
RemoteStatusFullService.addStatus(fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO)

handleAddStatus

protected abstract RemoteStatusFullVO handleAddStatus(RemoteStatusFullVO status)
                                               throws java.lang.Exception
Performs the core logic for addStatus(fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO)

Throws:
java.lang.Exception

updateStatus

public void updateStatus(RemoteStatusFullVO status)
Specified by:
updateStatus in interface RemoteStatusFullService
See Also:
RemoteStatusFullService.updateStatus(fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO)

handleUpdateStatus

protected abstract void handleUpdateStatus(RemoteStatusFullVO status)
                                    throws java.lang.Exception
Performs the core logic for updateStatus(fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO)

Throws:
java.lang.Exception

removeStatus

public void removeStatus(RemoteStatusFullVO status)
Specified by:
removeStatus in interface RemoteStatusFullService
See Also:
RemoteStatusFullService.removeStatus(fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO)

handleRemoveStatus

protected abstract void handleRemoveStatus(RemoteStatusFullVO status)
                                    throws java.lang.Exception
Performs the core logic for removeStatus(fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO)

Throws:
java.lang.Exception

getAllStatus

public RemoteStatusFullVO[] getAllStatus()
Specified by:
getAllStatus in interface RemoteStatusFullService
See Also:
RemoteStatusFullService.getAllStatus()

handleGetAllStatus

protected abstract RemoteStatusFullVO[] handleGetAllStatus()
                                                    throws java.lang.Exception
Performs the core logic for getAllStatus()

Throws:
java.lang.Exception

getStatusByCode

public RemoteStatusFullVO getStatusByCode(java.lang.String code)
Specified by:
getStatusByCode in interface RemoteStatusFullService
See Also:
RemoteStatusFullService.getStatusByCode(java.lang.String)

handleGetStatusByCode

protected abstract RemoteStatusFullVO handleGetStatusByCode(java.lang.String code)
                                                     throws java.lang.Exception
Performs the core logic for getStatusByCode(java.lang.String)

Throws:
java.lang.Exception

getStatusByCodes

public RemoteStatusFullVO[] getStatusByCodes(java.lang.String[] code)
Specified by:
getStatusByCodes in interface RemoteStatusFullService
See Also:
RemoteStatusFullService.getStatusByCodes(java.lang.String[])

handleGetStatusByCodes

protected abstract RemoteStatusFullVO[] handleGetStatusByCodes(java.lang.String[] code)
                                                        throws java.lang.Exception
Performs the core logic for getStatusByCodes(java.lang.String[])

Throws:
java.lang.Exception

remoteStatusFullVOsAreEqualOnIdentifiers

public boolean remoteStatusFullVOsAreEqualOnIdentifiers(RemoteStatusFullVO remoteStatusFullVOFirst,
                                                        RemoteStatusFullVO remoteStatusFullVOSecond)
Specified by:
remoteStatusFullVOsAreEqualOnIdentifiers in interface RemoteStatusFullService
See Also:
RemoteStatusFullService.remoteStatusFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO, fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO)

handleRemoteStatusFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteStatusFullVOsAreEqualOnIdentifiers(RemoteStatusFullVO remoteStatusFullVOFirst,
                                                                          RemoteStatusFullVO remoteStatusFullVOSecond)
                                                                   throws java.lang.Exception
Performs the core logic for remoteStatusFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO, fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO)

Throws:
java.lang.Exception

remoteStatusFullVOsAreEqual

public boolean remoteStatusFullVOsAreEqual(RemoteStatusFullVO remoteStatusFullVOFirst,
                                           RemoteStatusFullVO remoteStatusFullVOSecond)
Specified by:
remoteStatusFullVOsAreEqual in interface RemoteStatusFullService
See Also:
RemoteStatusFullService.remoteStatusFullVOsAreEqual(fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO, fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO)

handleRemoteStatusFullVOsAreEqual

protected abstract boolean handleRemoteStatusFullVOsAreEqual(RemoteStatusFullVO remoteStatusFullVOFirst,
                                                             RemoteStatusFullVO remoteStatusFullVOSecond)
                                                      throws java.lang.Exception
Performs the core logic for remoteStatusFullVOsAreEqual(fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO, fr.ifremer.allegro.referential.generic.vo.RemoteStatusFullVO)

Throws:
java.lang.Exception

getStatusNaturalIds

public RemoteStatusNaturalId[] getStatusNaturalIds()
Specified by:
getStatusNaturalIds in interface RemoteStatusFullService
See Also:
RemoteStatusFullService.getStatusNaturalIds()

handleGetStatusNaturalIds

protected abstract RemoteStatusNaturalId[] handleGetStatusNaturalIds()
                                                              throws java.lang.Exception
Performs the core logic for getStatusNaturalIds()

Throws:
java.lang.Exception

getStatusByNaturalId

public RemoteStatusFullVO getStatusByNaturalId(RemoteStatusNaturalId statusNaturalId)
Specified by:
getStatusByNaturalId in interface RemoteStatusFullService
See Also:
RemoteStatusFullService.getStatusByNaturalId(fr.ifremer.allegro.referential.generic.vo.RemoteStatusNaturalId)

handleGetStatusByNaturalId

protected abstract RemoteStatusFullVO handleGetStatusByNaturalId(RemoteStatusNaturalId statusNaturalId)
                                                          throws java.lang.Exception
Performs the core logic for getStatusByNaturalId(fr.ifremer.allegro.referential.generic.vo.RemoteStatusNaturalId)

Throws:
java.lang.Exception

getStatusNaturalIdByCode

public RemoteStatusNaturalId getStatusNaturalIdByCode(java.lang.String code)
Specified by:
getStatusNaturalIdByCode in interface RemoteStatusFullService
See Also:
RemoteStatusFullService.getStatusNaturalIdByCode(java.lang.String)

handleGetStatusNaturalIdByCode

protected abstract RemoteStatusNaturalId handleGetStatusNaturalIdByCode(java.lang.String code)
                                                                 throws java.lang.Exception
Performs the core logic for getStatusNaturalIdByCode(java.lang.String)

Throws:
java.lang.Exception

addOrUpdateClusterStatus

public ClusterStatus addOrUpdateClusterStatus(ClusterStatus clusterStatus)
Specified by:
addOrUpdateClusterStatus in interface RemoteStatusFullService
See Also:
RemoteStatusFullService.addOrUpdateClusterStatus(fr.ifremer.allegro.referential.generic.cluster.ClusterStatus)

handleAddOrUpdateClusterStatus

protected abstract ClusterStatus handleAddOrUpdateClusterStatus(ClusterStatus clusterStatus)
                                                         throws java.lang.Exception
Performs the core logic for addOrUpdateClusterStatus(fr.ifremer.allegro.referential.generic.cluster.ClusterStatus)

Throws:
java.lang.Exception

getAllClusterStatus

public ClusterStatus[] getAllClusterStatus(java.lang.Integer userId,
                                           java.lang.Integer[] registrationLocationIds,
                                           java.lang.Integer pageNumber,
                                           java.lang.Integer pageSize)
Specified by:
getAllClusterStatus in interface RemoteStatusFullService
See Also:
RemoteStatusFullService.getAllClusterStatus(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

handleGetAllClusterStatus

protected abstract ClusterStatus[] handleGetAllClusterStatus(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 getAllClusterStatus(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterStatusByIdentifiers

public ClusterStatus getClusterStatusByIdentifiers(java.lang.String code)
Specified by:
getClusterStatusByIdentifiers in interface RemoteStatusFullService
See Also:
RemoteStatusFullService.getClusterStatusByIdentifiers(java.lang.String)

handleGetClusterStatusByIdentifiers

protected abstract ClusterStatus handleGetClusterStatusByIdentifiers(java.lang.String code)
                                                              throws java.lang.Exception
Performs the core logic for getClusterStatusByIdentifiers(java.lang.String)

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.