public abstract class JahiaRemoteService extends Object implements com.google.gwt.user.client.rpc.RemoteService, org.springframework.web.context.ServletContextAware, RequestResponseAware
| Constructor and Description |
|---|
JahiaRemoteService() |
| Modifier and Type | Method and Description |
|---|---|
protected Locale |
getLocale()
Get current locale
|
protected JahiaUser |
getRemoteJahiaUser()
Get remote jahiaUser
|
protected JCRUserNode |
getRemoteJahiaUserNode() |
protected String |
getRemoteUser()
Get remote user
|
javax.servlet.http.HttpServletRequest |
getRequest() |
javax.servlet.http.HttpServletResponse |
getResponse() |
javax.servlet.ServletContext |
getServletContext() |
protected javax.servlet.http.HttpSession |
getSession() |
protected JCRSiteNode |
getSite()
Get site
|
protected Locale |
getUILocale()
Get current UI locale
|
protected String |
getWorkspace()
Get workspace
|
protected JCRSessionWrapper |
retrieveCurrentSession()
Retrieve current session
|
protected JCRSessionWrapper |
retrieveCurrentSession(Locale locale)
Retrieve current session by locale
|
protected JCRSessionWrapper |
retrieveCurrentSession(String workspace,
Locale locale,
boolean useSiteFallbackLanguage)
Retrieve current session by workspace
|
void |
setRequest(javax.servlet.http.HttpServletRequest request)
Is invoked by the
GWTController to propagate the request object
to the invoked GWT service instance. |
void |
setResponse(javax.servlet.http.HttpServletResponse response)
Is invoked by the
GWTController to propagate the response object
to the invoked GWT service instance. |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
protected JCRSessionWrapper retrieveCurrentSession() throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionprotected JCRSessionWrapper retrieveCurrentSession(Locale locale) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
locale - org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionprotected JCRSessionWrapper retrieveCurrentSession(String workspace, Locale locale, boolean useSiteFallbackLanguage) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionprotected Locale getLocale()
protected JCRSiteNode getSite()
protected String getWorkspace()
protected Locale getUILocale() throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionprotected JahiaUser getRemoteJahiaUser()
protected JCRUserNode getRemoteJahiaUserNode()
protected String getRemoteUser()
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public javax.servlet.ServletContext getServletContext()
public void setRequest(javax.servlet.http.HttpServletRequest request)
RequestResponseAwareGWTController to propagate the request object
to the invoked GWT service instance.setRequest in interface RequestResponseAwarerequest - current request objectpublic void setResponse(javax.servlet.http.HttpServletResponse response)
RequestResponseAwareGWTController to propagate the response object
to the invoked GWT service instance.setResponse in interface RequestResponseAwareresponse - current response objectpublic void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext in interface org.springframework.web.context.ServletContextAwareprotected javax.servlet.http.HttpSession getSession()
throws org.jahia.ajax.gwt.client.core.SessionExpirationException
org.jahia.ajax.gwt.client.core.SessionExpirationExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.