Class ConfigurationHandler
- java.lang.Object
-
- org.apache.manifoldcf.crawler.connectors.alfrescowebscript.ConfigurationHandler
-
public class ConfigurationHandler extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTRIBUTE_ASPECT
Attribute describing an aspect namestatic java.lang.String
ATTRIBUTE_METADATA_SOURCE
Attribute describing an aspect namestatic java.lang.String
ATTRIBUTE_METADATA_TARGET
Attribute describing an aspect valuestatic java.lang.String
ATTRIBUTE_MIMETYPE
Attribute describing a MimeType namestatic java.lang.String
ATTRIBUTE_SITE
Attribute describing a site namestatic java.lang.String
ATTRIBUTE_VALUE
Attribute valuestatic java.lang.String
NODE_ASPECT
Node describing an Aspectstatic java.lang.String
NODE_ENABLEDOCUMENTPROCESSING
Node describing document processingstatic java.lang.String
NODE_METADATA
Node describing a Metadatastatic java.lang.String
NODE_MIMETYPE
Node describing a MimeTypestatic java.lang.String
NODE_SITE
Node describing a Sitestatic com.google.common.collect.ImmutableMultimap<java.lang.String,java.lang.String>
SPECIFICATION_MAP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
getEnableDocumentProcessing(org.apache.manifoldcf.core.interfaces.Specification spec)
static com.github.maoo.indexer.client.AlfrescoFilters
getFilters(org.apache.manifoldcf.core.interfaces.Specification spec)
static java.lang.String
getSpecificationVersion(org.apache.manifoldcf.core.interfaces.Specification os)
static void
outputConfigurationBody(org.apache.manifoldcf.core.interfaces.IThreadContext threadContext, org.apache.manifoldcf.core.interfaces.IHTTPOutput out, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.ConfigParams parameters, java.lang.String tabName)
static void
outputConfigurationHeader(org.apache.manifoldcf.core.interfaces.IThreadContext threadContext, org.apache.manifoldcf.core.interfaces.IHTTPOutput out, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.ConfigParams parameters, java.util.List<java.lang.String> tabsArray)
static void
outputSpecificationBody(org.apache.manifoldcf.core.interfaces.IHTTPOutput out, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.Specification os, int connectionSequenceNumber, int actualSequenceNumber, java.lang.String tabName)
static void
outputSpecificationHeader(org.apache.manifoldcf.core.interfaces.IHTTPOutput out, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.Specification os, int connectionSequenceNumber, java.util.List<java.lang.String> tabsArray)
static java.lang.String
processConfigurationPost(org.apache.manifoldcf.core.interfaces.IThreadContext threadContext, org.apache.manifoldcf.core.interfaces.IPostParameters variableContext, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.ConfigParams parameters)
static java.lang.String
processSpecificationPost(org.apache.manifoldcf.core.interfaces.IPostParameters variableContext, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.Specification os, int connectionSequenceNumber)
static void
viewConfiguration(org.apache.manifoldcf.core.interfaces.IThreadContext threadContext, org.apache.manifoldcf.core.interfaces.IHTTPOutput out, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.ConfigParams parameters)
static void
viewSpecification(org.apache.manifoldcf.core.interfaces.IHTTPOutput out, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.Specification os, int connectionSequenceNumber)
-
-
-
Field Detail
-
NODE_ENABLEDOCUMENTPROCESSING
public static final java.lang.String NODE_ENABLEDOCUMENTPROCESSING
Node describing document processing- See Also:
- Constant Field Values
-
ATTRIBUTE_VALUE
public static final java.lang.String ATTRIBUTE_VALUE
Attribute value- See Also:
- Constant Field Values
-
NODE_SITE
public static final java.lang.String NODE_SITE
Node describing a Site- See Also:
- Constant Field Values
-
ATTRIBUTE_SITE
public static final java.lang.String ATTRIBUTE_SITE
Attribute describing a site name- See Also:
- Constant Field Values
-
NODE_MIMETYPE
public static final java.lang.String NODE_MIMETYPE
Node describing a MimeType- See Also:
- Constant Field Values
-
ATTRIBUTE_MIMETYPE
public static final java.lang.String ATTRIBUTE_MIMETYPE
Attribute describing a MimeType name- See Also:
- Constant Field Values
-
NODE_ASPECT
public static final java.lang.String NODE_ASPECT
Node describing an Aspect- See Also:
- Constant Field Values
-
ATTRIBUTE_ASPECT
public static final java.lang.String ATTRIBUTE_ASPECT
Attribute describing an aspect name- See Also:
- Constant Field Values
-
NODE_METADATA
public static final java.lang.String NODE_METADATA
Node describing a Metadata- See Also:
- Constant Field Values
-
ATTRIBUTE_METADATA_SOURCE
public static final java.lang.String ATTRIBUTE_METADATA_SOURCE
Attribute describing an aspect name- See Also:
- Constant Field Values
-
ATTRIBUTE_METADATA_TARGET
public static final java.lang.String ATTRIBUTE_METADATA_TARGET
Attribute describing an aspect value- See Also:
- Constant Field Values
-
SPECIFICATION_MAP
public static final com.google.common.collect.ImmutableMultimap<java.lang.String,java.lang.String> SPECIFICATION_MAP
-
-
Method Detail
-
outputConfigurationHeader
public static void outputConfigurationHeader(org.apache.manifoldcf.core.interfaces.IThreadContext threadContext, org.apache.manifoldcf.core.interfaces.IHTTPOutput out, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.ConfigParams parameters, java.util.List<java.lang.String> tabsArray) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, java.io.IOException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.io.IOException
-
outputConfigurationBody
public static void outputConfigurationBody(org.apache.manifoldcf.core.interfaces.IThreadContext threadContext, org.apache.manifoldcf.core.interfaces.IHTTPOutput out, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.ConfigParams parameters, java.lang.String tabName) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, java.io.IOException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.io.IOException
-
processConfigurationPost
public static java.lang.String processConfigurationPost(org.apache.manifoldcf.core.interfaces.IThreadContext threadContext, org.apache.manifoldcf.core.interfaces.IPostParameters variableContext, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.ConfigParams parameters) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
viewConfiguration
public static void viewConfiguration(org.apache.manifoldcf.core.interfaces.IThreadContext threadContext, org.apache.manifoldcf.core.interfaces.IHTTPOutput out, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.ConfigParams parameters) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, java.io.IOException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.io.IOException
-
outputSpecificationHeader
public static void outputSpecificationHeader(org.apache.manifoldcf.core.interfaces.IHTTPOutput out, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.Specification os, int connectionSequenceNumber, java.util.List<java.lang.String> tabsArray) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, java.io.IOException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.io.IOException
-
outputSpecificationBody
public static void outputSpecificationBody(org.apache.manifoldcf.core.interfaces.IHTTPOutput out, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.Specification os, int connectionSequenceNumber, int actualSequenceNumber, java.lang.String tabName) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, java.io.IOException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.io.IOException
-
processSpecificationPost
public static java.lang.String processSpecificationPost(org.apache.manifoldcf.core.interfaces.IPostParameters variableContext, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.Specification os, int connectionSequenceNumber) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
viewSpecification
public static void viewSpecification(org.apache.manifoldcf.core.interfaces.IHTTPOutput out, java.util.Locale locale, org.apache.manifoldcf.core.interfaces.Specification os, int connectionSequenceNumber) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, java.io.IOException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.io.IOException
-
getSpecificationVersion
public static java.lang.String getSpecificationVersion(org.apache.manifoldcf.core.interfaces.Specification os)
-
getFilters
public static com.github.maoo.indexer.client.AlfrescoFilters getFilters(org.apache.manifoldcf.core.interfaces.Specification spec)
-
getEnableDocumentProcessing
public static boolean getEnableDocumentProcessing(org.apache.manifoldcf.core.interfaces.Specification spec)
-
-