public interface IUser
extends com.engiweb.toolkit.interfaces.IEjb
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright
|
Modifier and Type | Method and Description |
---|---|
void |
addDelegatedEnt(UserBean delegatedUser,
UserBean representedUser,
com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean,
com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean,
boolean checkIncompatibility,
java.lang.String cod_operation,
java.lang.String token,
java.lang.String realm)
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 cod_operation,
java.lang.String token,
java.lang.String realm)
|
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 cod_operation,
java.lang.String token,
java.lang.String realm)
Insert a list of entitlements
|
void |
addEntitlementNoDefHierGroup(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 cod_operation,
java.lang.String token,
java.lang.String realm)
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,
java.lang.String token,
java.lang.String realmAdm)
Adds remediations to a user
|
void |
addResource(UserBean userBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.BeanList<com.engiweb.pm.web.bean.AbstractBean> blResources,
java.lang.String cod_oper,
java.lang.String token,
java.lang.String realm)
Add a list of resources to an user
|
void |
addResource(UserBean userBean,
EntitlementBean entitlementBean,
GroupBean groupBean,
com.engiweb.pm.entity.BeanList<com.engiweb.pm.web.bean.AbstractBean> blResources,
java.lang.String cod_oper,
java.lang.String token,
java.lang.String realm)
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,
java.lang.String token,
java.lang.String realm)
Add a list of services to an user
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
checkPermission(UserBean userBean,
EntitlementBean entBean,
java.lang.String token,
java.lang.String realm)
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,
java.lang.String token,
java.lang.String realm)
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,
java.lang.String token,
java.lang.String realm)
Given an user check whether,right of permission inside the role, is verified or not from target
|
void |
delete(UserBean userBean,
java.lang.String token,
java.lang.String realm)
Deletes an existing user.
|
com.engiweb.pm.entity.BeanList<UserBean> |
find(UserBean userBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realmAdm)
Returns the users filtered by a specified user
|
com.engiweb.pm.entity.BeanList<AccountBean> |
findAccount(AccountBean accountBean,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realm)
Returns
BeanList of AccountBean of an user |
com.engiweb.pm.entity.BeanList<ApplicationBean> |
findApplication(ApplicationBean appBean,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realmAdm)
Returns the application associated to user
|
com.engiweb.pm.entity.BeanList<UserBean> |
findDelegantByProfile(UserBean represented,
EntitlementBean entitlementBean,
UserBean delegated,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realm)
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,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realm)
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,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realm)
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,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realm)
Returns a list of entitlements a represended user gave delegated
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entitlementBean,
ApplicationBean appBean,
GroupBean groupBean,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realmAdm)
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 token,
java.lang.String realmAdm)
Returns entitlements assigned to an user on the default hierarchy filtered by an application
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlementDelegation(EntitlementBean entitlementBean,
UserBean delegatedUser,
UserBean representedUser,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realm)
Returns a list of entitlements a delegated user has been delegated from a
represented
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlementDelegationInGroup(EntitlementBean entBean,
UserBean delegated,
UserBean represented,
GroupBean groupBean,
HierarchyBean hierarchyBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realm) |
com.engiweb.pm.entity.BeanList<GroupBean> |
findGroup(GroupBean groupBean,
HierarchyBean hierarchyBean,
UserBean userBean,
java.lang.String token,
java.lang.String realm)
Returns a
BeanList of GroupBean an user belong |
com.engiweb.pm.entity.BeanList<OrgUnitBean> |
findOU(UserBean userBean,
java.lang.String token,
java.lang.String realm)
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 paging,
java.lang.String token,
java.lang.String realm)
Return the resources of a certain type owned by the specified user
|
com.engiweb.pm.entity.BeanList<com.engiweb.pm.web.bean.AbstractBean> |
findOwnership(com.engiweb.pm.web.bean.AbstractBean filter,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realm) |
com.engiweb.pm.entity.BeanList<RemediationBean> |
findRemediation(RemediationBean remBean,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realmAdm)
Adds remediations to a user
|
com.engiweb.pm.entity.BeanList<UserBean> |
findRepresented(UserBean representedUser,
EntitlementBean entitlementBean,
UserBean delegatedUser,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realm)
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 token,
java.lang.String realm)
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 token,
java.lang.String realm)
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 token,
java.lang.String realm)
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,
java.lang.String token,
java.lang.String realmAdm)
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,
java.lang.String token,
java.lang.String realm) |
com.engiweb.pm.entity.BeanList<UserExtInfoBean> |
findUserExtInfo(UserBean userBean,
boolean onlyVisible,
java.lang.String token,
java.lang.String realm)
Returns the user external info associated to the user and properly valued
|
com.engiweb.pm.entity.BeanList<UserExtInfoBean> |
findUserExtInfo(UserBean userBean,
java.lang.String token,
java.lang.String realm)
Deprecated.
|
com.engiweb.pm.entity.BeanList<UserExtInfoBean> |
getSelectedExtInfo(java.lang.String token,
java.lang.String realm)
Returns the user external info
|
UserBean |
insert(UserBean userBean,
com.engiweb.pm.entity.BeanList<UserExtInfoBean> extInfoBeanList,
OrgUnitBean ouBean,
java.lang.String token,
java.lang.String realmAdm)
Deprecated.
replaced by
#insertByGroup(UserBean, BeanList, GroupBean, String, String) |
UserBean |
insert(UserBean userBean,
com.engiweb.pm.entity.BeanList<UserExtInfoBean> extInfoBeanList,
java.lang.String token,
java.lang.String realm)
Deprecated.
|
UserBean |
insertInGroup(UserBean userBean,
com.engiweb.pm.entity.BeanList<UserExtInfoBean> extInfoBeanList,
GroupBean groupBean,
java.lang.String token,
java.lang.String realmAdm)
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 token,
java.lang.String realm)
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 token,
java.lang.String realm)
Move a list of users from a group hierarchy to another one.
|
void |
removeDelegatedEnt(UserBean delegatedUser,
UserBean representedUser,
com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean,
java.lang.String cod_oper,
java.lang.String token,
java.lang.String realm)
Removes a list of entitlements delegated to a user
|
void |
removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean,
java.lang.Integer directlyAssigned,
UserBean userBean,
java.lang.String cod_oper,
java.lang.String token,
java.lang.String realm)
Removes a list of roles from an user.
|
void |
removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList,
UserBean userBean,
GroupBean groupBean,
java.lang.String cod_operation,
java.lang.String token,
java.lang.String realm)
Removes a list of entitlements from an user.
|
void |
removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList,
UserBean userBean,
HierarchyBean hierarchyBean,
java.lang.String cod_operation,
java.lang.String token,
java.lang.String realm)
Removes a list of entitlements from an user in all the groups belonging to the hierarchy.
|
void |
removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean,
UserBean userBean,
java.lang.String cod_oper,
java.lang.String token,
java.lang.String realm)
Deprecated.
|
void |
removeEntitlementNotDefHier(UserBean user,
GroupBean groupBean,
com.engiweb.pm.entity.BeanList<EntitlementBean> entBL,
java.lang.String token,
java.lang.String realm) |
void |
removeRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean,
UserBean userBean,
java.lang.String token,
java.lang.String realmAdm)
Removes remediation from a user
|
void |
removeResource(UserBean userBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.BeanList blResources,
java.lang.String cod_oper,
java.lang.String token,
java.lang.String realm)
Add a list of resources from an user
|
void |
removeServicePending(java.lang.String request,
UserBean userBean,
java.lang.String token,
java.lang.String realm)
Removes services related to a request to an user
|
UserBean |
update(UserBean userBean,
com.engiweb.pm.entity.BeanList<UserExtInfoBean> extInfoBeanList,
java.lang.String token,
java.lang.String realm)
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 token, java.lang.String realmAdm) 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 token, java.lang.String realmAdm) 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
@Deprecated UserBean insert(UserBean userBean, com.engiweb.pm.entity.BeanList<UserExtInfoBean> extInfoBeanList, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
insert(UserBean, BeanList, OrgUnitBean, String, String)
com.engiweb.toolkit.common.BackendException
UserBean update(UserBean userBean, com.engiweb.pm.entity.BeanList<UserExtInfoBean> extInfoBeanList, java.lang.String token, java.lang.String realm) 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 performedString
- String
Code operation. If null PM generates it
automaticallytoken
- String
Authorization stringrealm
- String
Realm namecom.engiweb.toolkit.common.BackendException
void delete(UserBean userBean, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
userBean
- UserBean
to update. It must be present and
uniquely definedtoken
- String
Authorization stringrealm
- String
Realm namecom.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<UserBean> find(UserBean userBean, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realmAdm) throws com.engiweb.toolkit.common.BackendException
@Deprecated com.engiweb.pm.entity.BeanList<UserExtInfoBean> findUserExtInfo(UserBean userBean, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
findUserExtInfo(UserBean, boolean, String, String)
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<UserExtInfoBean> findUserExtInfo(UserBean userBean, boolean onlyVisible, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
userBean
- UserBean
It must be present and uniquely definedonlyVisible
- boolean type. if true returns only the extInfo mapped as visibletoken
- String
Authorization stringrealm
- String
Realm nameBeanList
of UserExtInfoBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<UserExtInfoBean> getSelectedExtInfo(java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
token
- String
Authorization stringrealm
- String
Realm nameBeanList
of UserExtInfoBean
com.engiweb.toolkit.common.BackendException
@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 cod_operation, java.lang.String token, java.lang.String realm) 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 cod_operation, java.lang.String token, java.lang.String realm) 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.cod_operation
- String
Code operation. If null PM generates it
automaticallytoken
- String
Authorization stringrealm
- String
Realm namecom.engiweb.toolkit.common.BackendException
@Deprecated void removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean, UserBean userBean, java.lang.String cod_oper, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
removeEntitlement(BeanList, UserBean, HierarchyBean, String, String, String)
com.engiweb.toolkit.common.BackendException
void removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean, java.lang.Integer directlyAssigned, UserBean userBean, java.lang.String cod_oper, java.lang.String token, java.lang.String realm) 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 rolescod_operation
- String
Code operation. If null PM generates it
automaticallytoken
- String
Authorization stringrealm
- String
Realm namecom.engiweb.toolkit.common.BackendException
void removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList, UserBean userBean, HierarchyBean hierarchyBean, java.lang.String cod_operation, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
BeanList
- BeanList
of EntitlementBean
to remove. They
must be present and uniquely defineduserBean
- UserBean
It must be present and uniquely definedhierarchyBean
- HierarchyBean
It must be present and uniquely definedcod_oper
- String
Code operation. If null PM generates it
automaticallytoken
- String
Authorization stringrealm
- String
Realm namecom.engiweb.toolkit.common.BackendException
void removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> entBeanList, UserBean userBean, GroupBean groupBean, java.lang.String cod_operation, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
BeanList
- BeanList
of EntitlementBean
to remove. They
must be present and uniquely defineduserBean
- UserBean
It must be present and uniquely definedgroupBean
- GroupBean
It must be present and uniquely definedcod_oper
- String
Code operation. If null PM generates it
automaticallytoken
- String
Authorization stringrealm
- String
Realm namecom.engiweb.toolkit.common.BackendException
@Deprecated void moveUser(com.engiweb.pm.entity.BeanList<UserBean> userBeanList, OrgUnitBean ouStartBean, OrgUnitBean ouEndBean, int type, java.lang.String token, java.lang.String realm) 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 token, java.lang.String realm) 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 token, java.lang.String realmAdm) 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
token
- String
Authorization stringrealm
- String
Realm nameBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entitlementBean, ApplicationBean appBean, GroupBean groupBean, UserBean userBean, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realmAdm) 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
token
- String
Authorization stringrealm
- String
Realm nameBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<UserBean> findDelegated(UserBean delegatedUser, EntitlementBean entitlementBean, UserBean representedUser, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realm) 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 definedpaging
- Paging
token
- String
Authorization stringrealm
- String
Realm nameBeanList
of UserBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<UserBean> findDelegatedByProfile(UserBean delegatedUser, EntitlementBean entitlementBean, UserBean representedUser, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realm) 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 definedpaging
- Paging
token
- String
Authorization stringrealm
- String
Realm nameBeanList
of UserBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<EntitlementBean> findDelegatedEntitlement(EntitlementBean entitlementBean, UserBean representedUser, UserBean delegatedUser, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realm) 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 defineddelegatedUser
- UserBean
if null no filter is applied, otherwise the
passed object is used as filterpaging
- Paging
token
- String
Authorization stringrealm
- String
Realm nameBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlementDelegation(EntitlementBean entitlementBean, UserBean delegatedUser, UserBean representedUser, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
entitlementBean
- EntitlementBean
if null no filter is applied, otherwise the
passed object is used as filterdelegatedUser
- UserBean
It must be present and uniquely definedrepresentedUser
- UserBean
if null no filter is applied, otherwise the
passed object is used as filterpaging
- Paging
token
- String
Authorization stringrealm
- String
Realm nameBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<UserBean> findRepresented(UserBean representedUser, EntitlementBean entitlementBean, UserBean delegatedUser, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realm) 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 definedpaging
- Paging
token
- String
Authorization stringrealm
- String
Realm nameBeanList
of UserBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<UserBean> findDelegantByProfile(UserBean represented, EntitlementBean entitlementBean, UserBean delegated, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realm) 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 filter and entitlement type is forced
to PROFILEdelegatedUser
- UserBean
It must be present and uniquely definedpaging
- Paging
token
- String
Authorization stringrealm
- String
Realm nameBeanList
of UserBean
com.engiweb.toolkit.common.BackendException
void addDelegatedEnt(UserBean delegatedUser, UserBean representedUser, com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean, com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean, boolean checkIncompatibility, java.lang.String cod_operation, java.lang.String token, java.lang.String realm) 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
with delegation start date and end date valuedblRemBean
- BeanList
of RemediationBean
to assign to the usercheckIncompatibility
- boolean type provides the level of incompatibilitycod_oper
- String
Code operation. If null PM generates it
automaticallytoken
- String
Authorization stringrealm
- String
Realm namecom.engiweb.toolkit.common.BackendException
void removeDelegatedEnt(UserBean delegatedUser, UserBean representedUser, com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean, java.lang.String cod_oper, java.lang.String token, java.lang.String realm) 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 removecod_oper
- String
Code operation. If null PM generates it
automaticallytoken
- String
Authorization stringrealm
- String
Realm namecom.engiweb.toolkit.common.BackendException
void addResource(UserBean userBean, EntitlementBean entitlementBean, com.engiweb.pm.entity.BeanList<com.engiweb.pm.web.bean.AbstractBean> blResources, java.lang.String cod_oper, java.lang.String token, java.lang.String realm) 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
to addcod_oper
- String
Code operation. If null PM generates it
automaticallytoken
- String
Authorization stringrealm
- String
Realm namecom.engiweb.toolkit.common.BackendException
void addResource(UserBean userBean, EntitlementBean entitlementBean, GroupBean groupBean, com.engiweb.pm.entity.BeanList<com.engiweb.pm.web.bean.AbstractBean> blResources, java.lang.String cod_oper, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
userBean
- UserBean
It must be present and uniquely definedentitlementBean
- EntitlementBean
It must be present and uniquely definedgroupBean
- GroupBean
It must be present and uniquely definedblResources
- BeanList
of ResourceBean
to addcod_oper
- String
Code operation. If null PM generates it
automaticallytoken
- String
Authorization stringrealm
- String
Realm namecom.engiweb.toolkit.common.BackendException
void removeResource(UserBean userBean, EntitlementBean entitlementBean, com.engiweb.pm.entity.BeanList blResources, java.lang.String cod_oper, java.lang.String token, java.lang.String realm) 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
to
removecod_oper
- String
Code operation. If null PM generates it
automaticallytoken
- String
Authorization stringrealm
- String
Realm namecom.engiweb.toolkit.common.BackendException
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 token, java.lang.String realm) 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
token
- String
Authorization stringrealm
- String
Realm nameBeanList
of AbstractBean
com.engiweb.toolkit.common.BackendException
@Deprecated com.engiweb.pm.entity.BeanList<OrgUnitBean> findOU(UserBean userBean, java.lang.String token, java.lang.String realm) 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 token, java.lang.String realm) 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, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
BeanList
of AccountBean
of an useraccountBean
- AccountBean
if null no filter is applied, otherwise the passed
object is used as filteruserBean
- UserBean
It must be present and uniquely definedpaging
- Paging
token
- String
Authorization stringrealm
- String
Realm nameBeanList
of AccountBean
com.engiweb.toolkit.common.BackendException
void addServicePending(java.util.HashMap<EntitlementBean,com.engiweb.pm.entity.BeanList<ServiceAttributeBean>> blServiceBean, java.lang.String request, UserBean userBean, java.lang.String token, java.lang.String realm) 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 definedtoken
- String
Authorization stringrealm
- String
Realm namecom.engiweb.toolkit.common.BackendException
void removeServicePending(java.lang.String request, UserBean userBean, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
request
- String
it's mandatoryuserBean
- UserBean
It must be present and uniquely definedtoken
- String
Authorization stringrealm
- String
Realm namecom.engiweb.toolkit.common.BackendException
java.util.HashMap<EntitlementBean,com.engiweb.pm.entity.BeanList<ServiceAttributeBean>> findServicePending(ServiceAttributeBean serviceAttributeBean, java.lang.String request, UserBean userBean, java.lang.String token, java.lang.String realm) 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 definedtoken
- String
Authorization stringrealm
- String
Realm nameHashMap
of EntitlementBean
and BeanList
of AccountBean
com.engiweb.toolkit.common.BackendException
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 token, java.lang.String realm) 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)paging
- Paging
String
- String
Authorization stringrealm
- String
Realm nameBeanList
of AbstractBean
according with resource type searchedcom.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<RemediationBean> findRemediation(RemediationBean remBean, UserBean userBean, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realmAdm) 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
token
- String
Authorization stringrealm
- String
Realm nameBeanList
of RemediationBean
com.engiweb.toolkit.common.BackendException
void addRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean, UserBean userBean, java.lang.String token, java.lang.String realmAdm) throws com.engiweb.toolkit.common.BackendException
blRemBean
- BeanList
of RemediationBean
. They must be
present and uniquely defineduserBean
- UserBean
It must be present and uniquely definedtoken
- String
Authorization stringrealmAdm
- String
Realm namecom.engiweb.toolkit.common.BackendException
void removeRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemBean, UserBean userBean, java.lang.String token, java.lang.String realmAdm) throws com.engiweb.toolkit.common.BackendException
blRemBean
- BeanList
of RemediationBean
. They must be
present and uniquely defineduserBean
- UserBean
It must be present and uniquely definedenvBean
- EnvironmentBean
token
- String
Authorization stringrealmAdm
- String
Realm namecom.engiweb.toolkit.common.BackendException
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, java.lang.String token, java.lang.String realmAdm) 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
token
- String
Authorization stringrealmAdm
- String
Realm nameHashMap
of RiskBean
and BeanList
of RemediationBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<ApplicationBean> findApplication(ApplicationBean appBean, UserBean userBean, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realmAdm) throws com.engiweb.toolkit.common.BackendException
appBean
- ApplicationBean
used as filer (optional)userBean
- UserBean
It must be present and uniquely definedpaging
- Paging
token
- String
Authorization stringrealmAdm
- String
Realm nameBeanList
of ApplicationBean
com.engiweb.toolkit.common.BackendException
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 token, java.lang.String realm) 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
token
- String
Authorization stringrealm
- String
Realm nameBeanList
of AbstractBean
according with resource type searchedcom.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<com.engiweb.pm.web.bean.AbstractBean> findOwnership(com.engiweb.pm.web.bean.AbstractBean filter, UserBean userBean, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<EntitlementBean> checkPermission(UserBean userBean, EntitlementBean entBean, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
userBean
- UserBean
It must be present and uniquely definedentBean
- EntitlementBean
It must be present and uniquely definedtoken
- String
Authorization stringrealm
- String
Realm nameBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<PersonProfileBean> checkPersonProfileByRole(UserBean userBean, EntitlementBean entBean, EntitlementBean filterEntitlementChild, java.lang.Long status, java.lang.String token, java.lang.String realm) 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 filtertoken
- String
Authorization stringrealm
- String
Realm nameBeanList
of PersonProfileBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<?> findOwnerResources(com.engiweb.pm.web.bean.AbstractBean resBean, UserBean userBean, IntResource type, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
resBean
- AbstractBean
used as filer (optional)userBean
- UserBean
It must be present and uniquely definedtype
- IntResource
it's mandatorypaging
- Paging
token
- String
Authorization stringrealm
- String
Realm nameBeanList
of AbstractBean
according with resource type searchedcom.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlementDelegationInGroup(EntitlementBean entBean, UserBean delegated, UserBean represented, GroupBean groupBean, HierarchyBean hierarchyBean, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<PersonProfileServiceBean> checkPersonProfileServiceByRole(UserBean userBean, EntitlementBean entBean, EntitlementBean filterEntitlementChild, java.lang.Long status, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
userBean
- UserBean
It must be present and uniquely definedentBean
- EntitlementBean
It must be present and uniquely definedtoken
- String
Authorization stringrealm
- String
Realm nameBeanList
of PersonProfileServiceBean
com.engiweb.toolkit.common.BackendException
void addEntitlementNoDefHierGroup(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 cod_operation, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
entBeanList
- BeanList
of EntitlementBean
to add. If null only the default entitlements are assigned to the user. If the user in not still in the group he is addedrightsList
- 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.token
- String
Authorization stringrealm
- String
Realm namecom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid removeEntitlementNotDefHier(UserBean user, GroupBean groupBean, com.engiweb.pm.entity.BeanList<EntitlementBean> entBL, java.lang.String token, java.lang.String realm) 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.checkIncompatibility
- boolean type. Check the conflicts and, if it's true and new entitlements create conflicts
on user, an exception is returned.token
- String
Authorization stringrealm
- String
Realm namecom.engiweb.toolkit.common.BackendException
- the backend exception