| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SearchDimension
This interface provide methods to check dimension matches.
| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSION | 
| Method Summary | |
|---|---|
|  boolean | dimensionMatchesValue(DynamoHttpServletRequest pRequest,
                      java.lang.String pValue)Checks whether or not a value matches this service. | 
|  boolean | dimensionMatchesValue(RepositoryItem pProfile,
                      java.lang.String pValue)Checks whether or not a value extracted from the given profile matches the given value. | 
|  boolean | dimensionMatchesValue(java.lang.String pSourceValue,
                      java.lang.String pTargetValue)Checks whether or not a given source value matches the given target value. | 
|  java.util.List | getAllDimensionValues()Returns a list of string dimension values that are valid for this dimension and additional specific dimension values such as "All others" | 
|  java.lang.String | getDimensionName()Gets the string name of this dimension, e.g. | 
|  java.lang.String | getDimensionValueDisplayName(java.lang.String pDimensionValue)Gets the localised display name for a dimension value. | 
|  java.util.List | getDimensionValues()Returns a list of string dimension values that are valid for this dimension. | 
|  java.lang.String | getDisplayName()Gets the localised name for this dimension service. | 
|  boolean | isDisabled() | 
|  boolean | isProfileBased() | 
| Field Detail | 
|---|
static final java.lang.String CLASS_VERSION
| Method Detail | 
|---|
java.lang.String getDimensionName()
java.lang.String getDisplayName()
java.util.MissingResourceException - if resource can't be found.
java.lang.NullPointerException - if locale or resource bundle name is null.java.util.List getDimensionValues()
java.util.List getAllDimensionValues()
java.lang.String getDimensionValueDisplayName(java.lang.String pDimensionValue)
pDimensionValue - String dimension value
java.util.MissingResourceException - if resource can't be found.
java.lang.NullPointerException - if locale or resource bundle name is null.
boolean dimensionMatchesValue(DynamoHttpServletRequest pRequest,
                              java.lang.String pValue)
pRequest - is the current customer DynamoHttpServletRequest request.pValue - is the dimensionValue property of the item being checked.
pValue is matched with appropriate value from pRequest.
boolean dimensionMatchesValue(java.lang.String pSourceValue,
                              java.lang.String pTargetValue)
pSourceValue - String source value to checkpTargetValue - String target value to check.
boolean dimensionMatchesValue(RepositoryItem pProfile,
                              java.lang.String pValue)
pProfile - RepositoryItem profile to usepValue - String vlaue to check.
boolean isProfileBased()
boolean isDisabled()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||