Package org.bonitasoft.engine.identity
Class IconServiceImpl
- java.lang.Object
-
- org.bonitasoft.engine.identity.IconServiceImpl
-
- All Implemented Interfaces:
IconService
@Service public class IconServiceImpl extends java.lang.Object implements IconService
-
-
Field Summary
-
Fields inherited from interface org.bonitasoft.engine.identity.IconService
EVENT_NAME
-
-
Constructor Summary
Constructors Constructor Description IconServiceImpl(Recorder recorder, PersistenceService persistenceService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SIconcreateIcon(java.lang.String iconFilename, byte[] iconContent)voiddeleteIcon(java.lang.Long iconId)SIcongetIcon(java.lang.Long iconId)java.util.Optional<java.lang.Long>replaceIcon(java.lang.String iconFilename, byte[] iconContent, java.lang.Long iconIdToReplace)
-
-
-
Constructor Detail
-
IconServiceImpl
public IconServiceImpl(Recorder recorder, PersistenceService persistenceService)
-
-
Method Detail
-
replaceIcon
public java.util.Optional<java.lang.Long> replaceIcon(java.lang.String iconFilename, byte[] iconContent, java.lang.Long iconIdToReplace) throws SBonitaReadException, SRecorderException- Specified by:
replaceIconin interfaceIconService- Throws:
SBonitaReadExceptionSRecorderException
-
createIcon
public SIcon createIcon(java.lang.String iconFilename, byte[] iconContent) throws SRecorderException
- Specified by:
createIconin interfaceIconService- Throws:
SRecorderException
-
getIcon
public SIcon getIcon(java.lang.Long iconId) throws SBonitaReadException
- Specified by:
getIconin interfaceIconService- Throws:
SBonitaReadException
-
deleteIcon
public void deleteIcon(java.lang.Long iconId) throws SBonitaReadException, SRecorderException- Specified by:
deleteIconin interfaceIconService- Throws:
SBonitaReadExceptionSRecorderException
-
-