com.endeca.portal.mdex
Class ConfigServiceUtil

java.lang.Object
  extended by com.endeca.portal.mdex.ConfigServiceUtil

public class ConfigServiceUtil
extends java.lang.Object


Field Summary
static java.lang.String CATCH_ALL_GROUP_KEY
           
static java.lang.String UPDATEABLE_CONFIG_SERVICE_URI_PREFIX
           
 
Constructor Summary
ConfigServiceUtil()
           
 
Method Summary
static void createOrUpdateAttributeGroup(MDEXState mdexState, RequestIds requestIds, Group uamGroup)
           
static com.endeca.mdex.config.services.types.Results executeUpdateOperation(MDEXState mdexState, RequestIds requestIds, com.endeca.mdex.config.services.types.ConfigTransaction transaction)
           
static void removeAttributeGroup(MDEXState mdexState, RequestIds requestIds, java.lang.String groupKey)
           
static void updateAttribute(MDEXState mdexState, RequestIds requestIds, Attribute uamAttribute)
          Performs a partial update of an attribute record (PDR) in MDEX 7.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UPDATEABLE_CONFIG_SERVICE_URI_PREFIX

public static final java.lang.String UPDATEABLE_CONFIG_SERVICE_URI_PREFIX
See Also:
Constant Field Values

CATCH_ALL_GROUP_KEY

public static final java.lang.String CATCH_ALL_GROUP_KEY
See Also:
Constant Field Values
Constructor Detail

ConfigServiceUtil

public ConfigServiceUtil()
Method Detail

executeUpdateOperation

public static com.endeca.mdex.config.services.types.Results executeUpdateOperation(MDEXState mdexState,
                                                                                   RequestIds requestIds,
                                                                                   com.endeca.mdex.config.services.types.ConfigTransaction transaction)
                                                                            throws DataSourceException,
                                                                                   java.lang.UnsupportedOperationException
Throws:
DataSourceException
java.lang.UnsupportedOperationException

createOrUpdateAttributeGroup

public static void createOrUpdateAttributeGroup(MDEXState mdexState,
                                                RequestIds requestIds,
                                                Group uamGroup)
                                         throws DataSourceException,
                                                java.lang.UnsupportedOperationException
Throws:
DataSourceException
java.lang.UnsupportedOperationException

removeAttributeGroup

public static void removeAttributeGroup(MDEXState mdexState,
                                        RequestIds requestIds,
                                        java.lang.String groupKey)
                                 throws DataSourceException,
                                        java.lang.UnsupportedOperationException
Throws:
DataSourceException
java.lang.UnsupportedOperationException

updateAttribute

public static void updateAttribute(MDEXState mdexState,
                                   RequestIds requestIds,
                                   Attribute uamAttribute)
                            throws DataSourceException,
                                   javax.xml.parsers.ParserConfigurationException,
                                   java.lang.UnsupportedOperationException
Performs a partial update of an attribute record (PDR) in MDEX 7. Currently updating display name, navigation sort order, and multi-select type is supported.

Parameters:
mdexState - - MDEXState object as contained by the data source
uamAttribute - - an instance of a UAM-style attribute object. Must contain at least a valid key.
Throws:
DataSourceException
javax.xml.parsers.ParserConfigurationException
java.lang.UnsupportedOperationException