public class PrincipalPickerControlBean extends BaseCompositeViewControlPageBean implements Serializable
BaseViewBean.ClientIdsContentProvider
Modifier and Type | Field and Description |
---|---|
protected Boolean |
fGroupSearchAllowed |
protected boolean |
fLastSearchStateSet |
protected Boolean |
fMultipleSelectionsAllowed |
protected String |
fRefreshOnApply |
protected Boolean |
fRoleSearchAllowed |
protected DirectorySearchProvider |
fSearchResultsContentProvider |
protected ListTableContentProvider |
fSelectedPrincipalsProvider |
protected Boolean |
fUserSearchAllowed |
fCompositeNamingContainer
clientIds, initialized
fExpireWithPageFlow
DATA_BINDING_CLIENTS, EMPTY_RESOURCES, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
Constructor and Description |
---|
PrincipalPickerControlBean() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterInvokeApplication()
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 |
beforeRenderResponse()
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'
|
String |
doSearch() |
String |
getDefaultCommand() |
String |
getDefaultFocus() |
protected int |
getDefaultSearchType() |
protected List<IPrincipalProvider> |
getInitialSelectedPrincipals()
get the selected principals with the current value of the target value binding expression
|
String |
getRefreshOnApply() |
SearchBar |
getSearchBarControl() |
DirectorySearchProvider |
getSearchResults() |
ListTableContentProvider |
getSelectedPrincipalsProvider() |
ValueExpression |
getTargetValue() |
String |
getTitleText() |
boolean |
isDisableWhenHidden() |
boolean |
isGroupSearchAllowed() |
boolean |
isLastSearchStateSet() |
boolean |
isMultipleSearchTypesAvailable() |
boolean |
isMultipleSelectionsAllowed() |
boolean |
isRoleSearchAllowed() |
boolean |
isUserSearchAllowed() |
protected void |
resetBeanState() |
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) |
findComponentInRoot, getClientIds, getCompositeViewAbsoluteControlId, getCompositeViewControlId, getCompositeViewNamingContainer, getPropertyOrBindingValue, setCompositeViewNamingContainer
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
getExpireWithPageFlow, setExpireWithPageFlow, valueBound, valueUnbound
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
protected DirectorySearchProvider fSearchResultsContentProvider
protected ListTableContentProvider fSelectedPrincipalsProvider
protected Boolean fMultipleSelectionsAllowed
protected Boolean fUserSearchAllowed
protected Boolean fGroupSearchAllowed
protected Boolean fRoleSearchAllowed
protected String fRefreshOnApply
protected boolean fLastSearchStateSet
public String getDefaultCommand()
public void setDefaultCommand(String cmd)
public String getDefaultFocus()
public void setDefaultFocus(String focus)
public boolean isDisableWhenHidden()
public void setDisableWhenHidden(boolean disableWhenHidden)
public String getTitleText()
protected void afterInvokeApplication()
BaseViewBean
afterInvokeApplication
in class BaseViewBean
protected void beforeRenderResponse()
BaseViewBean
beforeRenderResponse
in class BaseViewBean
public ListTableContentProvider getSelectedPrincipalsProvider()
public boolean isMultipleSearchTypesAvailable()
protected int getDefaultSearchType()
public boolean isGroupSearchAllowed()
public void setGroupSearchAllowed(boolean groupSearchAllowed)
groupSearchAllowed
- the groupSearchAllowed to setpublic boolean isMultipleSelectionsAllowed()
public void setMultipleSelectionsAllowed(boolean multipleSelectionsAllowed)
multipleSelectionsAllowed
- the multipleSelectionsAllowed to setpublic String getRefreshOnApply()
public void setRefreshOnApply(String refreshOnApply)
refreshOnApply
- the refreshOnApply to setpublic boolean isRoleSearchAllowed()
public void setRoleSearchAllowed(boolean roleSearchAllowed)
roleSearchAllowed
- the roleSearchAllowed to setpublic boolean isUserSearchAllowed()
public void setUserSearchAllowed(boolean userSearchAllowed)
userSearchAllowed
- the userSearchAllowed to setpublic ValueExpression getTargetValue()
public void cancelButton_actionListener(ActionEvent actionEvent)
public void applyButton_actionListener(ActionEvent actionEvent)
protected void resetBeanState()
public DirectorySearchProvider getSearchResults()
protected List<IPrincipalProvider> getInitialSelectedPrincipals() throws PortalException
PortalException
public SearchBar getSearchBarControl()
public String doSearch()
public boolean isLastSearchStateSet()