com.engiweb.rpd.common.interfaces

Interface ICompareEnvironmentDirect

  • All Superinterfaces:
    common.direct.IDirect


    public interface ICompareEnvironmentDirect
    extends common.direct.IDirect
    Author:
    ZinniL
    • Method Detail

      • getCompareCountIncompUser

        java.util.HashMap<java.lang.String,com.engiweb.pm.entity.BeanList<DashBoardBean>> getCompareCountIncompUser(EnvironmentBean environmentBean,
                                                                                                                    EnvironmentBean compareWithenvironmentBean,
                                                                                                                    OrgUnitBean ouBean,
                                                                                                                    boolean hier,
                                                                                                                    java.lang.String code_scope,
                                                                                                                    com.engiweb.pm.dao.db.DAO connDao)
                                                                                                             throws com.engiweb.toolkit.common.BackendException
        Return the number of users with incompatibility low , medium and high on two environment
        Parameters:
        environmentBean - EnvironmentBean the current environment (mandatory)
        compareWithenvironmentBean - EnvironmentBean environment to compare
        ouBean - OrgUnitBean organization unit which user (is optional)
        hier - boolean: if true and the ouBean param is not null, the research must be performed hierarchically, false otherwise
        code_scope - String the code scope
        connDao - DAO the connection dao
        Returns:
        HashMap> where the key is the name of the environment
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • getCompareCountIncompTask

        java.util.HashMap<java.lang.String,com.engiweb.pm.entity.BeanList<DashBoardBean>> getCompareCountIncompTask(EnvironmentBean environmentBean,
                                                                                                                    EnvironmentBean compareWithenvironmentBean,
                                                                                                                    com.engiweb.pm.dao.db.DAO connDao)
                                                                                                             throws com.engiweb.toolkit.common.BackendException
        Return the number of activity with incompatibility low, medium and high on two environment.
        Parameters:
        environmentBean - EnvironmentBean the current environment (mandatory)
        compareWithenvironmentBean - EnvironmentBean environment to compare
        connDao - the connection dao
        Returns:
        HashMap> where the key is the name of the environment
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • getCompareCountIncompEntitlement

        java.util.HashMap<java.lang.String,com.engiweb.pm.entity.BeanList<DashBoardBean>> getCompareCountIncompEntitlement(EnvironmentBean environmentBean,
                                                                                                                           EnvironmentBean compareWithenvironmentBean,
                                                                                                                           java.lang.Long type,
                                                                                                                           com.engiweb.pm.dao.db.DAO connDao)
                                                                                                                    throws com.engiweb.toolkit.common.BackendException
        Return the number of entitlement with incompatibility low, medium and high on two environment.
        Parameters:
        environmentBean - EnvironmentBean the current environment (mandatory)
        compareWithenvironmentBean - EnvironmentBean environment to compare
        type - Long the EntitlementType the type of entitlement to search
        connDao - DAO the connection dao
        Returns:
        HashMap> where the key is the name of the environment
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • getCompareUser

        com.engiweb.pm.entity.BeanList<UserBean> getCompareUser(UserBean userBean,
                                                                OrgUnitBean ouBean,
                                                                boolean hier,
                                                                EnvironmentBean environmentBean,
                                                                EnvironmentBean compareWithenvironmentBean,
                                                                java.lang.String code_scope,
                                                                com.engiweb.pm.entity.Paging paging,
                                                                com.engiweb.pm.dao.db.DAO connDao)
                                                         throws com.engiweb.toolkit.common.BackendException
        Return the users with incompatibility low, medium and high on two environment.
        Parameters:
        userBean - UserBean if null no filter is applied, otherwise the passed object is used as filter if not null, the param incompEnvDiff must be set (default=0) to obtain the type of user UserReportBean:
          ALL = 0
        • UNVARIED = 1
        • VARIED = 2
        • BETTER = 3
        • WORSE = 4
        ouBean - OrgUnitBean the organization unit
        hier - boolean: if true and the ouBean param is not null, the research must be performed hierarchically, false otherwise
        environmentBean - EnvironmentBean the current environment (mandatory)
        compareWithenvironmentBean - EnvironmentBean the environment to compare
        code_scope - String the code scope
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of UserBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • getCompareEntitlement

        com.engiweb.pm.entity.BeanList<EntitlementBean> getCompareEntitlement(EntitlementBean eBean,
                                                                              EnvironmentBean environmentBean,
                                                                              EnvironmentBean compareWithenvironmentBean,
                                                                              com.engiweb.pm.entity.Paging paging,
                                                                              com.engiweb.pm.dao.db.DAO connDao)
                                                                       throws com.engiweb.toolkit.common.BackendException
        Return the entitlement with incompatibility low, medium and high on two environment.
        Parameters:
        eBean - EntitlementBean if null no filter is applied, otherwise the passed object is used as filter if not null, the param incompEnvDiff must be set (default=0) to obtain the type of user UserReportBean:
          ALL = 0
        • UNVARIED = 1
        • VARIED = 2
        • BETTER = 3
        • WORSE = 4
        environmentBean - EnvironmentBean the current environment
        compareWithenvironmentBean - EnvironmentBean the environment to compare
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of EntitlementBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • checkCompareAnalisys

        java.util.HashMap<EnvironmentBean,com.engiweb.pm.entity.BeanList<RequestBean>> checkCompareAnalisys(EnvironmentBean environmentBean,
                                                                                                            EnvironmentBean compareWithenvironmentBean,
                                                                                                            com.engiweb.pm.dao.db.DAO connDao)
                                                                                                     throws com.engiweb.toolkit.common.BackendException
        Check compare analisys.
        Parameters:
        environmentBean - EnvironmentBean: the current environement
        compareWithenvironmentBean - EnvironmentBean: the environment to compare
        connDao - DAO the connection dao
        Returns:
        HashMap where the key is the environment
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception