Package org.olat.ims.cp

Examples of org.olat.ims.cp.CPManager.moveElement()


   * @return returns true, if move was successfull
   */
  private boolean movePage(MoveTreeNodeEvent event) {
    CPManager cpMgm = CPManager.getInstance();
    String movedNodeId = event.getNodeId();
    cpMgm.moveElement(cp, movedNodeId, event.getNewParentNodeId(), event.getPosition());
    cpMgm.writeToFile(cp);
    selectTreeNodeById(movedNodeId);
    return true;
  }

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.