org.ow2.dragon.persistence.dao
Interface GenericOSEMDAO<T,PK extends java.io.Serializable>

All Known Implementing Classes:
GenericCompassDAOImpl

public interface GenericOSEMDAO<T,PK extends java.io.Serializable>

Author:
ofabre - eBM Websourcing

Method Summary
 java.lang.Class<T> getManipulatedType()
          Return the type of entity manipulated by this DAO
 java.util.List<T> search(java.lang.String query)
          Return a List of entity managed by the Full Text Search Engine.
 

Method Detail

search

java.util.List<T> search(java.lang.String query)
Return a List of entity managed by the Full Text Search Engine. Only the search engine managed attributes of these entities are populated

Parameters:
query - a Lucene String query
Returns:
a List of entity managed by the Full Text Search Engine.

getManipulatedType

java.lang.Class<T> getManipulatedType()
Return the type of entity manipulated by this DAO

Returns:
the Class of the manipulated entity


Copyright © 2008-2009 eBMWebsourcing. All Rights Reserved.