org.yawlfoundation.yawl.monitor.jsf
Class ApplicationBean

java.lang.Object
  extended by com.sun.rave.web.ui.appbase.FacesBean
      extended by com.sun.rave.web.ui.appbase.AbstractApplicationBean
          extended by org.yawlfoundation.yawl.monitor.jsf.ApplicationBean

public class ApplicationBean
extends com.sun.rave.web.ui.appbase.AbstractApplicationBean

Application scope data bean for the worklist and admin pages.

Author:
Michael Adams BPM Group, QUT Australia v0.1, 21/10/2007 Boilerplate code generated by Sun Java Studio Creator 2.1 Last Date: 05/01/2008

Nested Class Summary
static class ApplicationBean.PageRef
           
 
Field Summary
 
Fields inherited from class com.sun.rave.web.ui.appbase.AbstractApplicationBean
encoding
 
Constructor Summary
ApplicationBean()
          Constructor
 
Method Summary
 void addLiveUser(String userid)
           
 void addSessionReference(String participantID, SessionBean sBean)
           
 void destroy()
           
 String formatAge(long age)
          formats a long time value into a string of the form 'ddd:hh:mm:ss'
 int getDefaultJSFRefreshRate()
           
 com.sun.rave.web.ui.component.Link getFavIcon()
           
 Set<String> getLiveUsers()
           
 String getLocaleCharacterEncoding()
           
 MonitorClient getMonitorClient()
           
 SessionBean getSessionReference(String participantID)
           
 void init()
           
 boolean isLoggedOn(String userid)
           
 void refresh()
           
 void removeLiveUser(String userid)
           
 void removeSessionReference(String participantID)
           
 String rPad(String str, int padlen)
           
 String rPadSp(String str, int padlen)
           
 void setFavIcon(com.sun.rave.web.ui.component.Link link)
           
 void setLiveUsers(Set<String> userSet)
           
 
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

ApplicationBean

public ApplicationBean()
Constructor

Method Detail

init

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

destroy

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

getLocaleCharacterEncoding

public String getLocaleCharacterEncoding()
Overrides:
getLocaleCharacterEncoding in class com.sun.rave.web.ui.appbase.AbstractApplicationBean

getFavIcon

public com.sun.rave.web.ui.component.Link getFavIcon()

setFavIcon

public void setFavIcon(com.sun.rave.web.ui.component.Link link)

getMonitorClient

public MonitorClient getMonitorClient()

getDefaultJSFRefreshRate

public int getDefaultJSFRefreshRate()

addSessionReference

public void addSessionReference(String participantID,
                                SessionBean sBean)

getSessionReference

public SessionBean getSessionReference(String participantID)

removeSessionReference

public void removeSessionReference(String participantID)

getLiveUsers

public Set<String> getLiveUsers()

setLiveUsers

public void setLiveUsers(Set<String> userSet)

addLiveUser

public void addLiveUser(String userid)

removeLiveUser

public void removeLiveUser(String userid)

isLoggedOn

public boolean isLoggedOn(String userid)

formatAge

public String formatAge(long age)
formats a long time value into a string of the form 'ddd:hh:mm:ss'

Parameters:
age - the time value (in milliseconds)
Returns:
the formatted time string

rPadSp

public String rPadSp(String str,
                     int padlen)

rPad

public String rPad(String str,
                   int padlen)

refresh

public void refresh()


Copyright © 2004-2012 The YAWL Foundation.