Package org.jasig.portal

Examples of org.jasig.portal.UPFileSpec


          rd.put(pName, val);
        }
      }

      try {
          rd.setUPFile(new UPFileSpec(null,UPFileSpec.RENDER_METHOD,"servletRoot","singlet",null));
      } catch (PortalException pe) {
        LOG.error("unable to construct a UPFile !",pe);
      }
     
      if (channel instanceof IPrivilegedChannel) {
View Full Code Here


     */
    public static void redirect(HttpServletRequest req, HttpServletResponse res,
        String targetNodeId, boolean asRoot, String[] ignoreParams,
        String charset)
    throws PortalException {
        String extras = new UPFileSpec(req).getUPFileExtras();
        UPFileSpec uPFileSpec = buildUPFileSpec(targetNodeId, extras, asRoot);

        // only handles get methods at this time
        redirectGet(req, res, uPFileSpec, ignoreParams);
   
        // Determine if this is an HTTP GET or POST request
View Full Code Here

     * @return A generic UPFileSpec object.
     */
    private static UPFileSpec buildUPFileSpec (String targetNodeId,
        String extras, boolean asRoot)
    throws PortalException {
        UPFileSpec up = null;

        if (asRoot) {
            up = new UPFileSpec(PortalSessionManager.IDEMPOTENT_URL_TAG,
                UPFileSpec.RENDER_METHOD, targetNodeId, null, extras);
        } else {
            up = new UPFileSpec(PortalSessionManager.IDEMPOTENT_URL_TAG,
                UPFileSpec.RENDER_METHOD, UserInstance.USER_LAYOUT_ROOT_NODE,
                targetNodeId, extras);
        }
   
        return up;
View Full Code Here

TOP

Related Classes of org.jasig.portal.UPFileSpec

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.