Rudy wants to delete a portal page by using the Controller service provider interface (SPI). He
wrote the following code: final Locator locator = cmController.getLocator(); final ContentPage
page = (ContentPage) locator.findByllniqueName(“MyPage”); cmcontroller.delete(page); How can
he use this code to delete the page?
A.
This code alone will delete the page.
B.
There is not a delete method so this code is not valid.
C.
He needs to find the page by URL instead of UniqueName.
D.
He needs to commit the controller to persist the modification.
Explanation: