org.yawlfoundation.yawl.monitor.jsf
Class SessionBean

java.lang.Object
  extended by com.sun.rave.web.ui.appbase.FacesBean
      extended by com.sun.rave.web.ui.appbase.AbstractSessionBean
          extended by org.yawlfoundation.yawl.monitor.jsf.SessionBean
All Implemented Interfaces:
Serializable

public class SessionBean
extends com.sun.rave.web.ui.appbase.AbstractSessionBean

See Also:
Serialized Form

Constructor Summary
SessionBean()
           
 
Method Summary
 void activate()
           
 void clearCaches()
           
 void destroy()
           
 void doLogout()
           
 List<CaseInstance> getActiveCases()
           
 ApplicationBean.PageRef getActivePage()
           
protected  ApplicationBean getApplicationBean()
           
 com.sun.rave.web.ui.component.Button getBtnBack()
           
 com.sun.rave.web.ui.component.Button getBtnLogout()
           
 com.sun.rave.web.ui.component.Button getBtnRefresh()
           
 String getCaseData()
           
 List<WorkItemInstance> getCaseItems()
           
 String getCaseStartedByName()
           
 String getCaseStartTime()
           
 CaseOrder getCurrentCaseOrder()
           
 ItemOrder getCurrentItemOrder()
           
 ParamOrder getCurrentParamOrder()
           
 int getDefaultSessionTimeoutValue()
           
 javax.servlet.http.HttpSession getExternalSession()
           
 String getExternalSessionID()
           
 List<YLogEvent> getItemEngineLogEvents()
           
 List<ParameterInstance> getItemParams()
           
 List<ResourceEvent> getItemResourceLogEvents()
           
 MessagePanel getMessagePanel()
           
 com.sun.rave.web.ui.component.Script getScript()
           
 CaseInstance getSelectedCase()
           
 WorkItemInstance getSelectedItem()
           
 String getSessionhandle()
           
 String getStartingServiceName()
           
 String getStartupTime()
           
 com.sun.rave.web.ui.component.PanelLayout getTransparentPanel()
           
 String getUserid()
           
 String getUserName()
           
 void gotoPage(String page)
          redirects to the specified page
 void init()
           
 boolean isSessionTimeoutValueChanged()
           
 String messagePanelOKBtnAction(javax.faces.event.ActionEvent event)
           
 void passivate()
           
 List<CaseInstance> refreshActiveCases(boolean sortPending)
           
 List<WorkItemInstance> refreshCaseItems(boolean sortPending)
           
 List<WorkItemInstance> refreshCaseItems(String caseID, boolean sortPending)
           
 void refreshItemEngineLogEvents(String itemID)
           
 List<ParameterInstance> refreshItemParams(boolean sortPending)
           
 List<ParameterInstance> refreshItemParams(String itemID, boolean sortPending)
           
 void refreshItemResourceLogEvents(String itemID)
           
 void resetSessionTimeout()
           
 void setActiveCases(List<CaseInstance> caseList)
           
 void setActivePage(ApplicationBean.PageRef page)
           
 void setBtnBack(com.sun.rave.web.ui.component.Button btn)
           
 void setBtnLogout(com.sun.rave.web.ui.component.Button btn)
           
 void setBtnRefresh(com.sun.rave.web.ui.component.Button btn)
           
 void setCaseItems(List<WorkItemInstance> items)
           
 void setCaseSelection(int index)
           
 void setDefaultSessionTimeoutValue(int value)
           
 void setItemParams(List<ParameterInstance> params)
           
 void setItemSelection(int index)
           
 void setMessagePanel(MessagePanel messagePanel)
           
 void setScript(com.sun.rave.web.ui.component.Script s)
           
 void setSelectedCase(CaseInstance caseInstance)
           
 void setSelectedItem(WorkItemInstance itemInstance)
           
 void setSessionhandle(String handle)
           
 void setSessionTimeoutValueChanged(boolean changed)
           
 void setTransparentPanel(com.sun.rave.web.ui.component.PanelLayout panel)
           
 void setUserid(String id)
           
 void setUserName(String userName)
           
 void showMessagePanel()
           
 void sortActiveCases(TableSorter.CaseColumn column)
           
 void sortCaseItems(TableSorter.ItemColumn column)
           
 void sortItemParams(TableSorter.ParamColumn column)
           
 
Methods inherited from class com.sun.rave.web.ui.appbase.FacesBean
erase, error, error, fatal, fatal, getApplication, getApplicationMap, getBean, getCachedExceptions, getContext, getExternalContext, getFacesContext, getLifecycle, getRequestMap, getSessionMap, getValue, info, info, log, log, setBean, setValue, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionBean

public SessionBean()
Method Detail

getApplicationBean

protected ApplicationBean getApplicationBean()
Returns:
a reference to the application data bean.

init

public void init()
Overrides:
init in class com.sun.rave.web.ui.appbase.AbstractSessionBean

passivate

public void passivate()
Overrides:
passivate in class com.sun.rave.web.ui.appbase.AbstractSessionBean

activate

public void activate()
Overrides:
activate in class com.sun.rave.web.ui.appbase.AbstractSessionBean

destroy

public void destroy()
Overrides:
destroy in class com.sun.rave.web.ui.appbase.AbstractSessionBean

getScript

public com.sun.rave.web.ui.component.Script getScript()

setScript

public void setScript(com.sun.rave.web.ui.component.Script s)

getBtnRefresh

public com.sun.rave.web.ui.component.Button getBtnRefresh()

setBtnRefresh

public void setBtnRefresh(com.sun.rave.web.ui.component.Button btn)

getBtnLogout

public com.sun.rave.web.ui.component.Button getBtnLogout()

setBtnLogout

public void setBtnLogout(com.sun.rave.web.ui.component.Button btn)

getBtnBack

public com.sun.rave.web.ui.component.Button getBtnBack()

setBtnBack

public void setBtnBack(com.sun.rave.web.ui.component.Button btn)

getUserid

public String getUserid()

setUserid

public void setUserid(String id)

getSessionhandle

public String getSessionhandle()

setSessionhandle

public void setSessionhandle(String handle)

setUserName

public void setUserName(String userName)

getUserName

public String getUserName()

getExternalSessionID

public String getExternalSessionID()
Returns:
the id of the external http session

getExternalSession

public javax.servlet.http.HttpSession getExternalSession()
Returns:
the external http session

getDefaultSessionTimeoutValue

public int getDefaultSessionTimeoutValue()

setDefaultSessionTimeoutValue

public void setDefaultSessionTimeoutValue(int value)

resetSessionTimeout

public void resetSessionTimeout()

isSessionTimeoutValueChanged

public boolean isSessionTimeoutValueChanged()

setSessionTimeoutValueChanged

public void setSessionTimeoutValueChanged(boolean changed)

getActivePage

public ApplicationBean.PageRef getActivePage()

setActivePage

public void setActivePage(ApplicationBean.PageRef page)

doLogout

public void doLogout()

gotoPage

public void gotoPage(String page)
redirects to the specified page

Parameters:
page - the name of the page to go to

getTransparentPanel

public com.sun.rave.web.ui.component.PanelLayout getTransparentPanel()

setTransparentPanel

public void setTransparentPanel(com.sun.rave.web.ui.component.PanelLayout panel)

getMessagePanel

public MessagePanel getMessagePanel()

setMessagePanel

public void setMessagePanel(MessagePanel messagePanel)

showMessagePanel

public void showMessagePanel()

messagePanelOKBtnAction

public String messagePanelOKBtnAction(javax.faces.event.ActionEvent event)

clearCaches

public void clearCaches()

getStartupTime

public String getStartupTime()

getCaseStartTime

public String getCaseStartTime()

getCaseData

public String getCaseData()

getStartingServiceName

public String getStartingServiceName()

getCaseStartedByName

public String getCaseStartedByName()

getActiveCases

public List<CaseInstance> getActiveCases()

setActiveCases

public void setActiveCases(List<CaseInstance> caseList)

refreshActiveCases

public List<CaseInstance> refreshActiveCases(boolean sortPending)

sortActiveCases

public void sortActiveCases(TableSorter.CaseColumn column)

getCurrentCaseOrder

public CaseOrder getCurrentCaseOrder()

getSelectedCase

public CaseInstance getSelectedCase()

setSelectedCase

public void setSelectedCase(CaseInstance caseInstance)

setCaseSelection

public void setCaseSelection(int index)

getCaseItems

public List<WorkItemInstance> getCaseItems()

setCaseItems

public void setCaseItems(List<WorkItemInstance> items)

refreshCaseItems

public List<WorkItemInstance> refreshCaseItems(boolean sortPending)

refreshCaseItems

public List<WorkItemInstance> refreshCaseItems(String caseID,
                                               boolean sortPending)

sortCaseItems

public void sortCaseItems(TableSorter.ItemColumn column)

getCurrentItemOrder

public ItemOrder getCurrentItemOrder()

getSelectedItem

public WorkItemInstance getSelectedItem()

setItemSelection

public void setItemSelection(int index)

setSelectedItem

public void setSelectedItem(WorkItemInstance itemInstance)

getCurrentParamOrder

public ParamOrder getCurrentParamOrder()

getItemParams

public List<ParameterInstance> getItemParams()

setItemParams

public void setItemParams(List<ParameterInstance> params)

refreshItemParams

public List<ParameterInstance> refreshItemParams(boolean sortPending)

refreshItemParams

public List<ParameterInstance> refreshItemParams(String itemID,
                                                 boolean sortPending)

sortItemParams

public void sortItemParams(TableSorter.ParamColumn column)

refreshItemEngineLogEvents

public void refreshItemEngineLogEvents(String itemID)

refreshItemResourceLogEvents

public void refreshItemResourceLogEvents(String itemID)

getItemEngineLogEvents

public List<YLogEvent> getItemEngineLogEvents()

getItemResourceLogEvents

public List<ResourceEvent> getItemResourceLogEvents()


Copyright © 2004-2012 The YAWL Foundation.