public interface IResourceRss
Modifier and Type | Method and Description |
---|---|
boolean |
checkResource()
verify that the resource exist
|
boolean |
contentResourceRss()
verified that the resource contains the resource to be exploited
|
void |
deleteResourceRssConfig(int idResourceRss)
Update the ResourceRss configuration
|
void |
doSaveConfig(javax.servlet.http.HttpServletRequest request,
Locale locale)
Save the ResourceRss configuration
|
void |
doUpdateConfig(javax.servlet.http.HttpServletRequest request,
Locale locale)
Update the ResourceRss configuration
|
String |
doValidateConfigForm(javax.servlet.http.HttpServletRequest request,
Locale locale)
validates the user input associated to the resource rss
|
String |
getDescription() |
String |
getDisplayCreateConfigForm(javax.servlet.http.HttpServletRequest request,
Locale locale)
returns the informations which must be displayed in the creation resourceRss configuration
|
String |
getDisplayModifyConfigForm(javax.servlet.http.HttpServletRequest request,
Locale locale)
returns the informations which must be displayed in the modification resourceRss configuration
|
String |
getEncoding()
Gets the encoding
|
IFeedResource |
getFeed()
Gets the feed with items
|
String |
getFeedType()
Gets the feed type
|
int |
getId() |
int |
getMaxItems()
The number of displayed item.
|
String |
getName() |
Map<String,String> |
getParameterToApply(javax.servlet.http.HttpServletRequest request)
Return the list of parameter to keep when action apply
|
IResourceRssType |
getResourceRssType() |
void |
setDescription(String strDescription)
set the description
|
void |
setEncoding(String strEncoding)
Sets the encoding
|
void |
setFeedType(String strFeedType)
Sets the feed type
|
void |
setId(int nId)
set the rss id
|
void |
setMaxItems(int nMaxItems)
Sets the number of displayed item
|
void |
setName(String strName)
set the name
|
void |
setResourceRssType(IResourceRssType resourceRssType)
set the ResourceRssType object
|
int getId()
void setId(int nId)
nId
- the rss idString getDescription()
void setDescription(String strDescription)
strDescription
- the descriptionString getName()
void setName(String strName)
strName
- the nameIResourceRssType getResourceRssType()
void setResourceRssType(IResourceRssType resourceRssType)
resourceRssType
- the ResourceRsstype objectString doValidateConfigForm(javax.servlet.http.HttpServletRequest request, Locale locale)
request
- requestlocale
- localeString getDisplayCreateConfigForm(javax.servlet.http.HttpServletRequest request, Locale locale)
request
- requestlocale
- localeString getDisplayModifyConfigForm(javax.servlet.http.HttpServletRequest request, Locale locale)
request
- requestlocale
- localevoid doSaveConfig(javax.servlet.http.HttpServletRequest request, Locale locale)
request
- requestlocale
- localevoid doUpdateConfig(javax.servlet.http.HttpServletRequest request, Locale locale)
request
- requestlocale
- localeboolean contentResourceRss()
IFeedResource getFeed()
IFeedResource
void deleteResourceRssConfig(int idResourceRss)
idResourceRss
- id of resourceRssMap<String,String> getParameterToApply(javax.servlet.http.HttpServletRequest request)
request
- requestboolean checkResource()
String getFeedType()
void setFeedType(String strFeedType)
strFeedType
- the feed typeString getEncoding()
void setEncoding(String strEncoding)
strEncoding
- the encodingint getMaxItems()
void setMaxItems(int nMaxItems)
nMaxItems
- number of displayed itemCopyright © 2020 City of Paris. All rights reserved.