public class DataProcessingUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTEXTROOT |
static java.lang.String |
ERROR_LOG |
static java.lang.String |
HOST |
static java.lang.String |
PORT |
Constructor and Description |
---|
DataProcessingUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getDataDomainName(java.lang.String responsePath) |
static java.lang.String |
getEndecaServerPath() |
static boolean |
getEndecaServerSSLEnabled() |
static java.lang.String |
getErrorMessage(java.lang.String logPath) |
static void |
markInvalidAttributesInQueryState(DataSource ds,
java.lang.String dataSetKey)
This method examines each
QueryFunction in the current QueryState that matches the
given data set key, and marks their invalid flags based on the following criteria:
(1) If the corresponding attribute cannot be found in the current data set, mark invalid as true
(2) If the corresponding attribute's type does not match the QueryFunction 's attribute type, mark invalid as true
(3) Otherwise, mark invalid as false
If any QueryFunction 's invalidity is altered, the QueryState is updated to reflect that. |
static void |
setTransformsAppliedStatus(javax.portlet.PortletRequest request,
long groupId,
java.lang.String dataSetKey,
boolean apply) |
static java.util.Map<java.lang.String,java.lang.String> |
splitPath(java.lang.String path) |
public static final java.lang.String HOST
public static final java.lang.String PORT
public static final java.lang.String CONTEXTROOT
public static final java.lang.String ERROR_LOG
public static java.lang.String getEndecaServerPath() throws javax.portlet.PortletException
javax.portlet.PortletException
public static boolean getEndecaServerSSLEnabled() throws javax.portlet.PortletException
javax.portlet.PortletException
public static java.util.Map<java.lang.String,java.lang.String> splitPath(java.lang.String path)
public static java.lang.String getDataDomainName(java.lang.String responsePath) throws javax.portlet.PortletException
javax.portlet.PortletException
public static java.lang.String getErrorMessage(java.lang.String logPath) throws javax.portlet.PortletException
javax.portlet.PortletException
public static void setTransformsAppliedStatus(javax.portlet.PortletRequest request, long groupId, java.lang.String dataSetKey, boolean apply) throws TransformException
TransformException
public static void markInvalidAttributesInQueryState(DataSource ds, java.lang.String dataSetKey) throws KeyNotFoundException, DataSourceException
QueryFunction
in the current QueryState
that matches the
given data set key, and marks their invalid flags based on the following criteria:
(1) If the corresponding attribute cannot be found in the current data set, mark invalid as true
(2) If the corresponding attribute's type does not match the QueryFunction
's attribute type, mark invalid as true
(3) Otherwise, mark invalid as false
If any QueryFunction
's invalidity is altered, the QueryState
is updated to reflect that.
This method leaves room for future updates to the logic to determine if a QueryFunction
is invalid.ds
- dataSetkey
- KeyNotFoundException
DataSourceException
Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.