com.silverpeas.dataWarning.control
Class DataWarningSessionController

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

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


Field Summary
 
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
CHARACTER_ENCODING, context
 
Constructor Summary
DataWarningSessionController(com.stratelia.silverpeas.peasCore.MainSessionController mainSessionCtrl, com.stratelia.silverpeas.peasCore.ComponentContext componentContext)
          Standard Session Controller Constructeur
 
Method Summary
 String buildOptions(ArrayList ar, String selectValue, String selectText, boolean bSorted)
           
 String getAnalysisTypeString()
           
 String[] getColumns()
           
 DataWarningDBDriver getCurrentDBDriver()
           
 DataWarningQuery getCurrentQuery()
           
 int getCurrentQueryType()
           
 DataWarningDBDrivers getDataWarningDBDrivers()
           
 DataWarningEngine getDataWarningEngine()
           
 DataWarningDBDriver[] getDBDrivers()
           
 DataWarning getEditedDataWarning()
           
 DataWarningScheduler getEditedScheduler()
           
 ArrayList getSelectedGroups(String[] selectedGroupsId)
           
 ArrayList<Properties> getSelectedGroupsNames(String[] selectedGroupsId)
           
 ArrayList<Properties> getSelectedUsersNames(String[] selectedUsersId)
           
 String getTextFrequenceScheduler()
           
 String initSelectionPeas()
           
 boolean isUserInDataWarningGroups()
           
 DataWarning resetEditedDataWarning()
           
 DataWarningScheduler resetEditedScheduler()
           
 void returnSelectionPeas()
           
 void setColumns(String[] col)
           
 void setCurrentDBDriver(String DBDriverUniqueId)
           
 DataWarningQuery setCurrentQueryType(int qt)
           
 
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

DataWarningSessionController

public DataWarningSessionController(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

getDataWarningDBDrivers

public DataWarningDBDrivers getDataWarningDBDrivers()

getDBDrivers

public DataWarningDBDriver[] getDBDrivers()

setCurrentDBDriver

public void setCurrentDBDriver(String DBDriverUniqueId)

getCurrentDBDriver

public DataWarningDBDriver getCurrentDBDriver()

initSelectionPeas

public String initSelectionPeas()
                         throws DataWarningException
Throws:
DataWarningException

returnSelectionPeas

public void returnSelectionPeas()
                         throws DataWarningException
Throws:
DataWarningException

buildOptions

public String buildOptions(ArrayList ar,
                           String selectValue,
                           String selectText,
                           boolean bSorted)

getSelectedGroups

public ArrayList getSelectedGroups(String[] selectedGroupsId)
                            throws DataWarningException
Throws:
DataWarningException

getSelectedUsersNames

public ArrayList<Properties> getSelectedUsersNames(String[] selectedUsersId)
                                            throws DataWarningException
Throws:
DataWarningException

getSelectedGroupsNames

public ArrayList<Properties> getSelectedGroupsNames(String[] selectedGroupsId)
                                             throws DataWarningException
Throws:
DataWarningException

isUserInDataWarningGroups

public boolean isUserInDataWarningGroups()
                                  throws DataWarningException
Throws:
DataWarningException

getTextFrequenceScheduler

public String getTextFrequenceScheduler()
                                 throws DataWarningException
Throws:
DataWarningException

getColumns

public String[] getColumns()

setColumns

public void setColumns(String[] col)

getAnalysisTypeString

public String getAnalysisTypeString()
                             throws DataWarningException
Throws:
DataWarningException

getDataWarningEngine

public DataWarningEngine getDataWarningEngine()
                                       throws DataWarningException
Throws:
DataWarningException

setCurrentQueryType

public DataWarningQuery setCurrentQueryType(int qt)
                                     throws DataWarningException
Throws:
DataWarningException

getCurrentQuery

public DataWarningQuery getCurrentQuery()
                                 throws DataWarningException
Throws:
DataWarningException

getCurrentQueryType

public int getCurrentQueryType()

resetEditedScheduler

public DataWarningScheduler resetEditedScheduler()

getEditedScheduler

public DataWarningScheduler getEditedScheduler()

resetEditedDataWarning

public DataWarning resetEditedDataWarning()

getEditedDataWarning

public DataWarning getEditedDataWarning()


Copyright © 2016 Silverpeas. All Rights Reserved.