com.engiweb.rpd.common.interfaces

Interface IEnvironmentDirect

  • All Superinterfaces:
    common.direct.IDirect


    public interface IEnvironmentDirect
    extends common.direct.IDirect
    The Interface IEnvironmentDirect.
    Author:
    ZinniL
    • Method Detail

      • insert

        @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 an environment.
        Parameters:
        environmentBean - the environment bean
        environmentToCopyBean - the environment to copy bean
        copyTask - the copy task
        taskBeanList - the task bean list
        copyDomain - the copy domain
        domainBeanList - the domain bean list
        copyEnv - the copy env
        connDao - the conn dao
        Returns:
        the environment bean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • insert

        EnvironmentBean 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
        Insert a new environment and copy the the elements present in other environment.
        Parameters:
        environmentBean - EnvironmentBean the environment to add
        environmentToCopyBean - the environment to copy bean
        copyTask - int: the task copy type
        • 0 --> no task copy
        • 1 --> copy of all task
        • 2 --> copy of incompatibility
        copyDomain - int: the domain copy type
        • 0 --> no domain copy
        • 1 --> copy of all domain
        • 2 --> copy of domain passed with daominBeanList parameter
        domainBeanList - BeanList of DomainBean list of domain to copy
        connDao - DAO the connection dao
        Returns:
        EnvironmentBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • update

        void update(EnvironmentBean environmentBean,
                    com.engiweb.pm.dao.db.DAO connDao)
             throws com.engiweb.toolkit.common.BackendException
        Update an Environment.
        Parameters:
        environmentBean - EnvironmentBean environment to update (unique)
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • delete

        void delete(EnvironmentBean environmentBean,
                    com.engiweb.pm.dao.db.DAO connDao)
             throws com.engiweb.toolkit.common.BackendException
        Delete an environment
        Parameters:
        environmentBean - EnvironmentBean the environment to delete
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • find

        com.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
        Find Environment
        Parameters:
        environmentBean - EnvironmentBean the environment, if null no filter is applied, otherwise the passed object is used as filter
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception