Class ImageStyleScriptService

  • All Implemented Interfaces:
    org.xwiki.script.service.ScriptService

    @Component
    @Unstable
    @Singleton
    @Named("imageStyle")
    public class ImageStyleScriptService
    extends Object
    implements org.xwiki.script.service.ScriptService
    Provides the script service operations for the image styles. In particular, it provides helpers to generate the REST endpoint URLs.
    Since:
    14.3RC1
    Version:
    $Id: 7865b671ee5d19a094458d894cf9cd8e3a68452e $
    • Constructor Detail

      • ImageStyleScriptService

        public ImageStyleScriptService()
    • Method Detail

      • getDefaultImageStyleRestPath

        public String getDefaultImageStyleRestPath()
        Returns:
        the image styles rest endpoint path
      • getImageStylesRestPath

        public String getImageStylesRestPath()
        Returns:
        the default image style rest endpoint path