org.silverpeas.publication.web
Class PublicationResource
java.lang.Object
com.silverpeas.web.RESTWebService
org.silverpeas.publication.web.AbstractPublicationResource
org.silverpeas.publication.web.PublicationResource
@Service
@RequestScoped
@Authorized
public class PublicationResource
- extends AbstractPublicationResource
A REST Web resource providing access to publications through private 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 |
PublicationResource
public PublicationResource()
getPublications
public List<PublicationEntity> getPublications(String nodeId,
boolean withAttachments)
- Description copied from class:
AbstractPublicationResource
- Gets the nodes that are children of a parent node.
- Overrides:
getPublications
in class AbstractPublicationResource
- Parameters:
nodeId
- The ID of the parent node.withAttachments
- Indicated whether attachments related to publications are required.
- Returns:
- An array of the nodes whose parent is the node matching the specified ID.
isNodeReadable
protected boolean isNodeReadable(NodePK nodePK)
- Specified by:
isNodeReadable
in class AbstractPublicationResource
identifiedBy
protected URI identifiedBy(URI uri)
Copyright © 2016 Silverpeas. All Rights Reserved.