RichFaces Photoalbum 4.3.5.Final

org.richfaces.photoalbum.search
Class SearchSharedAlbumsStrategy

java.lang.Object
  extended by org.richfaces.photoalbum.search.SearchSharedAlbumsStrategy
All Implemented Interfaces:
ISearchStrategy

public class SearchSharedAlbumsStrategy
extends Object
implements ISearchStrategy

Strategy to retrieve albums, that are shared

Author:
Andrey Markhel

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

Constructor Detail

SearchSharedAlbumsStrategy

public SearchSharedAlbumsStrategy()
Method Detail

getQuery

public javax.persistence.Query getQuery(javax.persistence.EntityManager em,
                                        Map<String,Object> params,
                                        String searchQuery)
Create query to retrieve albums, 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 albums that are shared

RichFaces Photoalbum 4.3.5.Final

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