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)
Insert a list of entitlements
|
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<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.
|
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<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<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 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 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<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
|
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.
|
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 |
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 |
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.BackendException
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) throws com.engiweb.toolkit.common.BackendException
UserExtInfoBean
userBean
- 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.BackendException
UserBean 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 daoUserBean
com.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 exceptioncom.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
com.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 EntitlementBean
com.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 UserExtInfoBean
com.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 daoHashMap
com.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 UserExtInfoBean
com.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
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.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.BackendException
void 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.BackendException
void 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
- HierarchyBean
dao
- 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
- GroupBean
dao
- 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.BackendException
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) 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.BackendException
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) 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 EntitlementBean
com.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 EntitlementBean
com.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 UserBean
com.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 UserBean
com.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 EntitlementBean
com.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 EntitlementBean
com.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 UserBean
com.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 UserBean
com.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
- Paging
code_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of AbstractBean
com.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.BackendException
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) 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 GroupBean
com.engiweb.toolkit.common.BackendException
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) 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 AccountBean
com.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 daoHashMap
com.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 RemediationBean
com.engiweb.toolkit.common.BackendException
- the backend exceptionvoid 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 exceptionjava.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 daoHashMap
com.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 ApplicationBean
com.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 EntitlementBean
type
- 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 EntitlementBean
com.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 PersonProfileBean
com.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 PersonProfileServiceBean
com.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.BackendException
void 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
- GroupBean
It must be present and uniquely defined.entBL
- BeanList
of EntitlementBean
to remove.connDao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exception