Name | StyleRepository | |
---|---|---|
Version | ||
Included Services | ||
Java Package | org.kuali.rice.coreservice.api.style |
Method | getStyle | ||
---|---|---|---|
Description | Returns the style with the given name. If no style with the given name can be found, this method will return null. |
||
Parameters | String | styleName | the name of the style to retrieve, must not be null or blank |
Return | Style | the style with the given name, or null if no style with the given name could be found |
|
Errors | RiceIllegalArgumentException | if the given styleName is null or blank |
Method | saveStyle | ||
---|---|---|---|
Description | Creates or updates the Style represented by the given record. If the id on the style is not null, then it will update the existing style record which has that id. Otherwise it will create a new style in the repository. When updating an existing style, the caller needs to ensure that the |
||
Parameters | Style | style | the style data to create or update in the repository |
Return | void | the style with the given name, or null if no style with the given name could be found |
|
Errors | RiceIllegalArgumentException | if the given style is null |
Method | getAllStyleNames | ||
---|---|---|---|
Description | Returns a list of the names for all active styles in the repository. If there are no active styles, this list will be empty. It will never return null. |
||
Parameters | None | None | No Parameters |
Return | StringList | the list of names for all active styles | |
Errors | NONE | No Errors |