|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fcrepo.server.Parameterized
org.fcrepo.server.Pluggable
org.fcrepo.server.Module
org.fcrepo.server.search.FieldSearchSQLModule
public class FieldSearchSQLModule
Module that wraps FieldSearchSQLImpl.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.fcrepo.common.Constants |
|---|
Constants.FedoraHome |
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
FieldSearchSQLModule(Map params,
Server server,
String role)
|
|
| Method Summary | |
|---|---|
boolean |
delete(String pid)
Remove an object from the search indexes. |
FieldSearchResult |
findObjects(String[] resultFields,
int maxResults,
FieldSearchQuery query)
Search across specific fields and return the desired fields. |
String[] |
getRequiredModuleRoles()
Gets the names of the roles that are required by this Pluggable. |
void |
postInitModule()
Second stage of Module initialization. |
FieldSearchResult |
resumeFindObjects(String sessionToken)
Resume an in-progress search across specific fields and return the desired fields. |
void |
update(DOReader reader)
Update the search indexes with information from the provided DOReader. |
| Methods inherited from class org.fcrepo.server.Module |
|---|
getRole, getServer, initModule, shutdownModule |
| Methods inherited from class org.fcrepo.server.Pluggable |
|---|
getHelp, getOptionalParameters, getParameterHelp, getRequiredParameters |
| Methods inherited from class org.fcrepo.server.Parameterized |
|---|
getParameter, getParameter, getParameter, getParameterList, getParameters, getParameters, parameterNames, setParameter, setParameters, setParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldSearchSQLModule(Map params,
Server server,
String role)
throws ModuleInitializationException
ModuleInitializationException| Method Detail |
|---|
public void postInitModule()
throws ModuleInitializationException
Module
postInitModule in class ModuleModuleInitializationException - If initialization values are invalid or initialization fails for
some other reason.public String[] getRequiredModuleRoles()
PluggablePluggable.
By default, no roles need to be fulfilled.
getRequiredModuleRoles in class Pluggable
public void update(DOReader reader)
throws ServerException
FieldSearch
update in interface FieldSearchreader - the DOReader containing all the field information for the object
ServerException - if anything went wrong
public boolean delete(String pid)
throws ServerException
FieldSearch
delete in interface FieldSearchpid - the unique id of the object whose info should be removed
ServerException - if anything went wrong
public FieldSearchResult findObjects(String[] resultFields,
int maxResults,
FieldSearchQuery query)
throws ServerException
FieldSearch
findObjects in interface FieldSearchresultFields - the desired fieldsmaxResults - the maximum number of results the client wantsquery - the query
ServerException - if anything went wrong
public FieldSearchResult resumeFindObjects(String sessionToken)
throws ServerException
FieldSearch
resumeFindObjects in interface FieldSearchsessionToken - the token of the session in which the remaining results can be
found
ServerException - if anything went wrong
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||