com.silverpeas.webpages.control
Class WebPagesSessionController

java.lang.Object
  extended by com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
      extended by com.silverpeas.webpages.control.WebPagesSessionController
All Implemented Interfaces:
com.stratelia.silverpeas.peasCore.ComponentSessionController

public class WebPagesSessionController
extends com.stratelia.silverpeas.peasCore.AbstractComponentSessionController


Field Summary
 
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
CHARACTER_ENCODING, context
 
Constructor Summary
WebPagesSessionController(com.stratelia.silverpeas.peasCore.MainSessionController mainSessionCtrl, com.stratelia.silverpeas.peasCore.ComponentContext componentContext)
          Standard Session Controller Constructeur
 
Method Summary
 void addSubscription()
           
 com.silverpeas.form.DataRecord getDataRecord()
           
 String getProfile()
          Méthode récupérant le role le plus élevé du user
 com.silverpeas.form.Form getUpdateForm()
           
 com.silverpeas.form.Form getViewForm()
           
 boolean haveGotWysiwygNotEmpty()
           
 void index()
           
 boolean isSubscriber()
           
 boolean isSubscriptionUsed()
          Return boolean if subscription is used for this instance
 boolean isXMLContentDefined()
           
 boolean isXMLTemplateUsed()
           
 void removeSubscription()
           
 void saveDataRecord(List<org.apache.commons.fileupload.FileItem> items)
           
 
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

WebPagesSessionController

public WebPagesSessionController(com.stratelia.silverpeas.peasCore.MainSessionController mainSessionCtrl,
                                 com.stratelia.silverpeas.peasCore.ComponentContext componentContext)
Standard Session Controller Constructeur

Parameters:
mainSessionCtrl - The user's profile
componentContext - The component's profile
See Also:
Method Detail

getProfile

public String getProfile()
Méthode récupérant le role le plus élevé du user

Returns:
le role

haveGotWysiwygNotEmpty

public boolean haveGotWysiwygNotEmpty()
Returns:
vrai s'il existe un fichier wysiwyg pour l'instance de composant

index

public void index()
           throws WebPagesException
Throws:
WebPagesException

removeSubscription

public void removeSubscription()

addSubscription

public void addSubscription()

isSubscriber

public boolean isSubscriber()

isSubscriptionUsed

public boolean isSubscriptionUsed()
Return boolean if subscription is used for this instance

Returns:
boolean

isXMLTemplateUsed

public boolean isXMLTemplateUsed()

getDataRecord

public com.silverpeas.form.DataRecord getDataRecord()
                                             throws WebPagesException
Throws:
WebPagesException

isXMLContentDefined

public boolean isXMLContentDefined()
                            throws WebPagesException
Throws:
WebPagesException

getViewForm

public com.silverpeas.form.Form getViewForm()
                                     throws WebPagesException
Throws:
WebPagesException

getUpdateForm

public com.silverpeas.form.Form getUpdateForm()
                                       throws WebPagesException
Throws:
WebPagesException

saveDataRecord

public void saveDataRecord(List<org.apache.commons.fileupload.FileItem> items)
                    throws WebPagesException
Throws:
WebPagesException


Copyright © 2016 Silverpeas. All Rights Reserved.