Package org.xwiki.image.style
Interface ImageStyleConfiguration
-
@Role @Unstable public interface ImageStyleConfiguration
Give access to the image style configuration.- Since:
- 14.3RC1
- Version:
- $Id: f4b282bb75b2f377504226532a190d1cf1c02659 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDefaultStyle(String wikiName, String documentReference)
Resolve the default style for a given wiki and, optionally a given document.
-
-
-
Method Detail
-
getDefaultStyle
String getDefaultStyle(String wikiName, String documentReference) throws ImageStyleException
Resolve the default style for a given wiki and, optionally a given document.- Parameters:
wikiName
- the name of the wiki (e.g., "xwiki")documentReference
- the reference of the document for which we want to get the default style, ignored whennull
- Returns:
- the identifier of the default image style (the empty string by default, i.e. no default image style)
- Throws:
ImageStyleException
-
-