public class MB_Users extends JKManagedBeanWithOrmSupport<User>
modesqlDataAccesslogger| Constructor and Description |
|---|
MB_Users() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beforeInsert()
Before insert.
|
protected void |
beforeUpdate()
Before update.
|
String |
changePassword()
Change password.
|
String |
getCurrentPassword()
Gets the current password.
|
String |
getMessage()
Gets the user name.
|
String |
getNewPassword()
Gets the new password.
|
protected SecurityService |
getService()
Gets the service.
|
User |
getUser()
Return account object for current logged in user.
|
boolean |
isAdmin()
Checks if is admin.
|
String |
reset()
Reset.
|
void |
setCurrentPassword(String currentPassword)
Sets the current password.
|
void |
setNewPassword(String newPassword)
Sets the new password.
|
add, addToDatabase, afterDelete, afterInsert, afterUpdate, approvePayload, beforeDelete, cancelEdit, createEmptyModel, delete, deleteFromDatabase, duplicate, edit, fill, find, findPayload, getDataAccess, getEmptyModel, getFilterList, getFilterList2, getIdValue, getIdValue, getMode, getModel, getModelClass, getModelList, getOriginal, getPayload, getPayloads, getWorkflowEntityName, isAllowAdd, isAllowDelete, isAllowEdit, isAllowFill, isAllowReset, isAllowSave, isAlwaysRefreshList, isConfirmReeset, isEditMode, isEditTabular, isFieldModified, isInputDisabled, isReadOnlyMode, isWorkflowAvialable, rejectPayload, resetWorkFlow, save, saveAll, saveAllToDatabase, saveToDatabase, setAlwaysRefreshList, setConfirmReeset, setEditTabular, setFilterList, setFilterList2, setIdValue, setModel, setOriginal, setPayload, setPayloads, viewPayloadexecute, getSqlDataAccess, initgetActionLogName, getActionLogService, getEmail, getEmailService, getFamilyName, getFirstName, getIdToken, getUserName, isUserLoggedIn, logActioncontext, error, error, executeAsyc, getContextParam, getContextPath, getFromAppliaction, getFromRequest, getFromSession, getParam, getParamterFromRequest, getRoles, getViewScopedManagedBean, handleException, isDebug, isDevelopmentMode, redirect, request, session, success, success, suggestName, updateUi, warningpublic String getMessage()
public User getUser()
protected SecurityService getService()
public String getCurrentPassword()
public void setCurrentPassword(String currentPassword)
currentPassword - the new current passwordpublic String getNewPassword()
public void setNewPassword(String newPassword)
newPassword - the new new passwordpublic String changePassword()
public boolean isAdmin()
protected void beforeInsert()
beforeInsert in class JKManagedBeanWithOrmSupport<User>protected void beforeUpdate()
beforeUpdate in class JKManagedBeanWithOrmSupport<User>public String reset()
JKManagedBeanWithOrmSupportreset in class JKManagedBeanWithOrmSupport<User>Copyright © 2023 Smart-Cloud. All rights reserved.