public class SearchClient extends AbstractClient<SearchService> implements SearchService
client, endpoint
Constructor and Description |
---|
SearchClient(String endpoint) |
SearchClient(String endpoint,
int gzipThreshold,
boolean log,
int timeout) |
Modifier and Type | Method and Description |
---|---|
WSSearchResult |
find(String sid,
WSSearchOptions options)
Performs a search by the search options.
|
WSDocument[] |
findByFilename(String sid,
String filename)
Finds authorized documents for the current user the given filename (like
operator is used).
|
WSDocument[] |
findByTag(String sid,
String tag)
Finds authorized documents for the current user having a specified tag.
|
WSFolder[] |
findFolders(String sid,
String name)
Finds authorized folders for the current user containing the given name
(like operator is used).
|
WSTagCloud[] |
getTagCloud(String sid)
Retrieves all tag clouds in the repository.
|
String[] |
getTags(String sid)
Retrieves all tags in the repository.
|
configureSSL, configureTimeout, initClient
public SearchClient(String endpoint, int gzipThreshold, boolean log, int timeout) throws IOException
IOException
public SearchClient(String endpoint) throws IOException
IOException
public WSSearchResult find(String sid, WSSearchOptions options) throws Exception
SearchService
find
in interface SearchService
sid
- Session Identifieroptions
- Search optionsException
public WSDocument[] findByFilename(String sid, String filename) throws Exception
SearchService
findByFilename
in interface SearchService
filename
- Filename of the documentException
public WSDocument[] findByTag(String sid, String tag) throws Exception
SearchService
findByTag
in interface SearchService
tag
- Tag of the documentException
public WSFolder[] findFolders(String sid, String name) throws Exception
SearchService
findFolders
in interface SearchService
name
- Name of the folderException
public WSTagCloud[] getTagCloud(String sid) throws Exception
SearchService
getTagCloud
in interface SearchService
sid
- Session IdentifierException
public String[] getTags(String sid) throws Exception
SearchService
getTags
in interface SearchService
sid
- Session IdentifierException
Copyright © 2008-2014 Logical Objects. All Rights Reserved.