com.webmethods.caf.faces.component.respicker.view
Class ResourcePickerControlBean

java.lang.Object
  extended by com.webmethods.caf.faces.bean.BaseFacesBean
      extended by com.webmethods.caf.faces.bean.BaseFacesSessionBean
          extended by com.webmethods.caf.faces.bean.BaseViewBean
              extended by com.webmethods.caf.faces.bean.BaseCompositeViewControlPageBean
                  extended by com.webmethods.caf.faces.component.respicker.view.ResourcePickerControlBean
All Implemented Interfaces:
IPageFlowScopeAdapter

public class ResourcePickerControlBean
extends BaseCompositeViewControlPageBean

Backing Managed Bean for the Resource Picker Control

Since:
7.0

Nested Class Summary
 
Nested classes/interfaces inherited from class com.webmethods.caf.faces.bean.BaseViewBean
BaseViewBean.ClientIdsContentProvider
 
Field Summary
protected  ListTableContentProvider ancestorContainersListProvider
           
protected  List fAncestorContainersList
           
protected  String fCurrentContainerURI
           
protected  String fCurrentFilterTerm
           
protected  Boolean fMultipleSelectionsAllowed
           
protected  String fRefreshOnApply
           
protected  String fRootURI
           
protected  FilteredPortalContainerModel selectableContainerChildrenProvider
           
protected  SelectableListTableContentProvider selectedFromOtherContainersProvider
           
 
Fields inherited from class com.webmethods.caf.faces.bean.BaseCompositeViewControlPageBean
fCompositeNamingContainer
 
Fields inherited from class com.webmethods.caf.faces.bean.BaseViewBean
clientIds, initialized
 
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean
fExpireWithPageFlow
 
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesBean
DATA_BINDING_CLIENTS, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
 
Constructor Summary
ResourcePickerControlBean()
           
 
Method Summary
 void applyButton_actionListener(ActionEvent actionEvent)
          Action Event Listener for the control with id='applyButton'
 String changeRootFolderLink_action()
          Action Event Handler for the control with id='changeRootFolderLink'
 String changeToOtherFolderLink_action()
           
 String filter_action()
          Action Event Handler for the control with id='upToParentLink'
 List getAncestorContainersList()
           
 ListTableContentProvider getAncestorContainersListProvider()
           
 IThingID getCurrentContainerThingID()
           
 String getCurrentContainerURI()
           
 String getCurrentFilterTerm()
           
 String getOtherRowParentName()
           
protected  AsyncTable getOtherTable()
           
 String getRefreshOnApply()
           
 String getRootURI()
           
 PortalContainerModel getSelectableContainerChildrenProvider()
           
 SelectableListTableContentProvider getSelectedFromOtherContainersProvider()
           
protected  AsyncTable getTable()
           
 ValueBinding getTargetValue()
           
 boolean isMultipleSelectionsAllowed()
           
protected  void populateInitialSelectedRows()
          pre-fill the selected row Ids with the current value of the target value binding expression
 void resetSelectedRows()
           
 void setAncestorContainersList(List ancestorContainersList)
           
 void setCurrentContainerURI(String currentContainerURI)
           
 void setCurrentFilterTerm(String currentFilterTerm)
           
 void setMultipleSelectionsAllowed(boolean multipleSelectionsAllowed)
           
 void setRefreshOnApply(String refreshOnApply)
           
 void setRootURI(String rootThingID)
           
 String upToAncestorLink_action()
          Action Event Handler for the control with id='upToAncestorLink'
 String upToParentLink_action()
          Action Event Handler for the control with id='upToParentLink'
 
Methods inherited from class com.webmethods.caf.faces.bean.BaseCompositeViewControlPageBean
findComponentInRoot, getClientIds, getCompositeViewAbsoluteControlId, getCompositeViewControlId, getCompositeViewNamingContainer, getPropertyOrBindingValue, setCompositeViewNamingContainer, setCompositeViewNamingContainer
 
Methods inherited from class com.webmethods.caf.faces.bean.BaseViewBean
afterApplyRequestValues, afterInvokeApplication, afterPhase, afterProcessValidations, afterRenderResponse, afterRestoreView, afterUpdateModelValues, beforeApplyRequestValues, beforeInvokeApplication, beforePhase, beforeProcessValidations, beforeRenderResponse, beforeRestoreView, beforeUpdateModelValues, callInitialize, findComponent, getApplicationScope, getPhaseId, getRealPath, getRequestParam, getRequestScope, getSessionScope, gotoPage, gotoPage, initialize, isAsyncRequest, release, resetPageFlowStorage, streamFileDataToResponse
 
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean
getExpireWithPageFlow, setExpireWithPageFlow, valueBound, valueUnbound
 
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesBean
createMethodBinding, createValueBinding, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fRootURI

protected String fRootURI

fCurrentContainerURI

protected String fCurrentContainerURI

fCurrentFilterTerm

protected String fCurrentFilterTerm

fRefreshOnApply

protected String fRefreshOnApply

fAncestorContainersList

protected List fAncestorContainersList

fMultipleSelectionsAllowed

protected Boolean fMultipleSelectionsAllowed

selectableContainerChildrenProvider

protected FilteredPortalContainerModel selectableContainerChildrenProvider

ancestorContainersListProvider

protected ListTableContentProvider ancestorContainersListProvider

selectedFromOtherContainersProvider

protected SelectableListTableContentProvider selectedFromOtherContainersProvider
Constructor Detail

ResourcePickerControlBean

public ResourcePickerControlBean()
Method Detail

getAncestorContainersList

public List getAncestorContainersList()
Returns:
the ancestorContainersList

setAncestorContainersList

public void setAncestorContainersList(List ancestorContainersList)
Parameters:
ancestorContainersList - the ancestorContainersList to set

getRootURI

public String getRootURI()
Returns:
the rootThingID

setRootURI

public void setRootURI(String rootThingID)
Parameters:
rootThingID - the rootThingID to set

getCurrentContainerURI

public String getCurrentContainerURI()
Returns:
the currentContainerURI

setCurrentContainerURI

public void setCurrentContainerURI(String currentContainerURI)
Parameters:
currentContainerURI - the currentContainerURI to set

getCurrentFilterTerm

public String getCurrentFilterTerm()
Returns:
the currentFilterTerm

setCurrentFilterTerm

public void setCurrentFilterTerm(String currentFilterTerm)
Parameters:
currentFilterTerm - the currentFilterTerm to set

getTable

protected AsyncTable getTable()

getOtherTable

protected AsyncTable getOtherTable()

getRefreshOnApply

public String getRefreshOnApply()
Returns:
the refreshOnApply

setRefreshOnApply

public void setRefreshOnApply(String refreshOnApply)
Parameters:
refreshOnApply - the refreshOnApply to set

getCurrentContainerThingID

public IThingID getCurrentContainerThingID()

isMultipleSelectionsAllowed

public boolean isMultipleSelectionsAllowed()
Returns:
the multipleSelectionsAllowed

setMultipleSelectionsAllowed

public void setMultipleSelectionsAllowed(boolean multipleSelectionsAllowed)
Parameters:
multipleSelectionsAllowed - the multipleSelectionsAllowed to set

getSelectableContainerChildrenProvider

public PortalContainerModel getSelectableContainerChildrenProvider()

getSelectedFromOtherContainersProvider

public SelectableListTableContentProvider getSelectedFromOtherContainersProvider()

resetSelectedRows

public void resetSelectedRows()

populateInitialSelectedRows

protected void populateInitialSelectedRows()
pre-fill the selected row Ids with the current value of the target value binding expression


changeRootFolderLink_action

public String changeRootFolderLink_action()
Action Event Handler for the control with id='changeRootFolderLink'


changeToOtherFolderLink_action

public String changeToOtherFolderLink_action()

getOtherRowParentName

public String getOtherRowParentName()

filter_action

public String filter_action()
Action Event Handler for the control with id='upToParentLink'


upToParentLink_action

public String upToParentLink_action()
Action Event Handler for the control with id='upToParentLink'


upToAncestorLink_action

public String upToAncestorLink_action()
Action Event Handler for the control with id='upToAncestorLink'


getAncestorContainersListProvider

public ListTableContentProvider getAncestorContainersListProvider()

getTargetValue

public ValueBinding getTargetValue()

applyButton_actionListener

public void applyButton_actionListener(ActionEvent actionEvent)
Action Event Listener for the control with id='applyButton'