com.engiweb.rpd.common.interfaces

Interface IEntitlementDirect

  • All Superinterfaces:
    common.direct.IDirect


    public interface IEntitlementDirect
    extends common.direct.IDirect
    The Interface IEntitlementDirect.
    • Method Detail

      • findTask

        com.engiweb.pm.entity.BeanList<TaskBean> findTask(TaskBean taskBean,
                                                          EntitlementBean entBean,
                                                          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 activity associated with the permission passed as parameter.
        Parameters:
        taskBean - TaskBean the task, if null no filter is applied, otherwise the passed object is used as filter
        entBean - EntitlementBean the entitlement (mandatory)
        envBean - EnvironmentBean the environment
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of TaskBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findTaskDoveSiTrova

        com.engiweb.pm.entity.BeanList<TaskBean> findTaskDoveSiTrova(TaskBean taskBean,
                                                                     EntitlementBean entBean,
                                                                     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 activity associated with the permission passed as parameter, even if only that permission is not sufficient to carry out the activities
        Parameters:
        taskBean - TaskBean the task, if null no filter is applied, otherwise the passed object is used as filter
        entBean - EntitlementBean the entitlement (mandatory)
        envBean - EnvironmentBean the environment
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of TaskBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findDomain

        com.engiweb.pm.entity.BeanList<DomainBean> findDomain(DomainBean domainBean,
                                                              EntitlementBean entBean,
                                                              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 from a domain filter and an entitlement.
        Parameters:
        domainBean - DomainBean the domain
        entBean - EntitlementBean the entitlement
        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
      • find

        com.engiweb.pm.entity.BeanList<EntitlementBean> find(EntitlementBean entBean,
                                                             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 incompatible entitlement (permission)
        Parameters:
        entBean - EntitlementBean the entitlement
        envBean - EnvironmentBean the environment
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of EntitlementBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findAll

        com.engiweb.pm.entity.BeanList<EntitlementBean> findAll(EntitlementBean entBean,
                                                                com.engiweb.pm.entity.Paging paging,
                                                                com.engiweb.pm.dao.db.DAO connDao)
                                                         throws com.engiweb.toolkit.common.BackendException
        Return a list of entitlement
        Parameters:
        entBean - EntitlementBean the entitlement
        envBean - EnvironmentBean the environment
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of EntitlementBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • findPublished

        com.engiweb.pm.entity.BeanList<EntitlementBean> findPublished(EntitlementBean entBean,
                                                                      ApplicationBean appBean,
                                                                      OrgUnitBean ouBean,
                                                                      boolean hier,
                                                                      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 incompatible entitlement (permission) published.
        Parameters:
        entBean - EntitlementBean the entitlement
        appBean - ApplicationBean the application, if null no filter is applied, otherwise the passed object is used as filter
        ouBean - OrgUnitBean the organization unit, if null no filter is applied, otherwise the passed object is used as filter
        hier - boolean: if true research must be performed hierarchically, false otherwise
        envBean - EnvironmentBean the environment
        paging - Paging the paging
        connDao - DAO the connection dao
        Returns:
        BeanList of EntitlementBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • addTask

        void addTask(com.engiweb.pm.entity.BeanList<TaskBean> blTask,
                     EntitlementBean eBean,
                     EnvironmentBean envBean,
                     com.engiweb.pm.dao.db.DAO connDao)
              throws com.engiweb.toolkit.common.BackendException
        Add a list of task to an entitlement (permission) into an enviroment
        Parameters:
        blTask - BeanList of TaskBean list of task to add
        eBean - EntitlementBean the entitlement (mandatory)
        envBean - EnvironmentBean the environment
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • removeTask

        void removeTask(com.engiweb.pm.entity.BeanList<TaskBean> blTask,
                        EntitlementBean eBean,
                        EnvironmentBean envBean,
                        com.engiweb.pm.dao.db.DAO connDao)
                 throws com.engiweb.toolkit.common.BackendException
        Remove a list of task fomr an entitlement (permission) into an environment
        Parameters:
        blTask - BeanList of TaskBean list of task to remove
        eBean - EntitlementBean the entitlement (mandatory)
        envBean - EnvironmentBean the environment
        connDao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception