org.silverpeas.node.web
Class SharedNodeResource
java.lang.Object
com.silverpeas.web.RESTWebService
org.silverpeas.node.web.AbstractNodeResource
org.silverpeas.node.web.SharedNodeResource
@Service
@RequestScoped
public class SharedNodeResource
- extends AbstractNodeResource
A REST Web resource providing access to a node through sharing mode.
Methods inherited from class com.silverpeas.web.RESTWebService |
getBundle, getBundleLocation, getGreaterUserRole, getHttpRequest, getHttpServletRequest, getHttpServletResponse, getOrganisationController, getUriInfo, getUserDetail, getUserPreferences, getUserRoles, process, validateUserAuthentication, validateUserAuthorization |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedNodeResource
public SharedNodeResource()
getRoot
public NodeEntity getRoot()
- Description copied from class:
AbstractNodeResource
- Get the root of the application and its children. As this service works only in non
authenticated mode for the moment, children do not contain special nodes.
- Overrides:
getRoot
in class AbstractNodeResource
- Returns:
- the application root and its children
getNode
public NodeEntity getNode(String path)
- Description copied from class:
AbstractNodeResource
- Get any node of the application and its children.
- Overrides:
getNode
in class AbstractNodeResource
- Returns:
- NodeEntity representing asking node
getChildren
public NodeEntity[] getChildren(String path)
- Get all children of any node of the application.
- Overrides:
getChildren
in class AbstractNodeResource
- Returns:
- an array of NodeEntity representing children
isNodeReadable
protected boolean isNodeReadable(NodeDetail node)
- Specified by:
isNodeReadable
in class AbstractNodeResource
Copyright © 2016 Silverpeas. All Rights Reserved.