Portal, Express Beta Version 6.1
Operating systems: i5/OS, Linux,Windows |
To delete nodes, use the delete() method of the controller.
To delete a node, proceed by the following steps:
// obtain locator of ContentModelController final Locator locator = cmController.getLocator(); // locate page to delete final ContentPage page = (ContentPage) locator.findByUniqueName("MyPage"); // delete the page cmController.delete(page); // commit the controller cmController.commit();Parent topic: Modifying portal resources and topologies Related information