Package org.bonitasoft.engine.resources
Interface ProcessResourcesService
-
- All Known Implementing Classes:
ProcessResourcesServiceImpl
public interface ProcessResourcesService- Author:
- Baptiste Mesta
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBAR_RESOURCE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(long processDefinitionId, java.lang.String name, BARResourceType type, byte[] content)longcount(long processDefinitionId, BARResourceType type)java.util.List<SBARResource>get(long processDefinitionId, BARResourceType type, int from, int numberOfElements)SBARResourceget(long processDefinitionId, BARResourceType type, java.lang.String name)voidremove(AbstractSBARResource resource)voidremoveAll(long processDefinitionId, BARResourceType external)voidupdate(AbstractSBARResource resource, byte[] content)
-
-
-
Field Detail
-
BAR_RESOURCE
static final java.lang.String BAR_RESOURCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
add
void add(long processDefinitionId, java.lang.String name, BARResourceType type, byte[] content) throws SRecorderException- Throws:
SRecorderException
-
update
void update(AbstractSBARResource resource, byte[] content) throws SRecorderException
- Throws:
SRecorderException
-
removeAll
void removeAll(long processDefinitionId, BARResourceType external) throws SBonitaReadException, SRecorderException
-
get
java.util.List<SBARResource> get(long processDefinitionId, BARResourceType type, int from, int numberOfElements) throws SBonitaReadException
- Throws:
SBonitaReadException
-
count
long count(long processDefinitionId, BARResourceType type) throws SBonitaReadException- Throws:
SBonitaReadException
-
get
SBARResource get(long processDefinitionId, BARResourceType type, java.lang.String name) throws SBonitaReadException
- Throws:
SBonitaReadException
-
remove
void remove(AbstractSBARResource resource) throws SRecorderException
- Throws:
SRecorderException
-
-