Interface IResourceRss
- All Known Implementing Classes:
ResourceRss
public interface IResourceRss
IResourceRss
-
Method Summary
Modifier and TypeMethodDescriptionbooleanverify that the resource existbooleanverified that the resource contains the resource to be exploitedvoiddeleteResourceRssConfig(int idResourceRss) Update the ResourceRss configurationvoiddoSaveConfig(javax.servlet.http.HttpServletRequest request, Locale locale) Save the ResourceRss configurationvoiddoUpdateConfig(javax.servlet.http.HttpServletRequest request, Locale locale) Update the ResourceRss configurationdoValidateConfigForm(javax.servlet.http.HttpServletRequest request, Locale locale) validates the user input associated to the resource rssgetDisplayCreateConfigForm(javax.servlet.http.HttpServletRequest request, Locale locale) returns the informations which must be displayed in the creation resourceRss configurationgetDisplayModifyConfigForm(javax.servlet.http.HttpServletRequest request, Locale locale) returns the informations which must be displayed in the modification resourceRss configurationGets the encodinggetFeed()Gets the feed with itemsGets the feed typeintgetId()intThe number of displayed item.getName()getParameterToApply(javax.servlet.http.HttpServletRequest request) Return the list of parameter to keep when action applyvoidsetDescription(String strDescription) set the descriptionvoidsetEncoding(String strEncoding) Sets the encodingvoidsetFeedType(String strFeedType) Sets the feed typevoidsetId(int nId) set the rss idvoidsetMaxItems(int nMaxItems) Sets the number of displayed itemvoidset the namevoidsetResourceRssType(IResourceRssType resourceRssType) set the ResourceRssType object
-
Method Details
-
getId
int getId()- Returns:
- the rss Id
-
setId
void setId(int nId) set the rss id- Parameters:
nId- the rss id
-
getDescription
String getDescription()- Returns:
- the description
-
setDescription
set the description- Parameters:
strDescription- the description
-
getName
String getName()- Returns:
- the name
-
setName
set the name- Parameters:
strName- the name
-
getResourceRssType
IResourceRssType getResourceRssType()- Returns:
- the ResourceRssType Object
-
setResourceRssType
set the ResourceRssType object- Parameters:
resourceRssType- the ResourceRsstype object
-
doValidateConfigForm
validates the user input associated to the resource rss- Parameters:
request- requestlocale- locale- Returns:
- null if there is no error in the resourceRss form else return the error message url
-
getDisplayCreateConfigForm
returns the informations which must be displayed in the creation resourceRss configuration- Parameters:
request- requestlocale- locale- Returns:
- the information which must be displayed in the creation resourceRss configuration
-
getDisplayModifyConfigForm
returns the informations which must be displayed in the modification resourceRss configuration- Parameters:
request- requestlocale- locale- Returns:
- the information which must be displayed in the modification resourceRss configuration
-
doSaveConfig
Save the ResourceRss configuration- Parameters:
request- requestlocale- locale
-
doUpdateConfig
Update the ResourceRss configuration- Parameters:
request- requestlocale- locale
-
contentResourceRss
boolean contentResourceRss()verified that the resource contains the resource to be exploited- Returns:
- true if resourceRss content resource
-
getFeed
IFeedResource getFeed()Gets the feed with items- Returns:
- the
IFeedResource
-
deleteResourceRssConfig
void deleteResourceRssConfig(int idResourceRss) Update the ResourceRss configuration- Parameters:
idResourceRss- id of resourceRss
-
getParameterToApply
Return the list of parameter to keep when action apply- Parameters:
request- request- Returns:
- the map of parameter
-
checkResource
boolean checkResource()verify that the resource exist- Returns:
- true if resource exist
-
getFeedType
String getFeedType()Gets the feed type- Returns:
- the feed type
-
setFeedType
Sets the feed type- Parameters:
strFeedType- the feed type
-
getEncoding
String getEncoding()Gets the encoding- Returns:
- the encoding
-
setEncoding
Sets the encoding- Parameters:
strEncoding- the encoding
-
getMaxItems
int getMaxItems()The number of displayed item.- Returns:
- the number of displayed item
-
setMaxItems
void setMaxItems(int nMaxItems) Sets the number of displayed item- Parameters:
nMaxItems- number of displayed item
-