org.kuali.rice.coreservice.api.style
Interface StyleService
- All Known Implementing Classes: 
- StyleServiceImpl
- public interface StyleService 
Service for working with stylesheets.  This service provides pure data-oriented
 operations as well as operations dealing with pre-compiled stylesheets.  It's
 intended that most clients will interact with this service in lieu of the
 lower-level StyleRepositoryService.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Style,- StyleRepositoryService
 
getStyle
Style getStyle(String styleName)
- 
- See Also:
- StyleRepositoryService.getStyle(String)
 
getAllStyleNames
List<String> getAllStyleNames()
- 
- See Also:
- StyleRepositoryService.getAllStyleNames()
 
saveStyle
void saveStyle(Style data)
- 
- See Also:
- StyleRepositoryService.saveStyle(Style)
 
getStyleAsTranslet
Templates getStyleAsTranslet(String styleName)
                             throws TransformerConfigurationException
- Gets a compiled version of the style with the given name.
 
- 
- Parameters:
- styleName- the name of the style for which to retrieve a compiled version
- Returns:
- a compiled version of the stylesheet as a Templatesinstance
- Throws:
- TransformerConfigurationException- if compilation of the stylesheet fails
- IllegalArgumentException- if the given styleName is null or blank
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.