com.engiweb.rpd.common.interfaces

Interface ITaskIncompDirect

  • All Superinterfaces:
    common.direct.IDirect


    public interface ITaskIncompDirect
    extends common.direct.IDirect
    Provides method to manage association between conflicting tasks and remediatons
    Author:
    ZinniL
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void addRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemediationBean, TaskIncompBean taskIncompBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao)
      Inserts all of the elements in the specified BeanList to the conflicting couple formed by taskBean and taskIncompBean on the specified environment.
      com.engiweb.pm.entity.BeanList<DomainBean> findDomain(DomainBean domainBean, TaskIncompBean taskIncompBean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao)
      Find domain.
      com.engiweb.pm.entity.BeanList<RemediationBean> findRemediation(RemediationBean remediationBean, TaskIncompBean taskIncompBean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao)
      Find all of the remediation elements conflicting with the conflicting couple formed by taskBean and taskIncompBean on the specified environment.
      com.engiweb.pm.entity.BeanList<TaskIncompBean> findTaskIncomp(TaskIncompBean taskIncompBean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao)
      Find all conflicting couple formed by taskBean and taskIncompBean on the specified environment.
      void modifyTaskIncomp(TaskBean taskBean, TaskBean taskIncompBean, java.lang.Long incompLevel, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao)
      Modify a couple of task incompatible by setting the level of incompatibility
      void removeRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemediationBean, TaskIncompBean taskIncompBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao)
      Removes all of the elements in the specified BeanList to the conflicting couple formed by taskBean and taskIncompBean on the specified environment.
      • Methods inherited from interface common.direct.IDirect

        checkAB, deleteAB, insertAB, modifyAB, openDAO, openDAO
    • Method Detail

      • addRemediation

        void addRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemediationBean,
                            TaskIncompBean taskIncompBean,
                            EnvironmentBean envBean,
                            com.engiweb.pm.dao.db.DAO connDao)
                     throws com.engiweb.toolkit.common.BackendException
        Inserts all of the elements in the specified BeanList to the conflicting couple formed by taskBean and taskIncompBean on the specified environment.
        Parameters:
        blRemediationBean - BeanList of RemediationBean the list of remediation to add (mandatory)
        taskIncompBean - TaskIncompBean the couple of task incompatible (mandatory)
        envBean - EnvironmentBean the environemnt
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • removeRemediation

        void removeRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemediationBean,
                               TaskIncompBean taskIncompBean,
                               EnvironmentBean envBean,
                               com.engiweb.pm.dao.db.DAO connDao)
                        throws com.engiweb.toolkit.common.BackendException
        Removes all of the elements in the specified BeanList to the conflicting couple formed by taskBean and taskIncompBean on the specified environment.
        Parameters:
        blRemediationBean - BeanList of RemediationBean the list of remediation to remove (mandatory)
        taskIncompBean - TaskIncompBean Task incomp bean conflicting with task bean
        envBean - EnvironmentBean the environemnt
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findRemediation

        com.engiweb.pm.entity.BeanList<RemediationBean> findRemediation(RemediationBean remediationBean,
                                                                        TaskIncompBean taskIncompBean,
                                                                        EnvironmentBean envBean,
                                                                        com.engiweb.pm.entity.Paging paging,
                                                                        com.engiweb.pm.dao.db.DAO connDao)
                                                                 throws com.engiweb.toolkit.common.BackendException
        Find all of the remediation elements conflicting with the conflicting couple formed by taskBean and taskIncompBean on the specified environment.
        Parameters:
        remediationBean - RemediationBean the remediation, if null no filter is applied, otherwise the passed object is used as filter
        taskIncompBean - TaskIncompBean the couple of task incompatible (mandatory)
        envBean - EnvironmentBean environment
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of RemediationBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findTaskIncomp

        com.engiweb.pm.entity.BeanList<TaskIncompBean> findTaskIncomp(TaskIncompBean taskIncompBean,
                                                                      EnvironmentBean envBean,
                                                                      com.engiweb.pm.entity.Paging paging,
                                                                      com.engiweb.pm.dao.db.DAO connDao)
                                                               throws com.engiweb.toolkit.common.BackendException
        Find all conflicting couple formed by taskBean and taskIncompBean on the specified environment.
        Parameters:
        taskIncompBean - TaskIncompBean the couple of task incompatible, if null no filter is applied, otherwise the passed object is used as filter
        envBean - EnvironmentBean environment
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of TaskIncompBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • modifyTaskIncomp

        void modifyTaskIncomp(TaskBean taskBean,
                              TaskBean taskIncompBean,
                              java.lang.Long incompLevel,
                              EnvironmentBean envBean,
                              com.engiweb.pm.dao.db.DAO connDao)
                       throws com.engiweb.toolkit.common.BackendException
        Modify a couple of task incompatible by setting the level of incompatibility
        Parameters:
        taskBean - TaskBean the task
        taskIncompBean - TaskBean the task incompatible to modify
        incompLevel - Long the incompatible level
        envBean - EnvironmentBean the environment
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findDomain

        com.engiweb.pm.entity.BeanList<DomainBean> findDomain(DomainBean domainBean,
                                                              TaskIncompBean taskIncompBean,
                                                              EnvironmentBean envBean,
                                                              com.engiweb.pm.entity.Paging paging,
                                                              com.engiweb.pm.dao.db.DAO connDao)
                                                       throws com.engiweb.toolkit.common.BackendException
        Find domain.
        Parameters:
        domainBean - DomainBean the domain
        taskIncompBean - TaskIncompBean the couple of task incompatible (mandatory)
        envBean - EnvironmentBean the environment
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of DomainBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception