Class AbstractAttachmentResource

    • Field Detail

      • componentId

        @PathParam("componentId")
        protected String componentId
    • Constructor Detail

      • AbstractAttachmentResource

        public AbstractAttachmentResource()
    • Method Detail

      • getComponentId

        public String getComponentId()
        Description copied from interface: SilverpeasWebResource
        Gets the identifier of the component instance to which the requested resource belongs to.
        Returns:
        the identifier of the Silverpeas component instance.
      • getFileContent

        protected javax.ws.rs.core.Response getFileContent​(String attachmentId)
      • isFileReadable

        protected abstract boolean isFileReadable​(SimpleDocument attachment)