Interface IComponentService

All Known Implementing Classes:
ComponentService

public interface IComponentService
IComponentService .
  • Method Details

    • setRemoteInformations

      void setRemoteInformations(Component component, boolean bCache) throws fr.paris.lutece.util.httpaccess.HttpAccessException, IOException
      Sets the remote informations.
      Parameters:
      component - the component
      bCache - the b cache
      Throws:
      fr.paris.lutece.util.httpaccess.HttpAccessException - the http access exception
      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, 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, 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

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

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

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

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

      fr.paris.lutece.portal.web.util.LocalizedPaginator<Component> getSearchComponent(String strSearch, javax.servlet.http.HttpServletRequest request, Locale locale, String strPaginateUrl, 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, String strPom, String stUser, 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, 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:
    • getLastBranchVersion

      Component getLastBranchVersion(Component component, String branchName, ReleaserUser user)