Class RssAgregatorSessionController
java.lang.Object
org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
org.silverpeas.components.rssaggregator.control.RssAgregatorSessionController
- All Implemented Interfaces:
Serializable,org.silverpeas.core.web.mvc.controller.ComponentSessionController,org.silverpeas.core.web.session.SessionCloseable
public class RssAgregatorSessionController
extends org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
Standard Session Controller Constructor
- Author:
- neysseri
- See Also:
-
Field Summary
Fields inherited from class org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
context -
Constructor Summary
ConstructorsConstructorDescriptionRssAgregatorSessionController(org.silverpeas.core.web.mvc.controller.MainSessionController mainSessionCtrl, org.silverpeas.core.web.mvc.controller.ComponentContext componentContext) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChannel(SPChannel channel) voiddeleteChannel(String id) Extract rss files informations (channels and items).getChannel(String id) This method return the highest user profilesvoidloads rss files information (channels and items).voidsetViewMode(RSSViewType viewMode) Sets the current view mode of the RSS agregator rendering.voidupdateChannel(SPChannel channel) Methods inherited from class org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
addClipboardSelection, clipboardPasteDone, close, getClipboardErrorMessage, getClipboardExceptionError, getClipboardObjects, getClipboardSelectedObjects, getClipboardSize, getComponentAccessController, getComponentId, getComponentLabel, getComponentName, getComponentParameterValue, getComponentParameterValue, getComponentRootName, getComponentUrl, getHighestSilverpeasUserRole, getIcon, getLanguage, getLook, getMultilang, getOrganisationController, getPersonalization, getRSSUrl, getSelection, getSettings, getSilverpeasUserRoles, getSpaceId, getSpaceLabel, getString, getSubscriptionContext, getUrlEncodedParameter, getUserAccessLevel, getUserAvailComponentIds, getUserDetail, getUserDetail, getUserId, getUserManageableGroupIds, getUserManageableSpaceIds, getUserRoles, getZoneId, isAppInMaintenance, isGroupManager, isPasswordChangeAllowed, isSpaceInMaintenance, removeClipboardElement, setAppModeMaintenance, setClipboardSelectedElement, setComponentRootName, setSpaceModeMaintenance
-
Constructor Details
-
RssAgregatorSessionController
public RssAgregatorSessionController(org.silverpeas.core.web.mvc.controller.MainSessionController mainSessionCtrl, org.silverpeas.core.web.mvc.controller.ComponentContext componentContext) Default constructor
-
-
Method Details
-
getAvailableChannels
Extract rss files informations (channels and items). Return a list of Channel.- Throws:
RssAgregatorException
-
loadChannelsContent
loads rss files information (channels and items).- Throws:
RssAgregatorException
-
addChannel
- Throws:
RssAgregatorException
-
updateChannel
- Throws:
RssAgregatorException
-
deleteChannel
- Throws:
RssAgregatorException
-
getChannel
- Throws:
RssAgregatorException
-
getRSSIntroductionContent
- Returns:
- HTML string content of RSS presentation
-
setViewMode
Sets the current view mode of the RSS agregator rendering.- Parameters:
viewMode- the view mode (separated, aggregated).
-
getViewMode
- Returns:
- the current viewMode
-
getHighestRole
This method return the highest user profiles- Returns:
- profile which gives the higher access
-