Package org.bonitasoft.engine.resources
Interface ProcessResourcesService
- All Known Implementing Classes:
ProcessResourcesServiceImpl
public interface ProcessResourcesService
- Author:
- Baptiste Mesta
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(long processDefinitionId, String name, BARResourceType type, byte[] content) longcount(long processDefinitionId, BARResourceType type) get(long processDefinitionId, BARResourceType type, int from, int numberOfElements) get(long processDefinitionId, BARResourceType type, String name) voidremove(AbstractSBARResource resource) voidremoveAll(long processDefinitionId, BARResourceType external) voidupdate(AbstractSBARResource resource, byte[] content)
-
Field Details
-
BAR_RESOURCE
- See Also:
-
-
Method Details
-
add
void add(long processDefinitionId, String name, BARResourceType type, byte[] content) throws SRecorderException - Throws:
SRecorderException
-
update
- Throws:
SRecorderException
-
removeAll
void removeAll(long processDefinitionId, BARResourceType external) throws SBonitaReadException, SRecorderException -
get
List<SBARResource> get(long processDefinitionId, BARResourceType type, int from, int numberOfElements) throws SBonitaReadException - Throws:
SBonitaReadException
-
count
- Throws:
SBonitaReadException
-
get
SBARResource get(long processDefinitionId, BARResourceType type, String name) throws SBonitaReadException - Throws:
SBonitaReadException
-
remove
- Throws:
SRecorderException
-