atg.search.query.formhandlers
Class MultiPropertyConcatenator

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.search.query.formhandlers.MultiPropertyConcatenator
All Implemented Interfaces:
NameContextBindingListener, NameContextElement, NameResolver, AdminableService, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, java.util.EventListener

public class MultiPropertyConcatenator
extends GenericService

A class that concatenates values from two or more properties of nucleus components.


Field Summary
static java.lang.String CLASS_VERSION
           
 
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
MultiPropertyConcatenator()
           
 
Method Summary
 java.lang.String[] getComponents()
          Get an array of components and property names, in the format: "/path/Component.propertyName,/path/Component2.propertyName"
 java.lang.String getConcatenatedPropertyValues()
          Get the concatenated property values
 java.lang.String getDelimiter()
          Get the delimiter to use when concatenating component property values.
 void setComponents(java.lang.String[] pComponents)
          Set an array of components and property names, in the format: "/path/Component.propertyName,/path/Component2.propertyName"
 void setDelimiter(java.lang.String pDelimiter)
          Set the delimiter to use when concatenating component property values.
 
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, 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
Constructor Detail

MultiPropertyConcatenator

public MultiPropertyConcatenator()
Method Detail

setComponents

public void setComponents(java.lang.String[] pComponents)
Set an array of components and property names, in the format: "/path/Component.propertyName,/path/Component2.propertyName"

Parameters:
pComponents - an array of components and property names

getComponents

public java.lang.String[] getComponents()
Get an array of components and property names, in the format: "/path/Component.propertyName,/path/Component2.propertyName"

Returns:
the array of components and property names

setDelimiter

public void setDelimiter(java.lang.String pDelimiter)
Set the delimiter to use when concatenating component property values. The default is a comma (,)

Parameters:
pDelimiter - the delimater to use

getDelimiter

public java.lang.String getDelimiter()
Get the delimiter to use when concatenating component property values. The default is a comma (,)

Returns:
the delimater to use

getConcatenatedPropertyValues

public java.lang.String getConcatenatedPropertyValues()
Get the concatenated property values

Returns:
the concatenated property values