|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.ifremer.allegro.data.measure.photo.generic.service.RemotePhotoFullServiceBase
public abstract class RemotePhotoFullServiceBase
Spring Service base class for fr.ifremer.allegro.data.measure.photo.generic.service.RemotePhotoFullService
,
provides access to all services and entities referenced by this service.
RemotePhotoFullService
Constructor Summary | |
---|---|
RemotePhotoFullServiceBase()
|
Method Summary | |
---|---|
ClusterPhoto |
addOrUpdateClusterPhoto(ClusterPhoto clusterPhoto)
|
RemotePhotoFullVO |
addPhoto(RemotePhotoFullVO photo)
|
ClusterPhoto[] |
getAllClusterPhotoSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp,
java.lang.Integer userId,
java.lang.Integer[] registrationLocationIds,
java.lang.Integer pageNumber,
java.lang.Integer pageSize)
|
RemotePhotoFullVO[] |
getAllPhoto()
|
ClusterPhoto |
getClusterPhotoByIdentifiers(java.lang.Integer id)
|
protected DepartmentDao |
getDepartmentDao()
Gets the reference to department '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 ObjectTypeDao |
getObjectTypeDao()
Gets the reference to objectType 's DAO. |
RemotePhotoFullVO[] |
getPhotoByDepartmentId(java.lang.Integer id)
|
RemotePhotoFullVO |
getPhotoById(java.lang.Integer id)
|
RemotePhotoFullVO[] |
getPhotoByIds(java.lang.Integer[] id)
|
RemotePhotoFullVO |
getPhotoByNaturalId(RemotePhotoNaturalId photoNaturalId)
|
RemotePhotoFullVO[] |
getPhotoByObjectTypeCode(java.lang.String code)
|
RemotePhotoFullVO[] |
getPhotoByPhotoTypeCode(java.lang.String code)
|
RemotePhotoFullVO[] |
getPhotoByQualityFlagCode(java.lang.String code)
|
protected PhotoDao |
getPhotoDao()
Gets the reference to photo 's DAO. |
RemotePhotoNaturalId |
getPhotoNaturalIdById(java.lang.Integer id)
|
RemotePhotoNaturalId[] |
getPhotoNaturalIds()
|
protected PhotoTypeDao |
getPhotoTypeDao()
Gets the reference to photoType 's DAO. |
protected java.security.Principal |
getPrincipal()
Gets the current principal if one has been set,
otherwise returns null . |
protected QualityFlagDao |
getQualityFlagDao()
Gets the reference to qualityFlag 's DAO. |
protected abstract ClusterPhoto |
handleAddOrUpdateClusterPhoto(ClusterPhoto clusterPhoto)
Performs the core logic for addOrUpdateClusterPhoto(fr.ifremer.allegro.data.measure.photo.generic.cluster.ClusterPhoto) |
protected abstract RemotePhotoFullVO |
handleAddPhoto(RemotePhotoFullVO photo)
Performs the core logic for addPhoto(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO) |
protected abstract ClusterPhoto[] |
handleGetAllClusterPhotoSinceDateSynchro(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 getAllClusterPhotoSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer) |
protected abstract RemotePhotoFullVO[] |
handleGetAllPhoto()
Performs the core logic for getAllPhoto() |
protected abstract ClusterPhoto |
handleGetClusterPhotoByIdentifiers(java.lang.Integer id)
Performs the core logic for getClusterPhotoByIdentifiers(java.lang.Integer) |
protected abstract RemotePhotoFullVO[] |
handleGetPhotoByDepartmentId(java.lang.Integer id)
Performs the core logic for getPhotoByDepartmentId(java.lang.Integer) |
protected abstract RemotePhotoFullVO |
handleGetPhotoById(java.lang.Integer id)
Performs the core logic for getPhotoById(java.lang.Integer) |
protected abstract RemotePhotoFullVO[] |
handleGetPhotoByIds(java.lang.Integer[] id)
Performs the core logic for getPhotoByIds(java.lang.Integer[]) |
protected abstract RemotePhotoFullVO |
handleGetPhotoByNaturalId(RemotePhotoNaturalId photoNaturalId)
Performs the core logic for getPhotoByNaturalId(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoNaturalId) |
protected abstract RemotePhotoFullVO[] |
handleGetPhotoByObjectTypeCode(java.lang.String code)
Performs the core logic for getPhotoByObjectTypeCode(java.lang.String) |
protected abstract RemotePhotoFullVO[] |
handleGetPhotoByPhotoTypeCode(java.lang.String code)
Performs the core logic for getPhotoByPhotoTypeCode(java.lang.String) |
protected abstract RemotePhotoFullVO[] |
handleGetPhotoByQualityFlagCode(java.lang.String code)
Performs the core logic for getPhotoByQualityFlagCode(java.lang.String) |
protected abstract RemotePhotoNaturalId |
handleGetPhotoNaturalIdById(java.lang.Integer id)
Performs the core logic for getPhotoNaturalIdById(java.lang.Integer) |
protected abstract RemotePhotoNaturalId[] |
handleGetPhotoNaturalIds()
Performs the core logic for getPhotoNaturalIds() |
protected abstract boolean |
handleRemotePhotoFullVOsAreEqual(RemotePhotoFullVO remotePhotoFullVOFirst,
RemotePhotoFullVO remotePhotoFullVOSecond)
Performs the core logic for remotePhotoFullVOsAreEqual(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO, fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO) |
protected abstract boolean |
handleRemotePhotoFullVOsAreEqualOnIdentifiers(RemotePhotoFullVO remotePhotoFullVOFirst,
RemotePhotoFullVO remotePhotoFullVOSecond)
Performs the core logic for remotePhotoFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO, fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO) |
protected abstract void |
handleRemovePhoto(RemotePhotoFullVO photo)
Performs the core logic for removePhoto(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO) |
protected abstract void |
handleUpdatePhoto(RemotePhotoFullVO photo)
Performs the core logic for updatePhoto(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO) |
boolean |
remotePhotoFullVOsAreEqual(RemotePhotoFullVO remotePhotoFullVOFirst,
RemotePhotoFullVO remotePhotoFullVOSecond)
|
boolean |
remotePhotoFullVOsAreEqualOnIdentifiers(RemotePhotoFullVO remotePhotoFullVOFirst,
RemotePhotoFullVO remotePhotoFullVOSecond)
|
void |
removePhoto(RemotePhotoFullVO photo)
|
void |
setDepartmentDao(DepartmentDao departmentDao)
Sets the reference to department 's DAO. |
void |
setObjectTypeDao(ObjectTypeDao objectTypeDao)
Sets the reference to objectType 's DAO. |
void |
setPhotoDao(PhotoDao photoDao)
Sets the reference to photo 's DAO. |
void |
setPhotoTypeDao(PhotoTypeDao photoTypeDao)
Sets the reference to photoType 's DAO. |
void |
setQualityFlagDao(QualityFlagDao qualityFlagDao)
Sets the reference to qualityFlag 's DAO. |
void |
updatePhoto(RemotePhotoFullVO photo)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemotePhotoFullServiceBase()
Method Detail |
---|
public void setPhotoDao(PhotoDao photoDao)
photo
's DAO.
protected PhotoDao getPhotoDao()
photo
's DAO.
public void setDepartmentDao(DepartmentDao departmentDao)
department
's DAO.
protected DepartmentDao getDepartmentDao()
department
's DAO.
public void setPhotoTypeDao(PhotoTypeDao photoTypeDao)
photoType
's DAO.
protected PhotoTypeDao getPhotoTypeDao()
photoType
's DAO.
public void setObjectTypeDao(ObjectTypeDao objectTypeDao)
objectType
's DAO.
protected ObjectTypeDao getObjectTypeDao()
objectType
's DAO.
public void setQualityFlagDao(QualityFlagDao qualityFlagDao)
qualityFlag
's DAO.
protected QualityFlagDao getQualityFlagDao()
qualityFlag
's DAO.
public RemotePhotoFullVO addPhoto(RemotePhotoFullVO photo)
addPhoto
in interface RemotePhotoFullService
RemotePhotoFullService.addPhoto(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO)
protected abstract RemotePhotoFullVO handleAddPhoto(RemotePhotoFullVO photo) throws java.lang.Exception
addPhoto(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO)
java.lang.Exception
public void updatePhoto(RemotePhotoFullVO photo)
updatePhoto
in interface RemotePhotoFullService
RemotePhotoFullService.updatePhoto(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO)
protected abstract void handleUpdatePhoto(RemotePhotoFullVO photo) throws java.lang.Exception
updatePhoto(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO)
java.lang.Exception
public void removePhoto(RemotePhotoFullVO photo)
removePhoto
in interface RemotePhotoFullService
RemotePhotoFullService.removePhoto(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO)
protected abstract void handleRemovePhoto(RemotePhotoFullVO photo) throws java.lang.Exception
removePhoto(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO)
java.lang.Exception
public RemotePhotoFullVO[] getAllPhoto()
getAllPhoto
in interface RemotePhotoFullService
RemotePhotoFullService.getAllPhoto()
protected abstract RemotePhotoFullVO[] handleGetAllPhoto() throws java.lang.Exception
getAllPhoto()
java.lang.Exception
public RemotePhotoFullVO getPhotoById(java.lang.Integer id)
getPhotoById
in interface RemotePhotoFullService
RemotePhotoFullService.getPhotoById(java.lang.Integer)
protected abstract RemotePhotoFullVO handleGetPhotoById(java.lang.Integer id) throws java.lang.Exception
getPhotoById(java.lang.Integer)
java.lang.Exception
public RemotePhotoFullVO[] getPhotoByIds(java.lang.Integer[] id)
getPhotoByIds
in interface RemotePhotoFullService
RemotePhotoFullService.getPhotoByIds(java.lang.Integer[])
protected abstract RemotePhotoFullVO[] handleGetPhotoByIds(java.lang.Integer[] id) throws java.lang.Exception
getPhotoByIds(java.lang.Integer[])
java.lang.Exception
public RemotePhotoFullVO[] getPhotoByDepartmentId(java.lang.Integer id)
getPhotoByDepartmentId
in interface RemotePhotoFullService
RemotePhotoFullService.getPhotoByDepartmentId(java.lang.Integer)
protected abstract RemotePhotoFullVO[] handleGetPhotoByDepartmentId(java.lang.Integer id) throws java.lang.Exception
getPhotoByDepartmentId(java.lang.Integer)
java.lang.Exception
public RemotePhotoFullVO[] getPhotoByPhotoTypeCode(java.lang.String code)
getPhotoByPhotoTypeCode
in interface RemotePhotoFullService
RemotePhotoFullService.getPhotoByPhotoTypeCode(java.lang.String)
protected abstract RemotePhotoFullVO[] handleGetPhotoByPhotoTypeCode(java.lang.String code) throws java.lang.Exception
getPhotoByPhotoTypeCode(java.lang.String)
java.lang.Exception
public RemotePhotoFullVO[] getPhotoByObjectTypeCode(java.lang.String code)
getPhotoByObjectTypeCode
in interface RemotePhotoFullService
RemotePhotoFullService.getPhotoByObjectTypeCode(java.lang.String)
protected abstract RemotePhotoFullVO[] handleGetPhotoByObjectTypeCode(java.lang.String code) throws java.lang.Exception
getPhotoByObjectTypeCode(java.lang.String)
java.lang.Exception
public RemotePhotoFullVO[] getPhotoByQualityFlagCode(java.lang.String code)
getPhotoByQualityFlagCode
in interface RemotePhotoFullService
RemotePhotoFullService.getPhotoByQualityFlagCode(java.lang.String)
protected abstract RemotePhotoFullVO[] handleGetPhotoByQualityFlagCode(java.lang.String code) throws java.lang.Exception
getPhotoByQualityFlagCode(java.lang.String)
java.lang.Exception
public boolean remotePhotoFullVOsAreEqualOnIdentifiers(RemotePhotoFullVO remotePhotoFullVOFirst, RemotePhotoFullVO remotePhotoFullVOSecond)
remotePhotoFullVOsAreEqualOnIdentifiers
in interface RemotePhotoFullService
RemotePhotoFullService.remotePhotoFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO, fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO)
protected abstract boolean handleRemotePhotoFullVOsAreEqualOnIdentifiers(RemotePhotoFullVO remotePhotoFullVOFirst, RemotePhotoFullVO remotePhotoFullVOSecond) throws java.lang.Exception
remotePhotoFullVOsAreEqualOnIdentifiers(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO, fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO)
java.lang.Exception
public boolean remotePhotoFullVOsAreEqual(RemotePhotoFullVO remotePhotoFullVOFirst, RemotePhotoFullVO remotePhotoFullVOSecond)
remotePhotoFullVOsAreEqual
in interface RemotePhotoFullService
RemotePhotoFullService.remotePhotoFullVOsAreEqual(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO, fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO)
protected abstract boolean handleRemotePhotoFullVOsAreEqual(RemotePhotoFullVO remotePhotoFullVOFirst, RemotePhotoFullVO remotePhotoFullVOSecond) throws java.lang.Exception
remotePhotoFullVOsAreEqual(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO, fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoFullVO)
java.lang.Exception
public RemotePhotoNaturalId[] getPhotoNaturalIds()
getPhotoNaturalIds
in interface RemotePhotoFullService
RemotePhotoFullService.getPhotoNaturalIds()
protected abstract RemotePhotoNaturalId[] handleGetPhotoNaturalIds() throws java.lang.Exception
getPhotoNaturalIds()
java.lang.Exception
public RemotePhotoFullVO getPhotoByNaturalId(RemotePhotoNaturalId photoNaturalId)
getPhotoByNaturalId
in interface RemotePhotoFullService
RemotePhotoFullService.getPhotoByNaturalId(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoNaturalId)
protected abstract RemotePhotoFullVO handleGetPhotoByNaturalId(RemotePhotoNaturalId photoNaturalId) throws java.lang.Exception
getPhotoByNaturalId(fr.ifremer.allegro.data.measure.photo.generic.vo.RemotePhotoNaturalId)
java.lang.Exception
public RemotePhotoNaturalId getPhotoNaturalIdById(java.lang.Integer id)
getPhotoNaturalIdById
in interface RemotePhotoFullService
RemotePhotoFullService.getPhotoNaturalIdById(java.lang.Integer)
protected abstract RemotePhotoNaturalId handleGetPhotoNaturalIdById(java.lang.Integer id) throws java.lang.Exception
getPhotoNaturalIdById(java.lang.Integer)
java.lang.Exception
public ClusterPhoto addOrUpdateClusterPhoto(ClusterPhoto clusterPhoto)
addOrUpdateClusterPhoto
in interface RemotePhotoFullService
RemotePhotoFullService.addOrUpdateClusterPhoto(fr.ifremer.allegro.data.measure.photo.generic.cluster.ClusterPhoto)
protected abstract ClusterPhoto handleAddOrUpdateClusterPhoto(ClusterPhoto clusterPhoto) throws java.lang.Exception
addOrUpdateClusterPhoto(fr.ifremer.allegro.data.measure.photo.generic.cluster.ClusterPhoto)
java.lang.Exception
public ClusterPhoto[] getAllClusterPhotoSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
getAllClusterPhotoSinceDateSynchro
in interface RemotePhotoFullService
RemotePhotoFullService.getAllClusterPhotoSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
protected abstract ClusterPhoto[] handleGetAllClusterPhotoSinceDateSynchro(java.sql.Timestamp synchronizationTimestamp, java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize) throws java.lang.Exception
getAllClusterPhotoSinceDateSynchro(java.sql.Timestamp, java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
java.lang.Exception
public ClusterPhoto getClusterPhotoByIdentifiers(java.lang.Integer id)
getClusterPhotoByIdentifiers
in interface RemotePhotoFullService
RemotePhotoFullService.getClusterPhotoByIdentifiers(java.lang.Integer)
protected abstract ClusterPhoto handleGetClusterPhotoByIdentifiers(java.lang.Integer id) throws java.lang.Exception
getClusterPhotoByIdentifiers(java.lang.Integer)
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 |