public interface IEntitlementDirect
extends common.direct.IDirect
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright
|
Modifier and Type | Method and Description |
---|---|
void |
addDependency(java.util.List<EntitlementBean> listDependencyBean,
EntitlementBean entitlementBean,
com.engiweb.pm.dao.db.DAO dao)
Adds list of dependency to an entitlement
|
void |
addEntitlementChild(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean,
EntitlementBean entitlementParentBean,
com.engiweb.pm.dao.db.DAO dao)
Adds a list of entitlement to another one as its child.
|
void |
addEntitlementChild(EntitlementBean entitlementBean,
EntitlementBean entitlementParentBean,
com.engiweb.pm.dao.db.DAO dao)
Adds an entitlement to another one as its child.
|
void |
addProperties(com.engiweb.pm.entity.BeanList<PropertyBean> blPropertyBean,
EntitlementBean entitlementBean,
com.engiweb.pm.dao.db.DAO dao)
Adds a list of properties to an entitlement.
|
void |
addUser(java.util.List<UserBean> listUserBean,
EntitlementBean entitlementBean,
java.util.List<com.engiweb.pm.web.bean.AbstractBean> listResources,
boolean visibilityViolation,
com.engiweb.pm.dao.db.DAO dao)
Add administrative role and resources to a list of users.
|
int |
checkHierarchy(java.lang.Long entitlementId,
java.lang.Long entitlementParentId,
com.engiweb.pm.dao.db.DAO dao)
Check if there are loops o problems about the hierarchy of two entitlements.
|
void |
deleteEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean,
com.engiweb.pm.dao.db.DAO dao)
Removes a list of entitlements.
|
void |
deleteEntitlement(EntitlementBean entitlementBean,
com.engiweb.pm.dao.db.DAO dao)
Deletes an existing entitlement.
|
void |
deleteFamily(JobRoleFamilyBean familyBean,
com.engiweb.pm.dao.db.DAO dao)
Delete family.
|
com.engiweb.pm.entity.BeanList<ApplicationBean> |
findApplication(ApplicationBean appBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns applications related to a published entitlement.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findByProperty(EntitlementBean entitlementBean,
PropertyBean propertyBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns published entitlements having a property.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findDependency(EntitlementBean filterEntBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Find dependency of an entitlement.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entitlementBean,
java.util.List<ApplicationBean> applicationBeans,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns the entitlements filtered by a passed
EntitlementBean object. |
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entitlementBean,
java.util.List<ApplicationBean> applicationBeans,
TaskBean taskBean,
boolean taskHier,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns the entitlements filtered by a passed
EntitlementBean object. |
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
boolean includeBusinessRole,
com.engiweb.pm.dao.db.DAO dao)
Returns the entitlements filtered by a passed
EntitlementBean object. |
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns the entitlements filtered by a passed
EntitlementBean object. |
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlementByProfile(EntitlementBean entitlementBean,
EntitlementBean entitlementProfileBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Find entitlement by onother entitlement (profile).
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlementChild(EntitlementBean entitlementBean,
EntitlementBean entitlementParentBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns childs of an entitlement.
|
com.engiweb.pm.entity.BeanList<EntitlementObjExtBean> |
findEntitlementObjExt(EntitlementObjExtBean entitlementObjExtBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Find entitlement obj ext.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlementParent(EntitlementBean filterBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns all first level parents of an entitlement.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlementPublished(EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns published entitlements.
|
com.engiweb.pm.entity.BeanList<JobRoleFamilyBean> |
findFamily(JobRoleFamilyBean familyBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Find family.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findFlatFulfilledChilds(EntitlementBean proBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns profile starting from a published entitlement.
|
com.engiweb.pm.entity.BeanList<GroupBean> |
findGroup(GroupBean groupBean,
HierarchyBean hierarchyBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns a group having an entitlement.
|
com.engiweb.pm.entity.BeanList<GroupBean> |
findGroups(GroupBean groupBean,
UserBean userBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns groups in which a user has an entitlement.
|
com.engiweb.pm.entity.BeanList<OrgUnitBean> |
findOrgUnit(OrgUnitBean orgUnitBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Deprecated.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findPermissionWithRights(EntitlementBean permissionBean,
EntitlementBean parentBean,
com.engiweb.pm.entity.Paging p,
com.engiweb.pm.dao.db.DAO dao)
Find permission with rights.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findProfile(EntitlementBean proBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns profile starting from a published entitlement.
|
com.engiweb.pm.entity.BeanList<PropertyBean> |
findProperties(PropertyBean propBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of properties assigned to an entitlement.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUser(UserBean userBean,
EntitlementBean entitlementBean,
java.lang.Boolean delegated,
GroupBean groupBean,
HierarchyBean hierarchyBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns user having an entitlement.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUser(UserBean userBean,
EntitlementBean entitlementBean,
GroupBean groupBean,
HierarchyBean hierarchyBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns user having an entitlement.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUser(UserBean userBean,
EntitlementBean entitlementBean,
OrgUnitBean ouBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Deprecated.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUser(UserBean userBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO connDao) |
com.engiweb.pm.entity.BeanList<UserBean> |
findUserByProfile(UserBean userBean,
GroupBean groupBean,
HierarchyBean hierarchyBean,
com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean,
boolean hier,
java.lang.Boolean delegated,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns users having a list of entilement (profiles).
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUserByProfile(UserBean userBean,
GroupBean groupBean,
HierarchyBean hierarchyBean,
com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Deprecated.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUserByProfile(UserBean userBean,
GroupBean groupBean,
HierarchyBean hierarchyBean,
EntitlementBean entitlementBean,
boolean hier,
java.lang.Boolean delegated,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns users having a fixed entitlement (profile) into an organization unit.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUserByProfile(UserBean userBean,
GroupBean groupBean,
HierarchyBean hierarchyBean,
EntitlementBean entitlementBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Deprecated.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUserByProfile(UserBean userBean,
OrgUnitBean ouBean,
com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Deprecated.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUserByProfile(UserBean userBean,
OrgUnitBean ouBean,
EntitlementBean entitlementBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Deprecated.
|
EntitlementBean |
insertEntitlement(EntitlementBean entitlementBean,
com.engiweb.pm.dao.db.DAO dao)
Add a new entitlement.
|
JobRoleFamilyBean |
insertFamily(JobRoleFamilyBean familyBean,
com.engiweb.pm.dao.db.DAO dao)
Insert family.
|
void |
publishEntitlement(EntitlementBean entitlementBean,
java.lang.String lastModUser,
com.engiweb.pm.dao.db.DAO dao)
Set an entitlement as published or unpublished.
|
void |
removeDependency(java.util.List<EntitlementBean> listDependencyBean,
EntitlementBean entitlementBean,
com.engiweb.pm.dao.db.DAO dao)
Removes a list of dependency from an entitlement
|
void |
removeEntitlementChild(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean,
EntitlementBean entitlementParentBean,
com.engiweb.pm.dao.db.DAO dao)
Removes a list of entitlement as child of another one.
|
void |
removeEntitlementChild(EntitlementBean entitlementBean,
EntitlementBean entitlementParentBean,
com.engiweb.pm.dao.db.DAO dao)
Removes an entitlement as child of another one.
|
void |
removeProperties(com.engiweb.pm.entity.BeanList<PropertyBean> blPropertyBean,
EntitlementBean entitlementBean,
com.engiweb.pm.dao.db.DAO dao)
Removes a list of properties from an entitlement.
|
void |
revertEntitlementHistory(EntitlementBean entitlementBean,
com.engiweb.pm.dao.db.DAO dao)
Returns the entity to the state of the last revision performed and a rollback the version.
|
void |
signOffEntitlement(EntitlementBean entitlementBean,
com.engiweb.pm.dao.db.DAO dao)
Sign off entitlement.
|
void |
unPublishEntitlement(EntitlementBean entitlementBean,
com.engiweb.pm.dao.db.DAO dao)
Unpublish entitlement.
|
EntitlementBean |
updateEntitlement(EntitlementBean entitlementBean,
com.engiweb.pm.dao.db.DAO dao)
Updates an existing entitlement.
|
void |
updateFamily(JobRoleFamilyBean familyBean,
com.engiweb.pm.dao.db.DAO dao)
Update family.
|
static final java.lang.String COPYRIGHT
com.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entitlementBean, com.engiweb.pm.entity.Paging paging, boolean includeBusinessRole, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
EntitlementBean
object.
If the filter have application setting is possible to exclude BusinessRole from the result, passing false to the includeBusinessRole parameterentitlementBean
- EntitlementBean
if null no filter is applied, otherwise the passed object is used as filterpaging
- Paging
includeBusinessRole
- true: business role are included into search, false otherwisetoken
- String
Authorization stringrealm
- String
Realm nameBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entitlementBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
EntitlementBean
object.entitlementBean
- EntitlementBean
if null no filter is applied, otherwise the passed object is used as filterpaging
- Paging
the pagingdao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entitlementBean, java.util.List<ApplicationBean> applicationBeans, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
EntitlementBean
object.entitlementBean
- EntitlementBean
if null no filter is applied, otherwise the passed object is used as filterapplicationBeans
- the application beans as filterpaging
- Paging
the pagingdao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entitlementBean, java.util.List<ApplicationBean> applicationBeans, TaskBean taskBean, boolean taskHier, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
EntitlementBean
object.entitlementBean
- EntitlementBean
if null no filter is applied, otherwise the passed object is used as filterapplicationBeans
- the application beans as filtertaskBean
- TaskBean
if null no filter is applied, otherwise the passed object is used as filtertaskHier
- boolean specifies if hierarchical searchpaging
- Paging
the pagingdao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exceptionEntitlementBean insertEntitlement(EntitlementBean entitlementBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean
- EntitlementBean
the entitlement to add (mandatory)dao
- DAO
the connection daoEntitlementBean
createdcom.engiweb.toolkit.common.BackendException
- the backend exception EntitlementBean
to insert (mandatory).It must be present and uniquely defined.EntitlementBean updateEntitlement(EntitlementBean entitlementBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean
- EntitlementBean
the entitlement to update (mandatory)dao
- DAO
the connection daoEntitlementBean
modifiedcom.engiweb.toolkit.common.BackendException
- the backend exception EntitlementBean
to update (mandatory).It must be present and uniquely defined.void deleteEntitlement(EntitlementBean entitlementBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean
- EntitlementBean
the entitlement to delete (mandatory)dao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exception EntitlementBean
to delete (mandatory).It must be present and uniquely defined.void addEntitlementChild(EntitlementBean entitlementBean, EntitlementBean entitlementParentBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean
- EntitlementBean
to add as child of another one. It must be present and uniquely definedentitlementParentBean
- EntitlementBean
the entitlement parent (mandatory)dao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid addEntitlementChild(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean, EntitlementBean entitlementParentBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
blEntitlementBean
- BeanList
of EntitlementBean
entitlement list to add (mandatory)entitlementParentBean
- EntitlementBean
the entitlement parent (mandatory)dao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlementChild(EntitlementBean entitlementBean, EntitlementBean entitlementParentBean, 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 filterentitlementParentBean
- EntitlementBean
the entitlement parent. Mandatory and well definedpaging
- Paging
the pagingdao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exceptionvoid removeEntitlementChild(EntitlementBean entitlementBean, EntitlementBean entitlementParentBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean
- EntitlementBean
the entitlement to remove (mandatory)entitlementParentBean
- EntitlementBean
the entitlement parent (mandatory)dao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid removeEntitlementChild(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean, EntitlementBean entitlementParentBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
blEntitlementBean
- BeanList
of EntitlementBean
the list of entitlement to remove (mandatory)entitlementParentBean
- EntitlementBean
the entitlement parent (mandatory)dao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlementParent(EntitlementBean filterBean, EntitlementBean entitlementBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
filterBean
- EntitlementBean
the filterentitlementBean
- EntitlementBean
if null no filter is applied, otherwise the passed object is used as filterpaging
- Paging
the pagingdao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<PropertyBean> findProperties(PropertyBean propBean, EntitlementBean entitlementBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
propBean
- PropertyBean
if null no filter is applied, otherwise the passed object is used as filterentitlementBean
- EntitlementBean
whose assigned properties are to be retrieved.paging
- Paging
the pagingdao
- DAO
the connection daoBeanList
of PropertyBean
com.engiweb.toolkit.common.BackendException
- the backend exceptionvoid addProperties(com.engiweb.pm.entity.BeanList<PropertyBean> blPropertyBean, EntitlementBean entitlementBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
blPropertyBean
- BeanList
of PropertyBean
the list of properties to addentitlementBean
- EntitlementBean
the entitlement to which properties must be assigned.dao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid removeProperties(com.engiweb.pm.entity.BeanList<PropertyBean> blPropertyBean, EntitlementBean entitlementBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
blPropertyBean
- BeanList
of PropertyBean
the list properties to removeentitlementBean
- EntitlementBean
the entitlement frome which properties must be removeddao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionint checkHierarchy(java.lang.Long entitlementId, java.lang.Long entitlementParentId, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementId
- Long
the entitlement identitlementParentId
- Long
the entitlement parent iddao
- DAO
the coonection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid publishEntitlement(EntitlementBean entitlementBean, java.lang.String lastModUser, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean
- EntitlementBean
the entitlement to be set as puplishedlastModUser
- String
the last mod userdao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid unPublishEntitlement(EntitlementBean entitlementBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean
- EntitlementBean
the entitlement to be set as unpublisheddao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exception@Deprecated com.engiweb.pm.entity.BeanList<UserBean> findUser(UserBean userBean, EntitlementBean entitlementBean, OrgUnitBean ouBean, boolean hier, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, 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 filterentitlementBean
- EntitlementBean
whose assigned users are to be retrieved.ouBean
- OrgUnitBean
the org unithier
- boolean: if true research must be performed hierarchically, false otherwisepaging
- Paging
the pagingcode_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of UserBean
com.engiweb.toolkit.common.BackendException
- the backend exception Paging
com.engiweb.pm.entity.BeanList<UserBean> findUser(UserBean userBean, EntitlementBean entitlementBean, GroupBean groupBean, HierarchyBean hierarchyBean, boolean hier, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, 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 filterentitlementBean
- EntitlementBean
whose assigned users are to be retrieved.groupBean
- GroupBean
the group with hierarchy as organizational unithier
- boolean: if true research must be performed hierarchically, false otherwisepaging
- Paging
the pagingcode_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of UserBean
com.engiweb.toolkit.common.BackendException
- the backend exception Paging
com.engiweb.pm.entity.BeanList<UserBean> findUser(UserBean userBean, EntitlementBean entitlementBean, java.lang.Boolean delegated, GroupBean groupBean, HierarchyBean hierarchyBean, boolean hier, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, 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 filterentitlementBean
- EntitlementBean
whose assigned users are to be retrieved.groupBean
- GroupBean
the group with hierarchy as organizational unitdelegated
- Boolean
search only for user having the role as delegated if true, directly assigned if false. If null it doesn't filterhier
- boolean: if true research must be performed hierarchically, false otherwisepaging
- Paging
the pagingcode_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of UserBean
com.engiweb.toolkit.common.BackendException
- the backend exception Paging
com.engiweb.pm.entity.BeanList<GroupBean> findGroups(GroupBean groupBean, UserBean userBean, EntitlementBean entitlementBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
groupBean
- GroupBean
if null no filter is applied, otherwise the passed object is used as filteruserBean
- UserBean
whose we want to find the groups in which he has the roleentitlementBean
- EntitlementBean
whose assigned users are to be retrieved.paging
- Paging
the pagingdao
- DAO
the connection daoBeanList
of UserBean
com.engiweb.toolkit.common.BackendException
- the backend exception Paging
@Deprecated com.engiweb.pm.entity.BeanList<OrgUnitBean> findOrgUnit(OrgUnitBean orgUnitBean, EntitlementBean entitlementBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
orgUnitBean
- OrgUnitBean
if null no filter is applied, otherwise the passed object is used as filterentitlementBean
- EntitlementBean
the entitlementpaging
- Paging
the pagingdao
- DAO
the coonection daoBeanList
of OrgUnitBean
com.engiweb.toolkit.common.BackendException
- the backend exception Paging
com.engiweb.pm.entity.BeanList<GroupBean> findGroup(GroupBean groupBean, HierarchyBean hierarchyBean, EntitlementBean entitlementBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
groupBean
- GroupBean
if null no filter is applied, otherwise the passed object is used as filterhierarchyBean
- HierarchyBean
is mandatory when the GroupBean
is used as a filter.entitlementBean
- EntitlementBean
the entitlementpaging
- Paging
the pagingdao
- DAO
the coonection daoBeanList
of GroupBean
com.engiweb.toolkit.common.BackendException
- the backend exception Paging
com.engiweb.pm.entity.BeanList<EntitlementBean> findProfile(EntitlementBean proBean, EntitlementBean entitlementBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
proBean
- EntitlementBean
if null no filter is applied, otherwise the passed object is used as filterentitlementBean
- EntitlementBean
the entitlementpaging
- Paging
the pagingdao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exception Paging
com.engiweb.pm.entity.BeanList<ApplicationBean> findApplication(ApplicationBean appBean, EntitlementBean entitlementBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
appBean
- ApplicationBean
if null no filter is applied, otherwise the passed object is used as filterentitlementBean
- EntitlementBean
the entitlementpaging
- Paging
the pagingdao
- DAO
the connectoin daoBeanList
of ApplicationBean
com.engiweb.toolkit.common.BackendException
- the backend exception Paging
com.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlementPublished(EntitlementBean entitlementBean, 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 filterpaging
- Paging
dao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exception EntitlementBean
if null no filter is applied, otherwise the passed object is used as filter@Deprecated com.engiweb.pm.entity.BeanList<UserBean> findUserByProfile(UserBean userBean, OrgUnitBean ouBean, EntitlementBean entitlementBean, boolean hier, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean
- UserBean
the user, if null no filter is applied, otherwise the passed object is used as filterouBean
- OrgUnitBean
the organization unit, if null no filter is applied, otherwise the passed object is used as filterentitlementBean
- EntitlementBean
the entitlementhier
- boolean: true if research must be performed hierarchically, false otherwisepaging
- Paging
the pagingcode_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of UserBean
com.engiweb.toolkit.common.BackendException
- the backend exception UserBean
if null no filter is applied, otherwise the passed object is used as filter OrganizationalUnit
if null no filter is applied, otherwise
the passed object is used as filter EntitlementBean
It must be present and uniquely defined Paging
@Deprecated com.engiweb.pm.entity.BeanList<UserBean> findUserByProfile(UserBean userBean, GroupBean groupBean, HierarchyBean hierarchyBean, EntitlementBean entitlementBean, boolean hier, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean
- UserBean
the user, if null no filter is applied, otherwise the passed object is used as filtergroupBean
- GroupBean
if null no filter is applied, otherwise the passed object is used as filterhierarchyBean
- HierarchyBean
is mandatory when the GroupBean
is used as a filter.entitlementBean
- EntitlementBean
the entitlementhier
- boolean: true if research must be performed hierarchically, false otherwisepaging
- Paging
the pagingcode_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of UserBean
com.engiweb.toolkit.common.BackendException
- the backend exception UserBean
if null no filter is applied, otherwise the passed object is used as filter OrganizationalUnit
if null no filter is applied, otherwise
the passed object is used as filter EntitlementBean
It must be present and uniquely defined Paging
com.engiweb.pm.entity.BeanList<UserBean> findUserByProfile(UserBean userBean, GroupBean groupBean, HierarchyBean hierarchyBean, EntitlementBean entitlementBean, boolean hier, java.lang.Boolean delegated, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean
- UserBean
the user, if null no filter is applied, otherwise the passed object is used as filtergroupBean
- GroupBean
if null no filter is applied, otherwise the passed object is used as filterhierarchyBean
- HierarchyBean
is mandatory when the GroupBean
is used as a filter.entitlementBean
- EntitlementBean
the entitlementhier
- boolean: true if research must be performed hierarchically, false otherwisedelegated
- if true return only user having the profile contained in delegated roles, if false in direct assigned role , if null bothpaging
- Paging
the pagingcode_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of UserBean
com.engiweb.toolkit.common.BackendException
- the backend exception UserBean
if null no filter is applied, otherwise the passed object is used as filter OrganizationalUnit
if null no filter is applied, otherwise
the passed object is used as filter EntitlementBean
It must be present and uniquely defined Paging
@Deprecated com.engiweb.pm.entity.BeanList<UserBean> findUserByProfile(UserBean userBean, OrgUnitBean ouBean, com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean, boolean hier, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean
- UserBean
the user, if null no filter is applied, otherwise the passed object is used as filterouBean
- OrgUnitBean
the organization unit, if null no filter is applied, otherwise the passed object is used as filterblEntitlementBean
- BeanList
of EntitlementBean
whose assigned user are to be retrieved.hier
- boolean: if ouBean is not null, it specifies if the research must be done in hierarchy or notpaging
- Paging
the pagingcode_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of UserBean
com.engiweb.toolkit.common.BackendException
- the backend exception Paging
@Deprecated com.engiweb.pm.entity.BeanList<UserBean> findUserByProfile(UserBean userBean, GroupBean groupBean, HierarchyBean hierarchyBean, com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean, boolean hier, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean
- UserBean
the user, if null no filter is applied, otherwise the passed object is used as filtergroupBean
- GroupBean
if null no filter is applied, otherwise the passed object is used as filterhierarchyBean
- HierarchyBean
is mandatory when the GroupBean
is used as a filter.blEntitlementBean
- BeanList
of EntitlementBean
whose assigned user are to be retrieved.hier
- boolean: if ouBean is not null, it specifies if the research must be done in hierarchy or notpaging
- Paging
the pagingcode_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of UserBean
com.engiweb.toolkit.common.BackendException
- the backend exception Paging
com.engiweb.pm.entity.BeanList<UserBean> findUserByProfile(UserBean userBean, GroupBean groupBean, HierarchyBean hierarchyBean, com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean, boolean hier, java.lang.Boolean delegated, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean
- UserBean
the user, if null no filter is applied, otherwise the passed object is used as filtergroupBean
- GroupBean
if null no filter is applied, otherwise the passed object is used as filterhierarchyBean
- HierarchyBean
is mandatory when the GroupBean
is used as a filter.blEntitlementBean
- BeanList
of EntitlementBean
whose assigned user are to be retrieved.hier
- boolean: if ouBean is not null, it specifies if the research must be done in hierarchy or notdelegated
- if true return only user having the profile contained in delegated roles, if false in direct assigned role , if null bothpaging
- Paging
the pagingcode_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of UserBean
com.engiweb.toolkit.common.BackendException
- the backend exception Paging
void deleteEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlementBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
blEntitlementBean
- BeanList
of EntitlementBean
the list of entitlementdao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findByProperty(EntitlementBean entitlementBean, PropertyBean propertyBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean
- EntitlementBean
the entitlementpropertyBean
- PropertyBean
the propertypaging
- Paging
the pagingdao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementObjExtBean> findEntitlementObjExt(EntitlementObjExtBean entitlementObjExtBean, EntitlementBean entitlementBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementObjExtBean
- EntitlementObjExtBean
the entitlement external object,if null no filter is applied, otherwise the passed object is used as filterentitlementBean
- EntitlementBean
the entitlementpaging
- Paging
the pagingdao
- DAO
the connection daoBeanList
of EntitlementObjExtBean
com.engiweb.toolkit.common.BackendException
- the backend exception EntitlementObjExtBean
If null no filter is applied, otherwise the passed object is used as filter EntitlementBean
It must be present and
uniquely defined Paging
com.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlementByProfile(EntitlementBean entitlementBean, EntitlementBean entitlementProfileBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean
- EntitlementBean
the entitlement, if null no filter is applied, otherwise the passed object is used as filterentitlementProfileBean
- EntitlementBean
the entitlement profilepaging
- Paging
the pagingdao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid revertEntitlementHistory(EntitlementBean entitlementBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean
- EntitlementBean
the entitlement whose history must be revertdao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid signOffEntitlement(EntitlementBean entitlementBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entitlementBean
- EntitlementBean
the entitlementdao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findDependency(EntitlementBean filterEntBean, EntitlementBean entitlementBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
filterEntBean
- EntitlementBean
the filter entitlemententitlementBean
- EntitlementBean
the entitlement which want dependencypaging
- Paging
the pagingdao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exceptionvoid addDependency(java.util.List<EntitlementBean> listDependencyBean, EntitlementBean entitlementBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
listDependencyBean
- List
of EntitlementBean
the list of dependencyentitlementBean
- EntitlementBean
the entitlement wich want add the list of dependencydao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid removeDependency(java.util.List<EntitlementBean> listDependencyBean, EntitlementBean entitlementBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
listDependencyBean
- List
of EntitlementBean
the list of dependencyentitlementBean
- EntitlementBean
the entitlementdao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid addUser(java.util.List<UserBean> listUserBean, EntitlementBean entitlementBean, java.util.List<com.engiweb.pm.web.bean.AbstractBean> listResources, boolean visibilityViolation, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
listUserBean
- List
of UserBean
the list of userentitlementBean
- EntitlementBean
the administrative role to addlistResources
- List
of AbstractBean
the list of resources to addvisibilityViolation
- boolean: true if is in visibility violation, false otherwisedao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionJobRoleFamilyBean insertFamily(JobRoleFamilyBean familyBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
familyBean
- JobRoleFamilyBean
the familydao
- DAO
the connection daoJobRoleFamilyBean
com.engiweb.toolkit.common.BackendException
- the backend exceptionvoid updateFamily(JobRoleFamilyBean familyBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
familyBean
- JobRoleFamilyBean
the familydao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid deleteFamily(JobRoleFamilyBean familyBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
familyBean
- JobRoleFamilyBean
the familydao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<JobRoleFamilyBean> findFamily(JobRoleFamilyBean familyBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
familyBean
- JobRoleFamilyBean
the familypaging
- Paging
the pagingdao
- DAO
connection the daoBeanList
of JobRoleFamilyBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findPermissionWithRights(EntitlementBean permissionBean, EntitlementBean parentBean, com.engiweb.pm.entity.Paging p, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
permissionBean
- EntitlementBean
the permissionparentBean
- EntitlementBean
the parentp
- Paging
the pagingdao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findFlatFulfilledChilds(EntitlementBean proBean, EntitlementBean entitlementBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
proBean
- EntitlementBean
if null no filter is applied, otherwise the passed object is used as filterentitlementBean
- EntitlementBean
the entitlementpaging
- Paging
the pagingdao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exception Paging
com.engiweb.pm.entity.BeanList<UserBean> findUser(UserBean userBean, EntitlementBean entitlementBean, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
com.engiweb.toolkit.common.BackendException