Class SearchEvent


  • public class SearchEvent
    extends Object
    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
    • Constructor Detail

      • SearchEvent

        public SearchEvent​(org.imixs.workflow.ItemCollection searchFilter,
                           int eventType)
        Creates a profile event based on a existing Profile ItemCollection
        Parameters:
        query - - userid
        searchFilter - - optional profile ItemCollection
        eventType -
    • Method Detail

      • getEventType

        public int getEventType()
      • getSearchFilter

        public org.imixs.workflow.ItemCollection getSearchFilter()
      • setSearchFilter

        public void setSearchFilter​(org.imixs.workflow.ItemCollection filter)
      • getQuery

        public String getQuery()
      • setQuery

        public void setQuery​(String query)