public interface IOrgUnitDirect
extends common.direct.IDirect
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright
|
Modifier and Type | Method and Description |
---|---|
void |
addProperties(com.engiweb.pm.entity.BeanList<PropertyBean> blPropertyBean,
OrgUnitBean orgUnitBean,
com.engiweb.pm.dao.db.DAO dao)
Adds a list of properties to an organization unit.
|
void |
addResources(com.engiweb.pm.entity.BeanList<ResourceBean> blResources,
OrgUnitBean orgUnitBean,
boolean hier,
boolean employee,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Adds a list of
ResourceBean to an organization unit. |
void |
addRoles(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlement,
OrgUnitBean orgUnitBean,
boolean hier,
boolean alignUserToDef,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Adds a list of entitlements to an organization unit.
|
void |
delete(OrgUnitBean orgUnitBean,
boolean hier,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Deletes an existing organization unit.
|
void |
deleteType(OUTypeBean ouTypeBean,
com.engiweb.pm.dao.db.DAO dao)
Removes an existing organization unit type.
|
com.engiweb.pm.entity.BeanList<OrgUnitBean> |
find(OrgUnitBean orgUnitBean,
OrgUnitBean ouStart,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Returns the organization units filtered by a passed
OrgUnitBean object starting from a start OU. |
com.engiweb.pm.entity.BeanList<ApplicationBean> |
findApplication(ApplicationBean appBean,
OrgUnitBean orgUnitBean,
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 organization unit.
|
com.engiweb.pm.entity.BeanList<ApplicationBean> |
findApplicationByEntitlement(ApplicationBean appBean,
EntitlementBean entBean,
OrgUnitBean orgUnitBean,
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 organization unit (punctually or hierarchically) filtered by an entitlement.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entBean,
ApplicationBean appBean,
OrgUnitBean orgUnitBean,
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 organization unit (punctually or hierarchically) filtered by an application.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entBean,
java.util.List<ApplicationBean> appBeans,
OrgUnitBean orgUnitBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO connDao)
Find entitlement.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entBean,
java.util.List<ApplicationBean> appBeans,
OrgUnitBean orgUnitBean,
boolean hier,
TaskBean taskBean,
boolean taskHier,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO connDao)
Find entitlement.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entBean,
java.util.List<ApplicationBean> appBeans,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Find entitlements belonging to groups that a person belongs to, filtered by entitlement and list of applications.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(EntitlementBean entBean,
java.util.List<ApplicationBean> appBeans,
UserBean userBean,
TaskBean taskBean,
boolean taskHier,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Find entitlements belonging to groups that a person belongs to, filtered by entitlement and list of applications.
|
com.engiweb.pm.entity.BeanList<OrgUnitBean> |
findInHier(OrgUnitBean orgUnitBean,
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<OrgUnitBean> |
findInHier(OrgUnitBean orgUnitBean,
boolean findAdmin,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO connDao)
Deprecated.
|
com.engiweb.pm.entity.BeanList<OrgUnitBean> |
findParent(OrgUnitBean ouBean,
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,
OrgUnitBean orgUnitBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of properties assigned to an organization unit.
|
com.engiweb.pm.entity.BeanList<ResourceBean> |
findResource(ResourceBean resourcBean,
OrgUnitBean orgUnitBean,
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 organization unit. |
com.engiweb.pm.entity.BeanList<OUTypeBean> |
findType(OUTypeBean ouTypeBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns the organization unit types filtered by a passed
OUTypeBean object. |
com.engiweb.pm.entity.BeanList<UserBean> |
findUser(UserBean userBean,
EntitlementBean entitlementBean,
java.util.List<OrgUnitBean> listOUBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Returns a list of users filtered by entitlement
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUser(UserBean userBean,
EntitlementBean entitlementBean,
java.util.List<OrgUnitBean> listOUBean,
boolean hier,
TaskBean taskBean,
boolean taskHier,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Returns a list of users filtered by entitlement
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUser(UserBean userBean,
EntitlementBean entitlementBean,
OrgUnitBean orgUnitBean,
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 organization unit or one of its sons (if hier is true)
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUser(UserBean userBean,
EntitlementBean entitlementBean,
OrgUnitBean orgUnitBean,
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 organization unit or one of its sons (if hier is true)
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUserWithoutOU(UserBean userBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO dao)
Find user without ou.
|
OrgUnitBean |
insert(OrgUnitBean orgUnitBean,
OrgUnitBean ouParentBean,
boolean parentEntitlements,
boolean parentResources,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Adds a new organization unit, if it not exists yet, to the organization unit tree.
|
OUTypeBean |
insertType(OUTypeBean ouTypeBean,
com.engiweb.pm.dao.db.DAO dao)
Adds a new orgnization unit type if it not exists yet.
|
void |
modifyRoles(com.engiweb.pm.entity.BeanList<EntitlementBean> entBl,
OrgUnitBean ouBean,
boolean hier,
boolean alignUserToDef,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Updates Default, VisibilityViolation and/or enabled property from a list of entitlements belonging to an orgaanization unit.
|
void |
modifySOD(OrgUnitBean orgUnitBean,
boolean enableSOD,
boolean hier,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Modify SOD on the organization unit punctually or hierarchically.
|
void |
removeProperties(com.engiweb.pm.entity.BeanList<PropertyBean> blPropertyBean,
OrgUnitBean orgUnitBean,
com.engiweb.pm.dao.db.DAO dao)
Removes a list of properties from an application.
|
void |
removeResources(com.engiweb.pm.entity.BeanList<ResourceBean> blResources,
OrgUnitBean orgUnitBean,
boolean hier,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Removes a list of
ResourceBean from an organization unit. |
void |
removeRoles(com.engiweb.pm.entity.BeanList<EntitlementBean> entBl,
OrgUnitBean orgUnitBean,
boolean hier,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Removes a list of entitlements from an organization unit.
|
OrgUnitBean |
update(OrgUnitBean orgUnitBean,
OrgUnitBean ouParentBean,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO dao)
Updates an existing organization unit.
|
void |
updateType(OUTypeBean ouTypeBean,
com.engiweb.pm.dao.db.DAO dao)
Updates an existing organization unit type.
|
static final java.lang.String COPYRIGHT
OrgUnitBean insert(OrgUnitBean orgUnitBean, OrgUnitBean ouParentBean, boolean parentEntitlements, boolean parentResources, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
orgUnitBean
- OrgUnitBean
to add (mandatory)ouParentBean
- OrgUnitBean
parent of the new organization unit.It must be present and uniquely defined.parentEntitlements
- boolean: if true, all entitlements belonging to parent OU will be assigned to the new child OUparentResources
- boolean: if true, all resources belonging to parent OU will be assigned to the new child OUcode_scope
- String
the code scopedao
- DAO
the connection daoOrgUnitBean
addedcom.engiweb.toolkit.common.BackendException
- the backend exceptionOrgUnitBean update(OrgUnitBean orgUnitBean, OrgUnitBean ouParentBean, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
orgUnitBean
- OrgUnitBean
to update (mandatory)ouParentBean
- OrgUnitBean
parent of the updated organization unit.It must be present and uniquely defined.code_scope
- String
the code scopedao
- DAO
the connection daoOrgUnitBean
com.engiweb.toolkit.common.BackendException
- the backend exceptionvoid delete(OrgUnitBean orgUnitBean, boolean hier, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
orgUnitBean
- OrgUnitBean
to delete (mandatory). If OU is not a leaf, then all nested OUs will be assigned to its associated parent OUhier
- boolean: true if research must be performed hierarchically, false otherwisecode_scope
- String
the code scopedao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<OrgUnitBean> find(OrgUnitBean orgUnitBean, OrgUnitBean 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
OrgUnitBean
object starting from a start OU.
Is startOU is null or not uniquely defined, the start OU is defined according to user visibilityorgUnitBean
- OrgUnitBean
if null no filter is applied, otherwise the passed object is used as filterouStart
- OrgUnitBean
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
the pagingcode_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of OrgUnitBean
com.engiweb.toolkit.common.BackendException
- the backend exceptionvoid addResources(com.engiweb.pm.entity.BeanList<ResourceBean> blResources, OrgUnitBean orgUnitBean, 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 organization unit.blResources
- BeanList
of ResourceBean
to add. Resources must be present and uniquely defined.orgUnitBean
- OrgUnitBean
to which add resources. It must be present and uniquely defined.hier
- boolean if true resources will be add to organization unit in hierarchical mode.employee
- boolean if true resources will be assigned to all employments according with passed OUcode_scope
- String
the code scopedao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid removeResources(com.engiweb.pm.entity.BeanList<ResourceBean> blResources, OrgUnitBean orgUnitBean, boolean hier, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
ResourceBean
from an organization unit.blResources
- BeanList
of ResourceBean
to remove. Resources must be present and uniquely defined.orgUnitBean
- OrgUnitBean
from which remove resources. It must be present and uniquely defined.hier
- if true resources will be will be removed from organization unit in hierarchical mode.code_scope
- String
the code scopedao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<ResourceBean> findResource(ResourceBean resourcBean, OrgUnitBean orgUnitBean, 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 organization unit.resourcBean
- ResourceBean
if null no filter is applied, otherwise the passed object is used as filterorgUnitBean
- OrgUnitBean
in which to search for the resourcespaging
- Paging
the pagingcode_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of ResourceBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<OrgUnitBean> findParent(OrgUnitBean ouBean, boolean showAdmin, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
ouBean
- OrgUnitBean
that you want to find the parent tree. It must be present end uniquely definedshowAdmin
- boolean: if true return also the ou's administratorscode_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of OrgUnitBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<OrgUnitBean> findInHier(OrgUnitBean orgUnitBean, 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
orgUnitBean
- OrgUnitBean
that you want to find the sons. It must be present end uniquely definedfindAdmin
- boolean: set true if you want to retrieve the administrator associated to the ou'spaging
- Paging
the pagingcode_scope
- String
the code scopeconnDao
- DAO
the connection daoBeanList
of OrgUnitBean
com.engiweb.toolkit.common.BackendException
- the backend exception@Deprecated com.engiweb.pm.entity.BeanList<OrgUnitBean> findInHier(OrgUnitBean orgUnitBean, boolean findAdmin, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
com.engiweb.toolkit.common.BackendException
OUTypeBean insertType(OUTypeBean ouTypeBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
ouTypeBean
- OUTypeBean
the organization unit type to add (mandatory)dao
- DAO
the connection daoOUTypeBean
createdcom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid 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
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid deleteType(OUTypeBean ouTypeBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
ouTypeBean
- OUTypeBean
the organization unit type to remove (mandatory and uniquely defined).dao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.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
object.ouTypeBean
- OUTypeBean
if null no filter is applied, otherwise the passed object is used as filterpaging
- Paging
the pagingdao
- DAO
the connection daoBeanList
of OUTypeBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<UserBean> findUser(UserBean userBean, EntitlementBean entitlementBean, OrgUnitBean orgUnitBean, 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 filterOrgUnitBean
- OrgUnitBean
must be present and uniquely definedboolean
- hier: if true the research is performed hierarchicallyPaging
- paging: Paging
BeanList
of UserBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<UserBean> findUser(UserBean userBean, EntitlementBean entitlementBean, OrgUnitBean orgUnitBean, 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 filterOrgUnitBean
- OrgUnitBean
must be present and uniquely definedboolean
- hier: if true the research is performed hierarchicallyPaging
- paging: Paging
BeanList
of UserBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<UserBean> findUser(UserBean userBean, EntitlementBean entitlementBean, java.util.List<OrgUnitBean> listOUBean, 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 filterOrgUnitBean
- List
of OrgUnitBean
boolean
- hier: if true the research is performed hierarchicallyPaging
- paging: Paging
BeanList
of UserBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<UserBean> findUser(UserBean userBean, EntitlementBean entitlementBean, java.util.List<OrgUnitBean> listOUBean, boolean hier, TaskBean taskBean, boolean taskHier, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) 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 filterOrgUnitBean
- List
of OrgUnitBean
boolean
- hier: if true the research is performed hierarchicallytaskBean
- TaskBean
if null no filter is applied, otherwise the passed object is used as filtertaskHier
- boolean: if true the research is performed hierarchicallyPaging
- paging: Paging
BeanList
of UserBean
com.engiweb.toolkit.common.BackendException
com.engiweb.pm.entity.BeanList<UserBean> findUserWithoutOU(UserBean userBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
void addRoles(com.engiweb.pm.entity.BeanList<EntitlementBean> blEntitlement, OrgUnitBean orgUnitBean, boolean hier, boolean alignUserToDef, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
blEntitlement
- BeanList
of EntitlementBean
the list of entitlement to addorgUnitBean
- OrgUnitBean
the organization unit to which enitlements must be addhier
- boolean: if true entitlement are assigned hierarchically, false otherwisealignUserToDef
- boolean: if true entitlement must to be assigned to already present OU users, false otherwisecode_scope
- String
the code scopedao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid modifyRoles(com.engiweb.pm.entity.BeanList<EntitlementBean> entBl, OrgUnitBean ouBean, boolean hier, boolean alignUserToDef, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entBl
- BeanList
of EntitlementBean
list of entitlement on which some properties (DEFAULT, VISIBILITY_VIOLATION, ENALBLED) can be updated.
(mandatory and uniquely)ouBean
- OrgUnitBean
organization unit (mandatory and uniquely defined)hier
- boolean: if true updates is performed hierarchically,false otherwisealignUserToDef
- boolean: if true roles must to be assigned to already present OU users, false otherwisecode_scope
- String
the code scopedao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid removeRoles(com.engiweb.pm.entity.BeanList<EntitlementBean> entBl, OrgUnitBean orgUnitBean, boolean hier, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
entBl
- BeanList
of EntitlementBean
list of entitlement to remove. (mandatory and uniquely defined)orgUnitBean
- OrgUnitBean
organization unit (mandatory and uniquely defined)hier
- boolean if true removal operation is performed hierarchically,false otherwisecode_scope
- String
the code scopedao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<ApplicationBean> findApplication(ApplicationBean appBean, OrgUnitBean orgUnitBean, 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 filterorgUnitBean
- OrgUnitBean
the organization unit (mandatory and uniquely defined)paging
- Paging
the pagingcode_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of ApplicationBean
com.engiweb.toolkit.common.BackendException
- the backend exceptionvoid modifySOD(OrgUnitBean orgUnitBean, boolean enableSOD, boolean hier, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
orgUnitBean
- OrgUnitBean
if null the organization unit in the user scope is usedenableSOD
- boolean: if true SOD is enabled,false otherwisehier
- boolean: if true modify is performed hierarchically, false otherwisecode_scope
- String
the code scopedao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid removeProperties(com.engiweb.pm.entity.BeanList<PropertyBean> blPropertyBean, OrgUnitBean orgUnitBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
blPropertyBean
- BeanList
of PropertyBean
to remove from application.orgUnitBean
- OrgUnitBean
(mandatory and uniquely defined)dao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<PropertyBean> findProperty(PropertyBean propertyBean, OrgUnitBean orgUnitBean, 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 filterorgUnitBean
- OrgUnitBean
organization unit (mandatory and uniquely defined)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, OrgUnitBean orgUnitBean, com.engiweb.pm.dao.db.DAO dao) throws com.engiweb.toolkit.common.BackendException
blPropertyBean
- BeanList
of PropertyBean
list of properties to add to an organization unitorgUnitBean
- OrgUnitBean
organization unit (mandatory and uniquely defined)dao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entBean, ApplicationBean appBean, OrgUnitBean orgUnitBean, 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
- ApplicationBean
if null no filter is applied, otherwise the passed object is used as filterorgUnitBean
- OrgUnitBean
the organization unit (mandatory and uniquely defined)hier
- boolean if true research is performed hierarchically, false otherwisepaging
- Paging
the pagingcode_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<ApplicationBean> findApplicationByEntitlement(ApplicationBean appBean, EntitlementBean entBean, OrgUnitBean orgUnitBean, 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 filterorgUnitBean
- OrgUnitBean
organization unit (mandatory and uniquely defined)paging
- Paging
the pagingcode_scope
- String
the code scopedao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entBean, java.util.List<ApplicationBean> appBeans, OrgUnitBean orgUnitBean, boolean hier, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO connDao) 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
if null no filter is applied, otherwise the passed object is used as filter and will well definedorgUnitBean
- OrgUnitBean
organization unit (mandatory and uniquely defined)hier
- boolean if true research is performed hierarchically, false otherwisepaging
- Paging
the pagingcode_scope
- String
the code scopeconnDao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entBean, java.util.List<ApplicationBean> appBeans, OrgUnitBean orgUnitBean, boolean hier, TaskBean taskBean, boolean taskHier, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO connDao) 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
if null no filter is applied, otherwise the passed object is used as filter and will well definedorgUnitBean
- OrgUnitBean
organization unit (mandatory and uniquely defined)hier
- boolean if true research is performed hierarchically, false otherwisetaskBean
- TaskBean
if null no filter is applied, otherwise the passed object is used as filter and will well definedtaskHier
- boolean if true research is performed hierarchically, false otherwisepaging
- Paging
the pagingcode_scope
- String
the code scopeconnDao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entBean, java.util.List<ApplicationBean> appBeans, UserBean userBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) 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
if null no filter is applied, otherwise the passed object is used as filter and will well defineduserBean
- UserBean
user (mandatory and uniquely defined)paging
- Paging
the pagingcode_scope
- String
the code scopeconnDao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entBean, java.util.List<ApplicationBean> appBeans, UserBean userBean, TaskBean taskBean, boolean taskHier, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) 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
if null no filter is applied, otherwise the passed object is used as filter and will well defineduserBean
- UserBean
user (mandatory and uniquely defined)taskBean
- TaskBean
if null no filter is applied, otherwise the passed object is used as filter and will well definedtaskHier
- boolean if true research is performed hierarchically, false otherwisepaging
- Paging
the pagingcode_scope
- String
the code scopeconnDao
- DAO
the connection daoBeanList
of EntitlementBean
com.engiweb.toolkit.common.BackendException
- the backend exception