atg.repository.search.refinement
Class FacetManager
java.lang.Object
atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.repository.search.refinement.FacetManager
- All Implemented Interfaces:
- atg.naming.AbsoluteNameable, NameContextBindingListener, NameContextElement, atg.naming.NameContextParentable, NameResolver, AdminableService, atg.nucleus.Configured, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, java.util.EventListener
- Direct Known Subclasses:
- CommerceFacetManager
public class FacetManager
- extends GenericService
Manager class to get and set items in the refinement repository.
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
DEFAULT_LOG_TRACE_STATUS |
Methods inherited from class atg.nucleus.GenericService |
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, 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, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, 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 |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
mRefinementConfigurationPropertyManager
protected RefinementConfigurationPropertyManager mRefinementConfigurationPropertyManager
mRefinementElementPropertyManager
protected RefinementElementPropertyManager mRefinementElementPropertyManager
mSortOptionPropertyManager
protected atg.repository.search.refinement.admin.SortOptionPropertyManager mSortOptionPropertyManager
mRepository
public Repository mRepository
mSearchFacetId
protected java.lang.String mSearchFacetId
FacetManager
public FacetManager()
getRefinementConfigurationPropertyManager
public RefinementConfigurationPropertyManager getRefinementConfigurationPropertyManager()
setRefinementConfigurationPropertyManager
public void setRefinementConfigurationPropertyManager(RefinementConfigurationPropertyManager pRefinementConfigurationPropertyManager)
getRefinementElementPropertyManager
public RefinementElementPropertyManager getRefinementElementPropertyManager()
setRefinementElementPropertyManager
public void setRefinementElementPropertyManager(RefinementElementPropertyManager pRefinementElementPropertyManager)
getSortOptionPropertyManager
public atg.repository.search.refinement.admin.SortOptionPropertyManager getSortOptionPropertyManager()
setSortOptionPropertyManager
public void setSortOptionPropertyManager(atg.repository.search.refinement.admin.SortOptionPropertyManager pSortOptionPropertyManager)
getRepository
public Repository getRepository()
setRepository
public void setRepository(Repository pRepository)
getSearchFacetId
public java.lang.String getSearchFacetId()
setSearchFacetId
public void setSearchFacetId(java.lang.String pSearchFacetId)
getRefineConfigById
public RepositoryItem getRefineConfigById(java.lang.String pRefineConfigId)
throws RepositoryException
- Returns the refinement configuration object with the given id. The item
has a descriptor type of "refineConfig" in the repository.
- Parameters:
pRefineConfigId
- String id of the refinement configuration to retrieve
- Returns:
- a RepositoryItem object if the item can be found, otherwise null is returned.
- Throws:
RepositoryException
getRefineElementById
public RepositoryItem getRefineElementById(java.lang.String pRefineElementId)
throws RepositoryException
- Returns the refinement element object with the given id. The item
has a descriptor type of "refineElement" in the repository.
- Parameters:
pRefineElementId
- String id of the refinement element to retrieve
- Returns:
- a RepositoryItem object if the item can be found, otherwise null is returned.
- Throws:
RepositoryException
getSortOptionById
public RepositoryItem getSortOptionById(java.lang.String pSortOptionId)
throws RepositoryException
- Returns the sort option object with the given id. The item
has a descriptor type of "sortOption".
- Parameters:
pSortOptionId
- String id of the sort option to retrieve
- Returns:
- a RepositoryItem object if the item can be found, otherwise null is returned.
- Throws:
RepositoryException
getItem
protected RepositoryItem getItem(java.lang.String pItemId,
java.lang.String pItemDescriptorName)
throws RepositoryException
- Returns the refinement repository item with the given id and item descriptor.
- Parameters:
pItemId
- String id of the item to retrievepItemDescriptorName
- String item descriptor name
- Returns:
- a RepositoryItem object if the item can be found, otherwise null is returned.
- Throws:
RepositoryException