Package org.bonitasoft.engine.identity
Interface IconService
-
- All Known Implementing Classes:
IconServiceImpl
public interface IconService
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEVENT_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SIconcreateIcon(java.lang.String iconFilename, byte[] iconContent)voiddeleteIcon(java.lang.Long iconId)SIcongetIcon(java.lang.Long id)java.util.Optional<java.lang.Long>replaceIcon(java.lang.String iconFilename, byte[] iconContent, java.lang.Long iconIdToReplace)
-
-
-
Field Detail
-
EVENT_NAME
static final java.lang.String EVENT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
replaceIcon
java.util.Optional<java.lang.Long> replaceIcon(java.lang.String iconFilename, byte[] iconContent, java.lang.Long iconIdToReplace) throws SBonitaReadException, SRecorderException
-
createIcon
SIcon createIcon(java.lang.String iconFilename, byte[] iconContent) throws SRecorderException
- Throws:
SRecorderException
-
getIcon
SIcon getIcon(java.lang.Long id) throws SBonitaReadException
- Throws:
SBonitaReadException
-
deleteIcon
void deleteIcon(java.lang.Long iconId) throws SBonitaReadException, SRecorderException
-
-