com.engiweb.profilemanager.common.interfaces

Interface IConfigurationDirect

  • All Superinterfaces:
    common.direct.IDirect


    public interface IConfigurationDirect
    extends common.direct.IDirect
    The IConfiguration interface allows a client to retrieve and manage all information about configuration objects
    Author:
    CrossIdeas developer group
    • Method Detail

      • find

        ConfigurationBean find(ConfigurationBean configurationBean,
                               com.engiweb.pm.dao.db.DAO dao)
                        throws com.engiweb.toolkit.common.BackendException
        Returns the configurations filtered by a passed ConfigurationBean object
        Parameters:
        configurationBean - ConfigurationBean if null no filter is applied, otherwise the passed object is used as filter
        paging - Paging the paging
        dao - DAO the connection dao
        Returns:
        BeanList of ConfigurationBean
        Throws:
        com.engiweb.toolkit.common.BackendException
      • update

        void update(ConfigurationBean configBean,
                    com.engiweb.pm.dao.db.DAO dao)
             throws com.engiweb.toolkit.common.BackendException
        Updates an existing configuration
        Parameters:
        configBean - ConfigurationBean to update (mandatory).It must be present and uniquely defined.
        dao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException
      • getSelectedUserData

        com.engiweb.pm.entity.BeanList<ExternalMappingBean> getSelectedUserData(ExternalMappingBean externalMappingBean,
                                                                                RepositoryBean repositoryBean,
                                                                                com.engiweb.pm.dao.db.DAO dao)
                                                                         throws com.engiweb.toolkit.common.BackendException
        Returns a list of ExternalMappingBean filtered by a passed RepositoryBean object.
        Parameters:
        externalMappingBean - the external mapping bean
        repositoryBean - RepositoryBean must be present and uniquely defined.
        dao - DAO the connection dao
        Returns:
        BeanList of ExternalMappingBean
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • insertSelectedUserData

        void insertSelectedUserData(com.engiweb.pm.entity.BeanList<ExternalMappingBean> blExternalMapping,
                                    RepositoryBean repositoryBean,
                                    com.engiweb.pm.dao.db.DAO dao)
                             throws com.engiweb.toolkit.common.BackendException
        Adds a list of externalmapping to a repository
        Parameters:
        blExternalMapping - BeanList of ExternalMappingBean to add.
        repositoryBean - RepositoryBean must be present and uniquely defined.
        dao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException
      • modifySelectedUserData

        void modifySelectedUserData(com.engiweb.pm.entity.BeanList<ExternalMappingBean> blExternalMapping,
                                    RepositoryBean repositoryBean,
                                    com.engiweb.pm.dao.db.DAO dao)
                             throws com.engiweb.toolkit.common.BackendException
        Updates a list of externalmapping of a repository
        Parameters:
        blExternalMapping - BeanList of ExternalMappingBean to update. They must be present and uniquely defined.
        repositoryBean - RepositoryBean must be present and uniquely defined.
        dao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException
      • deleteSelectedUserData

        void deleteSelectedUserData(com.engiweb.pm.entity.BeanList<ExternalMappingBean> blExternalMapping,
                                    RepositoryBean repositoryBean,
                                    com.engiweb.pm.dao.db.DAO dao)
                             throws com.engiweb.toolkit.common.BackendException
        Deletes a list of externalmapping froma repository
        Parameters:
        blExternalMapping - BeanList of ExternalMappingBean to remove. They must be present and uniquely defined.
        repositoryBean - RepositoryBean must be present and uniquely defined.
        dao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException
      • updateDashboardJobRecomputation

        void updateDashboardJobRecomputation(java.lang.String eleborationStart,
                                             int elaborationRepeat,
                                             com.engiweb.pm.dao.db.DAO dao)
                                      throws com.engiweb.toolkit.common.BackendException
        Update dashboard job recomputation.
        Parameters:
        eleborationStart - String the eleboration start
        elaborationRepeat - int the elaboration repeat
        dao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • insertRepository

        void insertRepository(com.engiweb.pm.entity.BeanList<PropertyBean> propertyBeanList,
                              RepositoryBean repositoryBean,
                              com.engiweb.pm.dao.db.DAO dao)
                       throws com.engiweb.toolkit.common.BackendException
        Insert repository.
        Parameters:
        propertyBeanList - BeanList of PropertyBean the property bean list
        repositoryBean - RepositoryBeanthe repository bean
        dao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • deleteRepository

        void deleteRepository(RepositoryBean repositoryBean,
                              com.engiweb.pm.dao.db.DAO dao)
                       throws com.engiweb.toolkit.common.BackendException
        Deletes a repository
        Parameters:
        repositoryBean - RepositoryBean must be present and uniquely defined.
        dao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException
      • updateRepository

        void updateRepository(com.engiweb.pm.entity.BeanList<PropertyBean> propertyBean,
                              RepositoryBean repositoryBean,
                              com.engiweb.pm.dao.db.DAO dao)
                       throws com.engiweb.toolkit.common.BackendException
        Updates a list of properties of a repository. If repository doesn't exists il will be created
        Parameters:
        propertyBean - BeanList of PropertyBean to update
        repositoryBean - RepositoryBean must be not null.
        dao - DAO the connection dao
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findRepository

        com.engiweb.pm.entity.BeanList<RepositoryBean> findRepository(RepositoryBean repositoryBean,
                                                                      com.engiweb.pm.entity.Paging paging,
                                                                      com.engiweb.pm.dao.db.DAO dao)
                                                               throws com.engiweb.toolkit.common.BackendException
        Returns all repositories
        Parameters:
        repositoryBean - RepositoryBean if null no filter is applied, otherwise the passed object is used as filter
        dao - DAO the connection dao
        Returns:
        BeanList of RepositoryBean
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findRepositoryAttributes

        com.engiweb.pm.entity.BeanList<PropertyBean> findRepositoryAttributes(RepositoryBean repositoryBean,
                                                                              com.engiweb.pm.entity.Paging paging,
                                                                              com.engiweb.pm.dao.db.DAO dao)
                                                                       throws com.engiweb.toolkit.common.BackendException
        Returns properties of a repository
        Parameters:
        repositoryBean - RepositoryBean must be present and uniquely defined.
        paging - Paging the paging
        dao - DAO the connection dao
        Returns:
        BeanList of PropertyBean
        Throws:
        com.engiweb.toolkit.common.BackendException