|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.silverpeas.peasCore.AbstractComponentSessionController
com.silverpeas.delegatednews.control.DelegatedNewsSessionController
public class DelegatedNewsSessionController
Field Summary |
---|
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController |
---|
CHARACTER_ENCODING, context |
Constructor Summary | |
---|---|
DelegatedNewsSessionController(com.stratelia.silverpeas.peasCore.MainSessionController mainSessionCtrl,
com.stratelia.silverpeas.peasCore.ComponentContext componentContext)
Standard Session Controller Constructeur |
Method Summary | |
---|---|
List<DelegatedNews> |
getAllAvailDelegatedNews()
Récupère toutes les actualités déléguées inter Theme Tracker dont l'utilisateur courant a des droits |
String |
getListDelegatedNewsJSON(List<DelegatedNews> listDelegatedNews)
Converts the list of Delegated News into its JSON representation. |
boolean |
isAdmin()
|
boolean |
isUser()
|
void |
refuseDelegatedNews(int pubId,
String refuseReasonText)
Refuse l'actualité déléguée passée en paramètre |
void |
updateDateDelegatedNews(int pubId,
Date beginDate,
Date endDate)
Met à jour les dates de visibilité de l'actualité déléguée passée en paramètre |
void |
validateDelegatedNews(int pubId)
Valide l'actualité déléguée passée en paramètre |
Methods inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController |
---|
addClipboardSelection, clipboardPasteDone, close, getAlertUser, getClipboardCount, getClipboardErrorMessage, getClipboardExceptionError, getClipboardName, getClipboardObjects, getClipboardSelectedObjects, getClipboardSize, getComponentAccessController, getComponentId, getComponentLabel, getComponentName, getComponentParameters, getComponentParameterValue, getComponentParameterValue, getComponentRootName, getComponentUrl, getFavoriteSpace, getGenericPanel, getHighestSilverpeasUserRole, getIcon, getLanguage, getLastResults, getLook, getMultilang, getOrganisationController, getPersonalization, getRSSUrl, getSelection, getServerNameAndPort, getSettings, getSilverpeasUserRoles, getSpaceId, getSpaceLabel, getString, getSubscriptionContext, getUrlEncodedParameter, getUserAccessLevel, getUserAvailComponentIds, getUserAvailSpaceIds, getUserDetail, getUserDetail, getUserId, getUserManageableGroupIds, getUserManageableSpaceIds, getUserRoleLevel, getUserRoles, isAppInMaintenance, isGroupManager, isPasswordChangeAllowed, isSpaceInMaintenance, removeClipboardElement, setAppModeMaintenance, setClipboardError, setClipboardSelectedElement, setComponentRootName, setFavoriteSpaceToMainSessionController, setGenericPanel, setIconFileName, setLastResults, setMultilangFileName, setResourceFileName, setSpaceModeMaintenance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelegatedNewsSessionController(com.stratelia.silverpeas.peasCore.MainSessionController mainSessionCtrl, com.stratelia.silverpeas.peasCore.ComponentContext componentContext)
mainSessionCtrl
- The user's profilecomponentContext
- The component's profile
Method Detail |
---|
public boolean isUser()
public boolean isAdmin()
public List<DelegatedNews> getAllAvailDelegatedNews()
public void validateDelegatedNews(int pubId)
public void refuseDelegatedNews(int pubId, String refuseReasonText)
public void updateDateDelegatedNews(int pubId, Date beginDate, Date endDate)
public String getListDelegatedNewsJSON(List<DelegatedNews> listDelegatedNews) throws JAXBException
JAXBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |