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

java.lang.Object
  extended by fr.ifremer.allegro.referential.taxon.generic.service.RemoteAuthorFullServiceBase
All Implemented Interfaces:
RemoteAuthorFullService
Direct Known Subclasses:
RemoteAuthorFullServiceImpl

public abstract class RemoteAuthorFullServiceBase
extends java.lang.Object
implements RemoteAuthorFullService

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

See Also:
RemoteAuthorFullService

Constructor Summary
RemoteAuthorFullServiceBase()
           
 
Method Summary
 RemoteAuthorFullVO addAuthor(RemoteAuthorFullVO author)
           
 ClusterAuthor addOrUpdateClusterAuthor(ClusterAuthor clusterAuthor)
           
 RemoteAuthorFullVO[] getAllAuthor()
           
 ClusterAuthor[] getAllClusterAuthorSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteAuthorFullVO getAuthorById(java.lang.Integer id)
           
 RemoteAuthorFullVO[] getAuthorByIds(java.lang.Integer[] id)
           
 RemoteAuthorFullVO getAuthorByNaturalId(RemoteAuthorNaturalId authorNaturalId)
           
 RemoteAuthorFullVO[] getAuthorByStatusCode(java.lang.String code)
           
protected  AuthorDao getAuthorDao()
          Gets the reference to author's DAO.
 RemoteAuthorNaturalId getAuthorNaturalIdById(java.lang.Integer id)
           
 RemoteAuthorNaturalId[] getAuthorNaturalIds()
           
 ClusterAuthor getClusterAuthorByIdentifiers(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.
protected  ReferenceDocumentDao getReferenceDocumentDao()
          Gets the reference to referenceDocument's DAO.
protected  StatusDao getStatusDao()
          Gets the reference to status's DAO.
protected abstract  RemoteAuthorFullVO handleAddAuthor(RemoteAuthorFullVO author)
          Performs the core logic for addAuthor(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)
protected abstract  ClusterAuthor handleAddOrUpdateClusterAuthor(ClusterAuthor clusterAuthor)
          Performs the core logic for addOrUpdateClusterAuthor(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterAuthor)
protected abstract  RemoteAuthorFullVO[] handleGetAllAuthor()
          Performs the core logic for getAllAuthor()
protected abstract  ClusterAuthor[] handleGetAllClusterAuthorSinceDateSynchro(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 getAllClusterAuthorSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteAuthorFullVO handleGetAuthorById(java.lang.Integer id)
          Performs the core logic for getAuthorById(java.lang.Integer)
protected abstract  RemoteAuthorFullVO[] handleGetAuthorByIds(java.lang.Integer[] id)
          Performs the core logic for getAuthorByIds(java.lang.Integer[])
protected abstract  RemoteAuthorFullVO handleGetAuthorByNaturalId(RemoteAuthorNaturalId authorNaturalId)
          Performs the core logic for getAuthorByNaturalId(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorNaturalId)
protected abstract  RemoteAuthorFullVO[] handleGetAuthorByStatusCode(java.lang.String code)
          Performs the core logic for getAuthorByStatusCode(java.lang.String)
protected abstract  RemoteAuthorNaturalId handleGetAuthorNaturalIdById(java.lang.Integer id)
          Performs the core logic for getAuthorNaturalIdById(java.lang.Integer)
protected abstract  RemoteAuthorNaturalId[] handleGetAuthorNaturalIds()
          Performs the core logic for getAuthorNaturalIds()
protected abstract  ClusterAuthor handleGetClusterAuthorByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterAuthorByIdentifiers(java.lang.Integer)
protected abstract  boolean handleRemoteAuthorFullVOsAreEqual(RemoteAuthorFullVO remoteAuthorFullVOFirst, RemoteAuthorFullVO remoteAuthorFullVOSecond)
          Performs the core logic for remoteAuthorFullVOsAreEqual(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)
protected abstract  boolean handleRemoteAuthorFullVOsAreEqualOnIdentifiers(RemoteAuthorFullVO remoteAuthorFullVOFirst, RemoteAuthorFullVO remoteAuthorFullVOSecond)
          Performs the core logic for remoteAuthorFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)
protected abstract  void handleRemoveAuthor(RemoteAuthorFullVO author)
          Performs the core logic for removeAuthor(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)
protected abstract  void handleUpdateAuthor(RemoteAuthorFullVO author)
          Performs the core logic for updateAuthor(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)
 boolean remoteAuthorFullVOsAreEqual(RemoteAuthorFullVO remoteAuthorFullVOFirst, RemoteAuthorFullVO remoteAuthorFullVOSecond)
           
 boolean remoteAuthorFullVOsAreEqualOnIdentifiers(RemoteAuthorFullVO remoteAuthorFullVOFirst, RemoteAuthorFullVO remoteAuthorFullVOSecond)
           
 void removeAuthor(RemoteAuthorFullVO author)
           
 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 updateAuthor(RemoteAuthorFullVO author)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteAuthorFullServiceBase

public RemoteAuthorFullServiceBase()
Method Detail

setAuthorDao

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


getAuthorDao

protected AuthorDao getAuthorDao()
Gets the reference to author'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.


setReferenceDocumentDao

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


getReferenceDocumentDao

protected ReferenceDocumentDao getReferenceDocumentDao()
Gets the reference to referenceDocument's DAO.


addAuthor

public RemoteAuthorFullVO addAuthor(RemoteAuthorFullVO author)
Specified by:
addAuthor in interface RemoteAuthorFullService
See Also:
RemoteAuthorFullService.addAuthor(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)

handleAddAuthor

protected abstract RemoteAuthorFullVO handleAddAuthor(RemoteAuthorFullVO author)
                                               throws java.lang.Exception
Performs the core logic for addAuthor(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)

Throws:
java.lang.Exception

updateAuthor

public void updateAuthor(RemoteAuthorFullVO author)
Specified by:
updateAuthor in interface RemoteAuthorFullService
See Also:
RemoteAuthorFullService.updateAuthor(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)

handleUpdateAuthor

protected abstract void handleUpdateAuthor(RemoteAuthorFullVO author)
                                    throws java.lang.Exception
Performs the core logic for updateAuthor(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)

Throws:
java.lang.Exception

removeAuthor

public void removeAuthor(RemoteAuthorFullVO author)
Specified by:
removeAuthor in interface RemoteAuthorFullService
See Also:
RemoteAuthorFullService.removeAuthor(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)

handleRemoveAuthor

protected abstract void handleRemoveAuthor(RemoteAuthorFullVO author)
                                    throws java.lang.Exception
Performs the core logic for removeAuthor(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)

Throws:
java.lang.Exception

getAllAuthor

public RemoteAuthorFullVO[] getAllAuthor()
Specified by:
getAllAuthor in interface RemoteAuthorFullService
See Also:
RemoteAuthorFullService.getAllAuthor()

handleGetAllAuthor

protected abstract RemoteAuthorFullVO[] handleGetAllAuthor()
                                                    throws java.lang.Exception
Performs the core logic for getAllAuthor()

Throws:
java.lang.Exception

getAuthorById

public RemoteAuthorFullVO getAuthorById(java.lang.Integer id)
Specified by:
getAuthorById in interface RemoteAuthorFullService
See Also:
RemoteAuthorFullService.getAuthorById(java.lang.Integer)

handleGetAuthorById

protected abstract RemoteAuthorFullVO handleGetAuthorById(java.lang.Integer id)
                                                   throws java.lang.Exception
Performs the core logic for getAuthorById(java.lang.Integer)

Throws:
java.lang.Exception

getAuthorByIds

public RemoteAuthorFullVO[] getAuthorByIds(java.lang.Integer[] id)
Specified by:
getAuthorByIds in interface RemoteAuthorFullService
See Also:
RemoteAuthorFullService.getAuthorByIds(java.lang.Integer[])

handleGetAuthorByIds

protected abstract RemoteAuthorFullVO[] handleGetAuthorByIds(java.lang.Integer[] id)
                                                      throws java.lang.Exception
Performs the core logic for getAuthorByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getAuthorByStatusCode

public RemoteAuthorFullVO[] getAuthorByStatusCode(java.lang.String code)
Specified by:
getAuthorByStatusCode in interface RemoteAuthorFullService
See Also:
RemoteAuthorFullService.getAuthorByStatusCode(java.lang.String)

handleGetAuthorByStatusCode

protected abstract RemoteAuthorFullVO[] handleGetAuthorByStatusCode(java.lang.String code)
                                                             throws java.lang.Exception
Performs the core logic for getAuthorByStatusCode(java.lang.String)

Throws:
java.lang.Exception

remoteAuthorFullVOsAreEqualOnIdentifiers

public boolean remoteAuthorFullVOsAreEqualOnIdentifiers(RemoteAuthorFullVO remoteAuthorFullVOFirst,
                                                        RemoteAuthorFullVO remoteAuthorFullVOSecond)
Specified by:
remoteAuthorFullVOsAreEqualOnIdentifiers in interface RemoteAuthorFullService
See Also:
RemoteAuthorFullService.remoteAuthorFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)

handleRemoteAuthorFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteAuthorFullVOsAreEqualOnIdentifiers(RemoteAuthorFullVO remoteAuthorFullVOFirst,
                                                                          RemoteAuthorFullVO remoteAuthorFullVOSecond)
                                                                   throws java.lang.Exception
Performs the core logic for remoteAuthorFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)

Throws:
java.lang.Exception

remoteAuthorFullVOsAreEqual

public boolean remoteAuthorFullVOsAreEqual(RemoteAuthorFullVO remoteAuthorFullVOFirst,
                                           RemoteAuthorFullVO remoteAuthorFullVOSecond)
Specified by:
remoteAuthorFullVOsAreEqual in interface RemoteAuthorFullService
See Also:
RemoteAuthorFullService.remoteAuthorFullVOsAreEqual(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)

handleRemoteAuthorFullVOsAreEqual

protected abstract boolean handleRemoteAuthorFullVOsAreEqual(RemoteAuthorFullVO remoteAuthorFullVOFirst,
                                                             RemoteAuthorFullVO remoteAuthorFullVOSecond)
                                                      throws java.lang.Exception
Performs the core logic for remoteAuthorFullVOsAreEqual(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorFullVO)

Throws:
java.lang.Exception

getAuthorNaturalIds

public RemoteAuthorNaturalId[] getAuthorNaturalIds()
Specified by:
getAuthorNaturalIds in interface RemoteAuthorFullService
See Also:
RemoteAuthorFullService.getAuthorNaturalIds()

handleGetAuthorNaturalIds

protected abstract RemoteAuthorNaturalId[] handleGetAuthorNaturalIds()
                                                              throws java.lang.Exception
Performs the core logic for getAuthorNaturalIds()

Throws:
java.lang.Exception

getAuthorByNaturalId

public RemoteAuthorFullVO getAuthorByNaturalId(RemoteAuthorNaturalId authorNaturalId)
Specified by:
getAuthorByNaturalId in interface RemoteAuthorFullService
See Also:
RemoteAuthorFullService.getAuthorByNaturalId(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorNaturalId)

handleGetAuthorByNaturalId

protected abstract RemoteAuthorFullVO handleGetAuthorByNaturalId(RemoteAuthorNaturalId authorNaturalId)
                                                          throws java.lang.Exception
Performs the core logic for getAuthorByNaturalId(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteAuthorNaturalId)

Throws:
java.lang.Exception

getAuthorNaturalIdById

public RemoteAuthorNaturalId getAuthorNaturalIdById(java.lang.Integer id)
Specified by:
getAuthorNaturalIdById in interface RemoteAuthorFullService
See Also:
RemoteAuthorFullService.getAuthorNaturalIdById(java.lang.Integer)

handleGetAuthorNaturalIdById

protected abstract RemoteAuthorNaturalId handleGetAuthorNaturalIdById(java.lang.Integer id)
                                                               throws java.lang.Exception
Performs the core logic for getAuthorNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

addOrUpdateClusterAuthor

public ClusterAuthor addOrUpdateClusterAuthor(ClusterAuthor clusterAuthor)
Specified by:
addOrUpdateClusterAuthor in interface RemoteAuthorFullService
See Also:
RemoteAuthorFullService.addOrUpdateClusterAuthor(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterAuthor)

handleAddOrUpdateClusterAuthor

protected abstract ClusterAuthor handleAddOrUpdateClusterAuthor(ClusterAuthor clusterAuthor)
                                                         throws java.lang.Exception
Performs the core logic for addOrUpdateClusterAuthor(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterAuthor)

Throws:
java.lang.Exception

getAllClusterAuthorSinceDateSynchro

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

handleGetAllClusterAuthorSinceDateSynchro

protected abstract ClusterAuthor[] handleGetAllClusterAuthorSinceDateSynchro(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 getAllClusterAuthorSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterAuthorByIdentifiers

public ClusterAuthor getClusterAuthorByIdentifiers(java.lang.Integer id)
Specified by:
getClusterAuthorByIdentifiers in interface RemoteAuthorFullService
See Also:
RemoteAuthorFullService.getClusterAuthorByIdentifiers(java.lang.Integer)

handleGetClusterAuthorByIdentifiers

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