public abstract class CoselmarWebServiceSupport extends org.debux.webmotion.server.WebMotionController implements CoselmarService
| Constructor and Description |
|---|
CoselmarWebServiceSupport() |
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()
protected CoselmarUserGroupTopiaDao getCoselmarUserGroupDao()
protected QuestionTopiaDao getQuestionDao()
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 idprotected String getFullIdFromShort(Class clazz, String shortId)
clazz - : the entity class, we want full id (use to compose the id)shortId - : the short id, corresponding to the random part of the idCopyright © 2014–2015 Ifremer. All rights reserved.