Class AbstractSimpleDocumentResource

    • Constructor Detail

      • AbstractSimpleDocumentResource

        public AbstractSimpleDocumentResource()
    • 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.
      • getBundleLocation

        protected String getBundleLocation()
        Description copied from class: RESTWebService
        Gets the location of the bundle to use.
        Overrides:
        getBundleLocation in class RESTWebService
        Returns:
        the classpath location of the localization bundle used by this Web service.
      • checkUploadedFile

        protected void checkUploadedFile​(File fileToCheck)
        Check the file.
        Parameters:
        fileToCheck -
      • performRuntimeException

        protected void performRuntimeException​(RuntimeException re)
        Manages the runtime errors.
        Parameters:
        re -