Package io.meeds.layout.service
Class NavigationLayoutService
java.lang.Object
io.meeds.layout.service.NavigationLayoutService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.portal.mop.navigation.NodeDatacreateDraftNode(Long nodeId, String username) org.exoplatform.portal.mop.navigation.NodeDatacreateNode(NavigationCreateModel nodeModel, String username) voiddeleteNode(long nodeId) voiddeleteNode(long nodeId, long delay, String username) org.exoplatform.portal.mop.navigation.NodeDatagetNodeLabels(long nodeId, String username) getNodeUri(long nodeId, String username) getNodeUri(org.exoplatform.portal.mop.navigation.NodeData node) voidtoNodeLabel(Map<Locale, org.exoplatform.portal.mop.State> nodeLabels) voidundoDeleteNode(long nodeId, String username) voidupdateNode(long nodeId, NavigationUpdateModel nodeModel, String username)
-
Constructor Details
-
NavigationLayoutService
public NavigationLayoutService()
-
-
Method Details
-
createDraftNode
public org.exoplatform.portal.mop.navigation.NodeData createDraftNode(Long nodeId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
deleteNode
public void deleteNode(long nodeId, long delay, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
undoDeleteNode
public void undoDeleteNode(long nodeId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundException
-
moveNode
public void moveNode(long nodeId, Long destinationParentId, Long previousNodeId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
getNode
public org.exoplatform.portal.mop.navigation.NodeData getNode(long nodeId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
getNodeLabels
public NodeLabel getNodeLabels(long nodeId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
getNodeUri
public String getNodeUri(long nodeId, String username) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
IllegalAccessExceptionorg.exoplatform.commons.exception.ObjectNotFoundException
-
deleteNode
public void deleteNode(long nodeId) -
toNodeLabel