Package com.softwareag.caf.controls.mwsx
Class PeopleSwapBoxBean
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.softwareag.caf.controls.mwsx.PeopleSwapBoxBean
- All Implemented Interfaces:
IPageFlowScopeAdapter
,ICompositeViewControlPageBean
,Serializable
,EventListener
,PhaseListener
,HttpSessionBindingListener
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.webmethods.caf.faces.bean.BaseViewBean
BaseViewBean.ClientIdsContentProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ISearchQuery
protected Boolean
protected PeopleSearchProvider
protected SelectableListTableContentProvider
protected static final String
protected static final String
protected boolean
protected static final String
protected static final String
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.protected void
Clients should overwrite this method to perform custom actions after controls updated data model using submitted values.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.protected void
Getter method for the control with id='htmlForm:availablePrincipalsTable'protected List<IPrincipalProvider>
get the selected principals with the current value of the target value binding expressionGetter method for the control with id='htmlForm:selectedPrincipalsTable:popupPanelBody'Getter method for the control with id='htmlForm:availablePrincipalsTable:popupPanelBody'Getter method for the control with id='htmlForm:selectedPrincipalsTable'boolean
moveLeft()
void
void
setActiveSearchQuery
(ISearchQuery searchQuery) void
setMultipleSelectionsAllowed
(boolean multipleSelectionsAllowed) void
setPeopleSearchProvider
(PeopleSearchProvider dirSearchProvider) 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, 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
-
fSelectedPrincipalsProvider
-
fPeopleSearchProvider
-
fActiveSearchQuery
-
fMultipleSelectionsAllowed
-
needRefresh
protected boolean needRefresh -
SKIN_SELECT
- See Also:
-
SKIN_DESELECT
- See Also:
-
IMG_SKIN_SELECT
- See Also:
-
IMG_SKIN_DESELECT
- See Also:
-
-
Constructor Details
-
PeopleSwapBoxBean
public PeopleSwapBoxBean()
-
-
Method Details
-
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
-
afterUpdateModelValues
protected void afterUpdateModelValues()Description copied from class:BaseViewBean
Clients should overwrite this method to perform custom actions after controls updated data model using submitted values.- Overrides:
afterUpdateModelValues
in classBaseViewBean
-
checkResultSize
protected void checkResultSize() -
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
-
isMultipleSelectionsAllowed
public boolean isMultipleSelectionsAllowed()- Returns:
- the multipleSelectionsAllowed
-
setMultipleSelectionsAllowed
public void setMultipleSelectionsAllowed(boolean multipleSelectionsAllowed) - Parameters:
multipleSelectionsAllowed
- the multipleSelectionsAllowed to set
-
getPeopleSearchProvider
-
setPeopleSearchProvider
-
getSelectedPrincipalsProvider
-
getActiveSearchQuery
-
setActiveSearchQuery
-
resetBeanState
public void resetBeanState() -
getTargetValue
-
applyButton_actionListener
Action Event Handler for the control with id='applyButton' -
getInitialSelectedPrincipals
get the selected principals with the current value of the target value binding expression- Throws:
PortalException
-
getIconUrlPrefix
-
getMoveRightIconUrl
-
getMoveLeftIconUrl
-
getAvailableTableClientId
-
getSelectedTableClientId
-
getAvailablePrincipalsTable
Getter method for the control with id='htmlForm:availablePrincipalsTable' -
getSelectedPrincipalsTable
Getter method for the control with id='htmlForm:selectedPrincipalsTable' -
getPopupPanelBody
Getter method for the control with id='htmlForm:selectedPrincipalsTable:popupPanelBody' -
getPopupPanelBody_1
Getter method for the control with id='htmlForm:availablePrincipalsTable:popupPanelBody' -
moveRight
-
moveLeft
-