org.yawlfoundation.yawl.resourcing.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.resourcing.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.DynFormType
           
static class ApplicationBean.PageRef
           
static class ApplicationBean.TabRef
           
 
Field Summary
 
Fields inherited from class com.sun.rave.web.ui.appbase.AbstractApplicationBean
encoding
 
Constructor Summary
ApplicationBean()
          Constructor
 
Method Summary
 String addExternalClient(String name, String pw, String doco)
           
 void addLiveUser(String userid)
           
 String addRegisteredService(String name, String pw, String uri, String doco)
           
 void addSessionReference(String participantID, SessionBean sBean)
           
 boolean canReoffer(WorkItemRecord wir)
           
 String checkPassword(String password, String confirmPassword)
           
 void destroy()
           
 String formatAge(long age)
          formats a long time value into a string of the form 'ddd:hh:mm:ss'
 int getActiveQueue(String tabName)
           
 int getDefaultJSFRefreshRate()
           
 List<YExternalClient> getExternalClients()
           
 com.sun.rave.web.ui.component.Link getFavIcon()
           
 com.sun.rave.web.ui.component.PanelLayout getFooterPanel()
           
 com.sun.rave.web.ui.component.StaticText getFooterStaticText()
           
 String getFooterText()
           
 com.sun.rave.web.ui.component.PanelLayout getFooterTextPanel()
           
 Set<String> getLiveUsers()
           
 String getLocaleCharacterEncoding()
           
 List<YAWLServiceReference> getRegisteredServices()
           
 ResourceManager getResourceManager()
           
 String getResServiceBaseURI()
           
 YExternalClient getSelectedExternalClient(int listIndex)
           
 SessionBean getSessionReference(String participantID)
           
 Map<String,FormParameter> getWorkItemParams(WorkItemRecord wir)
           
 String getYawlVersion()
           
 void init()
           
 boolean isEmptyWorkItem(WorkItemRecord wir)
           
 boolean isExceptionServiceEnabled()
           
 boolean isLoggedOn(String userid)
           
 boolean isUniqueUserID(String id)
           
 boolean isVisualizerEnabled()
           
 void redirect(String uri)
           
 void refresh()
           
 void refreshExternalClients()
           
 void refreshRegisteredServices()
           
 void refreshUserWorkQueues(String participantID)
           
 void removeCaseFromReofferMap(String caseID)
           
 String removeExternalClient(int listIndex)
           
 void removeFromReofferMap(WorkItemRecord wir)
           
 void removeLiveUser(String userid)
           
 String removeRegisteredService(int listIndex)
           
 void removeSessionReference(String participantID)
           
 void removeWorkItemParams(WorkItemRecord wir)
           
 void removeWorkItemParamsForCase(String caseID)
           
 String rPad(String str, int padlen)
           
 String rPadSp(String str, int padlen)
           
 void setExceptionServiceEnabled(boolean enabled)
           
 void setExternalClients(List<YExternalClient> clients)
           
 void setFavIcon(com.sun.rave.web.ui.component.Link link)
           
 void setFooterPanel(com.sun.rave.web.ui.component.PanelLayout panel)
           
 void setFooterStaticText(com.sun.rave.web.ui.component.StaticText st)
           
 void setFooterTextPanel(com.sun.rave.web.ui.component.PanelLayout panel)
           
 void setLiveUsers(Set<String> userSet)
           
 void setRegisteredServices(List<YAWLServiceReference> services)
           
 void setVisualizerEnabled(boolean enabled)
           
 void synch()
           
 String updateExternalClient(String name, String pw, String doco)
           
 
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)

getYawlVersion

public String getYawlVersion()

getResourceManager

public ResourceManager getResourceManager()

getDefaultJSFRefreshRate

public int getDefaultJSFRefreshRate()

addSessionReference

public void addSessionReference(String participantID,
                                SessionBean sBean)

getSessionReference

public SessionBean getSessionReference(String participantID)

removeSessionReference

public void removeSessionReference(String participantID)

refreshUserWorkQueues

public void refreshUserWorkQueues(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)

isUniqueUserID

public boolean isUniqueUserID(String id)
Returns:
true if the id passed is not a currently used userid

isEmptyWorkItem

public boolean isEmptyWorkItem(WorkItemRecord wir)
Returns:
true if the workitem has no parameters

getWorkItemParams

public Map<String,FormParameter> getWorkItemParams(WorkItemRecord wir)

removeWorkItemParams

public void removeWorkItemParams(WorkItemRecord wir)

removeWorkItemParamsForCase

public void removeWorkItemParamsForCase(String caseID)

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()

redirect

public void redirect(String uri)

synch

public void synch()

isExceptionServiceEnabled

public boolean isExceptionServiceEnabled()

setExceptionServiceEnabled

public void setExceptionServiceEnabled(boolean enabled)

isVisualizerEnabled

public boolean isVisualizerEnabled()

setVisualizerEnabled

public void setVisualizerEnabled(boolean enabled)

getResServiceBaseURI

public String getResServiceBaseURI()

getActiveQueue

public int getActiveQueue(String tabName)

getFooterPanel

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

setFooterPanel

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

getFooterTextPanel

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

setFooterTextPanel

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

getFooterStaticText

public com.sun.rave.web.ui.component.StaticText getFooterStaticText()

setFooterStaticText

public void setFooterStaticText(com.sun.rave.web.ui.component.StaticText st)

getFooterText

public String getFooterText()

checkPassword

public String checkPassword(String password,
                            String confirmPassword)

canReoffer

public boolean canReoffer(WorkItemRecord wir)

removeFromReofferMap

public void removeFromReofferMap(WorkItemRecord wir)

removeCaseFromReofferMap

public void removeCaseFromReofferMap(String caseID)

getRegisteredServices

public List<YAWLServiceReference> getRegisteredServices()

setRegisteredServices

public void setRegisteredServices(List<YAWLServiceReference> services)

removeRegisteredService

public String removeRegisteredService(int listIndex)

addRegisteredService

public String addRegisteredService(String name,
                                   String pw,
                                   String uri,
                                   String doco)

refreshRegisteredServices

public void refreshRegisteredServices()

getExternalClients

public List<YExternalClient> getExternalClients()

setExternalClients

public void setExternalClients(List<YExternalClient> clients)

getSelectedExternalClient

public YExternalClient getSelectedExternalClient(int listIndex)

removeExternalClient

public String removeExternalClient(int listIndex)

updateExternalClient

public String updateExternalClient(String name,
                                   String pw,
                                   String doco)

addExternalClient

public String addExternalClient(String name,
                                String pw,
                                String doco)

refreshExternalClients

public void refreshExternalClients()


Copyright © 2004-2012 The YAWL Foundation.