Package org.apache.jetspeed.ajax

Examples of org.apache.jetspeed.ajax.AJAXException


                    }
                }
            }
            if (page == null)
            {
                throw new AJAXException("Missing current page or 'path' parameter");
            }
           
            if (method.equals("info"))
            {
                count = updateInformation(requestContext, resultMap, page, path);
View Full Code Here


                page.setHidden(!page.isHidden());                                   
            count++;
        }
        catch (Exception e)
        {
            throw new AJAXException(e);
        }       
        return count;
    }
View Full Code Here

     
      boolean duplicateFound = isDuplicateFragment(page.getRootFragment(), portletId);
     
      // Throw an exception if a duplicate is found
      if(duplicateFound == true) {
        throw new AJAXException(portletId + " is already on the page, duplicates are not allowed");
      }
    }
View Full Code Here

                return success;
            }          
            int count = 0;
            String path = getActionParameter(requestContext, "path");
            if (path == null)
                throw new AJAXException("Missing 'path' parameter");            
            Folder folder = null;
            if (!method.equals("add"))
            {
                folder = pageManager.getFolder(path);
            }      
View Full Code Here

                folder.setHidden(!folder.isHidden());                                   
            count++;
        }
        catch (Exception e)
        {
            throw new AJAXException(e);
        }       
        return count;
    }
View Full Code Here

        {
            iMoveType = CARTESIAN;
        }
        else
        {
            throw new AJAXException("invalid move type of:" + p_sMoveType);
        }
    }
View Full Code Here

//            {
//                page = retrievePage( requestContext, pageName );
//            }
            if (page == null)
            {
                throw new AJAXException("Missing current page or '" + PAGE + "' parameter");
            }           
            resultMap.put( STATUS, status );
            resultMap.put( PAGE, page );
           
            Theme theme = (Theme)requestContext.getAttribute( PortalReservedParameters.PAGE_THEME_ATTRIBUTE );
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.ajax.AJAXException

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.