|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.ifremer.allegro.administration.programStrategy.generic.service.RemoteProgramFullServiceBase
public abstract class RemoteProgramFullServiceBase
Spring Service base class for fr.ifremer.allegro.administration.programStrategy.generic.service.RemoteProgramFullService
,
provides access to all services and entities referenced by this service.
RemoteProgramFullService
Constructor Summary | |
---|---|
RemoteProgramFullServiceBase()
|
Method Summary | |
---|---|
ClusterProgram |
addOrUpdateClusterProgram(ClusterProgram clusterProgram)
|
RemoteProgramFullVO |
addProgram(RemoteProgramFullVO program)
|
ClusterProgram[] |
getAllClusterProgramSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
RemoteProgramFullVO[] |
getAllProgram()
|
ClusterProgram |
getClusterProgramByIdentifiers(java.lang.String code)
|
protected GearClassificationDao |
getGearClassificationDao()
Gets the reference to gearClassification 's DAO. |
protected LocationClassificationDao |
getLocationClassificationDao()
Gets the reference to locationClassification '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 . |
protected Program2DepartmentDao |
getProgram2DepartmentDao()
Gets the reference to program2Department 's DAO. |
protected Program2PersonDao |
getProgram2PersonDao()
Gets the reference to program2Person 's DAO. |
RemoteProgramFullVO |
getProgramByCode(java.lang.String code)
|
RemoteProgramFullVO[] |
getProgramByCodes(java.lang.String[] code)
|
RemoteProgramFullVO[] |
getProgramByGearClassificationId(java.lang.Integer id)
|
RemoteProgramFullVO |
getProgramByNaturalId(RemoteProgramNaturalId programNaturalId)
|
protected ProgramDao |
getProgramDao()
Gets the reference to program 's DAO. |
RemoteProgramNaturalId |
getProgramNaturalIdByCode(java.lang.String code)
|
RemoteProgramNaturalId[] |
getProgramNaturalIds()
|
protected StrategyDao |
getStrategyDao()
Gets the reference to strategy 's DAO. |
protected abstract ClusterProgram |
handleAddOrUpdateClusterProgram(ClusterProgram clusterProgram)
Performs the core logic for addOrUpdateClusterProgram(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram) |
protected abstract RemoteProgramFullVO |
handleAddProgram(RemoteProgramFullVO program)
Performs the core logic for addProgram(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO) |
protected abstract ClusterProgram[] |
handleGetAllClusterProgramSinceDateSynchro(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 getAllClusterProgramSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
protected abstract RemoteProgramFullVO[] |
handleGetAllProgram()
Performs the core logic for getAllProgram() |
protected abstract ClusterProgram |
handleGetClusterProgramByIdentifiers(java.lang.String code)
Performs the core logic for getClusterProgramByIdentifiers(java.lang.String) |
protected abstract RemoteProgramFullVO |
handleGetProgramByCode(java.lang.String code)
Performs the core logic for getProgramByCode(java.lang.String) |
protected abstract RemoteProgramFullVO[] |
handleGetProgramByCodes(java.lang.String[] code)
Performs the core logic for getProgramByCodes(java.lang.String[]) |
protected abstract RemoteProgramFullVO[] |
handleGetProgramByGearClassificationId(java.lang.Integer id)
Performs the core logic for getProgramByGearClassificationId(java.lang.Integer) |
protected abstract RemoteProgramFullVO |
handleGetProgramByNaturalId(RemoteProgramNaturalId programNaturalId)
Performs the core logic for getProgramByNaturalId(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramNaturalId) |
protected abstract RemoteProgramNaturalId |
handleGetProgramNaturalIdByCode(java.lang.String code)
Performs the core logic for getProgramNaturalIdByCode(java.lang.String) |
protected abstract RemoteProgramNaturalId[] |
handleGetProgramNaturalIds()
Performs the core logic for getProgramNaturalIds() |
protected abstract boolean |
handleRemoteProgramFullVOsAreEqual(RemoteProgramFullVO remoteProgramFullVOFirst,
RemoteProgramFullVO remoteProgramFullVOSecond)
Performs the core logic for remoteProgramFullVOsAreEqual(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO) |
protected abstract boolean |
handleRemoteProgramFullVOsAreEqualOnIdentifiers(RemoteProgramFullVO remoteProgramFullVOFirst,
RemoteProgramFullVO remoteProgramFullVOSecond)
Performs the core logic for remoteProgramFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO) |
protected abstract void |
handleRemoveProgram(RemoteProgramFullVO program)
Performs the core logic for removeProgram(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO) |
protected abstract void |
handleUpdateProgram(RemoteProgramFullVO program)
Performs the core logic for updateProgram(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO) |
boolean |
remoteProgramFullVOsAreEqual(RemoteProgramFullVO remoteProgramFullVOFirst,
RemoteProgramFullVO remoteProgramFullVOSecond)
|
boolean |
remoteProgramFullVOsAreEqualOnIdentifiers(RemoteProgramFullVO remoteProgramFullVOFirst,
RemoteProgramFullVO remoteProgramFullVOSecond)
|
void |
removeProgram(RemoteProgramFullVO program)
|
void |
setGearClassificationDao(GearClassificationDao gearClassificationDao)
Sets the reference to gearClassification 's DAO. |
void |
setLocationClassificationDao(LocationClassificationDao locationClassificationDao)
Sets the reference to locationClassification '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 |
setProgram2PersonDao(Program2PersonDao program2PersonDao)
Sets the reference to program2Person 's DAO. |
void |
setProgramDao(ProgramDao programDao)
Sets the reference to program 's DAO. |
void |
setStrategyDao(StrategyDao strategyDao)
Sets the reference to strategy 's DAO. |
void |
updateProgram(RemoteProgramFullVO program)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteProgramFullServiceBase()
Method Detail |
---|
public void setProgramDao(ProgramDao programDao)
program
's DAO.
protected ProgramDao getProgramDao()
program
's DAO.
public void setStrategyDao(StrategyDao strategyDao)
strategy
's DAO.
protected StrategyDao getStrategyDao()
strategy
's DAO.
public void setLocationClassificationDao(LocationClassificationDao locationClassificationDao)
locationClassification
's DAO.
protected LocationClassificationDao getLocationClassificationDao()
locationClassification
's DAO.
public void setLocationDao(LocationDao locationDao)
location
's DAO.
protected LocationDao getLocationDao()
location
's DAO.
public void setGearClassificationDao(GearClassificationDao gearClassificationDao)
gearClassification
's DAO.
protected GearClassificationDao getGearClassificationDao()
gearClassification
's DAO.
public void setProgram2DepartmentDao(Program2DepartmentDao program2DepartmentDao)
program2Department
's DAO.
protected Program2DepartmentDao getProgram2DepartmentDao()
program2Department
's DAO.
public void setProgram2PersonDao(Program2PersonDao program2PersonDao)
program2Person
's DAO.
protected Program2PersonDao getProgram2PersonDao()
program2Person
's DAO.
public RemoteProgramFullVO addProgram(RemoteProgramFullVO program)
addProgram
in interface RemoteProgramFullService
RemoteProgramFullService.addProgram(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO)
protected abstract RemoteProgramFullVO handleAddProgram(RemoteProgramFullVO program) throws java.lang.Exception
addProgram(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO)
java.lang.Exception
public void updateProgram(RemoteProgramFullVO program)
updateProgram
in interface RemoteProgramFullService
RemoteProgramFullService.updateProgram(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO)
protected abstract void handleUpdateProgram(RemoteProgramFullVO program) throws java.lang.Exception
updateProgram(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO)
java.lang.Exception
public void removeProgram(RemoteProgramFullVO program)
removeProgram
in interface RemoteProgramFullService
RemoteProgramFullService.removeProgram(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO)
protected abstract void handleRemoveProgram(RemoteProgramFullVO program) throws java.lang.Exception
removeProgram(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO)
java.lang.Exception
public RemoteProgramFullVO[] getAllProgram()
getAllProgram
in interface RemoteProgramFullService
RemoteProgramFullService.getAllProgram()
protected abstract RemoteProgramFullVO[] handleGetAllProgram() throws java.lang.Exception
getAllProgram()
java.lang.Exception
public RemoteProgramFullVO getProgramByCode(java.lang.String code)
getProgramByCode
in interface RemoteProgramFullService
RemoteProgramFullService.getProgramByCode(java.lang.String)
protected abstract RemoteProgramFullVO handleGetProgramByCode(java.lang.String code) throws java.lang.Exception
getProgramByCode(java.lang.String)
java.lang.Exception
public RemoteProgramFullVO[] getProgramByCodes(java.lang.String[] code)
getProgramByCodes
in interface RemoteProgramFullService
RemoteProgramFullService.getProgramByCodes(java.lang.String[])
protected abstract RemoteProgramFullVO[] handleGetProgramByCodes(java.lang.String[] code) throws java.lang.Exception
getProgramByCodes(java.lang.String[])
java.lang.Exception
public RemoteProgramFullVO[] getProgramByGearClassificationId(java.lang.Integer id)
getProgramByGearClassificationId
in interface RemoteProgramFullService
RemoteProgramFullService.getProgramByGearClassificationId(java.lang.Integer)
protected abstract RemoteProgramFullVO[] handleGetProgramByGearClassificationId(java.lang.Integer id) throws java.lang.Exception
getProgramByGearClassificationId(java.lang.Integer)
java.lang.Exception
public boolean remoteProgramFullVOsAreEqualOnIdentifiers(RemoteProgramFullVO remoteProgramFullVOFirst, RemoteProgramFullVO remoteProgramFullVOSecond)
remoteProgramFullVOsAreEqualOnIdentifiers
in interface RemoteProgramFullService
RemoteProgramFullService.remoteProgramFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO)
protected abstract boolean handleRemoteProgramFullVOsAreEqualOnIdentifiers(RemoteProgramFullVO remoteProgramFullVOFirst, RemoteProgramFullVO remoteProgramFullVOSecond) throws java.lang.Exception
remoteProgramFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO)
java.lang.Exception
public boolean remoteProgramFullVOsAreEqual(RemoteProgramFullVO remoteProgramFullVOFirst, RemoteProgramFullVO remoteProgramFullVOSecond)
remoteProgramFullVOsAreEqual
in interface RemoteProgramFullService
RemoteProgramFullService.remoteProgramFullVOsAreEqual(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO)
protected abstract boolean handleRemoteProgramFullVOsAreEqual(RemoteProgramFullVO remoteProgramFullVOFirst, RemoteProgramFullVO remoteProgramFullVOSecond) throws java.lang.Exception
remoteProgramFullVOsAreEqual(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO, fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramFullVO)
java.lang.Exception
public RemoteProgramNaturalId[] getProgramNaturalIds()
getProgramNaturalIds
in interface RemoteProgramFullService
RemoteProgramFullService.getProgramNaturalIds()
protected abstract RemoteProgramNaturalId[] handleGetProgramNaturalIds() throws java.lang.Exception
getProgramNaturalIds()
java.lang.Exception
public RemoteProgramFullVO getProgramByNaturalId(RemoteProgramNaturalId programNaturalId)
getProgramByNaturalId
in interface RemoteProgramFullService
RemoteProgramFullService.getProgramByNaturalId(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramNaturalId)
protected abstract RemoteProgramFullVO handleGetProgramByNaturalId(RemoteProgramNaturalId programNaturalId) throws java.lang.Exception
getProgramByNaturalId(fr.ifremer.allegro.administration.programStrategy.generic.vo.RemoteProgramNaturalId)
java.lang.Exception
public RemoteProgramNaturalId getProgramNaturalIdByCode(java.lang.String code)
getProgramNaturalIdByCode
in interface RemoteProgramFullService
RemoteProgramFullService.getProgramNaturalIdByCode(java.lang.String)
protected abstract RemoteProgramNaturalId handleGetProgramNaturalIdByCode(java.lang.String code) throws java.lang.Exception
getProgramNaturalIdByCode(java.lang.String)
java.lang.Exception
public ClusterProgram addOrUpdateClusterProgram(ClusterProgram clusterProgram)
addOrUpdateClusterProgram
in interface RemoteProgramFullService
RemoteProgramFullService.addOrUpdateClusterProgram(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram)
protected abstract ClusterProgram handleAddOrUpdateClusterProgram(ClusterProgram clusterProgram) throws java.lang.Exception
addOrUpdateClusterProgram(fr.ifremer.allegro.administration.programStrategy.generic.cluster.ClusterProgram)
java.lang.Exception
public ClusterProgram[] getAllClusterProgramSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterProgramSinceDateSynchro
in interface RemoteProgramFullService
RemoteProgramFullService.getAllClusterProgramSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterProgram[] handleGetAllClusterProgramSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterProgramSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
public ClusterProgram getClusterProgramByIdentifiers(java.lang.String code)
getClusterProgramByIdentifiers
in interface RemoteProgramFullService
RemoteProgramFullService.getClusterProgramByIdentifiers(java.lang.String)
protected abstract ClusterProgram handleGetClusterProgramByIdentifiers(java.lang.String code) throws java.lang.Exception
getClusterProgramByIdentifiers(java.lang.String)
java.lang.Exception
protected java.security.Principal getPrincipal()
principal
if one has been set,
otherwise returns null
.
protected org.springframework.context.MessageSource getMessages()
protected java.lang.String getMessage(java.lang.String key)
key
in the underlying message bundle.
key
- the key of the message in the messages.properties message bundle.protected java.lang.String getMessage(java.lang.String key, java.lang.Object[] arguments)
key
and arguments
in the
underlying message bundle.
key
- the key of the message in the messages.properties message bundle.arguments
- any arguments to substitute when resolving the message.protected java.lang.String getMessage(java.lang.String key, java.lang.Object[] arguments, java.util.Locale locale)
key
using the given arguments
for the given locale
.
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |