org.yawlfoundation.yawl.resourcing.jsf
Class pfNHResources

java.lang.Object
  extended by com.sun.rave.web.ui.appbase.FacesBean
      extended by com.sun.rave.web.ui.appbase.AbstractFragmentBean
          extended by org.yawlfoundation.yawl.resourcing.jsf.pfNHResources

public class pfNHResources
extends com.sun.rave.web.ui.appbase.AbstractFragmentBean


Constructor Summary
pfNHResources()
           
 
Method Summary
 boolean addCategory(String name)
           
 boolean addNewItem(nonHumanMgt.SelType sType)
           
 boolean addResource(String name)
           
 String btnAddSubCat_action()
           
 String btnCancelAddSubCat_action()
           
 String btnConfirmAddSubCat_action()
           
 String btnRemoveSubCat_action()
           
 void cbbCategory_processValueChange(javax.faces.event.ValueChangeEvent event)
           
 void cbbSubCategory_processValueChange(javax.faces.event.ValueChangeEvent event)
           
 void clearAllFieldsAndLists()
           
protected  void clearCombos()
           
 void clearFieldsAfterRemove()
           
 void clearTextFields()
           
protected  void createNewResource()
           
 void destroy()
           
protected  void disableInputFields(boolean disable)
           
protected  void disableSubCatButtons(boolean disable)
           
protected  ApplicationBean getApplicationBean()
          Return a reference to the scoped data bean.
 com.sun.rave.web.ui.component.Button getBtnAddSubCat()
           
 com.sun.rave.web.ui.component.Button getBtnCancelAddSubCat()
           
 com.sun.rave.web.ui.component.Button getBtnConfirmAddSubCat()
           
 com.sun.rave.web.ui.component.Button getBtnRemoveSubCat()
           
 com.sun.rave.web.ui.component.DropDown getCbbCategory()
           
 com.sun.rave.web.ui.component.DropDown getCbbMembers()
           
 com.sun.rave.web.ui.component.DropDown getCbbSubCategory()
           
 com.sun.rave.web.ui.component.Label getLblCategory()
           
 com.sun.rave.web.ui.component.Label getLblDesc()
           
 com.sun.rave.web.ui.component.Label getLblItems()
           
 com.sun.rave.web.ui.component.Label getLblMembers()
           
 com.sun.rave.web.ui.component.Label getLblName()
           
 com.sun.rave.web.ui.component.Label getLblNotes()
           
 com.sun.rave.web.ui.component.Label getLblSubCategory()
           
 com.sun.rave.web.ui.component.Listbox getLbxItems()
           
 com.sun.rave.web.ui.component.Listbox getLbxSubCatItems()
           
protected  RequestBean getRequestBean()
          Return a reference to the scoped data bean.
protected  SessionBean getSessionBean()
          Return a reference to the scoped data bean.
 com.sun.rave.web.ui.component.TextArea getTxtDesc()
           
 com.sun.rave.web.ui.component.TextField getTxtName()
           
 com.sun.rave.web.ui.component.TextArea getTxtNotes()
           
 com.sun.rave.web.ui.component.TextField getTxtSubCat()
           
 void init()
           
 void lbxItems_processValueChange(javax.faces.event.ValueChangeEvent event)
           
 void lbxSubCatItems_processValueChange(javax.faces.event.ValueChangeEvent event)
           
protected  void populateGUI(String id, nonHumanMgt.SelType type)
           
 boolean saveCategoryChanges(String id)
           
 boolean saveChanges(String id)
           
 boolean saveResourceChanges(String id)
           
 void setAddMode(boolean adding, String selectedTab)
           
 void setBtnAddSubCat(com.sun.rave.web.ui.component.Button b)
           
 void setBtnCancelAddSubCat(com.sun.rave.web.ui.component.Button b)
           
 void setBtnConfirmAddSubCat(com.sun.rave.web.ui.component.Button b)
           
 void setBtnRemoveSubCat(com.sun.rave.web.ui.component.Button b)
           
 void setCbbCategory(com.sun.rave.web.ui.component.DropDown dd)
           
 void setCbbMembers(com.sun.rave.web.ui.component.DropDown dd)
           
 void setCbbSubCategory(com.sun.rave.web.ui.component.DropDown dd)
           
 void setLblCategory(com.sun.rave.web.ui.component.Label l)
           
 void setLblDesc(com.sun.rave.web.ui.component.Label l)
           
 void setLblItems(com.sun.rave.web.ui.component.Label l)
           
 void setLblMembers(com.sun.rave.web.ui.component.Label l)
           
 void setLblName(com.sun.rave.web.ui.component.Label l)
           
 void setLblNotes(com.sun.rave.web.ui.component.Label l)
           
 void setLblSubCategory(com.sun.rave.web.ui.component.Label l)
           
 void setLbxItems(com.sun.rave.web.ui.component.Listbox l)
           
 void setLbxSubCatItems(com.sun.rave.web.ui.component.Listbox l)
           
protected  void setSubCatAddMode(boolean adding)
           
 void setTxtDesc(com.sun.rave.web.ui.component.TextArea ta)
           
 void setTxtName(com.sun.rave.web.ui.component.TextField tf)
           
 void setTxtNotes(com.sun.rave.web.ui.component.TextArea ta)
           
 void setTxtSubCat(com.sun.rave.web.ui.component.TextField tf)
           
 void setVisibleComponents(nonHumanMgt.SelType sType)
           
protected  void showSubCatAddFields(boolean adding)
           
protected  void updateSelectedResource(NonHumanResource resource)
           
protected  void updateSelectedResource(NonHumanResource resource, boolean editing)
           
 
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

pfNHResources

public pfNHResources()
Method Detail

getLbxItems

public com.sun.rave.web.ui.component.Listbox getLbxItems()

setLbxItems

public void setLbxItems(com.sun.rave.web.ui.component.Listbox l)

getLblItems

public com.sun.rave.web.ui.component.Label getLblItems()

setLblItems

public void setLblItems(com.sun.rave.web.ui.component.Label l)

getLblName

public com.sun.rave.web.ui.component.Label getLblName()

setLblName

public void setLblName(com.sun.rave.web.ui.component.Label l)

getTxtName

public com.sun.rave.web.ui.component.TextField getTxtName()

setTxtName

public void setTxtName(com.sun.rave.web.ui.component.TextField tf)

getLblCategory

public com.sun.rave.web.ui.component.Label getLblCategory()

setLblCategory

public void setLblCategory(com.sun.rave.web.ui.component.Label l)

getLblDesc

public com.sun.rave.web.ui.component.Label getLblDesc()

setLblDesc

public void setLblDesc(com.sun.rave.web.ui.component.Label l)

getLblNotes

public com.sun.rave.web.ui.component.Label getLblNotes()

setLblNotes

public void setLblNotes(com.sun.rave.web.ui.component.Label l)

getTxtDesc

public com.sun.rave.web.ui.component.TextArea getTxtDesc()

setTxtDesc

public void setTxtDesc(com.sun.rave.web.ui.component.TextArea ta)

getTxtNotes

public com.sun.rave.web.ui.component.TextArea getTxtNotes()

setTxtNotes

public void setTxtNotes(com.sun.rave.web.ui.component.TextArea ta)

getCbbCategory

public com.sun.rave.web.ui.component.DropDown getCbbCategory()

setCbbCategory

public void setCbbCategory(com.sun.rave.web.ui.component.DropDown dd)

getCbbSubCategory

public com.sun.rave.web.ui.component.DropDown getCbbSubCategory()

setCbbSubCategory

public void setCbbSubCategory(com.sun.rave.web.ui.component.DropDown dd)

getLblSubCategory

public com.sun.rave.web.ui.component.Label getLblSubCategory()

setLblSubCategory

public void setLblSubCategory(com.sun.rave.web.ui.component.Label l)

getCbbMembers

public com.sun.rave.web.ui.component.DropDown getCbbMembers()

setCbbMembers

public void setCbbMembers(com.sun.rave.web.ui.component.DropDown dd)

getLblMembers

public com.sun.rave.web.ui.component.Label getLblMembers()

setLblMembers

public void setLblMembers(com.sun.rave.web.ui.component.Label l)

getLbxSubCatItems

public com.sun.rave.web.ui.component.Listbox getLbxSubCatItems()

setLbxSubCatItems

public void setLbxSubCatItems(com.sun.rave.web.ui.component.Listbox l)

getTxtSubCat

public com.sun.rave.web.ui.component.TextField getTxtSubCat()

setTxtSubCat

public void setTxtSubCat(com.sun.rave.web.ui.component.TextField tf)

getBtnRemoveSubCat

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

setBtnRemoveSubCat

public void setBtnRemoveSubCat(com.sun.rave.web.ui.component.Button b)

getBtnAddSubCat

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

setBtnAddSubCat

public void setBtnAddSubCat(com.sun.rave.web.ui.component.Button b)

getBtnConfirmAddSubCat

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

setBtnConfirmAddSubCat

public void setBtnConfirmAddSubCat(com.sun.rave.web.ui.component.Button b)

getBtnCancelAddSubCat

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

setBtnCancelAddSubCat

public void setBtnCancelAddSubCat(com.sun.rave.web.ui.component.Button b)

getRequestBean

protected RequestBean getRequestBean()

Return a reference to the scoped data bean.


getSessionBean

protected SessionBean getSessionBean()

Return a reference to the scoped data bean.


getApplicationBean

protected ApplicationBean getApplicationBean()

Return a reference to the scoped data bean.


init

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

destroy

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

lbxItems_processValueChange

public void lbxItems_processValueChange(javax.faces.event.ValueChangeEvent event)

lbxSubCatItems_processValueChange

public void lbxSubCatItems_processValueChange(javax.faces.event.ValueChangeEvent event)

cbbCategory_processValueChange

public void cbbCategory_processValueChange(javax.faces.event.ValueChangeEvent event)

cbbSubCategory_processValueChange

public void cbbSubCategory_processValueChange(javax.faces.event.ValueChangeEvent event)

btnAddSubCat_action

public String btnAddSubCat_action()

btnRemoveSubCat_action

public String btnRemoveSubCat_action()

btnConfirmAddSubCat_action

public String btnConfirmAddSubCat_action()

btnCancelAddSubCat_action

public String btnCancelAddSubCat_action()

populateGUI

protected void populateGUI(String id,
                           nonHumanMgt.SelType type)

setVisibleComponents

public void setVisibleComponents(nonHumanMgt.SelType sType)

setAddMode

public void setAddMode(boolean adding,
                       String selectedTab)

saveChanges

public boolean saveChanges(String id)

saveResourceChanges

public boolean saveResourceChanges(String id)

saveCategoryChanges

public boolean saveCategoryChanges(String id)

addNewItem

public boolean addNewItem(nonHumanMgt.SelType sType)

addResource

public boolean addResource(String name)

addCategory

public boolean addCategory(String name)

clearTextFields

public void clearTextFields()

clearFieldsAfterRemove

public void clearFieldsAfterRemove()

clearAllFieldsAndLists

public void clearAllFieldsAndLists()

clearCombos

protected void clearCombos()

setSubCatAddMode

protected void setSubCatAddMode(boolean adding)

disableInputFields

protected void disableInputFields(boolean disable)

disableSubCatButtons

protected void disableSubCatButtons(boolean disable)

showSubCatAddFields

protected void showSubCatAddFields(boolean adding)

updateSelectedResource

protected void updateSelectedResource(NonHumanResource resource)

updateSelectedResource

protected void updateSelectedResource(NonHumanResource resource,
                                      boolean editing)

createNewResource

protected void createNewResource()


Copyright © 2004-2012 The YAWL Foundation.