@Named(value="pamUserBean") @SessionScoped public class PamUserBean extends com.kobil.ssms.kernel.presentation.jsf.common.AbstractSearchFilterBean implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
FILTER_GROUP |
static String |
FILTERS |
static String |
MESSAGE_SELECT_AT_LEAST_ONE_ITEM |
Constructor and Description |
---|
PamUserBean() |
Modifier and Type | Method and Description |
---|---|
void |
action_changeLockStateForUser()
action icon - lock and unlock user (action of icon for each user in table)
messages are shown as status icons in the result column in front of the selected
user with mouseover message texts (ONLY!).
|
void |
action_lockUser()
button action - lock selected user(s) action
|
void |
action_mustChange()
button action - setting the 'MUST_CHANGE' or 'OK' password state depend on the button has been pressed
Decision which button has been pressed is passed by bean property requestedPwdState.
|
void |
action_unlockUser()
button action - unlock the selected user(s)
|
void |
cleanSelected(javax.faces.event.ActionEvent e) |
protected void |
createDefaultFilter(String selectedElement) |
org.apache.myfaces.trinidad.component.UIXTable |
getDataTable() |
int |
getDefaultMaxRetryCounter() |
protected Map<com.kobil.ssms.kernel.logic.filter.FilterColumnInfo,List<com.kobil.ssms.kernel.logic.filter.FilterItem>> |
getDropDownFilterMapping() |
protected Class<?> |
getMessageClass() |
org.apache.myfaces.trinidad.component.UIXComponent |
getMessageDisplay() |
protected String |
getPageFlowFilterCollectionKey() |
protected String |
getPageFlowFilterGroupKey() |
String |
getPasswordState(byte passwordState)
returns the localized password state string according to its pamuser.paswordstate (enum)
|
String |
getRequestedPwdState() |
Map<Object,com.kobil.ssms.kernel.presentation.jsf.ResultEntry> |
getResults() |
String |
getSelectedDefault() |
com.kobil.ssms.pam.logic.pwd.PamUserDTO |
getSelectedPamUserDto() |
String |
getSelectedUser() |
String |
getSelectedUserID() |
List<com.kobil.ssms.pam.logic.pwd.PamUserDTO> |
getUsers() |
protected com.kobil.ssms.kernel.presentation.jsf.ViewConstants |
getViewConstant() |
void |
init() |
boolean |
isDataExists() |
boolean |
isUpdated() |
void |
launchListener_setPasswordForUser(org.apache.myfaces.trinidad.event.LaunchEvent event) |
void |
reload() |
void |
reloadUsers()
This method calls the logic layer to retrieve the filtered data from the database.
|
void |
returnListener_addUser(org.apache.myfaces.trinidad.event.ReturnEvent event)
after closing the pamAddUserDialog the users table has to reload and display the last add user only
|
void |
returnListener_removeUser(org.apache.myfaces.trinidad.event.ReturnEvent event) |
void |
returnListener_setPasswordForUser(org.apache.myfaces.trinidad.event.ReturnEvent event)
after successful setting of the password the successful information has to be set at the selected user
in data table
|
void |
setDataTable(org.apache.myfaces.trinidad.component.UIXTable table) |
void |
setMessageDisplay(org.apache.myfaces.trinidad.component.UIXComponent messageDisplay) |
void |
setRequestedPwdState(String requestedPwdState) |
protected void |
setSelectedElements(Object o) |
void |
setSelectedPamUserDto(com.kobil.ssms.pam.logic.pwd.PamUserDTO selectedPamUserDto) |
void |
setSelectedUser(String selectedUser) |
void |
setSelectedUserID(String selectedUserID) |
void |
setUpdated(boolean updated) |
addDefaultFilter, addDefaultFilterWithReload, addFacesMessage, addFacesTextMessage, addFilter, addPartialTarget, fillStoredTenantId, getColumnInfoByName, getFilterCollection, getFilterGroup, getFilterLogicConnectorText, getFilters, getLogicalConnector, getSortingColumnInfoFromTable, launchListener_launchAdvancedSearch, processSelection, removeFilters, returnListener_saveAdvancedFilters, setFilterGroup, setFilters, setLogicalConnector
public static final String FILTERS
public static final String FILTER_GROUP
public static final String MESSAGE_SELECT_AT_LEAST_ONE_ITEM
@PostConstruct public void init()
public boolean isUpdated()
public void setUpdated(boolean updated)
protected Map<com.kobil.ssms.kernel.logic.filter.FilterColumnInfo,List<com.kobil.ssms.kernel.logic.filter.FilterItem>> getDropDownFilterMapping()
getDropDownFilterMapping
in class com.kobil.ssms.kernel.presentation.jsf.common.AbstractSearchFilterBean
protected String getPageFlowFilterCollectionKey()
getPageFlowFilterCollectionKey
in class com.kobil.ssms.kernel.presentation.jsf.common.AbstractSearchFilterBean
protected String getPageFlowFilterGroupKey()
getPageFlowFilterGroupKey
in class com.kobil.ssms.kernel.presentation.jsf.common.AbstractSearchFilterBean
protected void setSelectedElements(Object o)
setSelectedElements
in class com.kobil.ssms.kernel.presentation.jsf.common.AbstractSearchFilterBean
public void setDataTable(org.apache.myfaces.trinidad.component.UIXTable table)
public org.apache.myfaces.trinidad.component.UIXTable getDataTable()
getDataTable
in class com.kobil.ssms.kernel.presentation.jsf.common.AbstractSearchFilterBean
protected com.kobil.ssms.kernel.presentation.jsf.ViewConstants getViewConstant()
getViewConstant
in class com.kobil.ssms.kernel.presentation.jsf.common.AbstractSearchFilterBean
protected Class<?> getMessageClass()
getMessageClass
in class com.kobil.ssms.kernel.presentation.jsf.common.AbstractSearchFilterBean
public void cleanSelected(javax.faces.event.ActionEvent e)
cleanSelected
in class com.kobil.ssms.kernel.presentation.jsf.common.AbstractSearchFilterBean
protected void createDefaultFilter(String selectedElement)
createDefaultFilter
in class com.kobil.ssms.kernel.presentation.jsf.common.AbstractSearchFilterBean
public String getSelectedDefault()
getSelectedDefault
in class com.kobil.ssms.kernel.presentation.jsf.common.AbstractSearchFilterBean
public void setSelectedUser(String selectedUser)
public String getSelectedUser()
public void setSelectedUserID(String selectedUserID)
public String getSelectedUserID()
public com.kobil.ssms.pam.logic.pwd.PamUserDTO getSelectedPamUserDto()
public void setSelectedPamUserDto(com.kobil.ssms.pam.logic.pwd.PamUserDTO selectedPamUserDto)
public org.apache.myfaces.trinidad.component.UIXComponent getMessageDisplay()
public void setMessageDisplay(org.apache.myfaces.trinidad.component.UIXComponent messageDisplay)
public List<com.kobil.ssms.pam.logic.pwd.PamUserDTO> getUsers()
public String getPasswordState(byte passwordState)
passwordState
- - password state of according pamuserpublic boolean isDataExists()
isDataExists
in class com.kobil.ssms.kernel.presentation.jsf.DataControlBean
public void reload()
reload
in class com.kobil.ssms.kernel.presentation.jsf.DataControlBean
public void reloadUsers()
public void action_lockUser()
-
- one or more selected table item <PamKernelUser>public void returnListener_removeUser(org.apache.myfaces.trinidad.event.ReturnEvent event)
public void action_unlockUser()
-
- one or more selected table item <PamKernelUser>public String getRequestedPwdState()
public void setRequestedPwdState(String requestedPwdState)
public void action_mustChange()
-
- one or more selected table item <PamKernelUser>public void action_changeLockStateForUser()
-
- selectedUser object from usertable. Here it will be provided by the page flow scope set in the jsppublic void returnListener_addUser(org.apache.myfaces.trinidad.event.ReturnEvent event)
event
- public void launchListener_setPasswordForUser(org.apache.myfaces.trinidad.event.LaunchEvent event)
public void returnListener_setPasswordForUser(org.apache.myfaces.trinidad.event.ReturnEvent event)
event
- public int getDefaultMaxRetryCounter()
Copyright © 2022 KOBIL Systems GmbH. All rights reserved.