Package org.imixs.workflow.office.views
Class SearchEvent
java.lang.Object
org.imixs.workflow.office.views.SearchEvent
The SearchEvent provides a CDI observer pattern. The SearchEvent is fired
by the SearchController. An event Observer can react on event to extend the current search query in a custom way.
The ProfileEvent defines the following event types:
- ON_QUERY - send during the search query creation
- Version:
- 1.0
- Author:
- Ralph Soika
- See Also:
-
org.imixs.marty.ejb.ProfileService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSearchEvent(org.imixs.workflow.ItemCollection searchFilter, int eventType) Creates a profile event based on a existing Profile ItemCollection -
Method Summary
Modifier and TypeMethodDescriptionintgetQuery()org.imixs.workflow.ItemCollectionvoidvoidsetSearchFilter(org.imixs.workflow.ItemCollection filter)
-
Field Details
-
ON_QUERY
public static final int ON_QUERY- See Also:
-
-
Constructor Details
-
SearchEvent
public SearchEvent(org.imixs.workflow.ItemCollection searchFilter, int eventType) Creates a profile event based on a existing Profile ItemCollection- Parameters:
query- - useridsearchFilter- - optional profile ItemCollectioneventType-
-
-
Method Details
-
getEventType
public int getEventType() -
getSearchFilter
public org.imixs.workflow.ItemCollection getSearchFilter() -
setSearchFilter
public void setSearchFilter(org.imixs.workflow.ItemCollection filter) -
getQuery
-
setQuery
-