public class SearchServiceImpl extends AbstractService implements SearchService
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
context
Constructor and Description |
---|
SearchServiceImpl() |
Modifier and Type | Method and Description |
---|---|
WSSearchResult |
find(String sid,
WSSearchOptions opt)
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.
|
checkAdministrator, checkDownloadEnable, checkGroup, checkPermission, checkPublished, checkReadEnable, checkWriteEnable, convertDateToString, convertStringToDate, getSettings, isWebserviceEnabled, setValidateSession, validateSession
public WSSearchResult find(String sid, WSSearchOptions opt) throws Exception
SearchService
find
in interface SearchService
sid
- Session Identifieropt
- 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.