public interface IProfileGroupDirect
extends common.direct.IDirect
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProfile(ProfileGroupBean parent,
com.engiweb.pm.entity.BeanList<EntitlementBean> profileList,
long condition,
com.engiweb.pm.dao.db.DAO connDao)
Add a list of profile to a profile group
|
ProfileGroupBean |
createAndReturnProfileGroup(TaskBean taskBean,
EnvironmentBean envBean,
long condition,
java.lang.String value,
com.engiweb.pm.dao.db.DAO connDao)
Creates the and return profile group.
|
ProfileGroupBean |
createEntity(ProfileGroupBean pgb,
com.engiweb.pm.dao.db.DAO connDao)
Creates the entity.
|
void |
createProfileGroup(TaskBean taskbean,
EnvironmentBean envBean,
long condition,
java.lang.String value,
com.engiweb.pm.dao.db.DAO connDao)
Creates the profile group.
|
com.engiweb.pm.entity.BeanList<ProfileGroupBean> |
find(ProfileGroupBean bean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging p,
com.engiweb.pm.dao.db.DAO connDao)
Find profile group.
|
com.engiweb.pm.entity.BeanList<com.engiweb.pm.web.bean.AbstractBean> |
findChild(ProfileGroupBean bean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging p,
com.engiweb.pm.dao.db.DAO connDao)
Find childs of a profile group.
|
com.engiweb.pm.entity.BeanList<ProfileGroupBean> |
findProfileGroup4Analisys(ProfileGroupBean bean,
com.engiweb.pm.entity.Paging p,
com.engiweb.pm.dao.db.DAO connDao)
Find profile group for analisys.
|
void |
modifyCondition(ProfileGroupBean bean,
com.engiweb.pm.dao.db.DAO connDao)
Modify condition: if the condition is set to OR(=0) is modify to AND(=1),
|
void |
removeGroup(ProfileGroupBean bean,
com.engiweb.pm.dao.db.DAO connDao)
Removes a group.
|
void |
removeProfile(com.engiweb.pm.entity.BeanList<EntitlementBean> blProfile,
TaskBean taskBean,
EnvironmentBean envBean,
boolean hier,
com.engiweb.pm.dao.db.DAO connDao)
Removes a list of profile.
|
static final java.lang.String COPYRIGHT
com.engiweb.pm.entity.BeanList<com.engiweb.pm.web.bean.AbstractBean> findChild(ProfileGroupBean bean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging p, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
bean - ProfileGroupBean the parent which want childenvBean - EnvironmentBean the environmentp - Paging the pagingconnDao - DAO the connection daoBeanList of AbstractBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<ProfileGroupBean> find(ProfileGroupBean bean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging p, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
bean - ProfileGroupBean if null no filter is applied, otherwise the passed object is used as filterenvBean - EnvironmentBean the environmentp - Paging the pagingconnDao - DAO the connection daoBeanList of ProfileGroupBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<ProfileGroupBean> findProfileGroup4Analisys(ProfileGroupBean bean, com.engiweb.pm.entity.Paging p, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
bean - ProfileGroupBean if null no filter is applied, otherwise the passed object is used as filterp - Paging the pagingconnDao - DAO the connection daobeanList of ProfileGroupBeancom.engiweb.toolkit.common.BackendException - the backend exceptionProfileGroupBean createEntity(ProfileGroupBean pgb, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
pgb - ProfileGroupBean the profile group to create (mandatory)connDao - DAO the connection daoProfileGroupBeancom.engiweb.toolkit.common.BackendException - the backend exceptionvoid addProfile(ProfileGroupBean parent, com.engiweb.pm.entity.BeanList<EntitlementBean> profileList, long condition, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
parent - ProfileGroupBean the profile group which want add a list of profileprofileList - BeanList of EntitlementBean the profile list to addcondition - long: the condition
connDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid createProfileGroup(TaskBean taskbean, EnvironmentBean envBean, long condition, java.lang.String value, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
taskbean - TaskBean the taskenvBean - EnvironmentBean the environmentcondition - long: the condition
value - String the valueconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid removeGroup(ProfileGroupBean bean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
bean - ProfileGroupBean the profile group to remove (mandatory)connDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid modifyCondition(ProfileGroupBean bean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
bean - ProfileGroupBean the profile group (mandatory)connDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid removeProfile(com.engiweb.pm.entity.BeanList<EntitlementBean> blProfile, TaskBean taskBean, EnvironmentBean envBean, boolean hier, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
blProfile - BeanList of EntitlementBean the list of profile to removetaskBean - TaskBean the taskenvBean - EnvironmentBean the environmenthier - boolean: if true research must be performed hierarchically, false otherwiseconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionProfileGroupBean createAndReturnProfileGroup(TaskBean taskBean, EnvironmentBean envBean, long condition, java.lang.String value, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
taskBean - TaskBean the taskenvBean - EnvironmentBean the environmentcondition - long: the condition
value - String the valueconnDao - DAO the connection daoProfileGroupBeancom.engiweb.toolkit.common.BackendException - the backend exception