atg.repository.search.refinement.admin
Class RefinementConfigurationPropertyManager

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.repository.search.refinement.admin.RefinementConfigurationPropertyManager
All Implemented Interfaces:
NameContextBindingListener, NameContextElement, NameResolver, AdminableService, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, java.util.EventListener
Direct Known Subclasses:
CommerceRefinementConfigurationPropertyManager

public class RefinementConfigurationPropertyManager
extends GenericService

Property manager class for a refineConfig repository item. This class provides getter and setter methods for each of the properties in a 'refineConfig' item descriptor. It also provides 2 utility method to convert between a repository item and a RefinementConfiguration object.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
protected  RepositoryItemDescriptor mItemDescriptor
           
protected  java.lang.String mItemDescriptorName
           
protected  java.lang.String mRefineConfigNamePropertyName
           
protected  java.lang.String mRefineElementsPropertyName
           
protected  Repository mRepository
           
protected  java.lang.String mSortOptionsPropertyName
           
protected  java.lang.String mTypePropertyName
           
 
Fields inherited from class atg.nucleus.GenericService
SERVICE_INFO_KEY
 
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging
DEFAULT_LOG_TRACE_STATUS
 
Fields inherited from interface atg.nucleus.logging.ApplicationLogging
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
 
Constructor Summary
RefinementConfigurationPropertyManager()
           
 
Method Summary
protected  void checkItem(RepositoryItem pItem)
           
 RefinementConfiguration createNewRefinementConfiguration()
           
 RepositoryItemDescriptor getItemDescriptor()
           
 java.lang.String getItemDescriptorName()
           
 java.lang.String getRefineConfigNamePropertyName()
           
 java.lang.String getRefineElementsPropertyName()
           
 Repository getRepository()
           
 java.lang.String getSortOptionsPropertyName()
           
 java.lang.String getTypePropertyName()
           
 void populateRefinementConfiguration(RepositoryItem pItem, RefinementConfiguration pRefineConfig)
           
 void populateRepositoryItem(RefinementConfiguration pRefineConfig, MutableRepositoryItem pItem)
           
 void setItemDescriptorName(java.lang.String pItemDescriptorName)
           
 void setRefineConfigNamePropertyName(java.lang.String pRefineConfigNamePropertyName)
           
 void setRefineElementsPropertyName(java.lang.String pRefineElementsPropertyName)
           
 void setRepository(Repository pRepository)
           
 void setSortOptionsPropertyName(java.lang.String pSortOptionsPropertyName)
           
 void setTypePropertyName(java.lang.String pTypePropertyName)
           
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
 
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


mItemDescriptor

protected RepositoryItemDescriptor mItemDescriptor

mTypePropertyName

protected java.lang.String mTypePropertyName

mRefineElementsPropertyName

protected java.lang.String mRefineElementsPropertyName

mRefineConfigNamePropertyName

protected java.lang.String mRefineConfigNamePropertyName

mSortOptionsPropertyName

protected java.lang.String mSortOptionsPropertyName

mRepository

protected Repository mRepository

mItemDescriptorName

protected java.lang.String mItemDescriptorName
Constructor Detail

RefinementConfigurationPropertyManager

public RefinementConfigurationPropertyManager()
Method Detail

getRepository

public Repository getRepository()

setRepository

public void setRepository(Repository pRepository)

getItemDescriptorName

public java.lang.String getItemDescriptorName()

setItemDescriptorName

public void setItemDescriptorName(java.lang.String pItemDescriptorName)

getItemDescriptor

public RepositoryItemDescriptor getItemDescriptor()

checkItem

protected void checkItem(RepositoryItem pItem)
                  throws RepositoryException,
                         java.lang.IllegalArgumentException
Throws:
RepositoryException
java.lang.IllegalArgumentException

populateRefinementConfiguration

public void populateRefinementConfiguration(RepositoryItem pItem,
                                            RefinementConfiguration pRefineConfig)
                                     throws RepositoryException,
                                            java.lang.IllegalArgumentException
Throws:
RepositoryException
java.lang.IllegalArgumentException

createNewRefinementConfiguration

public RefinementConfiguration createNewRefinementConfiguration()

populateRepositoryItem

public void populateRepositoryItem(RefinementConfiguration pRefineConfig,
                                   MutableRepositoryItem pItem)
                            throws RepositoryException,
                                   java.lang.IllegalArgumentException
Throws:
RepositoryException
java.lang.IllegalArgumentException

getTypePropertyName

public java.lang.String getTypePropertyName()

setTypePropertyName

public void setTypePropertyName(java.lang.String pTypePropertyName)

getRefineElementsPropertyName

public java.lang.String getRefineElementsPropertyName()

setRefineElementsPropertyName

public void setRefineElementsPropertyName(java.lang.String pRefineElementsPropertyName)

getRefineConfigNamePropertyName

public java.lang.String getRefineConfigNamePropertyName()

setRefineConfigNamePropertyName

public void setRefineConfigNamePropertyName(java.lang.String pRefineConfigNamePropertyName)

getSortOptionsPropertyName

public java.lang.String getSortOptionsPropertyName()

setSortOptionsPropertyName

public void setSortOptionsPropertyName(java.lang.String pSortOptionsPropertyName)