fr.ifremer.allegro.referential.taxon.generic.service
Class RemoteReferenceDocumentFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.referential.taxon.generic.service.RemoteReferenceDocumentFullServiceBase
All Implemented Interfaces:
RemoteReferenceDocumentFullService
Direct Known Subclasses:
RemoteReferenceDocumentFullServiceImpl

public abstract class RemoteReferenceDocumentFullServiceBase
extends java.lang.Object
implements RemoteReferenceDocumentFullService

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

See Also:
RemoteReferenceDocumentFullService

Constructor Summary
RemoteReferenceDocumentFullServiceBase()
           
 
Method Summary
 ClusterReferenceDocument addOrUpdateClusterReferenceDocument(ClusterReferenceDocument clusterReferenceDocument)
           
 RemoteReferenceDocumentFullVO addReferenceDocument(RemoteReferenceDocumentFullVO referenceDocument)
           
 ClusterReferenceDocument[] getAllClusterReferenceDocumentSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteReferenceDocumentFullVO[] getAllReferenceDocument()
           
protected  AuthorDao getAuthorDao()
          Gets the reference to author's DAO.
 ClusterReferenceDocument getClusterReferenceDocumentByIdentifiers(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.
protected  java.security.Principal getPrincipal()
          Gets the current principal if one has been set, otherwise returns null.
 RemoteReferenceDocumentFullVO getReferenceDocumentById(java.lang.Integer id)
           
 RemoteReferenceDocumentFullVO[] getReferenceDocumentByIds(java.lang.Integer[] id)
           
 RemoteReferenceDocumentFullVO getReferenceDocumentByNaturalId(RemoteReferenceDocumentNaturalId referenceDocumentNaturalId)
           
 RemoteReferenceDocumentFullVO[] getReferenceDocumentByStatusCode(java.lang.String code)
           
protected  ReferenceDocumentDao getReferenceDocumentDao()
          Gets the reference to referenceDocument's DAO.
 RemoteReferenceDocumentNaturalId getReferenceDocumentNaturalIdById(java.lang.Integer id)
           
 RemoteReferenceDocumentNaturalId[] getReferenceDocumentNaturalIds()
           
protected  StatusDao getStatusDao()
          Gets the reference to status's DAO.
protected abstract  ClusterReferenceDocument handleAddOrUpdateClusterReferenceDocument(ClusterReferenceDocument clusterReferenceDocument)
          Performs the core logic for addOrUpdateClusterReferenceDocument(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceDocument)
protected abstract  RemoteReferenceDocumentFullVO handleAddReferenceDocument(RemoteReferenceDocumentFullVO referenceDocument)
          Performs the core logic for addReferenceDocument(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)
protected abstract  ClusterReferenceDocument[] handleGetAllClusterReferenceDocumentSinceDateSynchro(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 getAllClusterReferenceDocumentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteReferenceDocumentFullVO[] handleGetAllReferenceDocument()
          Performs the core logic for getAllReferenceDocument()
protected abstract  ClusterReferenceDocument handleGetClusterReferenceDocumentByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterReferenceDocumentByIdentifiers(java.lang.Integer)
protected abstract  RemoteReferenceDocumentFullVO handleGetReferenceDocumentById(java.lang.Integer id)
          Performs the core logic for getReferenceDocumentById(java.lang.Integer)
protected abstract  RemoteReferenceDocumentFullVO[] handleGetReferenceDocumentByIds(java.lang.Integer[] id)
          Performs the core logic for getReferenceDocumentByIds(java.lang.Integer[])
protected abstract  RemoteReferenceDocumentFullVO handleGetReferenceDocumentByNaturalId(RemoteReferenceDocumentNaturalId referenceDocumentNaturalId)
          Performs the core logic for getReferenceDocumentByNaturalId(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentNaturalId)
protected abstract  RemoteReferenceDocumentFullVO[] handleGetReferenceDocumentByStatusCode(java.lang.String code)
          Performs the core logic for getReferenceDocumentByStatusCode(java.lang.String)
protected abstract  RemoteReferenceDocumentNaturalId handleGetReferenceDocumentNaturalIdById(java.lang.Integer id)
          Performs the core logic for getReferenceDocumentNaturalIdById(java.lang.Integer)
protected abstract  RemoteReferenceDocumentNaturalId[] handleGetReferenceDocumentNaturalIds()
          Performs the core logic for getReferenceDocumentNaturalIds()
protected abstract  boolean handleRemoteReferenceDocumentFullVOsAreEqual(RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOFirst, RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOSecond)
          Performs the core logic for remoteReferenceDocumentFullVOsAreEqual(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)
protected abstract  boolean handleRemoteReferenceDocumentFullVOsAreEqualOnIdentifiers(RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOFirst, RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOSecond)
          Performs the core logic for remoteReferenceDocumentFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)
protected abstract  void handleRemoveReferenceDocument(RemoteReferenceDocumentFullVO referenceDocument)
          Performs the core logic for removeReferenceDocument(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)
protected abstract  void handleUpdateReferenceDocument(RemoteReferenceDocumentFullVO referenceDocument)
          Performs the core logic for updateReferenceDocument(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)
 boolean remoteReferenceDocumentFullVOsAreEqual(RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOFirst, RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOSecond)
           
 boolean remoteReferenceDocumentFullVOsAreEqualOnIdentifiers(RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOFirst, RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOSecond)
           
 void removeReferenceDocument(RemoteReferenceDocumentFullVO referenceDocument)
           
 void setAuthorDao(AuthorDao authorDao)
          Sets the reference to author's DAO.
 void setReferenceDocumentDao(ReferenceDocumentDao referenceDocumentDao)
          Sets the reference to referenceDocument's DAO.
 void setStatusDao(StatusDao statusDao)
          Sets the reference to status's DAO.
 void updateReferenceDocument(RemoteReferenceDocumentFullVO referenceDocument)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteReferenceDocumentFullServiceBase

public RemoteReferenceDocumentFullServiceBase()
Method Detail

setReferenceDocumentDao

public void setReferenceDocumentDao(ReferenceDocumentDao referenceDocumentDao)
Sets the reference to referenceDocument's DAO.


getReferenceDocumentDao

protected ReferenceDocumentDao getReferenceDocumentDao()
Gets the reference to referenceDocument'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.


setAuthorDao

public void setAuthorDao(AuthorDao authorDao)
Sets the reference to author's DAO.


getAuthorDao

protected AuthorDao getAuthorDao()
Gets the reference to author's DAO.


addReferenceDocument

public RemoteReferenceDocumentFullVO addReferenceDocument(RemoteReferenceDocumentFullVO referenceDocument)
Specified by:
addReferenceDocument in interface RemoteReferenceDocumentFullService
See Also:
RemoteReferenceDocumentFullService.addReferenceDocument(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)

handleAddReferenceDocument

protected abstract RemoteReferenceDocumentFullVO handleAddReferenceDocument(RemoteReferenceDocumentFullVO referenceDocument)
                                                                     throws java.lang.Exception
Performs the core logic for addReferenceDocument(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)

Throws:
java.lang.Exception

updateReferenceDocument

public void updateReferenceDocument(RemoteReferenceDocumentFullVO referenceDocument)
Specified by:
updateReferenceDocument in interface RemoteReferenceDocumentFullService
See Also:
RemoteReferenceDocumentFullService.updateReferenceDocument(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)

handleUpdateReferenceDocument

protected abstract void handleUpdateReferenceDocument(RemoteReferenceDocumentFullVO referenceDocument)
                                               throws java.lang.Exception
Performs the core logic for updateReferenceDocument(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)

Throws:
java.lang.Exception

removeReferenceDocument

public void removeReferenceDocument(RemoteReferenceDocumentFullVO referenceDocument)
Specified by:
removeReferenceDocument in interface RemoteReferenceDocumentFullService
See Also:
RemoteReferenceDocumentFullService.removeReferenceDocument(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)

handleRemoveReferenceDocument

protected abstract void handleRemoveReferenceDocument(RemoteReferenceDocumentFullVO referenceDocument)
                                               throws java.lang.Exception
Performs the core logic for removeReferenceDocument(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)

Throws:
java.lang.Exception

getAllReferenceDocument

public RemoteReferenceDocumentFullVO[] getAllReferenceDocument()
Specified by:
getAllReferenceDocument in interface RemoteReferenceDocumentFullService
See Also:
RemoteReferenceDocumentFullService.getAllReferenceDocument()

handleGetAllReferenceDocument

protected abstract RemoteReferenceDocumentFullVO[] handleGetAllReferenceDocument()
                                                                          throws java.lang.Exception
Performs the core logic for getAllReferenceDocument()

Throws:
java.lang.Exception

getReferenceDocumentById

public RemoteReferenceDocumentFullVO getReferenceDocumentById(java.lang.Integer id)
Specified by:
getReferenceDocumentById in interface RemoteReferenceDocumentFullService
See Also:
RemoteReferenceDocumentFullService.getReferenceDocumentById(java.lang.Integer)

handleGetReferenceDocumentById

protected abstract RemoteReferenceDocumentFullVO handleGetReferenceDocumentById(java.lang.Integer id)
                                                                         throws java.lang.Exception
Performs the core logic for getReferenceDocumentById(java.lang.Integer)

Throws:
java.lang.Exception

getReferenceDocumentByIds

public RemoteReferenceDocumentFullVO[] getReferenceDocumentByIds(java.lang.Integer[] id)
Specified by:
getReferenceDocumentByIds in interface RemoteReferenceDocumentFullService
See Also:
RemoteReferenceDocumentFullService.getReferenceDocumentByIds(java.lang.Integer[])

handleGetReferenceDocumentByIds

protected abstract RemoteReferenceDocumentFullVO[] handleGetReferenceDocumentByIds(java.lang.Integer[] id)
                                                                            throws java.lang.Exception
Performs the core logic for getReferenceDocumentByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getReferenceDocumentByStatusCode

public RemoteReferenceDocumentFullVO[] getReferenceDocumentByStatusCode(java.lang.String code)
Specified by:
getReferenceDocumentByStatusCode in interface RemoteReferenceDocumentFullService
See Also:
RemoteReferenceDocumentFullService.getReferenceDocumentByStatusCode(java.lang.String)

handleGetReferenceDocumentByStatusCode

protected abstract RemoteReferenceDocumentFullVO[] handleGetReferenceDocumentByStatusCode(java.lang.String code)
                                                                                   throws java.lang.Exception
Performs the core logic for getReferenceDocumentByStatusCode(java.lang.String)

Throws:
java.lang.Exception

remoteReferenceDocumentFullVOsAreEqualOnIdentifiers

public boolean remoteReferenceDocumentFullVOsAreEqualOnIdentifiers(RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOFirst,
                                                                   RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOSecond)
Specified by:
remoteReferenceDocumentFullVOsAreEqualOnIdentifiers in interface RemoteReferenceDocumentFullService
See Also:
RemoteReferenceDocumentFullService.remoteReferenceDocumentFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)

handleRemoteReferenceDocumentFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteReferenceDocumentFullVOsAreEqualOnIdentifiers(RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOFirst,
                                                                                     RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOSecond)
                                                                              throws java.lang.Exception
Performs the core logic for remoteReferenceDocumentFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)

Throws:
java.lang.Exception

remoteReferenceDocumentFullVOsAreEqual

public boolean remoteReferenceDocumentFullVOsAreEqual(RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOFirst,
                                                      RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOSecond)
Specified by:
remoteReferenceDocumentFullVOsAreEqual in interface RemoteReferenceDocumentFullService
See Also:
RemoteReferenceDocumentFullService.remoteReferenceDocumentFullVOsAreEqual(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)

handleRemoteReferenceDocumentFullVOsAreEqual

protected abstract boolean handleRemoteReferenceDocumentFullVOsAreEqual(RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOFirst,
                                                                        RemoteReferenceDocumentFullVO remoteReferenceDocumentFullVOSecond)
                                                                 throws java.lang.Exception
Performs the core logic for remoteReferenceDocumentFullVOsAreEqual(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentFullVO)

Throws:
java.lang.Exception

getReferenceDocumentNaturalIds

public RemoteReferenceDocumentNaturalId[] getReferenceDocumentNaturalIds()
Specified by:
getReferenceDocumentNaturalIds in interface RemoteReferenceDocumentFullService
See Also:
RemoteReferenceDocumentFullService.getReferenceDocumentNaturalIds()

handleGetReferenceDocumentNaturalIds

protected abstract RemoteReferenceDocumentNaturalId[] handleGetReferenceDocumentNaturalIds()
                                                                                    throws java.lang.Exception
Performs the core logic for getReferenceDocumentNaturalIds()

Throws:
java.lang.Exception

getReferenceDocumentByNaturalId

public RemoteReferenceDocumentFullVO getReferenceDocumentByNaturalId(RemoteReferenceDocumentNaturalId referenceDocumentNaturalId)
Specified by:
getReferenceDocumentByNaturalId in interface RemoteReferenceDocumentFullService
See Also:
RemoteReferenceDocumentFullService.getReferenceDocumentByNaturalId(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentNaturalId)

handleGetReferenceDocumentByNaturalId

protected abstract RemoteReferenceDocumentFullVO handleGetReferenceDocumentByNaturalId(RemoteReferenceDocumentNaturalId referenceDocumentNaturalId)
                                                                                throws java.lang.Exception
Performs the core logic for getReferenceDocumentByNaturalId(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteReferenceDocumentNaturalId)

Throws:
java.lang.Exception

getReferenceDocumentNaturalIdById

public RemoteReferenceDocumentNaturalId getReferenceDocumentNaturalIdById(java.lang.Integer id)
Specified by:
getReferenceDocumentNaturalIdById in interface RemoteReferenceDocumentFullService
See Also:
RemoteReferenceDocumentFullService.getReferenceDocumentNaturalIdById(java.lang.Integer)

handleGetReferenceDocumentNaturalIdById

protected abstract RemoteReferenceDocumentNaturalId handleGetReferenceDocumentNaturalIdById(java.lang.Integer id)
                                                                                     throws java.lang.Exception
Performs the core logic for getReferenceDocumentNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterReferenceDocument

public ClusterReferenceDocument addOrUpdateClusterReferenceDocument(ClusterReferenceDocument clusterReferenceDocument)
Specified by:
addOrUpdateClusterReferenceDocument in interface RemoteReferenceDocumentFullService
See Also:
RemoteReferenceDocumentFullService.addOrUpdateClusterReferenceDocument(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceDocument)

handleAddOrUpdateClusterReferenceDocument

protected abstract ClusterReferenceDocument handleAddOrUpdateClusterReferenceDocument(ClusterReferenceDocument clusterReferenceDocument)
                                                                               throws java.lang.Exception
Performs the core logic for addOrUpdateClusterReferenceDocument(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterReferenceDocument)

Throws:
java.lang.Exception

getAllClusterReferenceDocumentSinceDateSynchro

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

handleGetAllClusterReferenceDocumentSinceDateSynchro

protected abstract ClusterReferenceDocument[] handleGetAllClusterReferenceDocumentSinceDateSynchro(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 getAllClusterReferenceDocumentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterReferenceDocumentByIdentifiers

public ClusterReferenceDocument getClusterReferenceDocumentByIdentifiers(java.lang.Integer id)
Specified by:
getClusterReferenceDocumentByIdentifiers in interface RemoteReferenceDocumentFullService
See Also:
RemoteReferenceDocumentFullService.getClusterReferenceDocumentByIdentifiers(java.lang.Integer)

handleGetClusterReferenceDocumentByIdentifiers

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