fr.ifremer.allegro.administration.programStrategy.generic.service
Class RemoteProgram2DepartmentFullServiceBase

java.lang.Object
  extended by fr.ifremer.allegro.administration.programStrategy.generic.service.RemoteProgram2DepartmentFullServiceBase
All Implemented Interfaces:
RemoteProgram2DepartmentFullService
Direct Known Subclasses:
RemoteProgram2DepartmentFullServiceImpl

public abstract class RemoteProgram2DepartmentFullServiceBase
extends java.lang.Object
implements RemoteProgram2DepartmentFullService

Spring Service base class for fr.ifremer.allegro.administration.programStrategy.generic.service.RemoteProgram2DepartmentFullService, provides access to all services and entities referenced by this service.

See Also:
RemoteProgram2DepartmentFullService

Constructor Summary
RemoteProgram2DepartmentFullServiceBase()
           
 
Method Summary
 RemoteProgram2DepartmentFullVO addProgram2Department(RemoteProgram2DepartmentFullVO program2Department)
           
 RemoteProgram2DepartmentFullVO[] getAllProgram2Department()
           
 ClusterProgram2Department getClusterProgram2DepartmentByIdentifiers(java.lang.Integer id)
           
protected  DepartmentDao getDepartmentDao()
          Gets the reference to department's DAO.
protected  LocationDao getLocationDao()
          Gets the reference to location'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.
 RemoteProgram2DepartmentFullVO[] getProgram2DepartmentByDepartmentId(java.lang.Integer id)
           
 RemoteProgram2DepartmentFullVO getProgram2DepartmentById(java.lang.Integer id)
           
 RemoteProgram2DepartmentFullVO[] getProgram2DepartmentByIds(java.lang.Integer[] id)
           
 RemoteProgram2DepartmentFullVO[] getProgram2DepartmentByLocationId(java.lang.Integer id)
           
 RemoteProgram2DepartmentFullVO getProgram2DepartmentByNaturalId(RemoteProgram2DepartmentNaturalId program2DepartmentNaturalId)
           
 RemoteProgram2DepartmentFullVO[] getProgram2DepartmentByProgramCode(java.lang.String code)
           
 RemoteProgram2DepartmentFullVO[] getProgram2DepartmentByProgramPrivilegeId(java.lang.Integer id)
           
protected  Program2DepartmentDao getProgram2DepartmentDao()
          Gets the reference to program2Department's DAO.
 RemoteProgram2DepartmentNaturalId getProgram2DepartmentNaturalIdById(java.lang.Integer id)
           
 RemoteProgram2DepartmentNaturalId[] getProgram2DepartmentNaturalIds()
           
protected  ProgramDao getProgramDao()
          Gets the reference to program's DAO.
protected  ProgramPrivilegeDao getProgramPrivilegeDao()
          Gets the reference to programPrivilege's DAO.
protected abstract  RemoteProgram2DepartmentFullVO handleAddProgram2Department(RemoteProgram2DepartmentFullVO program2Department)
          Performs the core logic for addProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)
protected abstract  RemoteProgram2DepartmentFullVO[] handleGetAllProgram2Department()
          Performs the core logic for getAllProgram2Department()
protected abstract  ClusterProgram2Department handleGetClusterProgram2DepartmentByIdentifiers(java.lang.Integer id)
          Performs the core logic for getClusterProgram2DepartmentByIdentifiers(java.lang.Integer)
protected abstract  RemoteProgram2DepartmentFullVO[] handleGetProgram2DepartmentByDepartmentId(java.lang.Integer id)
          Performs the core logic for getProgram2DepartmentByDepartmentId(java.lang.Integer)
protected abstract  RemoteProgram2DepartmentFullVO handleGetProgram2DepartmentById(java.lang.Integer id)
          Performs the core logic for getProgram2DepartmentById(java.lang.Integer)
protected abstract  RemoteProgram2DepartmentFullVO[] handleGetProgram2DepartmentByIds(java.lang.Integer[] id)
          Performs the core logic for getProgram2DepartmentByIds(java.lang.Integer[])
protected abstract  RemoteProgram2DepartmentFullVO[] handleGetProgram2DepartmentByLocationId(java.lang.Integer id)
          Performs the core logic for getProgram2DepartmentByLocationId(java.lang.Integer)
protected abstract  RemoteProgram2DepartmentFullVO handleGetProgram2DepartmentByNaturalId(RemoteProgram2DepartmentNaturalId program2DepartmentNaturalId)
          Performs the core logic for getProgram2DepartmentByNaturalId(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentNaturalId)
protected abstract  RemoteProgram2DepartmentFullVO[] handleGetProgram2DepartmentByProgramCode(java.lang.String code)
          Performs the core logic for getProgram2DepartmentByProgramCode(java.lang.String)
protected abstract  RemoteProgram2DepartmentFullVO[] handleGetProgram2DepartmentByProgramPrivilegeId(java.lang.Integer id)
          Performs the core logic for getProgram2DepartmentByProgramPrivilegeId(java.lang.Integer)
protected abstract  RemoteProgram2DepartmentNaturalId handleGetProgram2DepartmentNaturalIdById(java.lang.Integer id)
          Performs the core logic for getProgram2DepartmentNaturalIdById(java.lang.Integer)
protected abstract  RemoteProgram2DepartmentNaturalId[] handleGetProgram2DepartmentNaturalIds()
          Performs the core logic for getProgram2DepartmentNaturalIds()
protected abstract  boolean handleRemoteProgram2DepartmentFullVOsAreEqual(RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOFirst, RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOSecond)
          Performs the core logic for remoteProgram2DepartmentFullVOsAreEqual(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)
protected abstract  boolean handleRemoteProgram2DepartmentFullVOsAreEqualOnIdentifiers(RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOFirst, RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOSecond)
          Performs the core logic for remoteProgram2DepartmentFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)
protected abstract  void handleRemoveProgram2Department(RemoteProgram2DepartmentFullVO program2Department)
          Performs the core logic for removeProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)
protected abstract  void handleUpdateProgram2Department(RemoteProgram2DepartmentFullVO program2Department)
          Performs the core logic for updateProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)
 boolean remoteProgram2DepartmentFullVOsAreEqual(RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOFirst, RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOSecond)
           
 boolean remoteProgram2DepartmentFullVOsAreEqualOnIdentifiers(RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOFirst, RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOSecond)
           
 void removeProgram2Department(RemoteProgram2DepartmentFullVO program2Department)
           
 void setDepartmentDao(DepartmentDao departmentDao)
          Sets the reference to department's DAO.
 void setLocationDao(LocationDao locationDao)
          Sets the reference to location's DAO.
 void setProgram2DepartmentDao(Program2DepartmentDao program2DepartmentDao)
          Sets the reference to program2Department's DAO.
 void setProgramDao(ProgramDao programDao)
          Sets the reference to program's DAO.
 void setProgramPrivilegeDao(ProgramPrivilegeDao programPrivilegeDao)
          Sets the reference to programPrivilege's DAO.
 void updateProgram2Department(RemoteProgram2DepartmentFullVO program2Department)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteProgram2DepartmentFullServiceBase

public RemoteProgram2DepartmentFullServiceBase()
Method Detail

setProgram2DepartmentDao

public void setProgram2DepartmentDao(Program2DepartmentDao program2DepartmentDao)
Sets the reference to program2Department's DAO.


getProgram2DepartmentDao

protected Program2DepartmentDao getProgram2DepartmentDao()
Gets the reference to program2Department's DAO.


setLocationDao

public void setLocationDao(LocationDao locationDao)
Sets the reference to location's DAO.


getLocationDao

protected LocationDao getLocationDao()
Gets the reference to location's DAO.


setProgramDao

public void setProgramDao(ProgramDao programDao)
Sets the reference to program's DAO.


getProgramDao

protected ProgramDao getProgramDao()
Gets the reference to program's DAO.


setDepartmentDao

public void setDepartmentDao(DepartmentDao departmentDao)
Sets the reference to department's DAO.


getDepartmentDao

protected DepartmentDao getDepartmentDao()
Gets the reference to department's DAO.


setProgramPrivilegeDao

public void setProgramPrivilegeDao(ProgramPrivilegeDao programPrivilegeDao)
Sets the reference to programPrivilege's DAO.


getProgramPrivilegeDao

protected ProgramPrivilegeDao getProgramPrivilegeDao()
Gets the reference to programPrivilege's DAO.


addProgram2Department

public RemoteProgram2DepartmentFullVO addProgram2Department(RemoteProgram2DepartmentFullVO program2Department)
Specified by:
addProgram2Department in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.addProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)

handleAddProgram2Department

protected abstract RemoteProgram2DepartmentFullVO handleAddProgram2Department(RemoteProgram2DepartmentFullVO program2Department)
                                                                       throws java.lang.Exception
Performs the core logic for addProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)

Throws:
java.lang.Exception

updateProgram2Department

public void updateProgram2Department(RemoteProgram2DepartmentFullVO program2Department)
Specified by:
updateProgram2Department in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.updateProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)

handleUpdateProgram2Department

protected abstract void handleUpdateProgram2Department(RemoteProgram2DepartmentFullVO program2Department)
                                                throws java.lang.Exception
Performs the core logic for updateProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)

Throws:
java.lang.Exception

removeProgram2Department

public void removeProgram2Department(RemoteProgram2DepartmentFullVO program2Department)
Specified by:
removeProgram2Department in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.removeProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)

handleRemoveProgram2Department

protected abstract void handleRemoveProgram2Department(RemoteProgram2DepartmentFullVO program2Department)
                                                throws java.lang.Exception
Performs the core logic for removeProgram2Department(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)

Throws:
java.lang.Exception

getAllProgram2Department

public RemoteProgram2DepartmentFullVO[] getAllProgram2Department()
Specified by:
getAllProgram2Department in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.getAllProgram2Department()

handleGetAllProgram2Department

protected abstract RemoteProgram2DepartmentFullVO[] handleGetAllProgram2Department()
                                                                            throws java.lang.Exception
Performs the core logic for getAllProgram2Department()

Throws:
java.lang.Exception

getProgram2DepartmentById

public RemoteProgram2DepartmentFullVO getProgram2DepartmentById(java.lang.Integer id)
Specified by:
getProgram2DepartmentById in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.getProgram2DepartmentById(java.lang.Integer)

handleGetProgram2DepartmentById

protected abstract RemoteProgram2DepartmentFullVO handleGetProgram2DepartmentById(java.lang.Integer id)
                                                                           throws java.lang.Exception
Performs the core logic for getProgram2DepartmentById(java.lang.Integer)

Throws:
java.lang.Exception

getProgram2DepartmentByIds

public RemoteProgram2DepartmentFullVO[] getProgram2DepartmentByIds(java.lang.Integer[] id)
Specified by:
getProgram2DepartmentByIds in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.getProgram2DepartmentByIds(java.lang.Integer[])

handleGetProgram2DepartmentByIds

protected abstract RemoteProgram2DepartmentFullVO[] handleGetProgram2DepartmentByIds(java.lang.Integer[] id)
                                                                              throws java.lang.Exception
Performs the core logic for getProgram2DepartmentByIds(java.lang.Integer[])

Throws:
java.lang.Exception

getProgram2DepartmentByLocationId

public RemoteProgram2DepartmentFullVO[] getProgram2DepartmentByLocationId(java.lang.Integer id)
Specified by:
getProgram2DepartmentByLocationId in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.getProgram2DepartmentByLocationId(java.lang.Integer)

handleGetProgram2DepartmentByLocationId

protected abstract RemoteProgram2DepartmentFullVO[] handleGetProgram2DepartmentByLocationId(java.lang.Integer id)
                                                                                     throws java.lang.Exception
Performs the core logic for getProgram2DepartmentByLocationId(java.lang.Integer)

Throws:
java.lang.Exception

getProgram2DepartmentByProgramCode

public RemoteProgram2DepartmentFullVO[] getProgram2DepartmentByProgramCode(java.lang.String code)
Specified by:
getProgram2DepartmentByProgramCode in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.getProgram2DepartmentByProgramCode(java.lang.String)

handleGetProgram2DepartmentByProgramCode

protected abstract RemoteProgram2DepartmentFullVO[] handleGetProgram2DepartmentByProgramCode(java.lang.String code)
                                                                                      throws java.lang.Exception
Performs the core logic for getProgram2DepartmentByProgramCode(java.lang.String)

Throws:
java.lang.Exception

getProgram2DepartmentByDepartmentId

public RemoteProgram2DepartmentFullVO[] getProgram2DepartmentByDepartmentId(java.lang.Integer id)
Specified by:
getProgram2DepartmentByDepartmentId in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.getProgram2DepartmentByDepartmentId(java.lang.Integer)

handleGetProgram2DepartmentByDepartmentId

protected abstract RemoteProgram2DepartmentFullVO[] handleGetProgram2DepartmentByDepartmentId(java.lang.Integer id)
                                                                                       throws java.lang.Exception
Performs the core logic for getProgram2DepartmentByDepartmentId(java.lang.Integer)

Throws:
java.lang.Exception

getProgram2DepartmentByProgramPrivilegeId

public RemoteProgram2DepartmentFullVO[] getProgram2DepartmentByProgramPrivilegeId(java.lang.Integer id)
Specified by:
getProgram2DepartmentByProgramPrivilegeId in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.getProgram2DepartmentByProgramPrivilegeId(java.lang.Integer)

handleGetProgram2DepartmentByProgramPrivilegeId

protected abstract RemoteProgram2DepartmentFullVO[] handleGetProgram2DepartmentByProgramPrivilegeId(java.lang.Integer id)
                                                                                             throws java.lang.Exception
Performs the core logic for getProgram2DepartmentByProgramPrivilegeId(java.lang.Integer)

Throws:
java.lang.Exception

remoteProgram2DepartmentFullVOsAreEqualOnIdentifiers

public boolean remoteProgram2DepartmentFullVOsAreEqualOnIdentifiers(RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOFirst,
                                                                    RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOSecond)
Specified by:
remoteProgram2DepartmentFullVOsAreEqualOnIdentifiers in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.remoteProgram2DepartmentFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)

handleRemoteProgram2DepartmentFullVOsAreEqualOnIdentifiers

protected abstract boolean handleRemoteProgram2DepartmentFullVOsAreEqualOnIdentifiers(RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOFirst,
                                                                                      RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOSecond)
                                                                               throws java.lang.Exception
Performs the core logic for remoteProgram2DepartmentFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)

Throws:
java.lang.Exception

remoteProgram2DepartmentFullVOsAreEqual

public boolean remoteProgram2DepartmentFullVOsAreEqual(RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOFirst,
                                                       RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOSecond)
Specified by:
remoteProgram2DepartmentFullVOsAreEqual in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.remoteProgram2DepartmentFullVOsAreEqual(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)

handleRemoteProgram2DepartmentFullVOsAreEqual

protected abstract boolean handleRemoteProgram2DepartmentFullVOsAreEqual(RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOFirst,
                                                                         RemoteProgram2DepartmentFullVO remoteProgram2DepartmentFullVOSecond)
                                                                  throws java.lang.Exception
Performs the core logic for remoteProgram2DepartmentFullVOsAreEqual(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentFullVO)

Throws:
java.lang.Exception

getProgram2DepartmentNaturalIds

public RemoteProgram2DepartmentNaturalId[] getProgram2DepartmentNaturalIds()
Specified by:
getProgram2DepartmentNaturalIds in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.getProgram2DepartmentNaturalIds()

handleGetProgram2DepartmentNaturalIds

protected abstract RemoteProgram2DepartmentNaturalId[] handleGetProgram2DepartmentNaturalIds()
                                                                                      throws java.lang.Exception
Performs the core logic for getProgram2DepartmentNaturalIds()

Throws:
java.lang.Exception

getProgram2DepartmentByNaturalId

public RemoteProgram2DepartmentFullVO getProgram2DepartmentByNaturalId(RemoteProgram2DepartmentNaturalId program2DepartmentNaturalId)
Specified by:
getProgram2DepartmentByNaturalId in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.getProgram2DepartmentByNaturalId(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentNaturalId)

handleGetProgram2DepartmentByNaturalId

protected abstract RemoteProgram2DepartmentFullVO handleGetProgram2DepartmentByNaturalId(RemoteProgram2DepartmentNaturalId program2DepartmentNaturalId)
                                                                                  throws java.lang.Exception
Performs the core logic for getProgram2DepartmentByNaturalId(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgram2DepartmentNaturalId)

Throws:
java.lang.Exception

getProgram2DepartmentNaturalIdById

public RemoteProgram2DepartmentNaturalId getProgram2DepartmentNaturalIdById(java.lang.Integer id)
Specified by:
getProgram2DepartmentNaturalIdById in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.getProgram2DepartmentNaturalIdById(java.lang.Integer)

handleGetProgram2DepartmentNaturalIdById

protected abstract RemoteProgram2DepartmentNaturalId handleGetProgram2DepartmentNaturalIdById(java.lang.Integer id)
                                                                                       throws java.lang.Exception
Performs the core logic for getProgram2DepartmentNaturalIdById(java.lang.Integer)

Throws:
java.lang.Exception

getClusterProgram2DepartmentByIdentifiers

public ClusterProgram2Department getClusterProgram2DepartmentByIdentifiers(java.lang.Integer id)
Specified by:
getClusterProgram2DepartmentByIdentifiers in interface RemoteProgram2DepartmentFullService
See Also:
RemoteProgram2DepartmentFullService.getClusterProgram2DepartmentByIdentifiers(java.lang.Integer)

handleGetClusterProgram2DepartmentByIdentifiers

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