public interface IEnvironmentDirect
extends common.direct.IDirect
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
Modifier and Type | Method and Description |
---|---|
void |
delete(EnvironmentBean environmentBean,
com.engiweb.pm.dao.db.DAO connDao)
Delete an environment
|
com.engiweb.pm.entity.BeanList<?> |
find(EnvironmentBean environmentBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Find Environment
|
EnvironmentBean |
insert(EnvironmentBean environmentBean,
EnvironmentBean environmentToCopyBean,
int copyTask,
com.engiweb.pm.entity.BeanList<TaskBean> taskBeanList,
int copyDomain,
com.engiweb.pm.entity.BeanList<DomainBean> domainBeanList,
boolean copyEnv,
com.engiweb.pm.dao.db.DAO connDao)
Deprecated.
|
EnvironmentBean |
insert(EnvironmentBean environmentBean,
EnvironmentBean environmentToCopyBean,
int copyTask,
int copyDomain,
com.engiweb.pm.entity.BeanList<DomainBean> domainBeanList,
com.engiweb.pm.dao.db.DAO connDao)
Insert a new environment and copy the the elements present in other environment.
|
void |
update(EnvironmentBean environmentBean,
com.engiweb.pm.dao.db.DAO connDao)
Update an Environment.
|
static final java.lang.String COPYRIGHT
@Deprecated EnvironmentBean insert(EnvironmentBean environmentBean, EnvironmentBean environmentToCopyBean, int copyTask, com.engiweb.pm.entity.BeanList<TaskBean> taskBeanList, int copyDomain, com.engiweb.pm.entity.BeanList<DomainBean> domainBeanList, boolean copyEnv, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
insert(EnvironmentBean, EnvironmentBean, int, int, BeanList, DAO)
environmentBean
- the environment beanenvironmentToCopyBean
- the environment to copy beancopyTask
- the copy tasktaskBeanList
- the task bean listcopyDomain
- the copy domaindomainBeanList
- the domain bean listcopyEnv
- the copy envconnDao
- the conn daocom.engiweb.toolkit.common.BackendException
- the backend exceptionEnvironmentBean insert(EnvironmentBean environmentBean, EnvironmentBean environmentToCopyBean, int copyTask, int copyDomain, com.engiweb.pm.entity.BeanList<DomainBean> domainBeanList, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
environmentBean
- EnvironmentBean
the environment to addenvironmentToCopyBean
- the environment to copy beancopyTask
- int: the task copy type
copyDomain
- int: the domain copy type
domainBeanList
- BeanList
of DomainBean
list of domain to copyconnDao
- DAO
the connection daoEnvironmentBean
com.engiweb.toolkit.common.BackendException
- the backend exceptionvoid update(EnvironmentBean environmentBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
environmentBean
- EnvironmentBean
environment to update (unique)connDao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid delete(EnvironmentBean environmentBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
environmentBean
- EnvironmentBean
the environment to deleteconnDao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<?> find(EnvironmentBean environmentBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
environmentBean
- EnvironmentBean
the environment, if null no filter is applied, otherwise the passed object is used as filterpaging
- Paging
the pagingconnDao
- DAO
the connection daoBeanList
com.engiweb.toolkit.common.BackendException
- the backend exception