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

java.lang.Object
  extended by fr.ifremer.allegro.referential.pmfm.generic.service.RemoteMatrixFullServiceBase
All Implemented Interfaces:
RemoteMatrixFullService
Direct Known Subclasses:
RemoteMatrixFullServiceImpl

public abstract class RemoteMatrixFullServiceBase
extends java.lang.Object
implements RemoteMatrixFullService

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

See Also:
RemoteMatrixFullService

Constructor Summary
RemoteMatrixFullServiceBase()
           
 
Method Summary
 RemoteMatrixFullVO addMatrix(RemoteMatrixFullVO matrix)
           
 ClusterMatrix addOrUpdateClusterMatrix(ClusterMatrix clusterMatrix)
           
 ClusterMatrix[] getAllClusterMatrixSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteMatrixFullVO[] getAllMatrix()
           
 ClusterMatrix getClusterMatrixByIdentifiers(java.lang.Integer id)
           
protected  FractionDao getFractionDao()
          Gets the reference to fraction's DAO.
 RemoteMatrixFullVO getMatrixById(java.lang.Integer id)
           
 RemoteMatrixFullVO[] getMatrixByIds(java.lang.Integer[] id)
           
 RemoteMatrixFullVO getMatrixByNaturalId(RemoteMatrixNaturalId matrixNaturalId)
           
 RemoteMatrixFullVO[] getMatrixByStatusCode(java.lang.String code)
           
protected  MatrixDao getMatrixDao()
          Gets the reference to matrix's DAO.
 RemoteMatrixNaturalId getMatrixNaturalIdById(java.lang.Integer id)
           
 RemoteMatrixNaturalId[] getMatrixNaturalIds()
           
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  StatusDao getStatusDao()
          Gets the reference to status's DAO.
protected abstract  RemoteMatrixFullVO handleAddMatrix(RemoteMatrixFullVO matrix)
          Performs the core logic for addMatrix(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)
protected abstract  ClusterMatrix handleAddOrUpdateClusterMatrix(ClusterMatrix clusterMatrix)
          Performs the core logic for addOrUpdateClusterMatrix(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMatrix)
protected abstract  ClusterMatrix[] handleGetAllClusterMatrixSinceDateSynchro(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 getAllClusterMatrixSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteMatrixFullVO[] handleGetAllMatrix()
          Performs the core logic for getAllMatrix()
protected abstract  ClusterMatrix handleGetClusterMatrixByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterMatrixByIdentifiers(java.lang.Integer)
protected abstract  RemoteMatrixFullVO handleGetMatrixById(java.lang.Integer id)
          Performs the core logic for getMatrixById(java.lang.Integer)
protected abstract  RemoteMatrixFullVO[] handleGetMatrixByIds(java.lang.Integer[] id)
          Performs the core logic for getMatrixByIds(java.lang.Integer[])
protected abstract  RemoteMatrixFullVO handleGetMatrixByNaturalId(RemoteMatrixNaturalId matrixNaturalId)
          Performs the core logic for getMatrixByNaturalId(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixNaturalId)
protected abstract  RemoteMatrixFullVO[] handleGetMatrixByStatusCode(java.lang.String code)
          Performs the core logic for getMatrixByStatusCode(java.lang.String)
protected abstract  RemoteMatrixNaturalId handleGetMatrixNaturalIdById(java.lang.Integer id)
          Performs the core logic for getMatrixNaturalIdById(java.lang.Integer)
protected abstract  RemoteMatrixNaturalId[] handleGetMatrixNaturalIds()
          Performs the core logic for getMatrixNaturalIds()
protected abstract  boolean handleRemoteMatrixFullVOsAreEqual(RemoteMatrixFullVO remoteMatrixFullVOFirst, RemoteMatrixFullVO remoteMatrixFullVOSecond)
          Performs the core logic for remoteMatrixFullVOsAreEqual(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)
protected abstract  boolean handleRemoteMatrixFullVOsAreEqualOnIdentifiers(RemoteMatrixFullVO remoteMatrixFullVOFirst, RemoteMatrixFullVO remoteMatrixFullVOSecond)
          Performs the core logic for remoteMatrixFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)
protected abstract  void handleRemoveMatrix(RemoteMatrixFullVO matrix)
          Performs the core logic for removeMatrix(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)
protected abstract  void handleUpdateMatrix(RemoteMatrixFullVO matrix)
          Performs the core logic for updateMatrix(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)
 boolean remoteMatrixFullVOsAreEqual(RemoteMatrixFullVO remoteMatrixFullVOFirst, RemoteMatrixFullVO remoteMatrixFullVOSecond)
           
 boolean remoteMatrixFullVOsAreEqualOnIdentifiers(RemoteMatrixFullVO remoteMatrixFullVOFirst, RemoteMatrixFullVO remoteMatrixFullVOSecond)
           
 void removeMatrix(RemoteMatrixFullVO matrix)
           
 void setFractionDao(FractionDao fractionDao)
          Sets the reference to fraction's DAO.
 void setMatrixDao(MatrixDao matrixDao)
          Sets the reference to matrix's DAO.
 void setStatusDao(StatusDao statusDao)
          Sets the reference to status's DAO.
 void updateMatrix(RemoteMatrixFullVO matrix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteMatrixFullServiceBase

public RemoteMatrixFullServiceBase()
Method Detail

setMatrixDao

public void setMatrixDao(MatrixDao matrixDao)
Sets the reference to matrix's DAO.


getMatrixDao

protected MatrixDao getMatrixDao()
Gets the reference to matrix'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.


setFractionDao

public void setFractionDao(FractionDao fractionDao)
Sets the reference to fraction's DAO.


getFractionDao

protected FractionDao getFractionDao()
Gets the reference to fraction's DAO.


addMatrix

public RemoteMatrixFullVO addMatrix(RemoteMatrixFullVO matrix)
Specified by:
addMatrix in interface RemoteMatrixFullService
See Also:
RemoteMatrixFullService.addMatrix(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)

handleAddMatrix

protected abstract RemoteMatrixFullVO handleAddMatrix(RemoteMatrixFullVO matrix)
                                               throws java.lang.Exception
Performs the core logic for addMatrix(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)

Throws:
java.lang.Exception

updateMatrix

public void updateMatrix(RemoteMatrixFullVO matrix)
Specified by:
updateMatrix in interface RemoteMatrixFullService
See Also:
RemoteMatrixFullService.updateMatrix(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)

handleUpdateMatrix

protected abstract void handleUpdateMatrix(RemoteMatrixFullVO matrix)
                                    throws java.lang.Exception
Performs the core logic for updateMatrix(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)

Throws:
java.lang.Exception

removeMatrix

public void removeMatrix(RemoteMatrixFullVO matrix)
Specified by:
removeMatrix in interface RemoteMatrixFullService
See Also:
RemoteMatrixFullService.removeMatrix(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)

handleRemoveMatrix

protected abstract void handleRemoveMatrix(RemoteMatrixFullVO matrix)
                                    throws java.lang.Exception
Performs the core logic for removeMatrix(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)

Throws:
java.lang.Exception

getAllMatrix

public RemoteMatrixFullVO[] getAllMatrix()
Specified by:
getAllMatrix in interface RemoteMatrixFullService
See Also:
RemoteMatrixFullService.getAllMatrix()

handleGetAllMatrix

protected abstract RemoteMatrixFullVO[] handleGetAllMatrix()
                                                    throws java.lang.Exception
Performs the core logic for getAllMatrix()

Throws:
java.lang.Exception

getMatrixById

public RemoteMatrixFullVO getMatrixById(java.lang.Integer id)
Specified by:
getMatrixById in interface RemoteMatrixFullService
See Also:
RemoteMatrixFullService.getMatrixById(java.lang.Integer)

handleGetMatrixById

protected abstract RemoteMatrixFullVO handleGetMatrixById(java.lang.Integer id)
                                                   throws java.lang.Exception
Performs the core logic for getMatrixById(java.lang.Integer)

Throws:
java.lang.Exception

getMatrixByIds

public RemoteMatrixFullVO[] getMatrixByIds(java.lang.Integer[] id)
Specified by:
getMatrixByIds in interface RemoteMatrixFullService
See Also:
RemoteMatrixFullService.getMatrixByIds(java.lang.Integer[])

handleGetMatrixByIds

protected abstract RemoteMatrixFullVO[] handleGetMatrixByIds(java.lang.Integer[] id)
                                                      throws java.lang.Exception
Performs the core logic for getMatrixByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getMatrixByStatusCode

public RemoteMatrixFullVO[] getMatrixByStatusCode(java.lang.String code)
Specified by:
getMatrixByStatusCode in interface RemoteMatrixFullService
See Also:
RemoteMatrixFullService.getMatrixByStatusCode(java.lang.String)

handleGetMatrixByStatusCode

protected abstract RemoteMatrixFullVO[] handleGetMatrixByStatusCode(java.lang.String code)
                                                             throws java.lang.Exception
Performs the core logic for getMatrixByStatusCode(java.lang.String)

Throws:
java.lang.Exception

remoteMatrixFullVOsAreEqualOnIdentifiers

public boolean remoteMatrixFullVOsAreEqualOnIdentifiers(RemoteMatrixFullVO remoteMatrixFullVOFirst,
                                                        RemoteMatrixFullVO remoteMatrixFullVOSecond)
Specified by:
remoteMatrixFullVOsAreEqualOnIdentifiers in interface RemoteMatrixFullService
See Also:
RemoteMatrixFullService.remoteMatrixFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)

handleRemoteMatrixFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteMatrixFullVOsAreEqualOnIdentifiers(RemoteMatrixFullVO remoteMatrixFullVOFirst,
                                                                          RemoteMatrixFullVO remoteMatrixFullVOSecond)
                                                                   throws java.lang.Exception
Performs the core logic for remoteMatrixFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)

Throws:
java.lang.Exception

remoteMatrixFullVOsAreEqual

public boolean remoteMatrixFullVOsAreEqual(RemoteMatrixFullVO remoteMatrixFullVOFirst,
                                           RemoteMatrixFullVO remoteMatrixFullVOSecond)
Specified by:
remoteMatrixFullVOsAreEqual in interface RemoteMatrixFullService
See Also:
RemoteMatrixFullService.remoteMatrixFullVOsAreEqual(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)

handleRemoteMatrixFullVOsAreEqual

protected abstract boolean handleRemoteMatrixFullVOsAreEqual(RemoteMatrixFullVO remoteMatrixFullVOFirst,
                                                             RemoteMatrixFullVO remoteMatrixFullVOSecond)
                                                      throws java.lang.Exception
Performs the core logic for remoteMatrixFullVOsAreEqual(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixFullVO)

Throws:
java.lang.Exception

getMatrixNaturalIds

public RemoteMatrixNaturalId[] getMatrixNaturalIds()
Specified by:
getMatrixNaturalIds in interface RemoteMatrixFullService
See Also:
RemoteMatrixFullService.getMatrixNaturalIds()

handleGetMatrixNaturalIds

protected abstract RemoteMatrixNaturalId[] handleGetMatrixNaturalIds()
                                                              throws java.lang.Exception
Performs the core logic for getMatrixNaturalIds()

Throws:
java.lang.Exception

getMatrixByNaturalId

public RemoteMatrixFullVO getMatrixByNaturalId(RemoteMatrixNaturalId matrixNaturalId)
Specified by:
getMatrixByNaturalId in interface RemoteMatrixFullService
See Also:
RemoteMatrixFullService.getMatrixByNaturalId(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixNaturalId)

handleGetMatrixByNaturalId

protected abstract RemoteMatrixFullVO handleGetMatrixByNaturalId(RemoteMatrixNaturalId matrixNaturalId)
                                                          throws java.lang.Exception
Performs the core logic for getMatrixByNaturalId(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteMatrixNaturalId)

Throws:
java.lang.Exception

getMatrixNaturalIdById

public RemoteMatrixNaturalId getMatrixNaturalIdById(java.lang.Integer id)
Specified by:
getMatrixNaturalIdById in interface RemoteMatrixFullService
See Also:
RemoteMatrixFullService.getMatrixNaturalIdById(java.lang.Integer)

handleGetMatrixNaturalIdById

protected abstract RemoteMatrixNaturalId handleGetMatrixNaturalIdById(java.lang.Integer id)
                                                               throws java.lang.Exception
Performs the core logic for getMatrixNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterMatrix

public ClusterMatrix addOrUpdateClusterMatrix(ClusterMatrix clusterMatrix)
Specified by:
addOrUpdateClusterMatrix in interface RemoteMatrixFullService
See Also:
RemoteMatrixFullService.addOrUpdateClusterMatrix(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMatrix)

handleAddOrUpdateClusterMatrix

protected abstract ClusterMatrix handleAddOrUpdateClusterMatrix(ClusterMatrix clusterMatrix)
                                                         throws java.lang.Exception
Performs the core logic for addOrUpdateClusterMatrix(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterMatrix)

Throws:
java.lang.Exception

getAllClusterMatrixSinceDateSynchro

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

handleGetAllClusterMatrixSinceDateSynchro

protected abstract ClusterMatrix[] handleGetAllClusterMatrixSinceDateSynchro(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 getAllClusterMatrixSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterMatrixByIdentifiers

public ClusterMatrix getClusterMatrixByIdentifiers(java.lang.Integer id)
Specified by:
getClusterMatrixByIdentifiers in interface RemoteMatrixFullService
See Also:
RemoteMatrixFullService.getClusterMatrixByIdentifiers(java.lang.Integer)

handleGetClusterMatrixByIdentifiers

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