Interface IComponentService

  • All Known Implementing Classes:
    ComponentService

    public interface IComponentService
    IComponentService .
    • Method Detail

      • setRemoteInformations

        void setRemoteInformations​(Component component,
                                   boolean bCache)
                            throws fr.paris.lutece.util.httpaccess.HttpAccessException,
                                   java.io.IOException
        Sets the remote informations.
        Parameters:
        component - the component
        bCache - the b cache
        Throws:
        fr.paris.lutece.util.httpaccess.HttpAccessException - the http access exception
        java.io.IOException - Signals that an I/O exception has occurred.
      • updateRemoteInformations

        void updateRemoteInformations​(Component component)
        Update remote informations.
        Parameters:
        component - the component
      • release

        int release​(Component component,
                    java.util.Locale locale,
                    fr.paris.lutece.portal.business.user.AdminUser user,
                    javax.servlet.http.HttpServletRequest request,
                    boolean forceRelease)
        Release.
        Parameters:
        component - the component
        locale - the locale
        user - the user
        request - the request
        forceRelease - the force release
        Returns:
        context id
      • release

        int release​(Component component,
                    java.util.Locale locale,
                    fr.paris.lutece.portal.business.user.AdminUser user,
                    javax.servlet.http.HttpServletRequest request)
        Release.
        Parameters:
        component - the component
        locale - the locale
        user - the user
        request - the request
        Returns:
        context id
      • isGitComponent

        boolean isGitComponent​(Component component)
        Checks if is git component.
        Parameters:
        component - the component
        Returns:
        boolean
      • getLastReleaseVersion

        java.lang.String getLastReleaseVersion​(java.lang.String strArtifactId)
        Returns the LastAvailableVersion.
        Parameters:
        strArtifactId - the str artifact id
        Returns:
        The LastAvailableVersion
      • setLastReleaseVersion

        void setLastReleaseVersion​(java.lang.String strArtifactId,
                                   java.lang.String strVersion)
        set the LastAvailableVersion set The LastAvailableVersion.
        Parameters:
        strArtifactId - the str artifact id
        strVersion - the str version
      • getLastReleaseNextSnapshotVersion

        java.lang.String getLastReleaseNextSnapshotVersion​(java.lang.String strArtifactId)
        Returns the LastAvailableVersion.
        Parameters:
        strArtifactId - the str artifact id
        Returns:
        The LastAvailableVersion
      • setLastReleaseNextSnapshotVersion

        void setLastReleaseNextSnapshotVersion​(java.lang.String strArtifactId,
                                               java.lang.String strVersion)
        setLastReleaseNextSnapshotVersion.
        Parameters:
        strArtifactId - the str artifact id
        strVersion - the str version
      • getSearchComponent

        fr.paris.lutece.portal.web.util.LocalizedPaginator<Component> getSearchComponent​(java.lang.String strSearch,
                                                                                         javax.servlet.http.HttpServletRequest request,
                                                                                         java.util.Locale locale,
                                                                                         java.lang.String strPaginateUrl,
                                                                                         java.lang.String strCurrentPageIndex)
        Gets the search component.
        Parameters:
        strSearch - the str search
        request - the request
        locale - the locale
        strPaginateUrl - the str paginate url
        strCurrentPageIndex - the str current page index
        Returns:
        local paginator
      • loadComponent

        Component loadComponent​(Component component,
                                java.lang.String strPom,
                                java.lang.String stUser,
                                java.lang.String strPassword)
        Load component.
        Parameters:
        component - the component
        strPom - the str pom
        stUser - the st user
        strPassword - the str password
        Returns:
        component
      • changeNextReleaseVersion

        void changeNextReleaseVersion​(Component component)
        Change next release version.
        Parameters:
        component - component
      • isErrorSnapshotComponentInformations

        boolean isErrorSnapshotComponentInformations​(Component component,
                                                     java.lang.String strComponentPomPath)
        Checks if is error snapshot component informations.
        Parameters:
        component - the component
        strComponentPomPath - the str component pom path
        Returns:
        boolean
      • init

        void init()
        Inits the.
      • getComponentBranchList

        Component getComponentBranchList​(Component component,
                                         RepositoryType repositoryType,
                                         ReleaserUser user)
        Set list of all component branches
        Parameters:
        site - The site
        artifactId - The component artifactId
        user - The user
        Returns: