Class SourceServiceImpl
- java.lang.Object
-
- org.guvnor.ala.ui.backend.service.SourceServiceImpl
-
- All Implemented Interfaces:
org.guvnor.ala.ui.service.SourceService
@ApplicationScoped public class SourceServiceImpl extends Object implements org.guvnor.ala.ui.service.SourceService
-
-
Constructor Summary
Constructors Constructor Description SourceServiceImpl()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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>getBranches(org.uberfire.spaces.Space space, String repositoryName)Collection<org.guvnor.common.services.project.model.Module>getModules(org.uberfire.spaces.Space space, String repositoryAlias, String branchName)Collection<String>getOrganizationUnits()Collection<String>getRepositories(String organizationalUnit)
-
-
-
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:
getOrganizationUnitsin interfaceorg.guvnor.ala.ui.service.SourceService
-
getRepositories
public Collection<String> getRepositories(String organizationalUnit)
- Specified by:
getRepositoriesin interfaceorg.guvnor.ala.ui.service.SourceService
-
getBranches
public Collection<String> getBranches(org.uberfire.spaces.Space space, String repositoryName)
- Specified by:
getBranchesin interfaceorg.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:
getModulesin interfaceorg.guvnor.ala.ui.service.SourceService
-
-