Class OpenSearchServerIndex
- java.lang.Object
-
- org.apache.manifoldcf.agents.output.opensearchserver.OpenSearchServerConnection
-
- org.apache.manifoldcf.agents.output.opensearchserver.OpenSearchServerIndex
-
public class OpenSearchServerIndex extends OpenSearchServerConnection
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.manifoldcf.agents.output.opensearchserver.OpenSearchServerConnection
OpenSearchServerConnection.CallThread, OpenSearchServerConnection.Result
-
-
Field Summary
-
Fields inherited from class org.apache.manifoldcf.agents.output.opensearchserver.OpenSearchServerConnection
xPathException, xPathStatus
-
-
Constructor Summary
Constructors Constructor Description OpenSearchServerIndex(org.apache.http.client.HttpClient client, java.lang.String documentURI, OpenSearchServerConfig config, org.apache.manifoldcf.agents.interfaces.RepositoryDocument document, java.lang.String authorityNameString, org.apache.manifoldcf.agents.interfaces.IOutputAddActivity activities)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static java.lang.String[]convertACL(java.lang.String[] acl, java.lang.String authorityNameString, org.apache.manifoldcf.agents.interfaces.IOutputAddActivity activities)Convert an unqualified ACL to qualified form.-
Methods inherited from class org.apache.manifoldcf.agents.output.opensearchserver.OpenSearchServerConnection
call, checkXPath, getApiUrl, getApiUrlV2, getCallUrlSnippet, getResponse, getResult, getResultCode, getResultDescription, setResult, setResultCode
-
-
-
-
Constructor Detail
-
OpenSearchServerIndex
public OpenSearchServerIndex(org.apache.http.client.HttpClient client, java.lang.String documentURI, OpenSearchServerConfig config, org.apache.manifoldcf.agents.interfaces.RepositoryDocument document, java.lang.String authorityNameString, org.apache.manifoldcf.agents.interfaces.IOutputAddActivity activities) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
-
Method Detail
-
convertACL
protected static java.lang.String[] convertACL(java.lang.String[] acl, java.lang.String authorityNameString, org.apache.manifoldcf.agents.interfaces.IOutputAddActivity activities) throws org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionConvert an unqualified ACL to qualified form.- Parameters:
acl- is the initial, unqualified ACL.authorityNameString- is the name of the governing authority for this document's acls, or null if none.activities- is the activities object, so we can report what's happening.- Returns:
- the modified ACL.
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
-