Class SourceServiceImpl

  • All Implemented Interfaces:
    org.guvnor.ala.ui.service.SourceService

    @ApplicationScoped
    public class SourceServiceImpl
    extends Object
    implements org.guvnor.ala.ui.service.SourceService
    • Constructor Detail

      • SourceServiceImpl

        public SourceServiceImpl()
      • SourceServiceImpl

        @Inject
        public SourceServiceImpl​(org.guvnor.structure.organizationalunit.OrganizationalUnitService organizationalUnitService,
                                 org.guvnor.structure.repositories.RepositoryService repositoryService,
                                 org.guvnor.common.services.project.service.ModuleService<? extends org.guvnor.common.services.project.model.Module> moduleService,
                                 org.uberfire.security.authz.AuthorizationManager authorizationManager,
                                 org.jboss.errai.security.shared.api.identity.User identity)
    • Method Detail

      • getOrganizationUnits

        public Collection<String> getOrganizationUnits()
        Specified by:
        getOrganizationUnits in interface org.guvnor.ala.ui.service.SourceService
      • getRepositories

        public Collection<String> getRepositories​(String organizationalUnit)
        Specified by:
        getRepositories in interface org.guvnor.ala.ui.service.SourceService
      • getBranches

        public Collection<String> getBranches​(org.uberfire.spaces.Space space,
                                              String repositoryName)
        Specified by:
        getBranches in interface org.guvnor.ala.ui.service.SourceService
      • getModules

        public Collection<org.guvnor.common.services.project.model.Module> getModules​(org.uberfire.spaces.Space space,
                                                                                      String repositoryAlias,
                                                                                      String branchName)
        Specified by:
        getModules in interface org.guvnor.ala.ui.service.SourceService