Class PrincipalPickerControlBean

All Implemented Interfaces:
IPageFlowScopeAdapter, ICompositeViewControlPageBean, Serializable, EventListener, PhaseListener, HttpSessionBindingListener

public class PrincipalPickerControlBean extends BaseCompositeViewControlPageBean implements Serializable
See Also:
  • Field Details

    • fSearchResultsContentProvider

      protected DirectorySearchProvider fSearchResultsContentProvider
    • fSelectedPrincipalsProvider

      protected ListTableContentProvider fSelectedPrincipalsProvider
    • fMultipleSelectionsAllowed

      protected Boolean fMultipleSelectionsAllowed
    • fUserSearchAllowed

      protected Boolean fUserSearchAllowed
    • fGroupSearchAllowed

      protected Boolean fGroupSearchAllowed
    • fRoleSearchAllowed

      protected Boolean fRoleSearchAllowed
    • fRefreshOnApply

      protected String fRefreshOnApply
    • fLastSearchStateSet

      protected boolean fLastSearchStateSet
  • Constructor Details

    • PrincipalPickerControlBean

      public PrincipalPickerControlBean()
  • Method Details

    • getDefaultCommand

      public String getDefaultCommand()
    • setDefaultCommand

      public void setDefaultCommand(String cmd)
    • getDefaultFocus

      public String getDefaultFocus()
    • setDefaultFocus

      public void setDefaultFocus(String focus)
    • isDisableWhenHidden

      public boolean isDisableWhenHidden()
    • setDisableWhenHidden

      public void setDisableWhenHidden(boolean disableWhenHidden)
    • getTitleText

      public String 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 class BaseViewBean
    • 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 class BaseViewBean
    • getSelectedPrincipalsProvider

      public ListTableContentProvider 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

      public String getRefreshOnApply()
      Returns:
      the refreshOnApply
    • setRefreshOnApply

      public void setRefreshOnApply(String refreshOnApply)
      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

      public ValueExpression getTargetValue()
    • cancelButton_actionListener

      public void cancelButton_actionListener(ActionEvent actionEvent)
      Action Event Handler for the control with id='cancelButton'
    • applyButton_actionListener

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

      protected void resetBeanState()
    • getSearchResults

      public DirectorySearchProvider getSearchResults()
    • getInitialSelectedPrincipals

      protected List<IPrincipalProvider> getInitialSelectedPrincipals() throws PortalException
      get the selected principals with the current value of the target value binding expression
      Throws:
      PortalException
    • getSearchBarControl

      public SearchBar getSearchBarControl()
    • doSearch

      public String doSearch()
    • isLastSearchStateSet

      public boolean isLastSearchStateSet()