public interface IUserDirect
extends common.direct.IDirect
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDelegatedEnt(UserBean delegated,
UserBean represented,
com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList,
com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean,
boolean checkIncompatibility,
com.engiweb.pm.dao.db.DAO dao)
Adds a list of entitlements delegated to a user.
|
void |
addEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList,
com.engiweb.pm.entity.BeanList<UserRightsBean> rightsList,
com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean,
UserBean userBean,
OrgUnitBean ou,
boolean checkIncompatibility,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Deprecated.
replaced by
#addEntitlementByGroup(BeanList, BeanList, BeanList, UserBean, GroupBean, boolean, String, String, String) |
void |
addEntitlementByGroup(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList,
com.engiweb.pm.entity.BeanList<UserRightsBean> rightsList,
com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean,
UserBean userBean,
GroupBean groupBean,
boolean checkIncompatibility,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Deprecated.
|
void |
addEntitlementByGroup(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList,
java.util.Map<java.lang.Long,AccountBean> accountList,
com.engiweb.pm.entity.BeanList<UserRightsBean> rightsList,
com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean,
UserBean userBean,
GroupBean groupBean,
boolean checkIncompatibility,
boolean skipPwdHistoryCheck,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Insert a list of entitlements
|
void |
addEntitlementByGroup(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList,
java.util.Map<java.lang.Long,AccountBean> accountList,
com.engiweb.pm.entity.BeanList<UserRightsBean> rightsList,
com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean,
UserBean userBean,
GroupBean groupBean,
boolean checkIncompatibility,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Insert a list of entitlements
|
void |
addEntitlementByGroupNOcheckSOD(java.util.List<EntitlementBean> entBeanList,
java.util.Map<java.lang.Long,AccountBean> accountList,
com.engiweb.pm.entity.BeanList<UserRightsBean> rightsList,
com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean,
UserBean userBean,
GroupBean groupBean,
boolean defaultRights,
boolean skipPwdHistoryCheck,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Insert a list of entitlements without refreshing the SOD check for the user
|
void |
addEntitlementNoDefHierGroup(com.engiweb.pm.entity.BeanList<EntitlementBean> entBL,
com.engiweb.pm.entity.BeanList<UserRightsBean> rightsList,
com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean,
UserBean userBean,
GroupBean groupBean,
boolean checkIncompatibility,
com.engiweb.pm.dao.db.DAO connDao)
Add entitlements to an user in a group belonging to a non default hierarchy
|
void |
addRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean,
UserBean userBean,
boolean updateSOD,
com.engiweb.pm.dao.db.DAO dao)
Adds remediations to a user.
|
void |
addResource(UserBean userBean,
EntitlementBean entBean,
com.engiweb.pm.entity.BeanList<com.engiweb.pm.web.bean.AbstractBean> blResources,
com.engiweb.pm.dao.db.DAO dao)
Add a list of resources to an user.
|
void |
addResource(UserBean userBean,
EntitlementBean entBean,
GroupBean groupBean,
com.engiweb.pm.entity.BeanList<com.engiweb.pm.web.bean.AbstractBean> blResources,
com.engiweb.pm.dao.db.DAO dao)
Add a list of resources to an user.
|
void |
addServicePending(java.util.HashMap<EntitlementBean,com.engiweb.pm.entity.BeanList<ServiceAttributeBean>> blServiceBean,
java.lang.String request,
UserBean userBean,
com.engiweb.pm.dao.db.DAO dao)
Add a list of services to an user
|
com.engiweb.pm.entity.BeanList<AccountFulfillmentStatusBean> |
checkAccountFulfillmentStatusByRole(AccountFulfillmentStatusBean accountFulfillmentStatusBean,
UserBean userBean,
EntitlementBean userRole,
EntitlementBean filterEntitlementChild,
com.engiweb.pm.dao.db.DAO connDao) |
com.engiweb.pm.entity.BeanList<EntitlementBean> |
checkPermission(UserBean userBean,
EntitlementBean entBean,
com.engiweb.pm.dao.db.DAO dao)
Given an user check whether, permission inside the role, is verified or not from target.
|
com.engiweb.pm.entity.BeanList<PersonProfileBean> |
checkPersonProfileByRole(UserBean userBean,
EntitlementBean entBean,
EntitlementBean filterEntitlementChild,
java.lang.Long status,
com.engiweb.pm.dao.db.DAO connDao)
Given an user check whether, permission inside the role, is verified or not from target.
|
com.engiweb.pm.entity.BeanList<PersonProfileServiceBean> |
checkPersonProfileServiceByRole(UserBean userBean,
EntitlementBean entBean,
EntitlementBean filterEntitlementChild,
java.lang.Long status,
com.engiweb.pm.dao.db.DAO connDao)
Given an user check whether, rights of permission inside the role, is verified or not from target.
|
boolean |
checkUserEntitlement(java.lang.Long userId,
java.util.ArrayList<java.lang.String> entitlementsName,
com.engiweb.pm.dao.db.DAO connDao) |
void |
delete(UserBean userBean,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Deletes an existing user.
|
com.engiweb.pm.entity.BeanList<UserBean> |
find(UserBean userBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns the users filtered by a specified user
|
com.engiweb.pm.entity.BeanList<AccountBean> |
findAccount(AccountBean accountBean,
UserBean userBean,
boolean isByUser,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns
BeanList of AccountBean of an user. |
com.engiweb.pm.entity.BeanList<UserBean> |
findAdvanced(java.util.List<UserAttributeBean> userAttributesList,
java.lang.String genericFilterValue,
GroupBean groupBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Returns the users filtered by a list of attributes (AND condition).
|
com.engiweb.pm.entity.BeanList<UserBean> |
findAdvanced(java.util.List<UserAttributeBean> userAttributesList,
java.lang.String genericFilterValue,
java.lang.Long filterOutOfSync,
GroupBean groupBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Returns the users filtered by a list of attributes (AND condition).
|
com.engiweb.pm.entity.BeanList<ApplicationBean> |
findApplication(ApplicationBean appBean,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns the application associated to user.
|
com.engiweb.pm.entity.BeanList<AssignmentBean> |
findAssignment(EntitlementBean entitlementBean,
ApplicationBean appBean,
AccountBean accountBean,
GroupBean groupBean,
UserBean userBean,
boolean defaultAccountsOnly,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns assignments related to an user.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findDelegantByProfile(UserBean represented,
EntitlementBean entitlementBean,
UserBean delegated,
boolean isByDelegated,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of entitlements a delegated user has been delegated from a
represented.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findDelegated(UserBean delegatedUser,
EntitlementBean entitlementBean,
UserBean representedUser,
boolean isByUser,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of users delegated by a represented user filtered by
entitlement.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findDelegatedByProfile(UserBean delegatedUser,
EntitlementBean entitlementBean,
UserBean representedUser,
boolean isByUser,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of users delegated by a represented user filtered by
profile type entitlement.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findDelegatedEntitlement(EntitlementBean entitlementBean,
UserBean representedUser,
UserBean delegatedUser,
boolean isByRepresented,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of entitlements a represended user gave delegated.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findDelegatedEntitlementInGroup(EntitlementBean entBean,
ApplicationBean appBean,
UserBean represented,
UserBean delegated,
GroupBean groupBean,
HierarchyBean hierarchyBean,
boolean isByRepresented,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao) |
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findDelegatedEntitlementInGroup(EntitlementBean entBean,
java.util.List<java.lang.Long> entTypes,
ApplicationBean appBean,
UserBean represented,
UserBean delegated,
GroupBean groupBean,
HierarchyBean hierarchyBean,
boolean isByRepresented,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao) |
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findDelegatedEntitlementInGroup(EntitlementBean entitlementBean,
UserBean representedUser,
UserBean delegatedUser,
GroupBean groupBean,
HierarchyBean hierarchyBean,
boolean isByRepresented,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao) |
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean eBean,
ApplicationBean appBean,
AccountBean accountBean,
GroupBean groupBean,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns entitlements assigned to an user filtered by an application.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entitlementBean,
ApplicationBean appBean,
GroupBean groupBean,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns entitlements assigned to an user filtered by an application.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entitlementBean,
ApplicationBean appBean,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns entitlements assigned to an user on the default hierarchy filtered by an application.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entitlementBean,
java.util.List<java.lang.Long> entTypes,
ApplicationBean appBean,
GroupBean groupBean,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao) |
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findFlatUserProfileList(ApplicationBean appBean,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
The method returns the Permissions assigned (directly or contained into a BusinessRole or ITRole) to an user and belonging to an application (is specified)
|
com.engiweb.pm.entity.BeanList<GroupBean> |
findGroup(GroupBean groupBean,
HierarchyBean hierarchyBean,
UserBean userBean,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns a
BeanList of GroupBean an user belong |
com.engiweb.pm.entity.BeanList<OrgUnitBean> |
findOU(UserBean userBean,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Deprecated.
replaced by
#findGroup(UserBean, String, String) |
com.engiweb.pm.entity.BeanList |
findOwnerResources(com.engiweb.pm.web.bean.AbstractBean resBean,
UserBean userBean,
IntResource type,
com.engiweb.pm.entity.Paging pNew,
com.engiweb.pm.dao.db.DAO dao)
Return the resources of a certain type owned by the specified user
|
com.engiweb.pm.entity.BeanList<com.engiweb.pm.web.bean.AbstractBean> |
findOwnership(UserBean userBean,
com.engiweb.pm.dao.db.DAO dao)
Deprecated.
check if is more usefull
|
java.util.HashMap<java.lang.String,java.lang.String> |
findPersonalDataFromAccount(java.lang.String userid,
java.lang.String accountCfgName,
com.engiweb.pm.dao.db.DAO dao)
Returns the user personal data as an HashMap with the name of the field as key and the user's personal data as field.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findProfile(EntitlementBean profileBean,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Find profile of a specified user .
|
com.engiweb.pm.entity.BeanList<RemediationBean> |
findRemediation(RemediationBean remBean,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Adds remediations to a user.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findRepresented(UserBean representedUser,
EntitlementBean entitlementBean,
UserBean delegatedUser,
boolean isByDelegated,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of entitlements a delegated user has been delegated from a
represented.
|
com.engiweb.pm.entity.BeanList<? extends com.engiweb.pm.web.bean.AbstractBean> |
findResource(com.engiweb.pm.web.bean.AbstractBean resBean,
UserBean userBean,
com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean,
int type,
boolean grouped,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Return the resources of a specific type given an user
|
com.engiweb.pm.entity.BeanList<? extends com.engiweb.pm.web.bean.AbstractBean> |
findResources(com.engiweb.pm.web.bean.AbstractBean resBean,
UserBean userBean,
EntitlementBean bean,
int type,
boolean grouped,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns resources assigned to an user
|
com.engiweb.pm.entity.BeanList |
findResourcesByProfile(com.engiweb.pm.web.bean.AbstractBean resBean,
UserBean userBean,
EntitlementBean entProfileBean,
IntResource type,
boolean grouped,
com.engiweb.pm.entity.Paging pNew,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns user resources assigned to an entitlement having a given
entitlement of profile type
|
java.util.HashMap<RiskBean,com.engiweb.pm.entity.BeanList<RemediationBean>> |
findRiskRemediation(com.engiweb.pm.entity.BeanList<RiskBean> riskList,
UserBean userBean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Return the remediations associated to a specific risk of an user
|
com.engiweb.pm.entity.BeanList<CIARiskScoreBean> |
findRiskScore(CIARiskScoreBean riskScoreBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Finds Risk Score pertaining to a given user / assignment, based on the parameters populated in the riskScoreBean.
|
java.util.HashMap<EntitlementBean,com.engiweb.pm.entity.BeanList<ServiceAttributeBean>> |
findServicePending(ServiceAttributeBean serviceAttributeBean,
java.lang.String request,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Find service pending.
|
java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.Boolean>> |
findUserAccountMap(AccountBean accountBean,
UserBean userBean,
com.engiweb.pm.dao.db.DAO connDao)
Returns
HashMap of AccountBean of an user. |
UserAttributeMappings |
findUserAttributesConfig(com.engiweb.pm.dao.db.DAO connDao)
Returns the list of attributes of a User Object.
|
UserAttributeMappings |
findUserAttributesConfig(java.lang.String languageCode,
com.engiweb.pm.dao.db.DAO connDao)
Returns the list of attributes of a User Object.
|
com.engiweb.pm.entity.BeanList<UserExtInfoBean> |
findUserExtInfo(UserBean userBean,
boolean onlyVisible,
com.engiweb.pm.dao.db.DAO dao)
Returns the user external info associated to the user and properly valued.
|
com.engiweb.pm.entity.BeanList<UserExtInfoBean> |
getSelectedExtInfo(com.engiweb.pm.dao.db.DAO dao)
Returns the user external info.
|
UserBean |
insert(UserBean userBean,
com.engiweb.pm.entity.BeanList<UserExtInfoBean> extInfoBeanList,
OrgUnitBean ouBean,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Deprecated.
replaced by
#insertByGroup(UserBean, BeanList, GroupBean, String, String) |
UserBean |
insertInGroup(UserBean userBean,
com.engiweb.pm.entity.BeanList<UserExtInfoBean> extInfoBeanList,
GroupBean groupBean,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Adds a new user, if it not exists yet.
|
void |
moveUser(com.engiweb.pm.entity.BeanList<UserBean> userBeanList,
OrgUnitBean ouStartBean,
OrgUnitBean ouEndBean,
int type,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Deprecated.
replaced by
#moveUserByGroup(BeanList, GroupBean, HierarchyBean, GroupBean, int, String, String) |
void |
moveUserInGroup(com.engiweb.pm.entity.BeanList<UserBean> userBeanList,
GroupBean groupStartBean,
GroupBean groupEndBean,
int type,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Move a list of users from a group hierarchy to another one.
|
void |
notifyUserProfile(UserBean userBean,
EntitlementBean profileBean,
java.lang.Long status,
java.lang.String verifiedBy,
java.util.Date date,
com.engiweb.pm.dao.db.DAO dao)
Notify user profile.
|
void |
removeDelegatedEnt(UserBean delegatedUser,
UserBean representedUser,
com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean,
com.engiweb.pm.dao.db.DAO dao)
Removes a list of entitlements delegated to a user.
|
void |
removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean,
java.lang.Integer directlyAssigned,
UserBean userBean,
com.engiweb.pm.dao.db.DAO dao)
Removes a list of roles from an user.
|
void |
removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean,
UserBean userBean,
com.engiweb.pm.dao.db.DAO dao)
Deprecated.
replaced by
removeEntitlement(BeanList, UserBean, DAO) |
void |
removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList,
UserBean userBean,
GroupBean groupBean,
com.engiweb.pm.dao.db.DAO connDao)
Removes a list of entitlements from an user.
|
void |
removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList,
UserBean userBean,
HierarchyBean hierarchyBean,
com.engiweb.pm.dao.db.DAO connDao)
Removes a list of entitlements from an user in all the groups belonging to the hierarchy.
|
void |
removeEntitlementNOcheckSOD(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList,
UserBean userBean,
com.engiweb.pm.dao.db.DAO dao)
Removes a list of roles from an user without refreshing the SOD check for the user
|
void |
removeEntitlementNotDefHier(UserBean user,
GroupBean groupBean,
com.engiweb.pm.entity.BeanList<EntitlementBean> entBL,
com.engiweb.pm.dao.db.DAO connDao) |
void |
removeRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean,
UserBean userBean,
com.engiweb.pm.dao.db.DAO dao)
Removes remediation from a user.
|
void |
removeRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean,
UserBean userBean,
com.engiweb.pm.dao.db.DAO dao,
boolean removeTemporaryMitigation) |
void |
removeResource(UserBean userBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.BeanList blResources,
com.engiweb.pm.dao.db.DAO dao)
Add a list of resources from an user.
|
void |
removeServicePending(java.lang.String request,
UserBean userBean,
com.engiweb.pm.dao.db.DAO dao)
Removes services related to a request to an user.
|
UserBean |
update(UserBean userBean,
com.engiweb.pm.entity.BeanList<UserExtInfoBean> extInfoBeanList,
com.engiweb.pm.dao.db.DAO dao)
Updates an existing user.Also updates of external properies is possible
setting a list of user external info
|
static final java.lang.String COPYRIGHT
@Deprecated UserBean insert(UserBean userBean, com.engiweb.pm.entity.BeanList<UserExtInfoBean> extInfoBeanList, OrgUnitBean ouBean, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
#insertByGroup(UserBean, BeanList, GroupBean, String, String)com.engiweb.toolkit.common.BackendExceptionUserBean insertInGroup(UserBean userBean, com.engiweb.pm.entity.BeanList<UserExtInfoBean> extInfoBeanList, GroupBean groupBean, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
UserExtInfoBeanuserBean - UserBean to add (mandatory)extInfoBeanList - BeanList of UserExtInfoBean if null or
empty no insertion on ext DB is performedgroupBean - GroupBean to add. It must be present and uniquely defined.token - String Authorization stringrealmAdm - String Realm nameUserBean addedcom.engiweb.toolkit.common.BackendExceptionUserBean update(UserBean userBean, com.engiweb.pm.entity.BeanList<UserExtInfoBean> extInfoBeanList, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean - UserBean to update. It must be present and
uniquely definedextInfoBeanList - BeanList of UserExtInfoBean. If null or
empty no updates on ext DB is performeddao - DAo the connection daoUserBeancom.engiweb.toolkit.common.BackendException - the backend exceptionvoid delete(UserBean userBean, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean - UserBean to update. It must be present and
uniquely definedcode_scope - String the code scopedao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionUserAttributeMappings findUserAttributesConfig(com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
connDao - DAO the connection daoUserAttributeMappingscom.engiweb.toolkit.common.BackendExceptionUserAttributeMappings findUserAttributesConfig(java.lang.String languageCode, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
connDao - languageCode - com.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<UserBean> findAdvanced(java.util.List<UserAttributeBean> userAttributesList, java.lang.String genericFilterValue, GroupBean groupBean, boolean hier, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
userAttributesList - groupBean: - search users belonging this grouphier: - search users in the full hierarchy starting from groupBeanpaging - connDao - com.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<UserBean> findAdvanced(java.util.List<UserAttributeBean> userAttributesList, java.lang.String genericFilterValue, java.lang.Long filterOutOfSync, GroupBean groupBean, boolean hier, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
userAttributesList - genericFilterValue - allow searching for users by code, name, surnamefilterOutOfSync - allow searching by fulfillment status (out of synchronization, aligned, all)groupBean - earch users belonging this grouphier - search users in the full hierarchy starting from groupBeanpaging - connDao - com.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<UserBean> find(UserBean userBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean - UserBean if null no filter is applied, otherwise the passed
object is used as filterpaging - Pagingdao - com.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findProfile(EntitlementBean profileBean, UserBean userBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
profileBean - EntitlementBean the profile. if null no filter is applied, otherwise the passed
object is used as filteruserBean - UserBean the user (mandatory)paging - Paging the pagingdao - DAO the connection daoBeanList of EntitlementBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<UserExtInfoBean> findUserExtInfo(UserBean userBean, boolean onlyVisible, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean - UserBean It must be present and uniquely definedonlyVisible - boolean: if true returns only the extInfo mapped as visibledao - DAO the connection daoBeanList of UserExtInfoBeancom.engiweb.toolkit.common.BackendException - the backend exceptionjava.util.HashMap<java.lang.String,java.lang.String> findPersonalDataFromAccount(java.lang.String userid,
java.lang.String accountCfgName,
com.engiweb.pm.dao.db.DAO dao)
throws com.engiweb.toolkit.common.BackendException
userBean - UserBean It must be present and uniquely defineddao - DAO the connection daoHashMapcom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<UserExtInfoBean> getSelectedExtInfo(com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
dao - DAO the connection daoBeanList of UserExtInfoBeancom.engiweb.toolkit.common.BackendException - the backend exception@Deprecated void addEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList, com.engiweb.pm.entity.BeanList<UserRightsBean> rightsList, com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean, UserBean userBean, OrgUnitBean ou, boolean checkIncompatibility, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
#addEntitlementByGroup(BeanList, BeanList, BeanList, UserBean, GroupBean, boolean, String, String, String)com.engiweb.toolkit.common.BackendException@Deprecated void addEntitlementByGroup(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList, com.engiweb.pm.entity.BeanList<UserRightsBean> rightsList, com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean, UserBean userBean, GroupBean groupBean, boolean checkIncompatibility, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entBeanList - Beanlist of EntitlementBean to addrightsList - BeanList of UserRightsBean to assign to the
user. If null no right is assignedblRemBean - BeanList of RemediationBean to assign to the
user. If null no remediation is assigneduserBean - UserBean It must be present and uniquely definedgroupBean - GroupBean It must be present and uniquely definedcheckIncompatibility - boolean type. Check the conflicts and, if it's true and new entitlements create conflicts
on user, an exception is returned.code_scope - String the code scopedao - DAO the connection daocom.engiweb.toolkit.common.BackendExceptionvoid addEntitlementByGroup(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList, java.util.Map<java.lang.Long,AccountBean> accountList, com.engiweb.pm.entity.BeanList<UserRightsBean> rightsList, com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean, UserBean userBean, GroupBean groupBean, boolean checkIncompatibility, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entBeanList - List of EntitlementBean to addaccountList - Map of Long - AccountBean. The key is the id of a Pwdcfg and the value is the related user account involved in the assignment.rightsList - BeanList of UserRightsBean to assign to the
user. If null no right is assignedblRemBean - BeanList of RemediationBean to assign to the
user. If null no remediation is assigneduserBean - UserBean It must be present and uniquely definedgroupBean - GroupBean It must be present and uniquely definedcheckIncompatibility - boolean type. Check the conflicts and, if it's true and new entitlements create conflicts
on user, an exception is returned.code_scope - String the code scopedao - DAO the connection daocom.engiweb.toolkit.common.BackendExceptionvoid addEntitlementByGroup(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList, java.util.Map<java.lang.Long,AccountBean> accountList, com.engiweb.pm.entity.BeanList<UserRightsBean> rightsList, com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean, UserBean userBean, GroupBean groupBean, boolean checkIncompatibility, boolean skipPwdHistoryCheck, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entBeanList - List of EntitlementBean to addaccountList - Map of Long - AccountBean. The key is the id of a Pwdcfg and the value is the related user account involved in the assignment.rightsList - BeanList of UserRightsBean to assign to the
user. If null no right is assignedblRemBean - BeanList of RemediationBean to assign to the
user. If null no remediation is assigneduserBean - UserBean It must be present and uniquely definedgroupBean - GroupBean It must be present and uniquely definedcheckIncompatibility - boolean type. Check the conflicts and, if it's true and new entitlements create conflicts
on user, an exception is returned.skipPwdHistoryCheck - boolean type. if true, skip pwd history check if new account is to be generatedcode_scope - String the code scopedao - DAO the connection daocom.engiweb.toolkit.common.BackendExceptionvoid addEntitlementByGroupNOcheckSOD(java.util.List<EntitlementBean> entBeanList, java.util.Map<java.lang.Long,AccountBean> accountList, com.engiweb.pm.entity.BeanList<UserRightsBean> rightsList, com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean, UserBean userBean, GroupBean groupBean, boolean defaultRights, boolean skipPwdHistoryCheck, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entBeanList - List of EntitlementBean to addaccountList - Map of Long - AccountBean. The key is the id of a Pwdcfg and the value is the related user account involved in the assignment.rightsList - BeanList of UserRightsBean to assign to the
user. If null no right is assignedblRemBean - BeanList of RemediationBean to assign to the
user. If null no remediation is assigneduserBean - UserBean It must be present and uniquely definedgroupBean - GroupBean It must be present and uniquely defineddefaultRights - boolean type. if true, assign the default value for rightsskipPwdHistoryCheck - boolean type. if true, skip pwd history check if new account is to be generatedcode_scope - String the code scopedao - DAO the connection daocom.engiweb.toolkit.common.BackendException@Deprecated void removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean, UserBean userBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
removeEntitlement(BeanList, UserBean, DAO)com.engiweb.toolkit.common.BackendExceptionvoid removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean, java.lang.Integer directlyAssigned, UserBean userBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
blEntitlementBean - List of EntitlementBean to removedirectlyAssigned - if 1 only direct assignment will be removed, if 0 only delegated, if null bothuserBean - The user to which remove the rolesdao - DAO the connection daocom.engiweb.toolkit.common.BackendExceptionvoid removeEntitlementNOcheckSOD(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList, UserBean userBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entBeanList - List of EntitlementBean to removeuserBean - The user to which remove the rolesdao - DAO the connection daocom.engiweb.toolkit.common.BackendExceptionvoid removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList, UserBean userBean, HierarchyBean hierarchyBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
blEntitlementBean - BeanList of EntitlementBean to remove. They
must be present and uniquely defineduserBean - UserBean It must be present and uniquely definedhierarchyBean - HierarchyBeandao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList, UserBean userBean, GroupBean groupBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
blEntitlementBean - BeanList of EntitlementBean to remove. They
must be present and uniquely defineduserBean - UserBean It must be present and uniquely definedgroupBean - GroupBeandao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exception@Deprecated void moveUser(com.engiweb.pm.entity.BeanList<UserBean> userBeanList, OrgUnitBean ouStartBean, OrgUnitBean ouEndBean, int type, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
#moveUserByGroup(BeanList, GroupBean, HierarchyBean, GroupBean, int, String, String)com.engiweb.toolkit.common.BackendExceptionvoid moveUserInGroup(com.engiweb.pm.entity.BeanList<UserBean> userBeanList, GroupBean groupStartBean, GroupBean groupEndBean, int type, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBeanList - of UserBean to
move. If not null or not empty they must be uniquely definedgroupStartBean - GroupBean Starting Group hierarchy. If userBeanList is null or empty
groupStartBean must be not null otherwise no movement is
performedgroupEndBean - GroupBean Final group hierarchy. It must be present and uniquely definedtype - token - String Authorization stringrealm - String Realm namecom.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entitlementBean, ApplicationBean appBean, UserBean userBean, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean - EntitlementBean if null no filter is applied, otherwise the
passed object is used as filterappBean - ApplicationBean Null or it must be present and uniquely defineduserBean - UserBean It must be present and uniquely definedpaging - Paging the pagingcode_scope - String the code scopedao - DAo the connection daoBeanList of EntitlementBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean eBean, ApplicationBean appBean, AccountBean accountBean, GroupBean groupBean, UserBean userBean, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean - EntitlementBean if null no filter is applied, otherwise the
passed object is used as filterappBean - ApplicationBean Null or it must be present and uniquely definedaccountBean - AccountBean if null no filter is applied, otherwise the
passed object is used as filtergroupBean - GroupBean Null or it must be present and uniquely defineduserBean - UserBean It must be present and uniquely definedpaging - Paging the pagingcode_scope - String the code scopedao - DAo the connection daoBeanList of EntitlementBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entitlementBean, ApplicationBean appBean, GroupBean groupBean, UserBean userBean, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean - EntitlementBean if null no filter is applied, otherwise the
passed object is used as filterappBean - ApplicationBean Null or it must be present and uniquely definedgroupBean - GroupBean Null or it must be present and uniquely defineduserBean - UserBean It must be present and uniquely definedpaging - Paging the pagingcode_scope - String the code scopedao - DAo the connection daoBeanList of EntitlementBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entitlementBean, java.util.List<java.lang.Long> entTypes, ApplicationBean appBean, GroupBean groupBean, UserBean userBean, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
com.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<AssignmentBean> findAssignment(EntitlementBean entitlementBean, ApplicationBean appBean, AccountBean accountBean, GroupBean groupBean, UserBean userBean, boolean defaultAccountsOnly, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean - EntitlementBean if null no filter is applied, otherwise the
passed object is used as filterappBean - ApplicationBean Null or it must be present and uniquely definedaccountBean - AccountBean if null no filter is applied, otherwise the
passed object is used as filtergroupBean - GroupBean Null or it must be present and uniquely defineduserBean - UserBean It must be present and uniquely defineddefaultAccountsOnly - boolean, true means only the assignments performed completeley through default accounts will be taken in considerationpaging - Paging the pagingcode_scope - String the code scopedao - DAo the connection daoBeanList of AssignmentBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<UserBean> findDelegated(UserBean delegatedUser, EntitlementBean entitlementBean, UserBean representedUser, boolean isByUser, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
delegatedUser - UserBean if null no filter is applied, otherwise the passed object is
used as filterentitlementBean - EntitlementBean if null no filter is applied, otherwise the passed object is
used as filterrepresentedUser - UserBean It must be present and uniquely definedisByUser - boolean: true find delegated by a represented,paging - Paging the pagingdao - DAO the connection daoBeanList of UserBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<UserBean> findDelegatedByProfile(UserBean delegatedUser, EntitlementBean entitlementBean, UserBean representedUser, boolean isByUser, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
delegatedUser - UserBean if null no filter is applied, otherwise the passed object is
used as filterentitlementBean - EntitlementBean if null no filter is applied, otherwise the passed object is
used as filter and entitlement type is forced to PROFILErepresentedUser - UserBean It must be present and uniquely definedisByUser - boolean: true find delegated by a represented,paging - Paging the pagingdao - DAO the connection daoBeanList of UserBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findDelegatedEntitlement(EntitlementBean entitlementBean, UserBean representedUser, UserBean delegatedUser, boolean isByRepresented, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean - EntitlementBean if null no filter is applied, otherwise the
passed object is used as filterrepresentedUser - UserBean It must be present and uniquely defined if isByRepresented is truedelegatedUser - UserBean if isByRepresented is false, it must be present and uniquely defined
if isByRepresented is true the passed object is used as filterisByRepresented - boolean
if tue the search is by represented and the representedUser it must be present and uniquely definedpaging - Paging the pagingdao - DAO the connection daoBeanList of EntitlementBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findDelegatedEntitlementInGroup(EntitlementBean entitlementBean, UserBean representedUser, UserBean delegatedUser, GroupBean groupBean, HierarchyBean hierarchyBean, boolean isByRepresented, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean - EntitlementBean if null no filter is applied, otherwise the
passed object is used as filterrepresentedUser - UserBean It must be present and uniquely defined if isByRepresented is truedelegatedUser - UserBean if isByRepresented is false, it must be present and uniquely defined
if isByRepresented is true the passed object is used as filtergroupBean - GroupBean Null or it must be present and uniquely definedhierarchyBean - HierarchyBean if null no filter is applied, otherwise the object is used as filterisByRepresented - boolean
if tue the search is by represented and the representedUser it must be present and uniquely definedpaging - Paging the pagingdao - DAO the connection daoBeanList of EntitlementBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<UserBean> findRepresented(UserBean representedUser, EntitlementBean entitlementBean, UserBean delegatedUser, boolean isByDelegated, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
representedUser - UserBean if null no filter is applied, otherwise the
passed object is used as filterentitlementBean - EntitlementBean if null no filter is applied, otherwise the
passed object is used as filterdelegatedUser - UserBean It must be present and uniquely definedisByDelegated - booleanpaging - Paging the pagingdao - DAO the connection daoBeanList of UserBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<UserBean> findDelegantByProfile(UserBean represented, EntitlementBean entitlementBean, UserBean delegated, boolean isByDelegated, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
represented - UserBean if null no filter is applied, otherwise the
passed object is used as filterentitlementBean - EntitlementBean if null no filter is applied, otherwise the
passed object is used as filter and entitlement type is forced
to PROFILEdelegated - UserBean It must be present and uniquely definedisByDelegated - the is by delegatedpaging - Paging the pagingdao - DAO the connection daoBeanList of UserBeancom.engiweb.toolkit.common.BackendException - the backend exceptionvoid addDelegatedEnt(UserBean delegated, UserBean represented, com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList, com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean, boolean checkIncompatibility, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
delegated - UserBean It must be present and uniquely definedrepresented - UserBean It must be present and uniquely definedentBeanList - BeanList of EntitlementBean with delegation start date and end date valuedblRemBean - BeanList of RemediationBean to assign to the usercheckIncompatibility - boolean type provides the level of incompatibilitydao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid removeDelegatedEnt(UserBean delegatedUser, UserBean representedUser, com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
delegatedUser - UserBean It must be present and uniquely definedrepresentedUser - UserBean It must be present and uniquely definedblEntitlementBean - BeanList of EntitlementBean to removedao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid addResource(UserBean userBean, EntitlementBean entBean, com.engiweb.pm.entity.BeanList<com.engiweb.pm.web.bean.AbstractBean> blResources, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean - UserBean It must be present and uniquely definedentBean - EntitlementBean It must be present and uniquely definedblResources - BeanList of ResourceBean to adddao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid addResource(UserBean userBean, EntitlementBean entBean, GroupBean groupBean, com.engiweb.pm.entity.BeanList<com.engiweb.pm.web.bean.AbstractBean> blResources, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean - UserBean It must be present and uniquely definedentBean - EntitlementBean It must be present and uniquely definedgroupBean - GroupBean It must be present and uniquely definedblResources - BeanList of ResourceBean to adddao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid removeResource(UserBean userBean, EntitlementBean entitlementBean, com.engiweb.pm.entity.BeanList blResources, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean - UserBean It must be present and uniquely definedentitlementBean - EntitlementBean It must be present and uniquely definedblResources - BeanList of ResourceBean resource to adddao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<? extends com.engiweb.pm.web.bean.AbstractBean> findResources(com.engiweb.pm.web.bean.AbstractBean resBean,
UserBean userBean,
EntitlementBean bean,
int type,
boolean grouped,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
throws com.engiweb.toolkit.common.BackendException
resBean - AbstractBean if null no filter is applied, otherwise the passed
object is used as filteruserBean - UserBean It must be present and uniquely definedbean - EntitlementBean It must be present and uniquely definedint - type: type of resources to research
grouped - :
boolean type. If type is 3 returns internal resources of ou
type hierarchically higher (if true), all resources otherwisepaging - Pagingcode_scope - String the code scopedao - DAO the connection daoBeanList of AbstractBeancom.engiweb.toolkit.common.BackendException - the backend exception@Deprecated com.engiweb.pm.entity.BeanList<OrgUnitBean> findOU(UserBean userBean, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
#findGroup(UserBean, String, String)com.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<GroupBean> findGroup(GroupBean groupBean, HierarchyBean hierarchyBean, UserBean userBean, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
BeanList of GroupBean an user belonggroupBean - GroupBean if null no filter is applied, otherwise the passed
object is used as filterhierarchyBean - HierarchyBean if null no filter is applied, otherwise the passed
object is used as filteruserBean - String It must be present and uniquely definedtoken - String Authorization stringrealm - String Realm nameBeanList of GroupBeancom.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<AccountBean> findAccount(AccountBean accountBean, UserBean userBean, boolean isByUser, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
BeanList of AccountBean of an user.accountBean - AccountBean if null no filter is applied, otherwise the passed
object is used as filteruserBean - UserBean It must be present and uniquely definedisByUser - the is by userpaging - Paging the pagingdao - DAO the connection daoBeanList di AccountBeancom.engiweb.toolkit.common.BackendException - the backend exceptionvoid addServicePending(java.util.HashMap<EntitlementBean,com.engiweb.pm.entity.BeanList<ServiceAttributeBean>> blServiceBean, java.lang.String request, UserBean userBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
blServiceBean - BeanList of ServiceBean to
assign to an userrequest - String it's mandatoryuserBean - UserBean It must be present and uniquely defineddao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid removeServicePending(java.lang.String request,
UserBean userBean,
com.engiweb.pm.dao.db.DAO dao)
throws com.engiweb.toolkit.common.BackendException
request - String it's mandatoryuserBean - UserBean It must be present and uniquely defineddao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionjava.util.HashMap<EntitlementBean,com.engiweb.pm.entity.BeanList<ServiceAttributeBean>> findServicePending(ServiceAttributeBean serviceAttributeBean, java.lang.String request, UserBean userBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
serviceAttributeBean - UserBean It must be present and uniquely definedrequest - String it's mandatoryuserBean - UserBean It must be present and uniquely definedpaging - Paging the pagingdao - DAO the connection daoHashMapcom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList findResourcesByProfile(com.engiweb.pm.web.bean.AbstractBean resBean,
UserBean userBean,
EntitlementBean entProfileBean,
IntResource type,
boolean grouped,
com.engiweb.pm.entity.Paging pNew,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
throws com.engiweb.toolkit.common.BackendException
resBean - AbstractBean if null no filter is applied, otherwise the passed
object is used as filteruserBean - UserBean It must be present and uniquely definedentProfileBean - EntitlementBean It must be present and uniquely defined and
entitlements must be profile typeint - type:
grouped - boolean type. associated to type=3 allws to search for OU type
resources hierarchically higher (true) or all (false)pNew - Paging the pagingcode_scope - String the code scopedao - DAO the connection daoBeanList of AbstractBean according with resource type searchedcom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<RemediationBean> findRemediation(RemediationBean remBean, UserBean userBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
remBean - RemediationBean if null no filter is applied, otherwise the passed
object is used as filteruserBean - UserBean It must be present and uniquely definedpaging - Paging the pagingdao - DAO the connection daoBeanList of RemediationBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<CIARiskScoreBean> findRiskScore(CIARiskScoreBean riskScoreBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException, java.io.IOException
riskScoreBean - CIARiskScoreBean The bean encapsulating the user details, to be used for pulling up the
risk details.paging - Pagingdao - DAO the connection daoBeanList of CIARiskScoreBeancom.engiweb.toolkit.common.BackendExceptionjava.io.IOExceptionvoid addRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean, UserBean userBean, boolean updateSOD, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
blRemBean - BeanList of RemediationBean. They must be
present and uniquely defineduserBean - UserBean It must be present and uniquely definedupdateSOD - boolean if true the sod is updatedao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid removeRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean, UserBean userBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
blRemBean - BeanList of RemediationBean. They must be
present and uniquely defineduserBean - UserBean It must be present and uniquely defineddao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid removeRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean, UserBean userBean, com.engiweb.pm.dao.db.DAO dao, boolean removeTemporaryMitigation) throws com.engiweb.toolkit.common.BackendException
com.engiweb.toolkit.common.BackendExceptionjava.util.HashMap<RiskBean,com.engiweb.pm.entity.BeanList<RemediationBean>> findRiskRemediation(com.engiweb.pm.entity.BeanList<RiskBean> riskList, UserBean userBean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
riskList - BeanList of RiskBean. They must be
present and uniquely defineduserBean - UserBean It must be present and uniquely definedenvBean - EnvironmentBean. If null, the working environment is selected
automaticallypaging - Paging the pagingdao - DAO the connection daoHashMapcom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<ApplicationBean> findApplication(ApplicationBean appBean, UserBean userBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
appBean - ApplicationBean used as filer (optional)userBean - UserBean It must be present and uniquely definedpaging - Paging the pagingdao - DAO the connection daoBeanList of ApplicationBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<? extends com.engiweb.pm.web.bean.AbstractBean> findResource(com.engiweb.pm.web.bean.AbstractBean resBean,
UserBean userBean,
com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean,
int type,
boolean grouped,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
throws com.engiweb.toolkit.common.BackendException
resBean - AbstractBean used as filer (optional)userBean - UserBean It must be present and uniquely definedblEntitlementBean - BeanList of EntitlementBeantype - int type.
grouped - boolean type. associated to type=3 allws to search for OU type
resources hierarchically higher (true) or all (false)paging - Paging the pagingcode_scope - String the code scopedao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exception@Deprecated com.engiweb.pm.entity.BeanList<com.engiweb.pm.web.bean.AbstractBean> findOwnership(UserBean userBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean - the user beandao - the daocom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> checkPermission(UserBean userBean, EntitlementBean entBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean - UserBean It must be present and uniquely definedentBean - EntitlementBean It must be present and uniquely defineddao - DAO the connection daoBeanList of EntitlementBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<PersonProfileBean> checkPersonProfileByRole(UserBean userBean, EntitlementBean entBean, EntitlementBean filterEntitlementChild, java.lang.Long status, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
userBean - UserBean It must be present and uniquely definedentBean - EntitlementBean It must be present and uniquely definedfilterEntitlementChild - EntitlementBean if null no filter is applied, otherwise the passed object is used as filterdao - DAO the connection daoBeanList of PersonProfileBeancom.engiweb.toolkit.common.BackendException - the backend exceptionvoid notifyUserProfile(UserBean userBean, EntitlementBean profileBean, java.lang.Long status, java.lang.String verifiedBy, java.util.Date date, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean - UserBean the userprofileBean - EntitlementBean the profilestatus - Long the statusverifiedBy - String the verified bydate - Date the datedao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList findOwnerResources(com.engiweb.pm.web.bean.AbstractBean resBean,
UserBean userBean,
IntResource type,
com.engiweb.pm.entity.Paging pNew,
com.engiweb.pm.dao.db.DAO dao)
throws com.engiweb.toolkit.common.BackendException
resBean - AbstractBean used as filer (optional)userBean - UserBean It must be present and uniquely definedtype - IntResource it's mandatorypNew - Paging the pagingdao - DAO the connection daoBeanList of AbstractBean according with resource type searchedcom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<PersonProfileServiceBean> checkPersonProfileServiceByRole(UserBean userBean, EntitlementBean entBean, EntitlementBean filterEntitlementChild, java.lang.Long status, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
userBean - UserBean It must be present and uniquely definedentBean - EntitlementBean It must be present and uniquely defineddao - DAO the connection daoBeanList of PersonProfileServiceBeancom.engiweb.toolkit.common.BackendException - the backend exceptionvoid addEntitlementNoDefHierGroup(com.engiweb.pm.entity.BeanList<EntitlementBean> entBL, com.engiweb.pm.entity.BeanList<UserRightsBean> rightsList, com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean, UserBean userBean, GroupBean groupBean, boolean checkIncompatibility, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
entBeanList - Beanlist of EntitlementBean to addrightsList - BeanList of UserRightsBean to assign to the
user. If null no right is assignedblRemBean - BeanList of RemediationBean to assign to the
user. If null no remediation is assigneduserBean - UserBean It must be present and uniquely definedgroupBean - GroupBean It must be present and uniquely definedcheckIncompatibility - boolean type. Check the conflicts and, if it's true and new entitlements create conflicts
on user, an exception is returned.com.engiweb.toolkit.common.BackendExceptionvoid removeEntitlementNotDefHier(UserBean user, GroupBean groupBean, com.engiweb.pm.entity.BeanList<EntitlementBean> entBL, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
userBean - UserBean It must be present and uniquely definedgroupBean - GroupBeanIt must be present and uniquely defined.entBL - BeanList of EntitlementBean to remove.connDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionjava.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,java.lang.Boolean>> findUserAccountMap(AccountBean accountBean, UserBean userBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
HashMap of AccountBean of an user.
The map has the Configuration Name as a key, and a value which is a map with a key account name, and a Boolean as is default.accountBean - AccountBean if null no filter is applied, otherwise the passed
object is used as filteruserBean - UserBean It must be present and uniquely defineddao - DAO the connection daoMap di AccountBeancom.engiweb.toolkit.common.BackendException - the backend exceptionboolean checkUserEntitlement(java.lang.Long userId,
java.util.ArrayList<java.lang.String> entitlementsName,
com.engiweb.pm.dao.db.DAO connDao)
throws com.engiweb.toolkit.common.BackendException
com.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findFlatUserProfileList(ApplicationBean appBean, UserBean userBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
applicationBean - OptionaluserBean - Mandatorypaging - connDao - com.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<AccountFulfillmentStatusBean> checkAccountFulfillmentStatusByRole(AccountFulfillmentStatusBean accountFulfillmentStatusBean, UserBean userBean, EntitlementBean userRole, EntitlementBean filterEntitlementChild, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
com.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findDelegatedEntitlementInGroup(EntitlementBean entBean, ApplicationBean appBean, UserBean represented, UserBean delegated, GroupBean groupBean, HierarchyBean hierarchyBean, boolean isByRepresented, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
com.engiweb.toolkit.common.BackendExceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findDelegatedEntitlementInGroup(EntitlementBean entBean, java.util.List<java.lang.Long> entTypes, ApplicationBean appBean, UserBean represented, UserBean delegated, GroupBean groupBean, HierarchyBean hierarchyBean, boolean isByRepresented, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
com.engiweb.toolkit.common.BackendException