public interface IAccountDirect
extends common.direct.IDirect
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright
|
| Modifier and Type | Method and Description |
|---|---|
AccountBean |
add(AccountBean accountBean,
com.engiweb.pm.dao.db.DAO dao)
Adds a new account if it not exists yet.
|
void |
changePwd(AccountBean accountBean,
java.lang.String oldPwd,
java.lang.String newPwd,
boolean isAdm,
boolean forceChangePassword,
com.engiweb.pm.dao.db.DAO connDao) |
void |
changePwd(AccountBean accountBean,
java.lang.String oldPwd,
java.lang.String newPwd,
boolean isAdm,
com.engiweb.pm.dao.db.DAO dao)
Updates password related to an existing account.
|
void |
checkPwdSyntax(PwdCfgBean pwdCfgBean,
java.lang.String candidatePwd,
com.engiweb.pm.dao.db.DAO dao)
Check password syntax.
|
java.util.HashMap<AccountType,java.lang.Long> |
countInfoAccount(PwdCfgBean pwdCfgBean,
com.engiweb.pm.dao.db.DAO dao)
Count info account.
|
com.engiweb.pm.entity.BeanList<AccountBean> |
find(AccountBean accountBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of accounts filtered by a passed
AccountBean object. |
com.engiweb.pm.entity.BeanList<ApplicationBean> |
findApplication(ApplicationBean appBean,
AccountBean accountBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO connDao)
Find account's applications
|
java.util.Map<java.lang.String,java.util.List<com.engiweb.profilemanager.common.bean.targetattr.PwdManagementAttrValBean>> |
findAttrValue(com.engiweb.profilemanager.common.bean.targetattr.PwdCfgAttrKeyBean filterKey,
AccountBean account,
com.engiweb.pm.dao.db.DAO connDao) |
com.engiweb.pm.entity.BeanList<com.engiweb.profilemanager.common.bean.targetattr.PwdManagementAttrValBean> |
findAttrValue(com.engiweb.profilemanager.common.bean.targetattr.PwdCfgAttrKeyBean attrKeyBean,
AccountBean account,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao) |
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entBean,
ApplicationBean appBean,
AccountBean accountBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO connDao)
Find account's entitlements
|
void |
insertAttrValue(com.engiweb.pm.entity.BeanList<com.engiweb.profilemanager.common.bean.targetattr.PwdManagementAttrValBean> pwdManAttributeBean,
com.engiweb.profilemanager.common.bean.targetattr.PwdCfgAttrKeyBean attrKeyBean,
AccountBean account,
com.engiweb.pm.dao.db.DAO connDao) |
com.engiweb.pm.entity.BeanList<EntitlementBean> |
matchAccount(UserBean uBean,
AccountBean accountBean,
boolean riexecuteTargetEvent,
com.engiweb.pm.dao.db.DAO dao)
Match account.
|
AccountBean |
modify(AccountBean accountBean,
com.engiweb.pm.dao.db.DAO dao)
Updates an existing account.
|
void |
remove(AccountBean accountBean,
com.engiweb.pm.dao.db.DAO dao)
Deletes an existing accountBean.
|
java.lang.String |
resolvePlaceHolder(java.lang.Long personId,
java.lang.String placeHolder,
com.engiweb.pm.dao.db.DAO connDao)
Resolves the placeholder with the mapped attribute value of the person
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
unMatchAccount(AccountBean accountBean,
com.engiweb.pm.dao.db.DAO dao)
Unmatch account.
|
void |
updateAccount(com.engiweb.pm.entity.BeanList<AccountBean> accountBeanList,
AccountBean accountBeanWithValuesSet,
com.engiweb.pm.dao.db.DAO dao)
Updates a list of account according to values set in the object accountBeanWithValuesSet.
|
java.util.List<java.lang.Integer> |
validatePasswordSyntax(PwdCfgBean pwdCfgBean,
UserBean userBean,
java.lang.String candidatePwd,
com.engiweb.pm.dao.db.DAO dao)
Validate password syntax.
|
static final java.lang.String COPYRIGHT
void insertAttrValue(com.engiweb.pm.entity.BeanList<com.engiweb.profilemanager.common.bean.targetattr.PwdManagementAttrValBean> pwdManAttributeBean,
com.engiweb.profilemanager.common.bean.targetattr.PwdCfgAttrKeyBean attrKeyBean,
AccountBean account,
com.engiweb.pm.dao.db.DAO connDao)
throws com.engiweb.toolkit.common.BackendException
pwdManAttributeBean - attrKeyBean - account - connDao - com.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<com.engiweb.profilemanager.common.bean.targetattr.PwdManagementAttrValBean> findAttrValue(com.engiweb.profilemanager.common.bean.targetattr.PwdCfgAttrKeyBean attrKeyBean,
AccountBean account,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
throws com.engiweb.toolkit.common.BackendException
attrKeyBean - account - paging - connDao - com.engiweb.toolkit.common.BackendExceptionjava.util.Map<java.lang.String,java.util.List<com.engiweb.profilemanager.common.bean.targetattr.PwdManagementAttrValBean>> findAttrValue(com.engiweb.profilemanager.common.bean.targetattr.PwdCfgAttrKeyBean filterKey,
AccountBean account,
com.engiweb.pm.dao.db.DAO connDao)
throws com.engiweb.toolkit.common.BackendException
filterKey - account - connDao - com.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<AccountBean> find(AccountBean accountBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
AccountBean object.accountBean - AccountBean the accountpaging - Pagingthe pagingdao - DAO the connection daoBeanList of AccountBeancom.engiweb.toolkit.common.BackendException - the backend exceptionAccountBean add(AccountBean accountBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
accountBean - AccountBean the account to adddao - DAO the connection daoAccountBean addedcom.engiweb.toolkit.common.BackendException - the pM security exceptioncom.engiweb.toolkit.common.BackendExceptionAccountBean modify(AccountBean accountBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
accountBean - AccountBean the account to modifydao - DAO the connection daoAccountBean modifiedcom.engiweb.toolkit.common.BackendException - the pM security exceptioncom.engiweb.toolkit.common.BackendExceptionvoid remove(AccountBean accountBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
accountBean - AccountBean the account to removedao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the pM security exceptioncom.engiweb.toolkit.common.BackendExceptionvoid changePwd(AccountBean accountBean, java.lang.String oldPwd, java.lang.String newPwd, boolean isAdm, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
accountBean - AccountBean the accountoldPwd - String the old passwordnewPwd - String the new passworddao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the pM security exceptioncom.engiweb.toolkit.common.BackendExceptionvoid changePwd(AccountBean accountBean, java.lang.String oldPwd, java.lang.String newPwd, boolean isAdm, boolean forceChangePassword, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
accountBean - AccountBean the accountoldPwd - String the old passwordnewPwd - String the new passwordisAdm - forceChangePassword - Boolean set a force change password for the userconnDao - com.engiweb.toolkit.common.BackendExceptionvoid updateAccount(com.engiweb.pm.entity.BeanList<AccountBean> accountBeanList, AccountBean accountBeanWithValuesSet, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
accountBeanList - BeanList of AccountBean the account beanaccountBeanWithValuesSet - AccountBean the account bean with values setdao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid checkPwdSyntax(PwdCfgBean pwdCfgBean, java.lang.String candidatePwd, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
pwdCfgBean - PwdCfgBean the configurationcandidatePwd - String the candidate passworddao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionjava.util.List<java.lang.Integer> validatePasswordSyntax(PwdCfgBean pwdCfgBean, UserBean userBean, java.lang.String candidatePwd, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
pwdCfgBean - PwdCfgBean the configurationuserBean - UserBean the user of the accountcandidatePwd - String the candidate passworddao - DAO the daoList of errore codecom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> matchAccount(UserBean uBean, AccountBean accountBean, boolean riexecuteTargetEvent, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
uBean - UserBean the useraccountBean - AccountBean the accountriexecuteTargetEvent - the riexecute target eventdao - DAO the connection daoBeanList of EntitlementBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> unMatchAccount(AccountBean accountBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
accountBean - AccountBean the accountBeanList of EntitlementBeancom.engiweb.toolkit.common.BackendException - the backend exceptionjava.util.HashMap<AccountType,java.lang.Long> countInfoAccount(PwdCfgBean pwdCfgBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
pwdCfgBean - PwdCfgBean the configurationHashMapcom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entBean, ApplicationBean appBean, AccountBean accountBean, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
entBean - EntitlementBean the entitlementappBean - ApplicationBean the applicationaccountBean - AccountBean the accountpaging - Paging the pagingcode_scope - String the code scopeconnDao - DAO the connection daoBeanList of EntitlementBeancom.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<ApplicationBean> findApplication(ApplicationBean appBean, AccountBean accountBean, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
appBean - ApplicationBean the applicationaccountBean - AccountBean the accountpaging - Paging the pagingcode_scope - String the code scopeconnDao - DAO the connection daoBeanList of ApplicationBeancom.engiweb.toolkit.common.BackendExceptionjava.lang.String resolvePlaceHolder(java.lang.Long personId,
java.lang.String placeHolder,
com.engiweb.pm.dao.db.DAO connDao)
throws com.engiweb.toolkit.common.BackendException
personId - id of the personplaceHolder - placeholder to resolvecom.engiweb.toolkit.common.BackendException