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.java.lang.String
getId()
java.lang.String
getName()
java.lang.String
getOwner()
java.util.Map<java.lang.String,java.lang.Object>
getProperties()
<T extends Query<?,?>>
TgetQuery()
java.lang.String
getResourceType()
Filter
setName(java.lang.String name)
Filter
setOwner(java.lang.String owner)
Filter
setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
<T extends Query<?,?>>
FiltersetQuery(T query)
-
-
-
Method Detail
-
getId
java.lang.String getId()
- Returns:
- the id of the filer
-
getResourceType
java.lang.String getResourceType()
- Returns:
- the resource type fo the filter
-
getName
java.lang.String getName()
- Returns:
- the name of the filter
-
setName
Filter setName(java.lang.String name)
- Parameters:
name
- the name of the filter- Returns:
- this filter
-
getOwner
java.lang.String getOwner()
- Returns:
- the owner of the filter
-
setOwner
Filter setOwner(java.lang.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
-
getProperties
java.util.Map<java.lang.String,java.lang.Object> getProperties()
- Returns:
- the properties as map
-
setProperties
Filter setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
- Parameters:
properties
- the properties to set as map- Returns:
- this filter
-
-