|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
org.shredzone.repowatch.config
Class PropertyConfigurationBean
java.lang.Objectorg.shredzone.repowatch.config.PropertyConfigurationBean
- All Implemented Interfaces:
- Configuration
public class PropertyConfigurationBean
- extends Object
- implements Configuration
- extends Object
This implementation of the Configuration interface returns
sensible default values which can be changed by the setter methods.
Use this to configure the Configuration values in Spring's
application context.
- Version:
- $Revision: 328 $
| Constructor Summary | |
|---|---|
PropertyConfigurationBean()
|
|
| Method Summary | |
|---|---|
int |
getEntriesPerPage()
The number of entries to be shown per page of a browser list. |
int |
getRssMaxNumberOfDays()
The maximum number of days to look back in a RSS feed. |
int |
getRssMaxNumberOfEntries()
The maximum number of entries in a RSS feed. |
int |
getSearchTermMinLength()
The minimum number of characters in a valid search term. |
void |
setEntriesPerPage(int value)
Sets the number of entries to be shown per page of a browser list. |
void |
setRssMaxNumberOfDays(int value)
Sets the maximum number of days to look back in a RSS feed. |
void |
setRssMaxNumberOfEntries(int value)
Sets the maximum number of entries in a RSS feed. |
void |
setSearchTermMinLength(int value)
Sets the minimum number of characters in a valid search term. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
PropertyConfigurationBean
public PropertyConfigurationBean()
| Method Detail |
|---|
setEntriesPerPage
public void setEntriesPerPage(int value)
- Sets the number of entries to be shown per page of a browser list.
- Parameters:
value- Value
setRssMaxNumberOfDays
public void setRssMaxNumberOfDays(int value)
- Sets the maximum number of days to look back in a RSS feed.
- Parameters:
value- Value
setRssMaxNumberOfEntries
public void setRssMaxNumberOfEntries(int value)
- Sets the maximum number of entries in a RSS feed.
- Parameters:
value- Value
setSearchTermMinLength
public void setSearchTermMinLength(int value)
- Sets the minimum number of characters in a valid search term.
- Parameters:
value- Value
getEntriesPerPage
public int getEntriesPerPage()
- Description copied from interface:
Configuration - The number of entries to be shown per page of a browser list.
- Specified by:
getEntriesPerPagein interfaceConfiguration
- Returns:
- Value
getRssMaxNumberOfDays
public int getRssMaxNumberOfDays()
- Description copied from interface:
Configuration - The maximum number of days to look back in a RSS feed.
- Specified by:
getRssMaxNumberOfDaysin interfaceConfiguration
- Returns:
- Value
getRssMaxNumberOfEntries
public int getRssMaxNumberOfEntries()
- Description copied from interface:
Configuration - The maximum number of entries in a RSS feed.
- Specified by:
getRssMaxNumberOfEntriesin interfaceConfiguration
- Returns:
- Value
getSearchTermMinLength
public int getSearchTermMinLength()
- Description copied from interface:
Configuration - The minimum number of characters in a valid search term.
- Specified by:
getSearchTermMinLengthin interfaceConfiguration
- Returns:
- Value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2007-2011 shredzone.org. All Rights Reserved.
org.shredzone.repowatch.config.PropertyConfigurationBean