Package org.rhq.enterprise.gui.legacy.beans

Examples of org.rhq.enterprise.gui.legacy.beans.ReturnPath


        if ((stack == null) || stack.isEmpty()) {
            return null;
        }

        ReturnPath returnPath = (ReturnPath) stack.getFirst();

        return returnPath.getPath();
    }
View Full Code Here


     * @param ignore
     */
    public static void setReturnPath(HttpSession session, String path, Boolean ignore) {
        LinkedList stack = (LinkedList) session.getAttribute(AttrConstants.RETURN_LOC_SES_ATTR);

        ReturnPath returnPath = new ReturnPath();

        if (stack == null) {
            stack = new LinkedList();
        }

        returnPath.setPath(path);
        returnPath.setIgnore(ignore);

        stack.addFirst(returnPath);

        // don't let it grow too large.
        if (stack.size() > RETURN_STACK_MAX_SIZE) {
View Full Code Here

        if ((stack == null) || stack.isEmpty()) {
            return Boolean.FALSE;
        }

        ReturnPath returnPath = (ReturnPath) stack.getFirst();

        if (returnPath == null) {
            return Boolean.FALSE;
        }

        return returnPath.getIgnore();
    }
View Full Code Here

     *
     * @param session the http session
     */
    public static void unsetReturnPathIgnoredForOk(HttpSession session) {
        LinkedList stack = (LinkedList) session.getAttribute(AttrConstants.RETURN_LOC_SES_ATTR);
        ReturnPath returnPath = (ReturnPath) stack.getFirst();
        returnPath.setIgnore(Boolean.TRUE);
    }
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.gui.legacy.beans.ReturnPath

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.