com.silverpeas.formsonline.control
Class FormsOnlineSessionController
java.lang.Object
com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
com.silverpeas.formsonline.control.FormsOnlineSessionController
- All Implemented Interfaces:
- com.stratelia.silverpeas.peasCore.ComponentSessionController
public class FormsOnlineSessionController
- extends com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController |
CHARACTER_ENCODING, context |
Constructor Summary |
FormsOnlineSessionController(com.stratelia.silverpeas.peasCore.MainSessionController mainSessionCtrl,
com.stratelia.silverpeas.peasCore.ComponentContext componentContext)
Standard Session Controller Constructeur |
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 |
m_Selection
protected com.stratelia.silverpeas.selection.Selection m_Selection
userPanelSendersPrefix
public static final String userPanelSendersPrefix
- See Also:
- Constant Field Values
userPanelReceiversPrefix
public static final String userPanelReceiversPrefix
- See Also:
- Constant Field Values
FormsOnlineSessionController
public FormsOnlineSessionController(com.stratelia.silverpeas.peasCore.MainSessionController mainSessionCtrl,
com.stratelia.silverpeas.peasCore.ComponentContext componentContext)
- Standard Session Controller Constructeur
- Parameters:
mainSessionCtrl
- The user's profilecomponentContext
- The component's profile- See Also:
getAllForms
public List<FormDetail> getAllForms(boolean withSendInfo)
throws FormsOnlineDatabaseException
- Throws:
FormsOnlineDatabaseException
setCurrentForm
public void setCurrentForm(FormDetail form)
getCurrentForm
public FormDetail getCurrentForm()
updateCurrentForm
public void updateCurrentForm(String[] senderUserIds,
String[] senderGroupIds,
String[] receiverUserIds,
String[] receiverGroupIds)
throws FormsOnlineDatabaseException
- Throws:
FormsOnlineDatabaseException
loadForm
public FormDetail loadForm(int formId)
throws FormsOnlineDatabaseException
- Throws:
FormsOnlineDatabaseException
deleteForm
public void deleteForm(int formId)
throws FormsOnlineDatabaseException
- Throws:
FormsOnlineDatabaseException
initSelectionSenders
public String initSelectionSenders(List<String> userIds,
List<String> groupIds)
throws FormsOnlineDatabaseException
- Throws:
FormsOnlineDatabaseException
initSelectionReceivers
public String initSelectionReceivers(List<String> userIds,
List<String> groupIds)
throws FormsOnlineDatabaseException
- Throws:
FormsOnlineDatabaseException
publishForm
public void publishForm(String formId)
throws FormsOnlineDatabaseException
- Throws:
FormsOnlineDatabaseException
unpublishForm
public void unpublishForm(String formId)
throws FormsOnlineDatabaseException
- Throws:
FormsOnlineDatabaseException
getAvailableFormsToSend
public List<FormDetail> getAvailableFormsToSend()
throws FormsOnlineDatabaseException
- Throws:
FormsOnlineDatabaseException
saveRequest
public void saveRequest(List<org.apache.commons.fileupload.FileItem> items)
throws FormsOnlineDatabaseException,
com.silverpeas.publicationTemplate.PublicationTemplateException,
com.silverpeas.form.FormException
- Throws:
FormsOnlineDatabaseException
com.silverpeas.publicationTemplate.PublicationTemplateException
com.silverpeas.form.FormException
getAvailableFormIdsAsReceiver
public List<String> getAvailableFormIdsAsReceiver()
throws FormsOnlineDatabaseException
- Throws:
FormsOnlineDatabaseException
loadRequest
public FormInstance loadRequest(String id)
throws FormsOnlineDatabaseException,
com.silverpeas.publicationTemplate.PublicationTemplateException,
com.silverpeas.form.FormException
- Throws:
FormsOnlineDatabaseException
com.silverpeas.publicationTemplate.PublicationTemplateException
com.silverpeas.form.FormException
updateValidationStatus
public void updateValidationStatus(String requestId,
String decision,
String comments)
throws FormsOnlineDatabaseException
- Throws:
FormsOnlineDatabaseException
archiveRequest
public void archiveRequest(String id)
throws FormsOnlineDatabaseException
- Throws:
FormsOnlineDatabaseException
deleteRequest
public void deleteRequest(String id)
throws FormsOnlineDatabaseException,
com.silverpeas.form.FormException,
com.silverpeas.publicationTemplate.PublicationTemplateException
- Throws:
FormsOnlineDatabaseException
com.silverpeas.form.FormException
com.silverpeas.publicationTemplate.PublicationTemplateException
deleteRequests
public int deleteRequests(String[] ids)
throws com.silverpeas.publicationTemplate.PublicationTemplateException,
FormsOnlineDatabaseException,
com.silverpeas.form.FormException
- Throws:
com.silverpeas.publicationTemplate.PublicationTemplateException
FormsOnlineDatabaseException
com.silverpeas.form.FormException
getTemplates
public List<com.silverpeas.publicationTemplate.PublicationTemplate> getTemplates()
getAllUserRequests
public RequestsByStatus getAllUserRequests()
throws FormsOnlineDatabaseException
- Throws:
FormsOnlineDatabaseException
getAllValidatorRequests
public RequestsByStatus getAllValidatorRequests()
throws FormsOnlineDatabaseException
- Throws:
FormsOnlineDatabaseException
getComponentInstLight
public com.stratelia.webactiv.beans.admin.ComponentInstLight getComponentInstLight()
getBestProfile
public String getBestProfile()
Copyright © 2016 Silverpeas. All Rights Reserved.