|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.endeca.portal.dataenrichment.util.EnrichmentPipelineUtil
public final class EnrichmentPipelineUtil
Nested Class Summary | |
---|---|
static class |
EnrichmentPipelineUtil.Status
|
Constructor Summary | |
---|---|
EnrichmentPipelineUtil(java.lang.String ds,
java.lang.String dataDomainName,
java.lang.String host,
int port,
SSLConfig sslConfig)
|
Method Summary | |
---|---|
void |
addResource(java.io.File file,
java.lang.String plugin,
java.lang.String locale)
Add a resource for a plugin from a file |
void |
addResource(java.lang.String name,
java.lang.String res,
java.lang.String plugin,
java.lang.String locale)
Add a resource for a plugin from a string |
void |
cancelPipeline(java.lang.String requestId,
java.lang.String locale)
Cancel a pipeline |
void |
cancelPipelineByName(java.lang.String pipelineName,
java.lang.String locale)
|
boolean |
containsResource(java.lang.String name,
java.lang.String locale)
Check for the existence of a resource by name |
void |
createPipeline(com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.types.Pipeline pipeline,
java.lang.String txId,
java.lang.String locale)
Create a pipeline |
void |
createPlugin(java.lang.String fileName,
java.lang.String locale)
Upload a plugin |
void |
deleteAllPipelines(java.lang.String datasetName,
java.lang.String txId,
java.lang.String locale)
Delete all pipelines associated with a data set. |
void |
deletePipeline(java.lang.String pipelineName,
java.lang.String txId,
java.lang.String locale)
Delete a pipeline |
void |
deleteResoure(java.lang.String name,
java.lang.String locale)
|
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.types.Pipeline |
exportPipeline(java.lang.String pipelineName,
java.lang.String txId,
java.lang.String locale)
Retrieve the pipeline object |
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.types.Resource |
exportResource(java.lang.String resourceName,
boolean includeContent,
java.lang.String locale)
|
java.util.List<com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.types.Pipeline> |
getAllPipelinesByDatasetName(java.lang.String datasetName,
java.lang.String locale)
Gets all pipelines for a given data set. |
CollectionBaseView |
getCollection(javax.portlet.PortletRequest request,
java.lang.String viewKey,
java.lang.String locale)
|
EnrichmentPipelineUtil.Status |
getEnrichmentsStatus(java.lang.String datasetName,
java.lang.String locale)
Get the Enrichment Status for a given data set. |
org.json.JSONObject |
getPipelineStatus(javax.portlet.PortletRequest request,
java.util.List<java.lang.String> pipelineNames,
java.lang.String locale)
Returns a JSONObject will the status of the most recent run of all pipelines passed in. |
com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.types.RequestDetail |
getRequestDetails(java.lang.String taskID,
java.lang.String locale)
|
java.util.List<java.lang.String> |
getRequestIdsByPipeline(java.lang.String pipelineName,
java.lang.String locale)
Get all request IDs for a pipeline |
boolean |
hasValidInputAttribute(javax.portlet.PortletRequest request,
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.types.Pipeline p,
java.lang.String locale)
|
boolean |
hasValidInputAttribute(javax.portlet.PortletRequest request,
java.lang.String pipelineName,
java.lang.String locale)
|
boolean |
isAssociatedResourceToPlugin(java.lang.String name,
java.lang.String plugin,
java.lang.String txId,
java.lang.String locale)
Check to see what plugin a resource is associated with. |
boolean |
isInputAttributeSet(javax.portlet.PortletRequest request,
java.lang.String collectionName,
java.lang.String attrName,
java.lang.String locale)
|
java.util.Collection<java.lang.String> |
listAllPipelines(java.lang.String txId,
java.lang.String locale)
Get all pipeline names |
com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.types.RequestDetail |
submitTask(java.lang.String pipelineName,
java.lang.String locale)
Run a pipeline |
void |
updatePipeline(com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.types.Pipeline pipeline,
java.lang.String txId,
java.lang.String locale)
Create a pipeline |
void |
updateResource(java.io.File file,
java.lang.String plugin,
java.lang.String locale)
Update an existing resource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnrichmentPipelineUtil(java.lang.String ds, java.lang.String dataDomainName, java.lang.String host, int port, SSLConfig sslConfig)
Method Detail |
---|
public void addResource(java.io.File file, java.lang.String plugin, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception, java.net.MalformedURLException
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
java.net.MalformedURLException
public void addResource(java.lang.String name, java.lang.String res, java.lang.String plugin, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception, java.net.MalformedURLException, java.io.UnsupportedEncodingException
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
java.net.MalformedURLException
java.io.UnsupportedEncodingException
public com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.types.Resource exportResource(java.lang.String resourceName, boolean includeContent, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
public void updateResource(java.io.File file, java.lang.String plugin, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
public boolean containsResource(java.lang.String name, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
public boolean isAssociatedResourceToPlugin(java.lang.String name, java.lang.String plugin, java.lang.String txId, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
public void deletePipeline(java.lang.String pipelineName, java.lang.String txId, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception, com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
public void deleteResoure(java.lang.String name, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
public void createPipeline(com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.types.Pipeline pipeline, java.lang.String txId, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
public void updatePipeline(com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.types.Pipeline pipeline, java.lang.String txId, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
public com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.types.Pipeline exportPipeline(java.lang.String pipelineName, java.lang.String txId, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
public void cancelPipeline(java.lang.String requestId, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
public void cancelPipelineByName(java.lang.String pipelineName, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
public java.util.List<java.lang.String> getRequestIdsByPipeline(java.lang.String pipelineName, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
public void createPlugin(java.lang.String fileName, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
public com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.types.RequestDetail submitTask(java.lang.String pipelineName, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
public java.util.Collection<java.lang.String> listAllPipelines(java.lang.String txId, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
public com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.types.RequestDetail getRequestDetails(java.lang.String taskID, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
public void deleteAllPipelines(java.lang.String datasetName, java.lang.String txId, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception, com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
public EnrichmentPipelineUtil.Status getEnrichmentsStatus(java.lang.String datasetName, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception, com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
public org.json.JSONObject getPipelineStatus(javax.portlet.PortletRequest request, java.util.List<java.lang.String> pipelineNames, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception, com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception, org.json.JSONException, DataSourceException, KeyNotFoundException
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
org.json.JSONException
DataSourceException
KeyNotFoundException
public java.util.List<com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.types.Pipeline> getAllPipelinesByDatasetName(java.lang.String datasetName, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception, com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
com.oracle.endeca.pdi.bindings.cxf.enrichment.task._1.TaskFault_Exception
public boolean hasValidInputAttribute(javax.portlet.PortletRequest request, java.lang.String pipelineName, java.lang.String locale) throws com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception, DataSourceException, KeyNotFoundException
com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.ConfigurationFault_Exception
DataSourceException
KeyNotFoundException
public boolean hasValidInputAttribute(javax.portlet.PortletRequest request, com.oracle.endeca.pdi.bindings.cxf.enrichment.config._1.types.Pipeline p, java.lang.String locale) throws DataSourceException, KeyNotFoundException
DataSourceException
KeyNotFoundException
public boolean isInputAttributeSet(javax.portlet.PortletRequest request, java.lang.String collectionName, java.lang.String attrName, java.lang.String locale) throws DataSourceException, KeyNotFoundException
DataSourceException
KeyNotFoundException
public CollectionBaseView getCollection(javax.portlet.PortletRequest request, java.lang.String viewKey, java.lang.String locale) throws DataSourceException, KeyNotFoundException
DataSourceException
KeyNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |