fr.ifremer.allegro.referential.pmfm.generic.service
Class RemoteParameterGroupFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.referential.pmfm.generic.service.RemoteParameterGroupFullServiceBase
All Implemented Interfaces:
RemoteParameterGroupFullService
Direct Known Subclasses:
RemoteParameterGroupFullServiceImpl

public abstract class RemoteParameterGroupFullServiceBase
extends java.lang.Object
implements RemoteParameterGroupFullService

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

See Also:
RemoteParameterGroupFullService

Constructor Summary
RemoteParameterGroupFullServiceBase()
           
 
Method Summary
 ClusterParameterGroup addOrUpdateClusterParameterGroup(ClusterParameterGroup clusterParameterGroup)
           
 RemoteParameterGroupFullVO addParameterGroup(RemoteParameterGroupFullVO parameterGroup)
           
 ClusterParameterGroup[] getAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteParameterGroupFullVO[] getAllParameterGroup()
           
 ClusterParameterGroup getClusterParameterGroupByIdentifiers(java.lang.Integer id)
           
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.
 RemoteParameterGroupFullVO getParameterGroupById(java.lang.Integer id)
           
 RemoteParameterGroupFullVO[] getParameterGroupByIds(java.lang.Integer[] id)
           
 RemoteParameterGroupFullVO getParameterGroupByNaturalId(RemoteParameterGroupNaturalId parameterGroupNaturalId)
           
 RemoteParameterGroupFullVO[] getParameterGroupByParentParameterGroupId(java.lang.Integer id)
           
 RemoteParameterGroupFullVO[] getParameterGroupByStatusCode(java.lang.String code)
           
protected  ParameterGroupDao getParameterGroupDao()
          Gets the reference to parameterGroup's DAO.
 RemoteParameterGroupNaturalId getParameterGroupNaturalIdById(java.lang.Integer id)
           
 RemoteParameterGroupNaturalId[] getParameterGroupNaturalIds()
           
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
protected  StatusDao getStatusDao()
          Gets the reference to status's DAO.
protected abstract  ClusterParameterGroup handleAddOrUpdateClusterParameterGroup(ClusterParameterGroup clusterParameterGroup)
          Performs the core logic for addOrUpdateClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup)
protected abstract  RemoteParameterGroupFullVO handleAddParameterGroup(RemoteParameterGroupFullVO parameterGroup)
          Performs the core logic for addParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)
protected abstract  ClusterParameterGroup[] handleGetAllClusterParameterGroupSinceDateSynchro(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 getAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteParameterGroupFullVO[] handleGetAllParameterGroup()
          Performs the core logic for getAllParameterGroup()
protected abstract  ClusterParameterGroup handleGetClusterParameterGroupByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterParameterGroupByIdentifiers(java.lang.Integer)
protected abstract  RemoteParameterGroupFullVO handleGetParameterGroupById(java.lang.Integer id)
          Performs the core logic for getParameterGroupById(java.lang.Integer)
protected abstract  RemoteParameterGroupFullVO[] handleGetParameterGroupByIds(java.lang.Integer[] id)
          Performs the core logic for getParameterGroupByIds(java.lang.Integer[])
protected abstract  RemoteParameterGroupFullVO handleGetParameterGroupByNaturalId(RemoteParameterGroupNaturalId parameterGroupNaturalId)
          Performs the core logic for getParameterGroupByNaturalId(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupNaturalId)
protected abstract  RemoteParameterGroupFullVO[] handleGetParameterGroupByParentParameterGroupId(java.lang.Integer id)
          Performs the core logic for getParameterGroupByParentParameterGroupId(java.lang.Integer)
protected abstract  RemoteParameterGroupFullVO[] handleGetParameterGroupByStatusCode(java.lang.String code)
          Performs the core logic for getParameterGroupByStatusCode(java.lang.String)
protected abstract  RemoteParameterGroupNaturalId handleGetParameterGroupNaturalIdById(java.lang.Integer id)
          Performs the core logic for getParameterGroupNaturalIdById(java.lang.Integer)
protected abstract  RemoteParameterGroupNaturalId[] handleGetParameterGroupNaturalIds()
          Performs the core logic for getParameterGroupNaturalIds()
protected abstract  boolean handleRemoteParameterGroupFullVOsAreEqual(RemoteParameterGroupFullVO remoteParameterGroupFullVOFirst, RemoteParameterGroupFullVO remoteParameterGroupFullVOSecond)
          Performs the core logic for remoteParameterGroupFullVOsAreEqual(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)
protected abstract  boolean handleRemoteParameterGroupFullVOsAreEqualOnIdentifiers(RemoteParameterGroupFullVO remoteParameterGroupFullVOFirst, RemoteParameterGroupFullVO remoteParameterGroupFullVOSecond)
          Performs the core logic for remoteParameterGroupFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)
protected abstract  void handleRemoveParameterGroup(RemoteParameterGroupFullVO parameterGroup)
          Performs the core logic for removeParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)
protected abstract  void handleUpdateParameterGroup(RemoteParameterGroupFullVO parameterGroup)
          Performs the core logic for updateParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)
 boolean remoteParameterGroupFullVOsAreEqual(RemoteParameterGroupFullVO remoteParameterGroupFullVOFirst, RemoteParameterGroupFullVO remoteParameterGroupFullVOSecond)
           
 boolean remoteParameterGroupFullVOsAreEqualOnIdentifiers(RemoteParameterGroupFullVO remoteParameterGroupFullVOFirst, RemoteParameterGroupFullVO remoteParameterGroupFullVOSecond)
           
 void removeParameterGroup(RemoteParameterGroupFullVO parameterGroup)
           
 void setParameterGroupDao(ParameterGroupDao parameterGroupDao)
          Sets the reference to parameterGroup's DAO.
 void setStatusDao(StatusDao statusDao)
          Sets the reference to status's DAO.
 void updateParameterGroup(RemoteParameterGroupFullVO parameterGroup)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteParameterGroupFullServiceBase

public RemoteParameterGroupFullServiceBase()
Method Detail

setParameterGroupDao

public void setParameterGroupDao(ParameterGroupDao parameterGroupDao)
Sets the reference to parameterGroup's DAO.


getParameterGroupDao

protected ParameterGroupDao getParameterGroupDao()
Gets the reference to parameterGroup's DAO.


setStatusDao

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


getStatusDao

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


addParameterGroup

public RemoteParameterGroupFullVO addParameterGroup(RemoteParameterGroupFullVO parameterGroup)
Specified by:
addParameterGroup in interface RemoteParameterGroupFullService
See Also:
RemoteParameterGroupFullService.addParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)

handleAddParameterGroup

protected abstract RemoteParameterGroupFullVO handleAddParameterGroup(RemoteParameterGroupFullVO parameterGroup)
                                                               throws java.lang.Exception
Performs the core logic for addParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)

Throws:
java.lang.Exception

updateParameterGroup

public void updateParameterGroup(RemoteParameterGroupFullVO parameterGroup)
Specified by:
updateParameterGroup in interface RemoteParameterGroupFullService
See Also:
RemoteParameterGroupFullService.updateParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)

handleUpdateParameterGroup

protected abstract void handleUpdateParameterGroup(RemoteParameterGroupFullVO parameterGroup)
                                            throws java.lang.Exception
Performs the core logic for updateParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)

Throws:
java.lang.Exception

removeParameterGroup

public void removeParameterGroup(RemoteParameterGroupFullVO parameterGroup)
Specified by:
removeParameterGroup in interface RemoteParameterGroupFullService
See Also:
RemoteParameterGroupFullService.removeParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)

handleRemoveParameterGroup

protected abstract void handleRemoveParameterGroup(RemoteParameterGroupFullVO parameterGroup)
                                            throws java.lang.Exception
Performs the core logic for removeParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)

Throws:
java.lang.Exception

getAllParameterGroup

public RemoteParameterGroupFullVO[] getAllParameterGroup()
Specified by:
getAllParameterGroup in interface RemoteParameterGroupFullService
See Also:
RemoteParameterGroupFullService.getAllParameterGroup()

handleGetAllParameterGroup

protected abstract RemoteParameterGroupFullVO[] handleGetAllParameterGroup()
                                                                    throws java.lang.Exception
Performs the core logic for getAllParameterGroup()

Throws:
java.lang.Exception

getParameterGroupById

public RemoteParameterGroupFullVO getParameterGroupById(java.lang.Integer id)
Specified by:
getParameterGroupById in interface RemoteParameterGroupFullService
See Also:
RemoteParameterGroupFullService.getParameterGroupById(java.lang.Integer)

handleGetParameterGroupById

protected abstract RemoteParameterGroupFullVO handleGetParameterGroupById(java.lang.Integer id)
                                                                   throws java.lang.Exception
Performs the core logic for getParameterGroupById(java.lang.Integer)

Throws:
java.lang.Exception

getParameterGroupByIds

public RemoteParameterGroupFullVO[] getParameterGroupByIds(java.lang.Integer[] id)
Specified by:
getParameterGroupByIds in interface RemoteParameterGroupFullService
See Also:
RemoteParameterGroupFullService.getParameterGroupByIds(java.lang.Integer[])

handleGetParameterGroupByIds

protected abstract RemoteParameterGroupFullVO[] handleGetParameterGroupByIds(java.lang.Integer[] id)
                                                                      throws java.lang.Exception
Performs the core logic for getParameterGroupByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getParameterGroupByParentParameterGroupId

public RemoteParameterGroupFullVO[] getParameterGroupByParentParameterGroupId(java.lang.Integer id)
Specified by:
getParameterGroupByParentParameterGroupId in interface RemoteParameterGroupFullService
See Also:
RemoteParameterGroupFullService.getParameterGroupByParentParameterGroupId(java.lang.Integer)

handleGetParameterGroupByParentParameterGroupId

protected abstract RemoteParameterGroupFullVO[] handleGetParameterGroupByParentParameterGroupId(java.lang.Integer id)
                                                                                         throws java.lang.Exception
Performs the core logic for getParameterGroupByParentParameterGroupId(java.lang.Integer)

Throws:
java.lang.Exception

getParameterGroupByStatusCode

public RemoteParameterGroupFullVO[] getParameterGroupByStatusCode(java.lang.String code)
Specified by:
getParameterGroupByStatusCode in interface RemoteParameterGroupFullService
See Also:
RemoteParameterGroupFullService.getParameterGroupByStatusCode(java.lang.String)

handleGetParameterGroupByStatusCode

protected abstract RemoteParameterGroupFullVO[] handleGetParameterGroupByStatusCode(java.lang.String code)
                                                                             throws java.lang.Exception
Performs the core logic for getParameterGroupByStatusCode(java.lang.String)

Throws:
java.lang.Exception

remoteParameterGroupFullVOsAreEqualOnIdentifiers

public boolean remoteParameterGroupFullVOsAreEqualOnIdentifiers(RemoteParameterGroupFullVO remoteParameterGroupFullVOFirst,
                                                                RemoteParameterGroupFullVO remoteParameterGroupFullVOSecond)
Specified by:
remoteParameterGroupFullVOsAreEqualOnIdentifiers in interface RemoteParameterGroupFullService
See Also:
RemoteParameterGroupFullService.remoteParameterGroupFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)

handleRemoteParameterGroupFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteParameterGroupFullVOsAreEqualOnIdentifiers(RemoteParameterGroupFullVO remoteParameterGroupFullVOFirst,
                                                                                  RemoteParameterGroupFullVO remoteParameterGroupFullVOSecond)
                                                                           throws java.lang.Exception
Performs the core logic for remoteParameterGroupFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)

Throws:
java.lang.Exception

remoteParameterGroupFullVOsAreEqual

public boolean remoteParameterGroupFullVOsAreEqual(RemoteParameterGroupFullVO remoteParameterGroupFullVOFirst,
                                                   RemoteParameterGroupFullVO remoteParameterGroupFullVOSecond)
Specified by:
remoteParameterGroupFullVOsAreEqual in interface RemoteParameterGroupFullService
See Also:
RemoteParameterGroupFullService.remoteParameterGroupFullVOsAreEqual(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)

handleRemoteParameterGroupFullVOsAreEqual

protected abstract boolean handleRemoteParameterGroupFullVOsAreEqual(RemoteParameterGroupFullVO remoteParameterGroupFullVOFirst,
                                                                     RemoteParameterGroupFullVO remoteParameterGroupFullVOSecond)
                                                              throws java.lang.Exception
Performs the core logic for remoteParameterGroupFullVOsAreEqual(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupFullVO)

Throws:
java.lang.Exception

getParameterGroupNaturalIds

public RemoteParameterGroupNaturalId[] getParameterGroupNaturalIds()
Specified by:
getParameterGroupNaturalIds in interface RemoteParameterGroupFullService
See Also:
RemoteParameterGroupFullService.getParameterGroupNaturalIds()

handleGetParameterGroupNaturalIds

protected abstract RemoteParameterGroupNaturalId[] handleGetParameterGroupNaturalIds()
                                                                              throws java.lang.Exception
Performs the core logic for getParameterGroupNaturalIds()

Throws:
java.lang.Exception

getParameterGroupByNaturalId

public RemoteParameterGroupFullVO getParameterGroupByNaturalId(RemoteParameterGroupNaturalId parameterGroupNaturalId)
Specified by:
getParameterGroupByNaturalId in interface RemoteParameterGroupFullService
See Also:
RemoteParameterGroupFullService.getParameterGroupByNaturalId(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupNaturalId)

handleGetParameterGroupByNaturalId

protected abstract RemoteParameterGroupFullVO handleGetParameterGroupByNaturalId(RemoteParameterGroupNaturalId parameterGroupNaturalId)
                                                                          throws java.lang.Exception
Performs the core logic for getParameterGroupByNaturalId(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteParameterGroupNaturalId)

Throws:
java.lang.Exception

getParameterGroupNaturalIdById

public RemoteParameterGroupNaturalId getParameterGroupNaturalIdById(java.lang.Integer id)
Specified by:
getParameterGroupNaturalIdById in interface RemoteParameterGroupFullService
See Also:
RemoteParameterGroupFullService.getParameterGroupNaturalIdById(java.lang.Integer)

handleGetParameterGroupNaturalIdById

protected abstract RemoteParameterGroupNaturalId handleGetParameterGroupNaturalIdById(java.lang.Integer id)
                                                                               throws java.lang.Exception
Performs the core logic for getParameterGroupNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

getAllClusterParameterGroupSinceDateSynchro

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

handleGetAllClusterParameterGroupSinceDateSynchro

protected abstract ClusterParameterGroup[] handleGetAllClusterParameterGroupSinceDateSynchro(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 getAllClusterParameterGroupSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterParameterGroupByIdentifiers

public ClusterParameterGroup getClusterParameterGroupByIdentifiers(java.lang.Integer id)
Specified by:
getClusterParameterGroupByIdentifiers in interface RemoteParameterGroupFullService
See Also:
RemoteParameterGroupFullService.getClusterParameterGroupByIdentifiers(java.lang.Integer)

handleGetClusterParameterGroupByIdentifiers

protected abstract ClusterParameterGroup handleGetClusterParameterGroupByIdentifiers(java.lang.Integer id)
                                                                              throws java.lang.Exception
Performs the core logic for getClusterParameterGroupByIdentifiers(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterParameterGroup

public ClusterParameterGroup addOrUpdateClusterParameterGroup(ClusterParameterGroup clusterParameterGroup)
Specified by:
addOrUpdateClusterParameterGroup in interface RemoteParameterGroupFullService
See Also:
RemoteParameterGroupFullService.addOrUpdateClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup)

handleAddOrUpdateClusterParameterGroup

protected abstract ClusterParameterGroup handleAddOrUpdateClusterParameterGroup(ClusterParameterGroup clusterParameterGroup)
                                                                         throws java.lang.Exception
Performs the core logic for addOrUpdateClusterParameterGroup(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterParameterGroup)

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.