ch.elca.el4j.services.search.events
Class QueryObjectEvent
java.lang.Object
  
java.util.EventObject
      
org.springframework.context.ApplicationEvent
          
ch.elca.el4j.services.search.events.QueryObjectEvent
- All Implemented Interfaces: 
 - Serializable
 
public class QueryObjectEvent
- extends ApplicationEvent
 
Event for query objects.
- Author:
 
  - Martin Zeltner (MZE)
 
- See Also:
 - Serialized Form
 - File-location:
 - QueryObjectEvent
 - Last check-in date:
 - 2009-08-04 15:35:01 +0200 (Di, 04. Aug 2009)  by  swismer  for revision  3883 
 
 
 
 
 
 
 
 
QueryObjectEvent
public QueryObjectEvent(Object source,
                        QueryObject queryObject)
- Constructor for one query object.
- Parameters:
 source - Is the place this event has been created.queryObject - Is the query object of this event.
 
QueryObjectEvent
public QueryObjectEvent(Object source,
                        Collection<QueryObject> queryObjects)
- Constructor for multiple query objects.
- Parameters:
 source - Is the place this event has been created.queryObjects - Are the query objects of this event.
 
getQueryObject
public QueryObject getQueryObject()
- Returns:
 - Returns the first unspecific query object of this event. This has
         the same effect as method invocation
         
getQueryObject(Class) with null. 
 
getQueryObject
public QueryObject getQueryObject(Class<?> beanClass)
- Parameters:
 beanClass - Is the bean class the requested query object must be made for.
- Returns:
 - Returns the query object that is made for the given bean class.
 
 
getQueryObjects
public List<QueryObject> getQueryObjects()
- Returns:
 - Returns the list of query objects of this event.
 
 
Copyright © 2005-2011 ELCA. All Rights Reserved.