-
Notifications
You must be signed in to change notification settings - Fork 21
/
SearchResultFiltering.java
41 lines (34 loc) · 1.15 KB
/
SearchResultFiltering.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//$Id: $
/*
* <p><b>License and Copyright: </b>The contents of this file is subject to the
* same open source license as the Fedora Repository System at www.fedora-commons.org
* Copyright © 2006, 2007, 2008, 2009, 2010, 2011 by The Technical University of Denmark.
* All rights reserved.</p>
*/
package dk.defxws.fedoragsearch.server;
import java.util.Map;
import java.util.Set;
/**
*
* @author gsp@dtic.dtu.dk
* @version
*/public interface SearchResultFiltering {
public String selectIndexNameForPresearch(
String fgsUserName,
String indexName,
Map<String, Set<String>> fgsUserAttributes,
Config config)
throws java.rmi.RemoteException;
public String rewriteQueryForInsearch(
String fgsUserName,
String indexName,
String query,
Map<String, Set<String>> fgsUserAttributes,
Config config)
throws java.rmi.RemoteException;
public StringBuffer filterResultsetForPostsearch(
String fgsUserName,
StringBuffer resultSetXml,
Map<String, Set<String>> fgsUserAttributes,
Config config) throws java.rmi.RemoteException;
}