Package org.camunda.bpm.engine.filter
Interface Filter
-
- All Known Implementing Classes:
FilterEntity
public interface Filter- Author:
- Sebastian Menski
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends Query<?,?>>
Filterextend(T extendingQuery)Extends the query with the additional query.StringgetId()StringgetName()StringgetOwner()Map<String,Object>getProperties()<T extends Query<?,?>>
TgetQuery()StringgetResourceType()FiltersetName(String name)FiltersetOwner(String owner)FiltersetProperties(Map<String,Object> properties)<T extends Query<?,?>>
FiltersetQuery(T query)
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- the id of the filer
-
getResourceType
String getResourceType()
- Returns:
- the resource type fo the filter
-
getName
String getName()
- Returns:
- the name of the filter
-
getOwner
String getOwner()
- Returns:
- the owner of the filter
-
setOwner
Filter setOwner(String owner)
- Parameters:
owner- the owner of the filter- Returns:
- this filter
-
getQuery
<T extends Query<?,?>> T getQuery()
- Returns:
- the saved query as query object
-
setQuery
<T extends Query<?,?>> Filter setQuery(T query)
- Parameters:
query- the saved query as query object- Returns:
- this filter
-
extend
<T extends Query<?,?>> Filter extend(T extendingQuery)
Extends the query with the additional query. The query of the filter is therefore modified and if the filter is saved the query is updated.- Parameters:
extendingQuery- the query to extend the filter with- Returns:
- a copy of this filter with the extended query
-
-