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

java.lang.Object
  extended by fr.ifremer.allegro.referential.taxon.generic.service.RemoteVirtualComponentFullServiceBase
All Implemented Interfaces:
RemoteVirtualComponentFullService
Direct Known Subclasses:
RemoteVirtualComponentFullServiceImpl

public abstract class RemoteVirtualComponentFullServiceBase
extends java.lang.Object
implements RemoteVirtualComponentFullService

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

See Also:
RemoteVirtualComponentFullService

Constructor Summary
RemoteVirtualComponentFullServiceBase()
           
 
Method Summary
 ClusterVirtualComponent addOrUpdateClusterVirtualComponent(ClusterVirtualComponent clusterVirtualComponent)
           
 RemoteVirtualComponentFullVO addVirtualComponent(RemoteVirtualComponentFullVO virtualComponent)
           
 ClusterVirtualComponent[] getAllClusterVirtualComponentSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
           
 RemoteVirtualComponentFullVO[] getAllVirtualComponent()
           
 ClusterVirtualComponent getClusterVirtualComponentByIdentifiers(java.lang.Integer taxonNameId, java.lang.Integer referenceTaxonId)
           
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  ReferenceTaxonDao getReferenceTaxonDao()
          Gets the reference to referenceTaxon's DAO.
protected  TaxonNameDao getTaxonNameDao()
          Gets the reference to taxonName's DAO.
 RemoteVirtualComponentFullVO getVirtualComponentByIdentifiers(java.lang.Integer taxonNameId, java.lang.Integer referenceTaxonId)
           
 RemoteVirtualComponentFullVO getVirtualComponentByNaturalId(RemoteVirtualComponentNaturalId virtualComponentNaturalId)
           
 RemoteVirtualComponentFullVO[] getVirtualComponentByReferenceTaxonId(java.lang.Integer id)
           
 RemoteVirtualComponentFullVO[] getVirtualComponentByTaxonNameId(java.lang.Integer id)
           
protected  VirtualComponentDao getVirtualComponentDao()
          Gets the reference to virtualComponent's DAO.
 RemoteVirtualComponentNaturalId[] getVirtualComponentNaturalIds()
           
protected abstract  ClusterVirtualComponent handleAddOrUpdateClusterVirtualComponent(ClusterVirtualComponent clusterVirtualComponent)
          Performs the core logic for addOrUpdateClusterVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterVirtualComponent)
protected abstract  RemoteVirtualComponentFullVO handleAddVirtualComponent(RemoteVirtualComponentFullVO virtualComponent)
          Performs the core logic for addVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)
protected abstract  ClusterVirtualComponent[] handleGetAllClusterVirtualComponentSinceDateSynchro(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 getAllClusterVirtualComponentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract  RemoteVirtualComponentFullVO[] handleGetAllVirtualComponent()
          Performs the core logic for getAllVirtualComponent()
protected abstract  ClusterVirtualComponent handleGetClusterVirtualComponentByIdentifiers(java.lang.Integer taxonNameId, java.lang.Integer referenceTaxonId)
          Performs the core logic for getClusterVirtualComponentByIdentifiers(java.lang.Integer, java.lang.Integer)
protected abstract  RemoteVirtualComponentFullVO handleGetVirtualComponentByIdentifiers(java.lang.Integer taxonNameId, java.lang.Integer referenceTaxonId)
          Performs the core logic for getVirtualComponentByIdentifiers(java.lang.Integer, java.lang.Integer)
protected abstract  RemoteVirtualComponentFullVO handleGetVirtualComponentByNaturalId(RemoteVirtualComponentNaturalId virtualComponentNaturalId)
          Performs the core logic for getVirtualComponentByNaturalId(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentNaturalId)
protected abstract  RemoteVirtualComponentFullVO[] handleGetVirtualComponentByReferenceTaxonId(java.lang.Integer id)
          Performs the core logic for getVirtualComponentByReferenceTaxonId(java.lang.Integer)
protected abstract  RemoteVirtualComponentFullVO[] handleGetVirtualComponentByTaxonNameId(java.lang.Integer id)
          Performs the core logic for getVirtualComponentByTaxonNameId(java.lang.Integer)
protected abstract  RemoteVirtualComponentNaturalId[] handleGetVirtualComponentNaturalIds()
          Performs the core logic for getVirtualComponentNaturalIds()
protected abstract  boolean handleRemoteVirtualComponentFullVOsAreEqual(RemoteVirtualComponentFullVO remoteVirtualComponentFullVOFirst, RemoteVirtualComponentFullVO remoteVirtualComponentFullVOSecond)
          Performs the core logic for remoteVirtualComponentFullVOsAreEqual(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)
protected abstract  boolean handleRemoteVirtualComponentFullVOsAreEqualOnIdentifiers(RemoteVirtualComponentFullVO remoteVirtualComponentFullVOFirst, RemoteVirtualComponentFullVO remoteVirtualComponentFullVOSecond)
          Performs the core logic for remoteVirtualComponentFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)
protected abstract  void handleRemoveVirtualComponent(RemoteVirtualComponentFullVO virtualComponent)
          Performs the core logic for removeVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)
protected abstract  void handleUpdateVirtualComponent(RemoteVirtualComponentFullVO virtualComponent)
          Performs the core logic for updateVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)
 boolean remoteVirtualComponentFullVOsAreEqual(RemoteVirtualComponentFullVO remoteVirtualComponentFullVOFirst, RemoteVirtualComponentFullVO remoteVirtualComponentFullVOSecond)
           
 boolean remoteVirtualComponentFullVOsAreEqualOnIdentifiers(RemoteVirtualComponentFullVO remoteVirtualComponentFullVOFirst, RemoteVirtualComponentFullVO remoteVirtualComponentFullVOSecond)
           
 void removeVirtualComponent(RemoteVirtualComponentFullVO virtualComponent)
           
 void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
          Sets the reference to referenceTaxon's DAO.
 void setTaxonNameDao(TaxonNameDao taxonNameDao)
          Sets the reference to taxonName's DAO.
 void setVirtualComponentDao(VirtualComponentDao virtualComponentDao)
          Sets the reference to virtualComponent's DAO.
 void updateVirtualComponent(RemoteVirtualComponentFullVO virtualComponent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteVirtualComponentFullServiceBase

public RemoteVirtualComponentFullServiceBase()
Method Detail

setVirtualComponentDao

public void setVirtualComponentDao(VirtualComponentDao virtualComponentDao)
Sets the reference to virtualComponent's DAO.


getVirtualComponentDao

protected VirtualComponentDao getVirtualComponentDao()
Gets the reference to virtualComponent's DAO.


setTaxonNameDao

public void setTaxonNameDao(TaxonNameDao taxonNameDao)
Sets the reference to taxonName's DAO.


getTaxonNameDao

protected TaxonNameDao getTaxonNameDao()
Gets the reference to taxonName's DAO.


setReferenceTaxonDao

public void setReferenceTaxonDao(ReferenceTaxonDao referenceTaxonDao)
Sets the reference to referenceTaxon's DAO.


getReferenceTaxonDao

protected ReferenceTaxonDao getReferenceTaxonDao()
Gets the reference to referenceTaxon's DAO.


addVirtualComponent

public RemoteVirtualComponentFullVO addVirtualComponent(RemoteVirtualComponentFullVO virtualComponent)
Specified by:
addVirtualComponent in interface RemoteVirtualComponentFullService
See Also:
RemoteVirtualComponentFullService.addVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)

handleAddVirtualComponent

protected abstract RemoteVirtualComponentFullVO handleAddVirtualComponent(RemoteVirtualComponentFullVO virtualComponent)
                                                                   throws java.lang.Exception
Performs the core logic for addVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)

Throws:
java.lang.Exception

updateVirtualComponent

public void updateVirtualComponent(RemoteVirtualComponentFullVO virtualComponent)
Specified by:
updateVirtualComponent in interface RemoteVirtualComponentFullService
See Also:
RemoteVirtualComponentFullService.updateVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)

handleUpdateVirtualComponent

protected abstract void handleUpdateVirtualComponent(RemoteVirtualComponentFullVO virtualComponent)
                                              throws java.lang.Exception
Performs the core logic for updateVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)

Throws:
java.lang.Exception

removeVirtualComponent

public void removeVirtualComponent(RemoteVirtualComponentFullVO virtualComponent)
Specified by:
removeVirtualComponent in interface RemoteVirtualComponentFullService
See Also:
RemoteVirtualComponentFullService.removeVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)

handleRemoveVirtualComponent

protected abstract void handleRemoveVirtualComponent(RemoteVirtualComponentFullVO virtualComponent)
                                              throws java.lang.Exception
Performs the core logic for removeVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)

Throws:
java.lang.Exception

getAllVirtualComponent

public RemoteVirtualComponentFullVO[] getAllVirtualComponent()
Specified by:
getAllVirtualComponent in interface RemoteVirtualComponentFullService
See Also:
RemoteVirtualComponentFullService.getAllVirtualComponent()

handleGetAllVirtualComponent

protected abstract RemoteVirtualComponentFullVO[] handleGetAllVirtualComponent()
                                                                        throws java.lang.Exception
Performs the core logic for getAllVirtualComponent()

Throws:
java.lang.Exception

getVirtualComponentByTaxonNameId

public RemoteVirtualComponentFullVO[] getVirtualComponentByTaxonNameId(java.lang.Integer id)
Specified by:
getVirtualComponentByTaxonNameId in interface RemoteVirtualComponentFullService
See Also:
RemoteVirtualComponentFullService.getVirtualComponentByTaxonNameId(java.lang.Integer)

handleGetVirtualComponentByTaxonNameId

protected abstract RemoteVirtualComponentFullVO[] handleGetVirtualComponentByTaxonNameId(java.lang.Integer id)
                                                                                  throws java.lang.Exception
Performs the core logic for getVirtualComponentByTaxonNameId(java.lang.Integer)

Throws:
java.lang.Exception

getVirtualComponentByReferenceTaxonId

public RemoteVirtualComponentFullVO[] getVirtualComponentByReferenceTaxonId(java.lang.Integer id)
Specified by:
getVirtualComponentByReferenceTaxonId in interface RemoteVirtualComponentFullService
See Also:
RemoteVirtualComponentFullService.getVirtualComponentByReferenceTaxonId(java.lang.Integer)

handleGetVirtualComponentByReferenceTaxonId

protected abstract RemoteVirtualComponentFullVO[] handleGetVirtualComponentByReferenceTaxonId(java.lang.Integer id)
                                                                                       throws java.lang.Exception
Performs the core logic for getVirtualComponentByReferenceTaxonId(java.lang.Integer)

Throws:
java.lang.Exception

getVirtualComponentByIdentifiers

public RemoteVirtualComponentFullVO getVirtualComponentByIdentifiers(java.lang.Integer taxonNameId,
                                                                     java.lang.Integer referenceTaxonId)
Specified by:
getVirtualComponentByIdentifiers in interface RemoteVirtualComponentFullService
See Also:
RemoteVirtualComponentFullService.getVirtualComponentByIdentifiers(java.lang.Integer, java.lang.Integer)

handleGetVirtualComponentByIdentifiers

protected abstract RemoteVirtualComponentFullVO handleGetVirtualComponentByIdentifiers(java.lang.Integer taxonNameId,
                                                                                       java.lang.Integer referenceTaxonId)
                                                                                throws java.lang.Exception
Performs the core logic for getVirtualComponentByIdentifiers(java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

remoteVirtualComponentFullVOsAreEqualOnIdentifiers

public boolean remoteVirtualComponentFullVOsAreEqualOnIdentifiers(RemoteVirtualComponentFullVO remoteVirtualComponentFullVOFirst,
                                                                  RemoteVirtualComponentFullVO remoteVirtualComponentFullVOSecond)
Specified by:
remoteVirtualComponentFullVOsAreEqualOnIdentifiers in interface RemoteVirtualComponentFullService
See Also:
RemoteVirtualComponentFullService.remoteVirtualComponentFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)

handleRemoteVirtualComponentFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteVirtualComponentFullVOsAreEqualOnIdentifiers(RemoteVirtualComponentFullVO remoteVirtualComponentFullVOFirst,
                                                                                    RemoteVirtualComponentFullVO remoteVirtualComponentFullVOSecond)
                                                                             throws java.lang.Exception
Performs the core logic for remoteVirtualComponentFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)

Throws:
java.lang.Exception

remoteVirtualComponentFullVOsAreEqual

public boolean remoteVirtualComponentFullVOsAreEqual(RemoteVirtualComponentFullVO remoteVirtualComponentFullVOFirst,
                                                     RemoteVirtualComponentFullVO remoteVirtualComponentFullVOSecond)
Specified by:
remoteVirtualComponentFullVOsAreEqual in interface RemoteVirtualComponentFullService
See Also:
RemoteVirtualComponentFullService.remoteVirtualComponentFullVOsAreEqual(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)

handleRemoteVirtualComponentFullVOsAreEqual

protected abstract boolean handleRemoteVirtualComponentFullVOsAreEqual(RemoteVirtualComponentFullVO remoteVirtualComponentFullVOFirst,
                                                                       RemoteVirtualComponentFullVO remoteVirtualComponentFullVOSecond)
                                                                throws java.lang.Exception
Performs the core logic for remoteVirtualComponentFullVOsAreEqual(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO, fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentFullVO)

Throws:
java.lang.Exception

getVirtualComponentNaturalIds

public RemoteVirtualComponentNaturalId[] getVirtualComponentNaturalIds()
Specified by:
getVirtualComponentNaturalIds in interface RemoteVirtualComponentFullService
See Also:
RemoteVirtualComponentFullService.getVirtualComponentNaturalIds()

handleGetVirtualComponentNaturalIds

protected abstract RemoteVirtualComponentNaturalId[] handleGetVirtualComponentNaturalIds()
                                                                                  throws java.lang.Exception
Performs the core logic for getVirtualComponentNaturalIds()

Throws:
java.lang.Exception

getVirtualComponentByNaturalId

public RemoteVirtualComponentFullVO getVirtualComponentByNaturalId(RemoteVirtualComponentNaturalId virtualComponentNaturalId)
Specified by:
getVirtualComponentByNaturalId in interface RemoteVirtualComponentFullService
See Also:
RemoteVirtualComponentFullService.getVirtualComponentByNaturalId(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentNaturalId)

handleGetVirtualComponentByNaturalId

protected abstract RemoteVirtualComponentFullVO handleGetVirtualComponentByNaturalId(RemoteVirtualComponentNaturalId virtualComponentNaturalId)
                                                                              throws java.lang.Exception
Performs the core logic for getVirtualComponentByNaturalId(fr.ifremer.allegro.referential.taxon.generic.vo.RemoteVirtualComponentNaturalId)

Throws:
java.lang.Exception

addOrUpdateClusterVirtualComponent

public ClusterVirtualComponent addOrUpdateClusterVirtualComponent(ClusterVirtualComponent clusterVirtualComponent)
Specified by:
addOrUpdateClusterVirtualComponent in interface RemoteVirtualComponentFullService
See Also:
RemoteVirtualComponentFullService.addOrUpdateClusterVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterVirtualComponent)

handleAddOrUpdateClusterVirtualComponent

protected abstract ClusterVirtualComponent handleAddOrUpdateClusterVirtualComponent(ClusterVirtualComponent clusterVirtualComponent)
                                                                             throws java.lang.Exception
Performs the core logic for addOrUpdateClusterVirtualComponent(fr.ifremer.allegro.referential.taxon.generic.cluster.ClusterVirtualComponent)

Throws:
java.lang.Exception

getAllClusterVirtualComponentSinceDateSynchro

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

handleGetAllClusterVirtualComponentSinceDateSynchro

protected abstract ClusterVirtualComponent[] handleGetAllClusterVirtualComponentSinceDateSynchro(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 getAllClusterVirtualComponentSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

getClusterVirtualComponentByIdentifiers

public ClusterVirtualComponent getClusterVirtualComponentByIdentifiers(java.lang.Integer taxonNameId,
                                                                       java.lang.Integer referenceTaxonId)
Specified by:
getClusterVirtualComponentByIdentifiers in interface RemoteVirtualComponentFullService
See Also:
RemoteVirtualComponentFullService.getClusterVirtualComponentByIdentifiers(java.lang.Integer, java.lang.Integer)

handleGetClusterVirtualComponentByIdentifiers

protected abstract ClusterVirtualComponent handleGetClusterVirtualComponentByIdentifiers(java.lang.Integer taxonNameId,
                                                                                         java.lang.Integer referenceTaxonId)
                                                                                  throws java.lang.Exception
Performs the core logic for getClusterVirtualComponentByIdentifiers(java.lang.Integer, 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.