com.engiweb.rpd.common.interfaces

Interface IDomainDirect

  • All Superinterfaces:
    common.direct.IDirect


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

      • insert

        DomainBean insert(DomainBean domainBean,
                          EnvironmentBean envBean,
                          com.engiweb.pm.dao.db.DAO connDao)
                   throws com.engiweb.toolkit.common.BackendException
        Add a domain to an enviroment
        Parameters:
        domainBean - DomainBean the domain to add (mandatory)
        envBean - EnvironmentBean the environment (well defined)
        Returns:
        DomainBean
        Throws:
        com.engiweb.toolkit.common.BackendException
      • update

        void update(DomainBean domainBean,
                    EnvironmentBean envBean,
                    com.engiweb.pm.dao.db.DAO connDao)
             throws com.engiweb.toolkit.common.BackendException
        Update a domain associated with an enviroment
        Parameters:
        domainBean - DomainBean the domain to update (mandatory)
        envBean - EnvironmentBean the environment (well defined)
        Throws:
        com.engiweb.toolkit.common.BackendException
      • delete

        void delete(DomainBean domainBean,
                    EnvironmentBean envBean,
                    com.engiweb.pm.dao.db.DAO connDao)
             throws com.engiweb.toolkit.common.BackendException
        Delete a domain associated with an enviroment
        Parameters:
        domainBean - DomainBean the domain to delete (mandatory)
        envBean - EnvironmentBean the environment (well defined)
        Throws:
        com.engiweb.toolkit.common.BackendException
      • find

        com.engiweb.pm.entity.BeanList<DomainBean> find(DomainBean domainBean,
                                                        EnvironmentBean envBean,
                                                        com.engiweb.pm.entity.Paging paging,
                                                        com.engiweb.pm.dao.db.DAO connDao)
                                                 throws com.engiweb.toolkit.common.BackendException
        Return a list of domain associated with the enviroment
        Parameters:
        domainBean - DomainBean : the domain, if null no filter is applied, otherwise the passed object is used as filter
        envBean - EnvironmentBean: the environment (well defined)
        paging - Paging the paging
        Returns:
        BeanList of DomainBean
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeProfile

        void removeProfile(com.engiweb.pm.entity.BeanList<EntitlementBean> blProfile,
                           DomainBean domainBean,
                           EnvironmentBean envBean,
                           com.engiweb.pm.dao.db.DAO connDao)
                    throws com.engiweb.toolkit.common.BackendException
        Remove a list of Entitlement (profile) from a domain
        Parameters:
        blProfile - BeanList of EntitlementBean the list of entitlement to remove
        domainBean - DomainBean the domain (mandatory)
        envBean - EnvironmentBean the environment (well defined)
        Throws:
        com.engiweb.toolkit.common.BackendException
      • addProfile

        void addProfile(com.engiweb.pm.entity.BeanList<EntitlementBean> blProfile,
                        DomainBean domainBean,
                        EnvironmentBean envBean,
                        com.engiweb.pm.dao.db.DAO connDao)
                 throws com.engiweb.toolkit.common.BackendException
        Add a list of entitlement (profile) to a domain
        Parameters:
        blProfile - BeanList of EntitlementBean the list of entitlement to add associare
        domainBean - DomainBean the domain (mandatory)
        envBean - EnvironmentBean the environment (well defined)
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeApplication

        void removeApplication(com.engiweb.pm.entity.BeanList<ApplicationBean> blApplication,
                               DomainBean domainBean,
                               EnvironmentBean envBean,
                               com.engiweb.pm.dao.db.DAO connDao)
                        throws com.engiweb.toolkit.common.BackendException
        Remove the entitlement (profile) belong the list of application from the domain
        Parameters:
        blApplication - BeanList of ApplicationBean the list of application to remove
        domainBean - DomainBean the domain (mandatory)
        envBean - EnvironmentBean the environment (well defined)
        Throws:
        com.engiweb.toolkit.common.BackendException
      • addApplication

        void addApplication(com.engiweb.pm.entity.BeanList<ApplicationBean> blApplication,
                            DomainBean domainBean,
                            EnvironmentBean envBean,
                            com.engiweb.pm.dao.db.DAO connDao)
                     throws com.engiweb.toolkit.common.BackendException
        Add the entitlement (profile) belong the list of application to the domain
        Parameters:
        blApplication - BeanList of ApplicationBean the list of application to add
        domainBean - DomainBean the domain (mandatory)
        envBean - EnvironmentBean the environment (well defined)
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findApplication

        com.engiweb.pm.entity.BeanList<ApplicationBean> findApplication(ApplicationBean applicationBean,
                                                                        DomainBean domainBean,
                                                                        EnvironmentBean envBean,
                                                                        com.engiweb.pm.entity.Paging paging,
                                                                        com.engiweb.pm.dao.db.DAO connDao)
                                                                 throws com.engiweb.toolkit.common.BackendException
        Return a list of application from a domain
        Parameters:
        applicationBean - ApplicationBean the application, if null no filter is applied, otherwise the passed object is used as filter
        domainBean - DomainBean the domain (mandatory)
        envBean - EnvironmentBean the environment (well defined)
        paging - Paging
        Returns:
        BeanList of ApplicationBean
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findTask

        com.engiweb.pm.entity.BeanList<TaskBean> findTask(TaskBean taskBean,
                                                          DomainBean domainBean,
                                                          EnvironmentBean envBean,
                                                          com.engiweb.pm.entity.Paging paging,
                                                          com.engiweb.pm.dao.db.DAO connDao)
                                                   throws com.engiweb.toolkit.common.BackendException
        Return a list of task from a domain
        Parameters:
        taskBean - TaskBean the task, if null no filter is applied, otherwise the passed object is used as filter
        domainBean - DomainBean the domain (mandatory)
        envBean - EnvironmentBean the environment (well defined)
        paging - Paging
        Returns:
        BeanList of TaskBean
        Throws:
        com.engiweb.toolkit.common.BackendException
      • addRemediation

        void addRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemediationBean,
                            DomainBean domainBean,
                            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 beans to insert
        domainBean - DomainBean the domain (mandatory)
        envBean - EnvironmentBean the environment (well defined)
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeRemediation

        void removeRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemediationBean,
                               DomainBean domainBean,
                               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 beans to remove
        domainBean - DomainBean the domain (mandatory)
        envBean - EnvironmentBean the environment (well defined)
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findRemediation

        com.engiweb.pm.entity.BeanList<RemediationBean> findRemediation(RemediationBean remediationBean,
                                                                        DomainBean domainBean,
                                                                        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 bean used as filter
        domainBean - DomainBean the domain (mandatory)
        envBean - EnvironmentBean the environment (well defined)
        paging - Paging the paging
        Returns:
        BeanList of RemediationBean
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findProfile

        com.engiweb.pm.entity.BeanList<EntitlementBean> findProfile(EntitlementBean filterProfileBean,
                                                                    DomainBean domainBean,
                                                                    EnvironmentBean envBean,
                                                                    com.engiweb.pm.entity.Paging paging,
                                                                    com.engiweb.pm.dao.db.DAO connDao)
                                                             throws com.engiweb.toolkit.common.BackendException
        Find all profile of specidied domain and enviroment
        Parameters:
        filterProfileBean - EntitlementBean: (profile) used as filter
        domainBean - DomainBean the domain (mandatory)
        envBean - EnvironmentBean the environment (well defined)
        paging - Paging the paging
        Returns:
        BeanList of EntitlementBean
        Throws:
        com.engiweb.toolkit.common.BackendException