Class OutputConnectorFactory
- java.lang.Object
-
- org.apache.manifoldcf.core.interfaces.ConnectorFactory<IOutputConnector>
-
- org.apache.manifoldcf.agents.interfaces.OutputConnectorFactory
-
public class OutputConnectorFactory extends ConnectorFactory<IOutputConnector>
This is the factory class for IOutputConnector objects.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
protected static OutputConnectorFactory
thisFactory
-
Constructor Summary
Constructors Modifier Constructor Description protected
OutputConnectorFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
deinstall(IThreadContext threadContext, java.lang.String className)
Uninstall connector.static java.lang.String[]
getActivitiesList(IThreadContext threadContext, java.lang.String className)
Get the activities supported by this connector.static IOutputConnector
getConnectorNoCheck(java.lang.String className)
Get an output connector instance, without checking for installed connector.java.lang.String[]
getThisActivitiesList(IThreadContext threadContext, java.lang.String className)
Get the activities supported by this connector.static void
install(IThreadContext threadContext, java.lang.String className)
Install connector.protected boolean
isInstalled(IThreadContext tc, java.lang.String className)
Override this method to hook into a connector manager.static void
outputConfigurationBody(IThreadContext threadContext, java.lang.String className, IHTTPOutput out, java.util.Locale locale, ConfigParams parameters, java.lang.String tabName)
Output the configuration body section.static void
outputConfigurationHeader(IThreadContext threadContext, java.lang.String className, IHTTPOutput out, java.util.Locale locale, ConfigParams parameters, java.util.ArrayList tabsArray)
Output the configuration header section.static java.lang.String
processConfigurationPost(IThreadContext threadContext, java.lang.String className, IPostParameters variableContext, java.util.Locale locale, ConfigParams configParams)
Process configuration post data for a connector.static void
viewConfiguration(IThreadContext threadContext, java.lang.String className, IHTTPOutput out, java.util.Locale locale, ConfigParams configParams)
View connector configuration.-
Methods inherited from class org.apache.manifoldcf.core.interfaces.ConnectorFactory
deinstallThis, getThisConnector, getThisConnectorNoCheck, getThisConnectorRaw, installThis, outputThisConfigurationBody, outputThisConfigurationHeader, processThisConfigurationPost, viewThisConfiguration
-
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
thisFactory
protected static final OutputConnectorFactory thisFactory
-
-
Method Detail
-
isInstalled
protected boolean isInstalled(IThreadContext tc, java.lang.String className) throws ManifoldCFException
Description copied from class:ConnectorFactory
Override this method to hook into a connector manager.- Specified by:
isInstalled
in classConnectorFactory<IOutputConnector>
- Throws:
ManifoldCFException
-
getThisActivitiesList
public java.lang.String[] getThisActivitiesList(IThreadContext threadContext, java.lang.String className) throws ManifoldCFException
Get the activities supported by this connector.- Parameters:
className
- is the class name.- Returns:
- the list of activities.
- Throws:
ManifoldCFException
-
install
public static void install(IThreadContext threadContext, java.lang.String className) throws ManifoldCFException
Install connector.- Parameters:
className
- is the class name.- Throws:
ManifoldCFException
-
deinstall
public static void deinstall(IThreadContext threadContext, java.lang.String className) throws ManifoldCFException
Uninstall connector.- Parameters:
className
- is the class name.- Throws:
ManifoldCFException
-
getActivitiesList
public static java.lang.String[] getActivitiesList(IThreadContext threadContext, java.lang.String className) throws ManifoldCFException
Get the activities supported by this connector.- Parameters:
className
- is the class name.- Returns:
- the list of activities.
- Throws:
ManifoldCFException
-
outputConfigurationHeader
public static void outputConfigurationHeader(IThreadContext threadContext, java.lang.String className, IHTTPOutput out, java.util.Locale locale, ConfigParams parameters, java.util.ArrayList tabsArray) throws ManifoldCFException, java.io.IOException
Output the configuration header section.- Throws:
ManifoldCFException
java.io.IOException
-
outputConfigurationBody
public static void outputConfigurationBody(IThreadContext threadContext, java.lang.String className, IHTTPOutput out, java.util.Locale locale, ConfigParams parameters, java.lang.String tabName) throws ManifoldCFException, java.io.IOException
Output the configuration body section.- Throws:
ManifoldCFException
java.io.IOException
-
processConfigurationPost
public static java.lang.String processConfigurationPost(IThreadContext threadContext, java.lang.String className, IPostParameters variableContext, java.util.Locale locale, ConfigParams configParams) throws ManifoldCFException
Process configuration post data for a connector.- Throws:
ManifoldCFException
-
viewConfiguration
public static void viewConfiguration(IThreadContext threadContext, java.lang.String className, IHTTPOutput out, java.util.Locale locale, ConfigParams configParams) throws ManifoldCFException, java.io.IOException
View connector configuration.- Throws:
ManifoldCFException
java.io.IOException
-
getConnectorNoCheck
public static IOutputConnector getConnectorNoCheck(java.lang.String className) throws ManifoldCFException
Get an output connector instance, without checking for installed connector.- Parameters:
className
- is the class name.- Returns:
- the instance.
- Throws:
ManifoldCFException
-
-