RichFaces Photoalbum 4.3.1.CR1

org.richfaces.photoalbum.ejbsearch
Class SearchSharedShelvesStrategy

java.lang.Object
  extended by org.richfaces.photoalbum.ejbsearch.SearchSharedShelvesStrategy
All Implemented Interfaces:
ISearchStrategy

public class SearchSharedShelvesStrategy
extends Object
implements ISearchStrategy

Strategy to retrieve shelves, that are shared

Author:
Andrey Markhel

Constructor Summary
SearchSharedShelvesStrategy()
           
 
Method Summary
 javax.persistence.Query getQuery(javax.persistence.EntityManager em, Map<String,Object> params, String searchQuery)
          Create query to retrieve shelves, that are shared
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchSharedShelvesStrategy

public SearchSharedShelvesStrategy()
Method Detail

getQuery

public javax.persistence.Query getQuery(javax.persistence.EntityManager em,
                                        Map<String,Object> params,
                                        String searchQuery)
Create query to retrieve shelves, that are shared

Specified by:
getQuery in interface ISearchStrategy
Parameters:
em - - entityManager
params - - map of additional params for this query
searchQuery - - string to search
Returns:
List of shelves that are shared

RichFaces Photoalbum 4.3.1.CR1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.