| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of RequestContext in org.springframework.extensions.surf | 
|---|
| Classes in org.springframework.extensions.surf that implement RequestContext | |
|---|---|
|  class | WrappedRequestContext | 
| Methods in org.springframework.extensions.surf that return RequestContext | |
|---|---|
| static RequestContext | FrameworkUtil.getCurrentRequestContext()Retrieves the request context for the current thread. | 
|  RequestContext | WrappedRequestContext.getOriginalContext() | 
|  RequestContext | RequestContextFactory.newInstance(javax.servlet.ServletRequest request)Produces a new RequestContext instance for a given request. | 
| Methods in org.springframework.extensions.surf with parameters of type RequestContext | |
|---|---|
|  void | PageMapper.execute(RequestContext context,
        javax.servlet.ServletRequest request)Execute the page mapper against the given request and populate into the provided request context instance. | 
|  User | UserFactory.faultUser(RequestContext context,
          javax.servlet.http.HttpServletRequest request)Loads a user from the remote user store and store it into the session. | 
|  User | UserFactory.faultUser(RequestContext context,
          javax.servlet.http.HttpServletRequest request,
          boolean force)Loads a user from the remote user store and stores it into the session. | 
|  User | UserFactory.faultUser(RequestContext context,
          javax.servlet.http.HttpServletRequest request,
          String endpoint)Loads a user from the remote user store and store it into the session. | 
|  User | UserFactory.faultUser(RequestContext context,
          javax.servlet.http.HttpServletRequest request,
          String endpoint,
          boolean force)Loads a user from the remote user store and stores it into the session. | 
| static Connector | FrameworkUtil.getConnector(RequestContext context,
             String endpointId)Creates an authenticated connector to a given endpoint. | 
| static ConnectorSession | FrameworkUtil.getConnectorSession(RequestContext context,
                    String endpointId)Retrieves the Connector Session instance for the current user and given endpoint. | 
| static CredentialVault | FrameworkUtil.getCredentialVault(RequestContext context,
                   String userId)Retrieves the session-bound credential vault for a given user. | 
|  User | UserFactory.loadUser(RequestContext context,
         String userId)Loads a user object from the default endpoint. | 
|  User | UserFactory.loadUser(RequestContext context,
         String userId,
         String endpointId)Loads a user object from the given endpoint. | 
|  String | LinkBuilder.object(RequestContext context,
       String objectId)Constructs a link to a given object. | 
|  String | LinkBuilder.object(RequestContext context,
       String objectId,
       String formatId)Constructs a link to a given object. | 
|  String | LinkBuilder.object(RequestContext context,
       String objectId,
       String formatId,
       Map<String,String> params)Constructs a link to a given object. | 
|  String | LinkBuilder.page(RequestContext context,
     String pageId)Constructs a link to a given page instance. | 
|  String | LinkBuilder.page(RequestContext context,
     String pageId,
     String formatId)Constructs a link to a given page for a given format. | 
|  String | LinkBuilder.page(RequestContext context,
     String pageId,
     String formatId,
     String objectId)Constructs a link to a given page for a given format. | 
|  String | LinkBuilder.page(RequestContext context,
     String pageId,
     String formatId,
     String objectId,
     Map<String,String> params)Constructs a link to a given page for a given format. | 
|  String | LinkBuilder.pageType(RequestContext context,
         String pageTypeId)Constructs a link to a given page type. | 
|  String | LinkBuilder.pageType(RequestContext context,
         String pageTypeId,
         String formatId)Constructs a link to a given page type for a given format. | 
|  String | LinkBuilder.pageType(RequestContext context,
         String pageTypeId,
         String formatId,
         String objectId)Constructs a link to a given page type for a given format. | 
|  String | LinkBuilder.pageType(RequestContext context,
         String pageTypeId,
         String formatId,
         String objectId,
         Map<String,String> params)Constructs a link to a given page type for a given format. | 
| static void | FrameworkUtil.removeConnectorSessions(RequestContext context)Removes all session-bound Connector Sessions for the current user | 
| Constructors in org.springframework.extensions.surf with parameters of type RequestContext | |
|---|---|
| WrappedRequestContext(RequestContext context) | |
| Uses of RequestContext in org.springframework.extensions.surf.mvc | 
|---|
| Methods in org.springframework.extensions.surf.mvc with parameters of type RequestContext | |
|---|---|
|  boolean | VirtualizedResourceController.checkRemoteResourceExists(RequestContext context,
                          javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response,
                          String path,
                          String endpointId,
                          String storeId,
                          String webappId)Checks for the existence of a resource on a remote store | 
| protected static void | PageView.debug(RequestContext context,
      String value)Debug logger helper function. | 
|  void | SystemPageView.setupRequestContext(RequestContext context,
                    Map model)Sets up the request context with page binding information | 
|  void | ErrorHandlerPageView.setupRequestContext(RequestContext context,
                    Map model)Sets up the request context with page binding information | 
|  void | TemplateView.setupRequestContext(RequestContext context,
                    Map model,
                    String templateId)Sets up the request context with page binding information | 
|  void | PageView.setupRequestContext(RequestContext context,
                    Map model,
                    String pageId)Sets up the request context with page binding information | 
| Uses of RequestContext in org.springframework.extensions.surf.render | 
|---|
| Subinterfaces of RequestContext in org.springframework.extensions.surf.render | |
|---|---|
|  interface | RenderContextDefines a render response context | 
| Classes in org.springframework.extensions.surf.render that implement RequestContext | |
|---|---|
|  class | AbstractRenderContextAn abstract base class which developers can use to extend and build their own implementations of render context types. | 
|  class | WrappedRenderContextA render context instance is available to all rendering engines and provides a convenient grab bag of things that are useful to component or template developer. | 
| Methods in org.springframework.extensions.surf.render that return RequestContext | |
|---|---|
|  RequestContext | AbstractRenderContext.getRequestContext() | 
| Methods in org.springframework.extensions.surf.render with parameters of type RequestContext | |
|---|---|
| static Object | RenderUtil.getComponentBindingSourceObject(RequestContext context,
                                Component component)Returns the object to which this component is bound This is the same as calling component.getSourceObject() | 
| static String | RenderUtil.getSourceId(RequestContext context,
            String scopeId)Return the "source" ID for the given scope ID for the supplied context. | 
| static void | RenderUtil.object(RequestContext context,
       javax.servlet.http.HttpServletRequest request,
       javax.servlet.http.HttpServletResponse response,
       String objectId,
       String formatId)/** Renders the fully formed URL string for a link to a given content object | 
| static void | RenderUtil.page(RequestContext context,
     javax.servlet.http.HttpServletRequest request,
     javax.servlet.http.HttpServletResponse response,
     String pageId,
     String formatId,
     String objectId)Renders the fully formed URL string for a link to a given page | 
| static void | RenderUtil.pageType(RequestContext context,
         javax.servlet.http.HttpServletRequest request,
         javax.servlet.http.HttpServletResponse response,
         String pageTypeId,
         String formatId,
         String objectId)Renders the fully formed URL string for a link to a given page type | 
|  RenderContext | RenderContextProvider.provide(RequestContext context,
        javax.servlet.http.HttpServletRequest request,
        javax.servlet.http.HttpServletResponse response)Provides a root RenderContext which wraps the request context and servlet objects The render context is set to the VIEW render mode. | 
| abstract  RenderContext | AbstractRenderContextProvider.provide(RequestContext context,
        javax.servlet.http.HttpServletRequest request,
        javax.servlet.http.HttpServletResponse response) | 
|  RenderContext | RenderContextProvider.provide(RequestContext context,
        javax.servlet.http.HttpServletRequest request,
        javax.servlet.http.HttpServletResponse response,
        RenderMode renderMode)Provides a root RenderContext which wraps the request context and servlet objects | 
|  RenderContext | AbstractRenderContextProvider.provide(RequestContext context,
        javax.servlet.http.HttpServletRequest request,
        javax.servlet.http.HttpServletResponse response,
        RenderMode renderMode) | 
|  RenderContext | RenderService.provideRenderContext(RequestContext context,
                     javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)Provides a new render context bound to the given model object This will use the VIEW render mode | 
|  RenderContext | RenderService.provideRenderContext(RequestContext context,
                     javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     RenderMode renderMode)Provides a new render context bound to the given model object | 
| static String | RenderUtil.renderLinkImport(RequestContext context,
                 String href)Renders an HTML stylesheet tag. | 
| static String | RenderUtil.renderLinkImport(RequestContext context,
                 String href,
                 String id)Renders an HTML stylesheet tag. | 
| static String | RenderUtil.renderScriptImport(RequestContext context,
                   String src)Renders an HTML tag to the output stream | 
| Constructors in org.springframework.extensions.surf.render with parameters of type RequestContext | |
|---|---|
| AbstractRenderContext(RenderContextProvider provider,
                      RequestContext requestContext)Constructor | |
| Uses of RequestContext in org.springframework.extensions.surf.render.bean | 
|---|
| Classes in org.springframework.extensions.surf.render.bean that implement RequestContext | |
|---|---|
|  class | DefaultRenderContextA render context instance is available to all rendering engines and provides a convenient grab bag of things that are useful to component or template developer. | 
| Methods in org.springframework.extensions.surf.render.bean with parameters of type RequestContext | |
|---|---|
|  String | WebStudioComponentRenderer.getComponentTitle(RequestContext context,
                  Component c) | 
|  String | WebStudioComponentRenderer.getComponentTypeTitle(RequestContext context,
                      Component c) | 
|  RenderContext | DefaultRenderContextProvider.provide(RequestContext requestContext,
        javax.servlet.http.HttpServletRequest request,
        javax.servlet.http.HttpServletResponse response) | 
| Constructors in org.springframework.extensions.surf.render.bean with parameters of type RequestContext | |
|---|---|
| DefaultRenderContext(RenderContextProvider provider,
                     RequestContext context)Constructor | |
| Uses of RequestContext in org.springframework.extensions.surf.site | 
|---|
| Methods in org.springframework.extensions.surf.site with parameters of type RequestContext | |
|---|---|
| static void | ThemeUtil.applyTheme(RequestContext context,
           javax.servlet.http.HttpServletRequest request)This method is called by the dispatcher servlet to "push" the current theme from the session into the request-scoped RequestContext | 
| static String | URLUtil.browser(RequestContext context,
        String relativeUrl)Converts the web application relative URL to a browser URL | 
| static Theme | ThemeUtil.getCurrentTheme(RequestContext context)Gets the current theme. | 
| static String | ThemeUtil.getCurrentThemeId(RequestContext context)Gets the current theme id. | 
| static Page | SiteUtil.getRootPage(RequestContext context)Returns the root page for the current request context | 
| static Page | SiteUtil.getRootPage(RequestContext context,
            Configuration siteConfiguration)Returns the root page for the given site configuration | 
| static Configuration | SiteUtil.getSiteConfiguration(RequestContext context)Returns the site configuration object to use for the current request. | 
| static void | CacheUtil.invalidateModelObjectServiceCache(RequestContext context)Invalidate model object service object cache. | 
| static void | ThemeUtil.setCurrentThemeId(RequestContext context,
                  String themeId)Sets the current theme. | 
| Uses of RequestContext in org.springframework.extensions.surf.support | 
|---|
| Classes in org.springframework.extensions.surf.support that implement RequestContext | |
|---|---|
|  class | AbstractRequestContextAbstract base class for RequestContext implementations. | 
|  class | DefaultRequestContextDefault implementation of a request context object that extends from AbstractRequestContext and doesn't introduce any overrides. | 
|  class | ThreadLocalRequestContextAn abstract Request Context implementation that is responsible for holding the value of the Request Context for the current thread. | 
| Methods in org.springframework.extensions.surf.support that return RequestContext | |
|---|---|
| static RequestContext | ThreadLocalRequestContext.getRequestContext()Instance getter to return the RequestContext for the current thread | 
|  RequestContext | DefaultRequestContextFactory.newInstance(javax.servlet.ServletRequest request)Produces a new RequestContext instance for a given request. | 
| abstract  RequestContext | AbstractRequestContextFactory.newInstance(javax.servlet.ServletRequest request) | 
| Methods in org.springframework.extensions.surf.support with parameters of type RequestContext | |
|---|---|
| protected  void | AbstractPageMapper.debug(RequestContext context,
      String value)Helper method for debugging | 
|  void | AbstractPageMapper.execute(RequestContext context,
        javax.servlet.ServletRequest request) | 
|  void | DefaultPageMapper.executeMapper(RequestContext context,
              javax.servlet.ServletRequest request) | 
| abstract  void | AbstractPageMapper.executeMapper(RequestContext context,
              javax.servlet.ServletRequest request)Execute mapper. | 
|  User | AbstractUserFactory.faultUser(RequestContext context,
          javax.servlet.http.HttpServletRequest request)Loads a user from the remote user store and store it into the session. | 
|  User | AbstractUserFactory.faultUser(RequestContext context,
          javax.servlet.http.HttpServletRequest request,
          boolean force)Loads a user from the remote user store and stores it into the session. | 
|  User | AbstractUserFactory.faultUser(RequestContext context,
          javax.servlet.http.HttpServletRequest request,
          String endpoint)Loads a user from the remote user store and store it into the session. | 
|  User | AbstractUserFactory.faultUser(RequestContext context,
          javax.servlet.http.HttpServletRequest request,
          String endpoint,
          boolean force)Loads a user from the remote user store and stores it into the session. | 
| protected  User | AbstractUserFactory.getGuestUser(RequestContext context)Retrieve the special "Guest" user instance. | 
|  void | DefaultRequestContextFactory.initModel(RequestContext context,
          javax.servlet.http.HttpServletRequest request)Initializes the model and places it onto the request context | 
|  User | DefaultUserFactory.loadUser(RequestContext context,
         String userId) | 
|  User | AlfrescoUserFactory.loadUser(RequestContext context,
         String userId) | 
| abstract  User | AbstractUserFactory.loadUser(RequestContext context,
         String userId)Load the user from a store | 
|  User | DefaultUserFactory.loadUser(RequestContext context,
         String userId,
         String endpointId) | 
|  User | AlfrescoUserFactory.loadUser(RequestContext context,
         String userId,
         String endpointId) | 
| abstract  User | AbstractUserFactory.loadUser(RequestContext context,
         String userId,
         String endpointId)Load the user from a store | 
|  String | AbstractLinkBuilder.object(RequestContext context,
       String objectId)Constructs a link to a given object. | 
|  String | AbstractLinkBuilder.object(RequestContext context,
       String objectId,
       String formatId)Constructs a link to a given object. | 
|  String | RequestParameterLinkBuilder.object(RequestContext context,
       String objectId,
       String formatId,
       Map<String,String> params) | 
|  String | DefaultLinkBuilder.object(RequestContext context,
       String resourceId,
       String formatId,
       Map<String,String> params) | 
| abstract  String | AbstractLinkBuilder.object(RequestContext context,
       String objectId,
       String formatId,
       Map<String,String> params)Constructs a link to a given object. | 
|  String | AbstractLinkBuilder.page(RequestContext context,
     String pageId)Constructs a link to a given page instance. | 
|  String | AbstractLinkBuilder.page(RequestContext context,
     String pageId,
     String formatId)Constructs a link to a given page for a given format. | 
|  String | AbstractLinkBuilder.page(RequestContext context,
     String pageId,
     String formatId,
     String objectId)Constructs a link to a given page for a given format. | 
|  String | RequestParameterLinkBuilder.page(RequestContext context,
     String pageId,
     String formatId,
     String objectId,
     Map<String,String> params) | 
|  String | DefaultLinkBuilder.page(RequestContext context,
     String pageId,
     String formatId,
     String objectId,
     Map<String,String> params) | 
| abstract  String | AbstractLinkBuilder.page(RequestContext context,
     String pageId,
     String formatId,
     String objectId,
     Map<String,String> params)Constructs a link to a given page for a given format. | 
|  String | AbstractLinkBuilder.pageType(RequestContext context,
         String pageTypeId)Constructs a link to a given page type. | 
|  String | AbstractLinkBuilder.pageType(RequestContext context,
         String pageTypeId,
         String formatId)Constructs a link to a given page type for a given format. | 
|  String | AbstractLinkBuilder.pageType(RequestContext context,
         String pageTypeId,
         String formatId,
         String objectId)Constructs a link to a given page type for a given format. | 
|  String | RequestParameterLinkBuilder.pageType(RequestContext context,
         String pageTypeId,
         String formatId,
         String objectId,
         Map<String,String> params) | 
|  String | DefaultLinkBuilder.pageType(RequestContext context,
         String pageTypeId,
         String formatId,
         String objectId,
         Map<String,String> params) | 
| abstract  String | AbstractLinkBuilder.pageType(RequestContext context,
         String pageTypeId,
         String formatId,
         String objectId,
         Map<String,String> params)Constructs a link to a given page type for a given format. | 
|  void | AbstractPageMapper.postExecute(RequestContext context,
            javax.servlet.ServletRequest request)Handles clean up cases | 
| Uses of RequestContext in org.springframework.extensions.surf.taglib | 
|---|
| Methods in org.springframework.extensions.surf.taglib that return RequestContext | |
|---|---|
| protected  RequestContext | TagBase.getRequestContext()Gets the request context bound to the current request | 
| Methods in org.springframework.extensions.surf.taglib with parameters of type RequestContext | |
|---|---|
| protected  String | AbstractObjectTag.link(RequestContext context,
     String formatId) | 
| protected  String | AbstractObjectTag.link(RequestContext context,
     String pageTypeId,
     String pageId,
     String objectId,
     String formatId) | 
| Uses of RequestContext in org.springframework.extensions.surf.types | 
|---|
| Uses of RequestContext in org.springframework.extensions.surf.util | 
|---|
| Methods in org.springframework.extensions.surf.util with parameters of type RequestContext | |
|---|---|
| static String | WebStudioUtil.getContentEditURL(RequestContext context,
                  String endpointId,
                  String itemRelativePath) | 
| static String | WebUtil.toFullyQualifiedURL(RequestContext context,
                    String uri)Converts a relative URI to a fully qualified URL If the URI is already fully qualified, it is simply returned | 
| Uses of RequestContext in org.springframework.extensions.webscripts | 
|---|
| Fields in org.springframework.extensions.webscripts declared as RequestContext | |
|---|---|
| protected  RequestContext | ScriptWizard.context | 
| protected  RequestContext | ScriptWebStudio.context | 
| protected  RequestContext | ScriptBase.context | 
| Methods in org.springframework.extensions.webscripts that return RequestContext | |
|---|---|
|  RequestContext | ScriptBase.getRequestContext()Gets the request context. | 
| Methods in org.springframework.extensions.webscripts with parameters of type RequestContext | |
|---|---|
| static ScriptModelObject | ScriptHelper.getObject(RequestContext context,
          String objectTypeId,
          String objectId)Retrieves a model object from the underlying store and hands it back wrapped as a ScriptModelObject. | 
|  String | ScriptLinkBuilder.page(RequestContext context,
     String pageId,
     String formatId,
     String objectId,
     Map<String,String> params)Constructs a link to a given page for a given format. | 
| static ScriptableMap | ScriptHelper.toScriptableMap(RequestContext context,
                Map<String,ModelObject> objects)Creates a Scriptable Map for a given map of model objects | 
| static ScriptableMap | ScriptHelper.toScriptableMap(RequestContext context,
                ModelObject[] modelObjects)Creates a Scriptable Map for a given array of model objects | 
| static ScriptModelObject | ScriptHelper.toScriptModelObject(RequestContext context,
                    ModelObject modelObject)Wraps a ModelObject with a script wrapper to produce a ScriptModelObject that can be used by the script and Freemarker engines. | 
| static Object[] | ScriptHelper.toScriptModelObjectArray(RequestContext context,
                         Map<String,ModelObject> objects)Converts a map of model objects to an array of ScriptModelObjects which can be used by the script and Freemarker engines. | 
| static Object[] | ScriptHelper.toScriptModelObjectArray(RequestContext context,
                         ModelObject[] modelObjects)Converts an array of ModelObjects to an array of ScriptModelObjects which can be used by the script and Freemarker engines. | 
| Constructors in org.springframework.extensions.webscripts with parameters of type RequestContext | |
|---|---|
| ScriptBase(RequestContext context)Instantiates a new web framework script base | |
| ScriptImporter(RequestContext context)Constructs a new ScriptImporter object. | |
| ScriptLinkBuilder(RequestContext context)Constructs a new ScriptLinkBuilder object. | |
| ScriptModelObject(RequestContext context,
                  ModelObject modelObject)Instantiates a new script model object. | |
| ScriptResource(RequestContext context,
               Resource resource) | |
| ScriptResourceContent(RequestContext context,
                      ScriptResource resource,
                      ResourceContent resourceContent) | |
| ScriptResources(RequestContext context,
                ModelObject modelObject)Instantiates a new resources object | |
| ScriptSiteData(RequestContext context)Constructs a new ScriptSite object around the provided request context | |
| ScriptUser(RequestContext context,
           User user)Instantiates a new ScriptUser object which wraps a given request context and framework user object. | |
| ScriptWebStudio(RequestContext context) | |
| ScriptWizard(RequestContext context) | |
| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||