Examples of moveNode()


Examples of org.jasig.portal.layout.IUserLayoutManager.moveNode()

    } else if (ulm.getRootFolderId().equals(
      // if the target is a column type node, we need to just move the portlet
      // to the end of the column
      ulm.getParentId(ulm.getParentId(destinationId)))) {
      ulm.moveNode(sourceId, destinationId, null);

    } else {
      // If we're moving this element before another one, we need
      // to know what the target is. If there's no target, just
      // assume we're moving it to the very end of the column.
View Full Code Here

Examples of org.jasig.portal.layout.IUserLayoutManager.moveNode()

      String siblingId = null;
      if (method.equals("insertBefore"))
        siblingId = destinationId;

      // move the node as requested and save the layout
      ulm.moveNode(sourceId, ulm.getParentId(destinationId), siblingId);
    }

    try {
      // save the user's layout
            ulm.saveUserLayout();
View Full Code Here

Examples of org.jasig.portal.layout.IUserLayoutManager.moveNode()

    if ("insertBefore".equals(method))
      siblingId = destinationId;

        try {
            // move the node as requested and save the layout
            ulm.moveNode(sourceId, ulm.getParentId(destinationId), siblingId);
            ulm.saveUserLayout();
    } catch (Exception e) {
      log.warn("Failed to move tab in user layout", e);
      response.sendError(HttpServletResponse.SC_BAD_REQUEST);
            return new ModelAndView("jsonView",
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.