| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.commerce.search.refinement.admin.PropertyRefinementConfigurationContainer
public class PropertyRefinementConfigurationContainer
An implementation of RefinementConfigurationContainer that, given an item descriptor, an id of an item with that descriptor, and a property name of that item, will retrieve the item with the given id, and return the value of the property with the given name, which must be a refineConfig item. For example, with itemDescriptor = category, repositoryId = cat10001, and propertyName = refineConfig, this container will return the refineConfig associated with category cat10001.
| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| protected  RepositoryItemDescriptor | mItemDescriptor | 
| static ApplicationLoggingImpl | mLoggerLogger | 
| protected  java.lang.String | mPropertyName | 
| protected  java.lang.String | mRepositoryId | 
| Constructor Summary | |
|---|---|
| PropertyRefinementConfigurationContainer(RepositoryItem pItem,
                                         java.lang.String pPropertyName,
                                         java.lang.String pRepositoryId,
                                         int pSpecificity)Create a new refinement configuration container whose item is referenced from the property of the item of the given descriptor. | |
| Method Summary | |
|---|---|
|  boolean | equals(java.lang.Object pOther)Test to see of the other object has the same item descriptor, id, and property name | 
| protected  RepositoryItem | getContainingItem()Get the item that contains the refinement configuration property. | 
|  RepositoryItemDescriptor | getItemDescriptor()Gets the descriptor of the item that contains the refinement configuration. | 
|  java.lang.String | getMappingValue()Returns the repository id of the containing item. | 
|  java.lang.String | getName() | 
|  java.lang.String | getPropertyName()Gets the name of the property whose value is the refinement configuration. | 
|  RepositoryItem | getRefinementConfigurationItem()Gets the refinement configuration by retrieving the repository item with the given item descriptor and id, and getting the value of the given property. | 
|  java.lang.String | getRepositoryId()Gets the repository id of the item that contains the refinement configuration. | 
|  RepositoryItem | getSourceItem() | 
|  int | getSpecificity() | 
|  int | hashCode()Gets the hashCode of this container. | 
|  void | setName(java.lang.String pName) | 
|  void | setSourceItem(RepositoryItem pSourceItem) | 
|  void | setSpecificity(int pSpecificity) | 
|  java.lang.String | toString()Return a string containing the values of this container. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static java.lang.String CLASS_VERSION
public static ApplicationLoggingImpl mLogger
protected RepositoryItemDescriptor mItemDescriptor
protected java.lang.String mPropertyName
protected java.lang.String mRepositoryId
| Constructor Detail | 
|---|
public PropertyRefinementConfigurationContainer(RepositoryItem pItem,
                                                java.lang.String pPropertyName,
                                                java.lang.String pRepositoryId,
                                                int pSpecificity)
| Method Detail | 
|---|
public RepositoryItemDescriptor getItemDescriptor()
public java.lang.String getPropertyName()
public java.lang.String getRepositoryId()
public void setName(java.lang.String pName)
setName in interface RefinementConfigurationContainerpublic java.lang.String getName()
getName in interface RefinementConfigurationContainerpublic void setSpecificity(int pSpecificity)
public int getSpecificity()
public void setSourceItem(RepositoryItem pSourceItem)
public RepositoryItem getSourceItem()
public RepositoryItem getRefinementConfigurationItem()
                                              throws RepositoryException
getRefinementConfigurationItem in interface RefinementConfigurationContainerRepositoryExceptionpublic java.lang.String getMappingValue()
getMappingValue in interface RefinementConfigurationContainer
protected RepositoryItem getContainingItem()
                                    throws RepositoryException
RepositoryExceptionpublic boolean equals(java.lang.Object pOther)
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 | ||||||||