public interface StyleService
StyleRepositoryService
.Style
,
StyleRepositoryService
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllStyleNames() |
Style |
getStyle(String styleName) |
Templates |
getStyleAsTranslet(String styleName)
Gets a compiled version of the style with the given name.
|
void |
saveStyle(Style data) |
Style getStyle(String styleName)
StyleRepositoryService.getStyle(String)
List<String> getAllStyleNames()
@CacheEvict(value="http://rice.kuali.org/core/v2_0/StyleType", allEntries=true) void saveStyle(Style data)
StyleRepositoryService.saveStyle(Style)
@Cacheable(value="http://rice.kuali.org/core/v2_0/StyleType", key="\'styleName=\' + #p0") Templates getStyleAsTranslet(String styleName) throws TransformerConfigurationException
styleName
- the name of the style for which to retrieve a compiled versionTemplates
instanceTransformerConfigurationException
- if compilation of the stylesheet failsIllegalArgumentException
- if the given styleName is null or blankCopyright © 2005–2016 The Kuali Foundation. All rights reserved.