| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.commerce.search.refinement.admin.QueryRefinementConfigurationContainer
public class QueryRefinementConfigurationContainer
An implementation of the RefinementConfigurationContainer interface that uses a query to find a particular refinement configuration item. As an example, the "global" refinement configuration can be found by setting the item descriptor to the refineConfig item descriptor, and the query to (isGlobal = TRUE).
| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| Constructor Summary | |
|---|---|
| QueryRefinementConfigurationContainer(RepositoryItemDescriptor pItemDescriptor,
                                      Query pQuery,
                                      java.lang.String pMappingValue,
                                      java.lang.String pName)Create a new refinement configuration container whose item lives in the given item descriptor, and is retrieved by the given query. | |
| Method Summary | |
|---|---|
|  boolean | equals(java.lang.Object pObject)Test to see if the item descriptor and query matches. | 
|  RepositoryItemDescriptor | getItemDescriptor()Gets the item descriptor of the repository item. | 
|  java.lang.String | getMappingValue()Get the mapping value for the refinement configuration. | 
|  java.lang.String | getName() | 
|  Query | getQuery()Get the query used to find the repository item. | 
|  RepositoryItem | getRefinementConfigurationItem()Issue the query against the repository item, and return the first item from the result set. | 
|  int | hashCode()Return the hashCode of this container. | 
|  void | setName(java.lang.String pName) | 
|  java.lang.String | toString()Return a string representation of the item descriptor and query. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail | 
|---|
public QueryRefinementConfigurationContainer(RepositoryItemDescriptor pItemDescriptor,
                                             Query pQuery,
                                             java.lang.String pMappingValue,
                                             java.lang.String pName)
| Method Detail | 
|---|
public RepositoryItemDescriptor getItemDescriptor()
public Query getQuery()
public java.lang.String getMappingValue()
getMappingValue in interface RefinementConfigurationContainerpublic void setName(java.lang.String pName)
setName in interface RefinementConfigurationContainerpublic java.lang.String getName()
getName in interface RefinementConfigurationContainer
public RepositoryItem getRefinementConfigurationItem()
                                              throws RepositoryException
getRefinementConfigurationItem in interface RefinementConfigurationContainerRepositoryExceptionpublic boolean equals(java.lang.Object pObject)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||