fr.ifremer.allegro.referential.gear.generic.service
Class RemoteGearAssociationFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.referential.gear.generic.service.RemoteGearAssociationFullServiceBase
All Implemented Interfaces:
RemoteGearAssociationFullService
Direct Known Subclasses:
RemoteGearAssociationFullServiceImpl

public abstract class RemoteGearAssociationFullServiceBase
extends java.lang.Object
implements RemoteGearAssociationFullService

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

See Also:
RemoteGearAssociationFullService

Constructor Summary
RemoteGearAssociationFullServiceBase()
           
 
Method Summary
 RemoteGearAssociationFullVO addGearAssociation(RemoteGearAssociationFullVO gearAssociation)
           
 RemoteGearAssociationFullVO[] getAllGearAssociation()
           
 ClusterGearAssociation getClusterGearAssociationByIdentifiers(java.lang.Integer toGearId, java.lang.Integer fromGearId)
           
 RemoteGearAssociationFullVO[] getGearAssociationByFromGearId(java.lang.Integer id)
           
 RemoteGearAssociationFullVO getGearAssociationByIdentifiers(java.lang.Integer toGearId, java.lang.Integer fromGearId)
           
 RemoteGearAssociationFullVO getGearAssociationByNaturalId(RemoteGearAssociationNaturalId gearAssociationNaturalId)
           
 RemoteGearAssociationFullVO[] getGearAssociationByToGearId(java.lang.Integer id)
           
protected  GearAssociationDao getGearAssociationDao()
          Gets the reference to gearAssociation's DAO.
 RemoteGearAssociationNaturalId[] getGearAssociationNaturalIds()
           
protected  GearDao getGearDao()
          Gets the reference to gear's DAO.
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 abstract  RemoteGearAssociationFullVO handleAddGearAssociation(RemoteGearAssociationFullVO gearAssociation)
          Performs the core logic for addGearAssociation(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)
protected abstract  RemoteGearAssociationFullVO[] handleGetAllGearAssociation()
          Performs the core logic for getAllGearAssociation()
protected abstract  ClusterGearAssociation handleGetClusterGearAssociationByIdentifiers(java.lang.Integer toGearId, java.lang.Integer fromGearId)
          Performs the core logic for getClusterGearAssociationByIdentifiers(java.lang.Integer, java.lang.Integer)
protected abstract  RemoteGearAssociationFullVO[] handleGetGearAssociationByFromGearId(java.lang.Integer id)
          Performs the core logic for getGearAssociationByFromGearId(java.lang.Integer)
protected abstract  RemoteGearAssociationFullVO handleGetGearAssociationByIdentifiers(java.lang.Integer toGearId, java.lang.Integer fromGearId)
          Performs the core logic for getGearAssociationByIdentifiers(java.lang.Integer, java.lang.Integer)
protected abstract  RemoteGearAssociationFullVO handleGetGearAssociationByNaturalId(RemoteGearAssociationNaturalId gearAssociationNaturalId)
          Performs the core logic for getGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationNaturalId)
protected abstract  RemoteGearAssociationFullVO[] handleGetGearAssociationByToGearId(java.lang.Integer id)
          Performs the core logic for getGearAssociationByToGearId(java.lang.Integer)
protected abstract  RemoteGearAssociationNaturalId[] handleGetGearAssociationNaturalIds()
          Performs the core logic for getGearAssociationNaturalIds()
protected abstract  boolean handleRemoteGearAssociationFullVOsAreEqual(RemoteGearAssociationFullVO remoteGearAssociationFullVOFirst, RemoteGearAssociationFullVO remoteGearAssociationFullVOSecond)
          Performs the core logic for remoteGearAssociationFullVOsAreEqual(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)
protected abstract  boolean handleRemoteGearAssociationFullVOsAreEqualOnIdentifiers(RemoteGearAssociationFullVO remoteGearAssociationFullVOFirst, RemoteGearAssociationFullVO remoteGearAssociationFullVOSecond)
          Performs the core logic for remoteGearAssociationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)
protected abstract  void handleRemoveGearAssociation(RemoteGearAssociationFullVO gearAssociation)
          Performs the core logic for removeGearAssociation(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)
protected abstract  void handleUpdateGearAssociation(RemoteGearAssociationFullVO gearAssociation)
          Performs the core logic for updateGearAssociation(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)
 boolean remoteGearAssociationFullVOsAreEqual(RemoteGearAssociationFullVO remoteGearAssociationFullVOFirst, RemoteGearAssociationFullVO remoteGearAssociationFullVOSecond)
           
 boolean remoteGearAssociationFullVOsAreEqualOnIdentifiers(RemoteGearAssociationFullVO remoteGearAssociationFullVOFirst, RemoteGearAssociationFullVO remoteGearAssociationFullVOSecond)
           
 void removeGearAssociation(RemoteGearAssociationFullVO gearAssociation)
           
 void setGearAssociationDao(GearAssociationDao gearAssociationDao)
          Sets the reference to gearAssociation's DAO.
 void setGearDao(GearDao gearDao)
          Sets the reference to gear's DAO.
 void updateGearAssociation(RemoteGearAssociationFullVO gearAssociation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteGearAssociationFullServiceBase

public RemoteGearAssociationFullServiceBase()
Method Detail

setGearAssociationDao

public void setGearAssociationDao(GearAssociationDao gearAssociationDao)
Sets the reference to gearAssociation's DAO.


getGearAssociationDao

protected GearAssociationDao getGearAssociationDao()
Gets the reference to gearAssociation's DAO.


setGearDao

public void setGearDao(GearDao gearDao)
Sets the reference to gear's DAO.


getGearDao

protected GearDao getGearDao()
Gets the reference to gear's DAO.


addGearAssociation

public RemoteGearAssociationFullVO addGearAssociation(RemoteGearAssociationFullVO gearAssociation)
Specified by:
addGearAssociation in interface RemoteGearAssociationFullService
See Also:
RemoteGearAssociationFullService.addGearAssociation(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)

handleAddGearAssociation

protected abstract RemoteGearAssociationFullVO handleAddGearAssociation(RemoteGearAssociationFullVO gearAssociation)
                                                                 throws java.lang.Exception
Performs the core logic for addGearAssociation(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)

Throws:
java.lang.Exception

updateGearAssociation

public void updateGearAssociation(RemoteGearAssociationFullVO gearAssociation)
Specified by:
updateGearAssociation in interface RemoteGearAssociationFullService
See Also:
RemoteGearAssociationFullService.updateGearAssociation(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)

handleUpdateGearAssociation

protected abstract void handleUpdateGearAssociation(RemoteGearAssociationFullVO gearAssociation)
                                             throws java.lang.Exception
Performs the core logic for updateGearAssociation(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)

Throws:
java.lang.Exception

removeGearAssociation

public void removeGearAssociation(RemoteGearAssociationFullVO gearAssociation)
Specified by:
removeGearAssociation in interface RemoteGearAssociationFullService
See Also:
RemoteGearAssociationFullService.removeGearAssociation(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)

handleRemoveGearAssociation

protected abstract void handleRemoveGearAssociation(RemoteGearAssociationFullVO gearAssociation)
                                             throws java.lang.Exception
Performs the core logic for removeGearAssociation(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)

Throws:
java.lang.Exception

getAllGearAssociation

public RemoteGearAssociationFullVO[] getAllGearAssociation()
Specified by:
getAllGearAssociation in interface RemoteGearAssociationFullService
See Also:
RemoteGearAssociationFullService.getAllGearAssociation()

handleGetAllGearAssociation

protected abstract RemoteGearAssociationFullVO[] handleGetAllGearAssociation()
                                                                      throws java.lang.Exception
Performs the core logic for getAllGearAssociation()

Throws:
java.lang.Exception

getGearAssociationByToGearId

public RemoteGearAssociationFullVO[] getGearAssociationByToGearId(java.lang.Integer id)
Specified by:
getGearAssociationByToGearId in interface RemoteGearAssociationFullService
See Also:
RemoteGearAssociationFullService.getGearAssociationByToGearId(java.lang.Integer)

handleGetGearAssociationByToGearId

protected abstract RemoteGearAssociationFullVO[] handleGetGearAssociationByToGearId(java.lang.Integer id)
                                                                             throws java.lang.Exception
Performs the core logic for getGearAssociationByToGearId(java.lang.Integer)

Throws:
java.lang.Exception

getGearAssociationByFromGearId

public RemoteGearAssociationFullVO[] getGearAssociationByFromGearId(java.lang.Integer id)
Specified by:
getGearAssociationByFromGearId in interface RemoteGearAssociationFullService
See Also:
RemoteGearAssociationFullService.getGearAssociationByFromGearId(java.lang.Integer)

handleGetGearAssociationByFromGearId

protected abstract RemoteGearAssociationFullVO[] handleGetGearAssociationByFromGearId(java.lang.Integer id)
                                                                               throws java.lang.Exception
Performs the core logic for getGearAssociationByFromGearId(java.lang.Integer)

Throws:
java.lang.Exception

getGearAssociationByIdentifiers

public RemoteGearAssociationFullVO getGearAssociationByIdentifiers(java.lang.Integer toGearId,
                                                                   java.lang.Integer fromGearId)
Specified by:
getGearAssociationByIdentifiers in interface RemoteGearAssociationFullService
See Also:
RemoteGearAssociationFullService.getGearAssociationByIdentifiers(java.lang.Integer, java.lang.Integer)

handleGetGearAssociationByIdentifiers

protected abstract RemoteGearAssociationFullVO handleGetGearAssociationByIdentifiers(java.lang.Integer toGearId,
                                                                                     java.lang.Integer fromGearId)
                                                                              throws java.lang.Exception
Performs the core logic for getGearAssociationByIdentifiers(java.lang.Integer, java.lang.Integer)

Throws:
java.lang.Exception

remoteGearAssociationFullVOsAreEqualOnIdentifiers

public boolean remoteGearAssociationFullVOsAreEqualOnIdentifiers(RemoteGearAssociationFullVO remoteGearAssociationFullVOFirst,
                                                                 RemoteGearAssociationFullVO remoteGearAssociationFullVOSecond)
Specified by:
remoteGearAssociationFullVOsAreEqualOnIdentifiers in interface RemoteGearAssociationFullService
See Also:
RemoteGearAssociationFullService.remoteGearAssociationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)

handleRemoteGearAssociationFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteGearAssociationFullVOsAreEqualOnIdentifiers(RemoteGearAssociationFullVO remoteGearAssociationFullVOFirst,
                                                                                   RemoteGearAssociationFullVO remoteGearAssociationFullVOSecond)
                                                                            throws java.lang.Exception
Performs the core logic for remoteGearAssociationFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)

Throws:
java.lang.Exception

remoteGearAssociationFullVOsAreEqual

public boolean remoteGearAssociationFullVOsAreEqual(RemoteGearAssociationFullVO remoteGearAssociationFullVOFirst,
                                                    RemoteGearAssociationFullVO remoteGearAssociationFullVOSecond)
Specified by:
remoteGearAssociationFullVOsAreEqual in interface RemoteGearAssociationFullService
See Also:
RemoteGearAssociationFullService.remoteGearAssociationFullVOsAreEqual(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)

handleRemoteGearAssociationFullVOsAreEqual

protected abstract boolean handleRemoteGearAssociationFullVOsAreEqual(RemoteGearAssociationFullVO remoteGearAssociationFullVOFirst,
                                                                      RemoteGearAssociationFullVO remoteGearAssociationFullVOSecond)
                                                               throws java.lang.Exception
Performs the core logic for remoteGearAssociationFullVOsAreEqual(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO, fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationFullVO)

Throws:
java.lang.Exception

getGearAssociationNaturalIds

public RemoteGearAssociationNaturalId[] getGearAssociationNaturalIds()
Specified by:
getGearAssociationNaturalIds in interface RemoteGearAssociationFullService
See Also:
RemoteGearAssociationFullService.getGearAssociationNaturalIds()

handleGetGearAssociationNaturalIds

protected abstract RemoteGearAssociationNaturalId[] handleGetGearAssociationNaturalIds()
                                                                                throws java.lang.Exception
Performs the core logic for getGearAssociationNaturalIds()

Throws:
java.lang.Exception

getGearAssociationByNaturalId

public RemoteGearAssociationFullVO getGearAssociationByNaturalId(RemoteGearAssociationNaturalId gearAssociationNaturalId)
Specified by:
getGearAssociationByNaturalId in interface RemoteGearAssociationFullService
See Also:
RemoteGearAssociationFullService.getGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationNaturalId)

handleGetGearAssociationByNaturalId

protected abstract RemoteGearAssociationFullVO handleGetGearAssociationByNaturalId(RemoteGearAssociationNaturalId gearAssociationNaturalId)
                                                                            throws java.lang.Exception
Performs the core logic for getGearAssociationByNaturalId(fr.ifremer.allegro.referential.gear.generic.vo.RemoteGearAssociationNaturalId)

Throws:
java.lang.Exception

getClusterGearAssociationByIdentifiers

public ClusterGearAssociation getClusterGearAssociationByIdentifiers(java.lang.Integer toGearId,
                                                                     java.lang.Integer fromGearId)
Specified by:
getClusterGearAssociationByIdentifiers in interface RemoteGearAssociationFullService
See Also:
RemoteGearAssociationFullService.getClusterGearAssociationByIdentifiers(java.lang.Integer, java.lang.Integer)

handleGetClusterGearAssociationByIdentifiers

protected abstract ClusterGearAssociation handleGetClusterGearAssociationByIdentifiers(java.lang.Integer toGearId,
                                                                                       java.lang.Integer fromGearId)
                                                                                throws java.lang.Exception
Performs the core logic for getClusterGearAssociationByIdentifiers(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.