|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object UrlNavigationStateBuilder atg.endeca.assembler.navigation.ExtendedNavigationStateBuilder
public class ExtendedNavigationStateBuilder
The main feature added to the UrlNavigationStateBuilder is that our RecordFilterBuilders
can be registered on it thus providing additional record filters to be added to the parsed
filter state.
This class is NOT thread-safe
Field Summary | |
---|---|
protected static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
ExtendedNavigationStateBuilder()
|
Method Summary | |
---|---|
NavigationStateProcessor[] |
getNavigationStateProcessors()
|
RecordFilterBuilder[] |
getNonSecurityFilterBuilders()
|
RangeFilterBuilder[] |
getRangeFilterBuilders()
|
RecordFilterBuilder[] |
getRecordFilterBuilders()
|
RecordFilterBuilder |
getSecurityFilterBuilder()
|
RecordFilterBuilder[] |
getSecurityFilterBuilders()
|
protected FilterState |
parseFilterState(UrlState pUrlState)
Allows the security filter to be provided by securityFilterBuilder, thus allowing us to calculate security filter based on user profile, etc. |
NavigationState |
parseNavigationState(java.lang.String pQueryString,
java.lang.String pPathInfo,
java.lang.String pCharacterEncoding)
Retrieve the NavigationStateProcessor component and invoke its process method passing in the NavigationState returned from calling super. |
protected java.util.List<RangeFilter> |
parseRangeFilters(UrlState urlState)
Adds custom range filters provided by the rangeFilterBuilders property to the NavigationState. |
protected java.util.List<java.lang.String> |
parseRecordFilters(UrlState pUrlState)
Adds custom record filters provided by record filter builders. |
void |
setNavigationStateProcessors(NavigationStateProcessor[] pNavigationStateProcessors)
|
void |
setRangeFilterBuilders(RangeFilterBuilder[] pRangeFilterBuilders)
|
void |
setRecordFilterBuilders(RecordFilterBuilder[] pRecordFilterBuilders)
|
static java.util.List<java.lang.String> |
splitRecordFilters(java.util.List<java.lang.String> pRecordFilters)
For each record filter in the list the method checks whether the filter is a union of filters and if so splits it into individual record filters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ExtendedNavigationStateBuilder()
Method Detail |
---|
public RangeFilterBuilder[] getRangeFilterBuilders()
public void setRangeFilterBuilders(RangeFilterBuilder[] pRangeFilterBuilders)
public RecordFilterBuilder[] getRecordFilterBuilders()
public void setRecordFilterBuilders(RecordFilterBuilder[] pRecordFilterBuilders)
pRecordFilterBuilders
- the recordFilterBuilders to setpublic RecordFilterBuilder[] getNonSecurityFilterBuilders()
public RecordFilterBuilder getSecurityFilterBuilder()
public RecordFilterBuilder[] getSecurityFilterBuilders()
public NavigationStateProcessor[] getNavigationStateProcessors()
public void setNavigationStateProcessors(NavigationStateProcessor[] pNavigationStateProcessors)
mNavigationStateProcessor
- the mNavigationStateProcessor to setprotected java.util.List<java.lang.String> parseRecordFilters(UrlState pUrlState) throws NavigationException
NavigationException
protected java.util.List<RangeFilter> parseRangeFilters(UrlState urlState) throws NavigationException
NavigationException
public static java.util.List<java.lang.String> splitRecordFilters(java.util.List<java.lang.String> pRecordFilters)
pRecordFilters
- The initial list of record filters to split
protected FilterState parseFilterState(UrlState pUrlState) throws NavigationException
null
, uses the default
security filter provided by the default filter state.
NavigationException
public NavigationState parseNavigationState(java.lang.String pQueryString, java.lang.String pPathInfo, java.lang.String pCharacterEncoding) throws NavigationException
NavigationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |