Class PrincipalPickerControlBean
java.lang.Object
com.webmethods.caf.faces.bean.BaseFacesBean
com.webmethods.caf.faces.bean.BaseFacesSessionBean
com.webmethods.caf.faces.bean.BaseViewBean
com.webmethods.caf.faces.bean.BaseCompositeViewControlPageBean
com.webmethods.caf.faces.component.dir.view.PrincipalPickerControlBean
- All Implemented Interfaces:
IPageFlowScopeAdapter
,ICompositeViewControlPageBean
,Serializable
,EventListener
,PhaseListener
,HttpSessionBindingListener
public class PrincipalPickerControlBean
extends BaseCompositeViewControlPageBean
implements Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.webmethods.caf.faces.bean.BaseViewBean
BaseViewBean.ClientIdsContentProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Boolean
protected boolean
protected Boolean
protected String
protected Boolean
protected DirectorySearchProvider
protected ListTableContentProvider
protected Boolean
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, EMPTY_RESOURCES, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Clients should overwrite this method to perform custom actions after an action method is invoked.void
applyButton_actionListener
(ActionEvent actionEvent) Action Event Handler for the control with id='applyButton'protected void
Clients should overwrite this method to perform custom actions before the view gets rendered.void
cancelButton_actionListener
(ActionEvent actionEvent) Action Event Handler for the control with id='cancelButton'doSearch()
protected int
protected List<IPrincipalProvider>
get the selected principals with the current value of the target value binding expressionboolean
boolean
boolean
boolean
boolean
boolean
boolean
protected void
void
setDefaultCommand
(String cmd) void
setDefaultFocus
(String focus) void
setDisableWhenHidden
(boolean disableWhenHidden) void
setGroupSearchAllowed
(boolean groupSearchAllowed) void
setMultipleSelectionsAllowed
(boolean multipleSelectionsAllowed) void
setRefreshOnApply
(String refreshOnApply) void
setRoleSearchAllowed
(boolean roleSearchAllowed) void
setUserSearchAllowed
(boolean userSearchAllowed) Methods inherited from class com.webmethods.caf.faces.bean.BaseCompositeViewControlPageBean
findComponentInRoot, getClientIds, getCompositeViewAbsoluteControlId, getCompositeViewControlId, getCompositeViewNamingContainer, getPropertyOrBindingValue, setCompositeViewNamingContainer
Methods inherited from class com.webmethods.caf.faces.bean.BaseViewBean
afterApplyRequestValues, afterPhase, afterProcessValidations, afterRenderResponse, afterRestoreView, afterUpdateModelValues, beforeApplyRequestValues, beforeInvokeApplication, beforePhase, beforeProcessValidations, beforeRestoreView, beforeUpdateModelValues, callInitialize, findComponent, getApplicationScope, getPhaseId, getRealPath, getRequestParam, getRequestScope, getSessionScope, gotoPage, gotoPage, initialize, isAsyncRequest, preRenderResponse, 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, createMethodExpression, createValueBinding, createValueExpression, createValueExpression, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue
-
Field Details
-
fSearchResultsContentProvider
-
fSelectedPrincipalsProvider
-
fMultipleSelectionsAllowed
-
fUserSearchAllowed
-
fGroupSearchAllowed
-
fRoleSearchAllowed
-
fRefreshOnApply
-
fLastSearchStateSet
protected boolean fLastSearchStateSet
-
-
Constructor Details
-
PrincipalPickerControlBean
public PrincipalPickerControlBean()
-
-
Method Details
-
getDefaultCommand
-
setDefaultCommand
-
getDefaultFocus
-
setDefaultFocus
-
isDisableWhenHidden
public boolean isDisableWhenHidden() -
setDisableWhenHidden
public void setDisableWhenHidden(boolean disableWhenHidden) -
getTitleText
-
afterInvokeApplication
protected void afterInvokeApplication()Description copied from class:BaseViewBean
Clients should overwrite this method to perform custom actions after an action method is invoked.- Overrides:
afterInvokeApplication
in classBaseViewBean
-
beforeRenderResponse
protected void beforeRenderResponse()Description copied from class:BaseViewBean
Clients should overwrite this method to perform custom actions before the view gets rendered.- Overrides:
beforeRenderResponse
in classBaseViewBean
-
getSelectedPrincipalsProvider
-
isMultipleSearchTypesAvailable
public boolean isMultipleSearchTypesAvailable() -
getDefaultSearchType
protected int getDefaultSearchType() -
isGroupSearchAllowed
public boolean isGroupSearchAllowed()- Returns:
- the groupSearchAllowed
-
setGroupSearchAllowed
public void setGroupSearchAllowed(boolean groupSearchAllowed) - Parameters:
groupSearchAllowed
- the groupSearchAllowed to set
-
isMultipleSelectionsAllowed
public boolean isMultipleSelectionsAllowed()- Returns:
- the multipleSelectionsAllowed
-
setMultipleSelectionsAllowed
public void setMultipleSelectionsAllowed(boolean multipleSelectionsAllowed) - Parameters:
multipleSelectionsAllowed
- the multipleSelectionsAllowed to set
-
getRefreshOnApply
- Returns:
- the refreshOnApply
-
setRefreshOnApply
- Parameters:
refreshOnApply
- the refreshOnApply to set
-
isRoleSearchAllowed
public boolean isRoleSearchAllowed()- Returns:
- the roleSearchAllowed
-
setRoleSearchAllowed
public void setRoleSearchAllowed(boolean roleSearchAllowed) - Parameters:
roleSearchAllowed
- the roleSearchAllowed to set
-
isUserSearchAllowed
public boolean isUserSearchAllowed()- Returns:
- the userSearchAllowed
-
setUserSearchAllowed
public void setUserSearchAllowed(boolean userSearchAllowed) - Parameters:
userSearchAllowed
- the userSearchAllowed to set
-
getTargetValue
-
cancelButton_actionListener
Action Event Handler for the control with id='cancelButton' -
applyButton_actionListener
Action Event Handler for the control with id='applyButton' -
resetBeanState
protected void resetBeanState() -
getSearchResults
-
getInitialSelectedPrincipals
get the selected principals with the current value of the target value binding expression- Throws:
PortalException
-
getSearchBarControl
-
doSearch
-
isLastSearchStateSet
public boolean isLastSearchStateSet()
-