public abstract class CoselmarWebServiceSupport extends org.debux.webmotion.server.WebMotionController implements CoselmarService
| Constructor and Description |
|---|
CoselmarWebServiceSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected UserWebToken |
checkAuthentication(String authorization) |
void |
commit() |
protected String |
getCleanMail(String email) |
protected CoselmarServicesConfig |
getCoselmarServicesConfig() |
protected CoselmarUserTopiaDao |
getCoselmarUserDao() |
protected DocumentTopiaDao |
getDocumentDao() |
DocumentsWebService |
getDocumentsService() |
protected String |
getFullUserIdFromShort(String shortUserId)
Construct the full id of an user from the random part contained in
UserWebToken. |
protected Locale |
getLocale() |
protected Date |
getNow() |
protected CoselmarPersistenceContext |
getPersistenceContext() |
protected CoselmarServicesContext |
getServicesContext() |
protected <E extends CoselmarService> |
newService(Class<E> serviceClass) |
void |
rollback() |
void |
setServicesContext(CoselmarServicesContext servicesContext) |
getContext, renderAction, renderContent, renderContent, renderDownload, renderDownload, renderError, renderError, renderFailure, renderForward, renderForward, renderJSON, renderJSONP, renderLastPage, renderRedirect, renderStatus, renderStream, renderStream, renderStringTemplate, renderSuccess, renderTemplate, renderURL, renderView, renderXML, setContextable, toMappublic void setServicesContext(CoselmarServicesContext servicesContext)
setServicesContext in interface CoselmarServiceprotected CoselmarServicesContext getServicesContext()
protected Date getNow()
protected CoselmarPersistenceContext getPersistenceContext()
protected CoselmarServicesConfig getCoselmarServicesConfig()
protected Locale getLocale()
public DocumentsWebService getDocumentsService()
protected <E extends CoselmarService> E newService(Class<E> serviceClass)
protected DocumentTopiaDao getDocumentDao()
protected CoselmarUserTopiaDao getCoselmarUserDao()
public void commit()
public void rollback()
protected UserWebToken checkAuthentication(String authorization) throws InvalidCredentialException
InvalidCredentialExceptionprotected String getFullUserIdFromShort(String shortUserId)
UserWebToken.shortUserId - : the short id, corresponding to the random part of the idCopyright © 2014 Ifremer. All rights reserved.