public interface IGroupDirect
extends common.direct.IDirect
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright
|
Modifier and Type | Method and Description |
---|---|
void |
addInNoDefHierGroup(UserBean userBean,
GroupBean groupBean,
com.engiweb.pm.dao.db.DAO dao)
Add an existing user (in the ORGANIZATIONAL_UNIT hierarchy) to a group of another hierarchy
|
void |
addProperties(com.engiweb.pm.entity.BeanList<PropertyBean> blPropertyBean,
GroupBean groupBean,
com.engiweb.pm.dao.db.DAO dao)
Adds a list of properties to an group
|
void |
addResources(com.engiweb.pm.entity.BeanList<ResourceBean> blResources,
GroupBean groupBean,
boolean hier,
boolean employee,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Adds a list of
ResourceBean to an group |
void |
addRoles(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlement,
GroupBean groupBean,
com.engiweb.profilemanager.common.util.EntitlementStatusOption entitlementStatusOption,
boolean hier,
boolean alignUserToDef,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Adds a list of entitlements to an group
|
void |
delete(GroupBean groupBean,
HierarchyBean hierarchyBean,
boolean hier,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Deletes an existing group.
|
void |
deleteType(OUTypeBean ouTypeBean,
com.engiweb.pm.dao.db.DAO dao)
Removes an existing group type.
|
com.engiweb.pm.entity.BeanList<GroupBean> |
find(GroupBean groupBean,
HierarchyBean hierarchyBean,
GroupBean ouStart,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns the groups filtered by a passed
GroupBean object starting from a start OU. |
com.engiweb.pm.entity.BeanList<GroupBean> |
find(GroupBean groupBean,
HierarchyBean hierarchyBean,
GroupBean ouStart,
TaskBean taskBean,
boolean taskHier,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns the groups filtered by a passed
GroupBean object starting from a start OU. |
com.engiweb.pm.entity.BeanList<ApplicationBean> |
findApplication(ApplicationBean appBean,
GroupBean groupBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of applications associated to entitlements belonging to an group
|
com.engiweb.pm.entity.BeanList<ApplicationBean> |
findApplicationByEntitlement(ApplicationBean appBean,
EntitlementBean entBean,
GroupBean groupBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of applications belonging to an group (punctually or hierarchically) filtered by an entitlement
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entBean,
ApplicationBean appBean,
GroupBean groupBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of entitlements belonging to an group (punctually or hierarchically) filtered by an application
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entBean,
java.util.List<ApplicationBean> appBeans,
GroupBean groupBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of entitlements belonging to an group (punctually or hierarchically) filtered by an application
|
com.engiweb.pm.entity.BeanList<GroupBean> |
findInHier(GroupBean groupBean,
HierarchyBean hierarchyBean,
boolean findAdmin,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO connDao)
Returns the children nodes of the passed OU
|
com.engiweb.pm.entity.BeanList<GroupBean> |
findParent(GroupBean ouBean,
HierarchyBean hierarchyBean,
boolean showAdmin,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns the parent tree of the passed OU.
|
com.engiweb.pm.entity.BeanList<PropertyBean> |
findProperty(PropertyBean propertyBean,
GroupBean groupBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of properties assigned to an group
|
com.engiweb.pm.entity.BeanList<ResourceBean> |
findResource(ResourceBean resourcBean,
GroupBean groupBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns the resources filtered by a passed
ResourceBean object assigned to an group |
com.engiweb.pm.entity.BeanList<GroupBean> |
findRoot(HierarchyBean hierarchyBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of hierarchy roots
|
com.engiweb.pm.entity.BeanList<OUTypeBean> |
findType(OUTypeBean ouTypeBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns the group types filtered by a passed
OUTypeBean object |
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 a list of users filtered by entitlement belonging to an group or one of its sons (if hier is true)
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUser(UserBean userBean,
EntitlementBean entitlementBean,
GroupBean groupBean,
HierarchyBean hierarchyBean,
boolean hier,
TaskBean taskBean,
boolean taskHier,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of users filtered by entitlement belonging to an group or one of its sons (if hier is true)
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUser(UserBean userBean,
EntitlementBean entitlementBean,
java.util.List<GroupBean> listOUBean,
HierarchyBean hierarchyBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao) |
com.engiweb.pm.entity.BeanList<UserBean> |
findUser(UserBean userBean,
EntitlementBean entitlementBean,
java.util.List<GroupBean> listOUBean,
HierarchyBean hierarchyBean,
boolean hier,
TaskBean taskBean,
boolean taskHier,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao) |
com.engiweb.pm.entity.BeanList<UserBean> |
findUserWithoutGroup(UserBean userBean,
HierarchyBean hierarchyBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao) |
GroupBean |
insert(GroupBean groupBean,
HierarchyBean hierarchyBean,
GroupBean groupParentBean,
boolean parentEntitlements,
boolean parentResources,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Adds a new group, if it not exists yet, to the group tree.
|
OUTypeBean |
insertType(OUTypeBean ouTypeBean,
com.engiweb.pm.dao.db.DAO dao)
Adds a new organization unit type if it not exists yet.
|
void |
modifyRoles(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlement,
GroupBean groupBean,
com.engiweb.profilemanager.common.util.EntitlementStatusOption entitlementStatusOption,
boolean hier,
boolean alignUserToDef,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO connDao)
Updates Default, VisibilityViolation and/or enabled property from a list of entitlements belonging to a group
|
void |
modifySOD(GroupBean groupBean,
HierarchyBean hierarchyBean,
boolean enableSOD,
boolean hier,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Modify SOD on the group punctually or hierarchically
|
void |
removeFromNoDefHierGroup(UserBean userBean,
GroupBean groupBean,
com.engiweb.pm.dao.db.DAO dao)
Remove an user from a group belonging to a not default hierarchy (hierarchy id<>1)
|
void |
removeProperties(com.engiweb.pm.entity.BeanList<PropertyBean> blPropertyBean,
GroupBean groupBean,
com.engiweb.pm.dao.db.DAO dao)
Removes a list of properties from an application
|
void |
removeResources(com.engiweb.pm.entity.BeanList<ResourceBean> blResources,
GroupBean groupBean,
boolean hier,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Removes a list of
ResourceBean from an group |
void |
removeRoles(com.engiweb.pm.entity.BeanList<EntitlementBean> entBl,
GroupBean groupBean,
boolean hier,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Removes a list of entitlements from an group
|
GroupBean |
update(GroupBean groupBean,
GroupBean ouParentBean,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Updates an existing group
|
void |
updateType(OUTypeBean ouTypeBean,
com.engiweb.pm.dao.db.DAO dao)
Updates an existing ou type
|
static final java.lang.String COPYRIGHT
GroupBean insert(GroupBean groupBean, HierarchyBean hierarchyBean, GroupBean groupParentBean, boolean parentEntitlements, boolean parentResources, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
groupBean
- GroupBean
to add (mandatory)hierarchyBean
- HierarchyBean
mandatorygroupParentBean
- GroupBean
parent of the new group.It must be present and uniquely defined.parentEntitlements
- If true, all entitlements belonging to parent OU will be assigned to the new child OUparentResources
- If true, all resources belonging to parent OU will be assigned to the new child OUcode_scope
- dao
- GroupBean
addedcom.engiweb.toolkit.common.BackendException
GroupBean update(GroupBean groupBean, GroupBean ouParentBean, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
void delete(GroupBean groupBean, HierarchyBean hierarchyBean, boolean hier, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
groupBean
- GroupBean
to delete (mandatory). If OU is not a leaf, then all nested OUs will be assigned to its associated parent OUhierarchyBean
- mandatoryboolean
- hier: if true group and its sons will be deletedcode_scope
- dao
- com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<GroupBean> find(GroupBean groupBean, HierarchyBean hierarchyBean, GroupBean ouStart, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
GroupBean
object starting from a start OU.
Is startOU is null or not uniquely defined, the start OU is defined according to user visibilityGroupBean
- groupBean: if null no filter is applied, otherwise the passed object is used as filterhierarchyBean
- HierarchyBean
manadatoryGroupBean
- ouStart: OU from which research must be performed. If null or id or code is not set start OU is defined according to user visibilityPaging
- paging: Paging
code_scope
- dao
- BeanList
of GroupBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<GroupBean> find(GroupBean groupBean, HierarchyBean hierarchyBean, GroupBean ouStart, TaskBean taskBean, boolean taskHier, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
GroupBean
object starting from a start OU.
Is startOU is null or not uniquely defined, the start OU is defined according to user visibilitygroupBean
- GroupBean
: if null no filter is applied, otherwise the passed object is used as filterhierarchyBean
- HierarchyBean
manadatoryouStart
- GroupBean
: OU from which research must be performed. If null or id or code is not set start OU is defined according to user visibilitytaskBean
- TaskBean
: if null no filter is applied, otherwise the passed object is used as filtertaskHier
- boolean: if true resources will be add to group in hierarchical modePaging
- paging: Paging
code_scope
- dao
- BeanList
of GroupBean
com.engiweb.toolkit.common.BackendException
void addResources(com.engiweb.pm.entity.BeanList<ResourceBean> blResources, GroupBean groupBean, boolean hier, boolean employee, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
ResourceBean
to an groupBeanList
- blResources: BeanList
of ResourceBean
to add. Resources must be present and uniquely defined.GroupBean
- groupBean: GroupBean
to which add resources. It must be present and uniquely defined.boolean
- hier: if true resources will be add to group in hierarchical mode.boolean
- employ: if true resources will be assigned to all employments according with passed OUcom.engiweb.toolkit.common.BackendException
void removeResources(com.engiweb.pm.entity.BeanList<ResourceBean> blResources, GroupBean groupBean, boolean hier, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
ResourceBean
from an groupBeanList
- blResources: BeanList
of ResourceBean
to remove. Resources must be present and uniquely defined.GroupBean
- groupBean: GroupBean
from which remove resources. It must be present and uniquely defined.boolean
- hier: if true resources will be will be removed from group in hierarchical mode.code_scope
- dao
- com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<ResourceBean> findResource(ResourceBean resourcBean, GroupBean groupBean, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
ResourceBean
object assigned to an groupResourceBean
- resourcBean: if null no filter is applied, otherwise the passed object is used as filterGroupBean
- groupBean: GroupBean
in which to search for the resourcesPaging
- paging: Paging
code_scope
- dao
- com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<GroupBean> findParent(GroupBean ouBean, HierarchyBean hierarchyBean, boolean showAdmin, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
GroupBean
- groupBean: GroupBean
that you want to find the parent tree. It must be present end uniquely definedhierarchyBean
- HierarchyBean
mandatoryboolean
- showAdmin: if true returs the ou's administratorscode_scope
- dao
- BeanList
of GroupBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<GroupBean> findInHier(GroupBean groupBean, HierarchyBean hierarchyBean, boolean findAdmin, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
groupBean:
- GroupBean
that you want to find the sons. It must be present end uniquely definedhierarchyBean
- HierarchyBean
mandatoryboolean
- findAdmin: set true if you want to retrieve the aministraotr associated to the ouscode_scope
- dao
- BeanList
of GroupBean
com.engiweb.toolkit.common.BackendException
OUTypeBean insertType(OUTypeBean ouTypeBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
ouTypeBean:
- OUTypeBean
to insert (mandatory). The group type name is a mandatory field.dao
- GroupBean
createdcom.engiweb.toolkit.common.BackendException
void updateType(OUTypeBean ouTypeBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
ouTypeBean:
- OUTypeBean
to update (mandatory).It must be present and uniquely defined.dao
- com.engiweb.toolkit.common.BackendException
void deleteType(OUTypeBean ouTypeBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
OUTypeBean
- ouTypeBean: OUTypeBean
to delete (mandatory).It must be present and uniquely defined.dao
- com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<OUTypeBean> findType(OUTypeBean ouTypeBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
OUTypeBean
objectOUTypeBean
- ouTypeBean: if null no filter is applied, otherwise the passed object is used as filterPaging
- paging: Paging
dao
- BeanList
of OUTypeBean
com.engiweb.toolkit.common.BackendException
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
if null no filter is applied, otherwise the passed object is used as filtergroupBean:
- GroupBean
can be null, in that case user unassigned to any group are returnedhierarchyBean
- : HierarchyBean
mandatoryboolean
- hier: if true the research is performed hierarchicallyPaging
- paging: Paging
code_scope
- dao
- BeanList
of UserBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<UserBean> findUser(UserBean userBean, EntitlementBean entitlementBean, GroupBean groupBean, HierarchyBean hierarchyBean, boolean hier, TaskBean taskBean, boolean taskHier, 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
if null no filter is applied, otherwise the passed object is used as filtergroupBean:
- GroupBean
can be null, in that case user unassigned to any group are returnedhierarchyBean
- : HierarchyBean
mandatoryboolean
- hier: if true the research is performed hierarchicallyPaging
- paging: Paging
code_scope
- dao
- BeanList
of UserBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<UserBean> findUser(UserBean userBean, EntitlementBean entitlementBean, java.util.List<GroupBean> listOUBean, HierarchyBean hierarchyBean, boolean hier, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean:
- UserBean
if null no filter is applied, otherwise the passed object is used as filterentitlementBean:
- EntitlementBean
if null no filter is applied, otherwise the passed object is used as filterlistOUBean
- hierarchyBean
- : HierarchyBean
mandatoryboolean
- hier: if true the research is performed hierarchicallyPaging
- paging: Paging
code_scope
- dao
- BeanList
of UserBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<UserBean> findUser(UserBean userBean, EntitlementBean entitlementBean, java.util.List<GroupBean> listOUBean, HierarchyBean hierarchyBean, boolean hier, TaskBean taskBean, boolean taskHier, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean:
- UserBean
if null no filter is applied, otherwise the passed object is used as filterentitlementBean:
- EntitlementBean
if null no filter is applied, otherwise the passed object is used as filterlistOUBean
- hierarchyBean
- : HierarchyBean
mandatoryboolean
- hier: if true the research is performed hierarchicallytaskBean
- : TaskBean
if null no filter is applied, otherwise the passed object is used as filterboolean
- taskHier: if true the research is performed hierarchicallyPaging
- paging: Paging
code_scope
- dao
- BeanList
of UserBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<UserBean> findUserWithoutGroup(UserBean userBean, HierarchyBean hierarchyBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
userBean
- hierarchyBean
- paging
- dao
- com.engiweb.toolkit.common.BackendException
void addRoles(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlement, GroupBean groupBean, com.engiweb.profilemanager.common.util.EntitlementStatusOption entitlementStatusOption, boolean hier, boolean alignUserToDef, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
alignUserToDef
- blEntitlement:
- BeanList
of EntitlementBean
on which can be set some properties (DEFAULT, VISIBILITY_VIOLATION, ENALBLED). Entitlements must be present and uniquely
definedgroupBean:
- GroupBean
must be present and uniquely definedentitlementStatusOption
- : EntitlementStatusOption
entitlement properties that have to be setboolean
- hier: if true adds is performed hierarchicallycode_scope
- dao
- com.engiweb.toolkit.common.BackendException
void modifyRoles(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlement, GroupBean groupBean, com.engiweb.profilemanager.common.util.EntitlementStatusOption entitlementStatusOption, boolean hier, boolean alignUserToDef, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
blEntitlement:
- BeanList
of EntitlementBean
on which EntitlementStatusOption properties can be updated. Entitlements must be present and
uniquelygroupBean:
- GroupBean
must be present and uniquely definedentitlementStatusOption
- : EntitlementStatusOption
entitlement properties that must/can be updatedboolean
- hier: if true updates is performed hierarchicallyboolean
- alignUserToDef: true if roles must to be assigned to already present OU userscode_scope
- dao
- com.engiweb.toolkit.common.BackendException
void removeRoles(com.engiweb.pm.entity.BeanList<EntitlementBean> entBl, GroupBean groupBean, boolean hier, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
blEntitlement:
- BeanList
of EntitlementBean
to remove, They must be present and uniquely definedgroupBean:
- GroupBean
must be present and uniquely definedboolean
- hier: if true removal operation is performed hierarchicallycode_scope
- dao
- com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<ApplicationBean> findApplication(ApplicationBean appBean, GroupBean groupBean, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, 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 filtergroupBean:{@link
- GroupBean} must be present and uniquely definedPaging
- paging: Paging
code_scope
- dao
- BeanList
of ApplicationBean
com.engiweb.toolkit.common.BackendException
void modifySOD(GroupBean groupBean, HierarchyBean hierarchyBean, boolean enableSOD, boolean hier, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
groupBean
- GroupBean
if null the group in the user scope is usedhierarchyBean
- HierarchyBean
mandatoryenableSOD
- if true SOD is enabledboolean
- hier: if true modify is performed hierarchicallycode_scope
- dao
- com.engiweb.toolkit.common.BackendException
void removeProperties(com.engiweb.pm.entity.BeanList<PropertyBean> blPropertyBean, GroupBean groupBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
blPropertyBean:
- BeanList
of PropertyBean
to remove from application.groupBean:{@link
- GroupBean} must be present and uniquely defineddao
- com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<PropertyBean> findProperty(PropertyBean propertyBean, GroupBean groupBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
propertyBean:
- PropertyBean
if null no filter is applied, otherwise the passed object is used as filtergroupBean:{@link
- GroupBean} must be present and uniquely definedpaging:
- Paging
dao
- BeanList
di PropertyBean
com.engiweb.toolkit.common.BackendException
void addProperties(com.engiweb.pm.entity.BeanList<PropertyBean> blPropertyBean, GroupBean groupBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
blPropertyBean:
- BeanList
of PropertyBean
to add to groupgroupBean:{@link
- GroupBean} must be present and uniquely defineddao
- com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entBean, ApplicationBean appBean, GroupBean groupBean, 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
entBean:
- EntitlementBean
if null no filter is applied, otherwise the passed object is used as filterappBean:{@link
- ApplicationBean} if null no filter is applied, otherwise the passed object is used as filterGroupBean
- groupBean:GroupBean
must be present and uniquely defined
// * @param hierarchyBean
// * mandatoryHierarchyBean
hier
- if true research is performed hierarchicallypaging
- paging: Paging
code_scope
- dao
- BeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<ApplicationBean> findApplicationByEntitlement(ApplicationBean appBean, EntitlementBean entBean, GroupBean groupBean, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, 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 filterentBean:
- EntitlementBean
if null no filter is applied, otherwise the passed object is used as filtergroupBean
- GroupBean
must be present and uniquely defined
// * @param hierarchyBean
// * HierarchyBean
must be present and uniquely definedpaging
- paging: Paging
code_scope
- dao
- BeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entBean, java.util.List<ApplicationBean> appBeans, GroupBean groupBean, 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
entBean:
- EntitlementBean
if null no filter is applied, otherwise the passed object is used as filterappBeans:
- List
of ApplicationBean
null no filter is applied, otherwise the passed object is used as filtergroupBean:{@link
- GroupBean} must be present and uniquely defined
// * @param hierarchyBean
// * mandatoryHierarchyBean
hier
- if true research is performed hierarchicallypaging
- paging: Paging
code_scope
- dao
- BeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<GroupBean> findRoot(HierarchyBean hierarchyBean, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
hierarchyBean
- HierarchyBean
must be present and uniquely definedpaging
- Paging
code_scope
- dao
- BeanList
of GroupBean
com.engiweb.toolkit.common.BackendException
void addInNoDefHierGroup(UserBean userBean, GroupBean groupBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException