Guvnor - Asset Management Backend 6.2.0.CR3

org.guvnor.asset.management.backend.service
Class RepositoryStructureServiceImpl

java.lang.Object
  extended by org.guvnor.asset.management.backend.service.RepositoryStructureServiceImpl
All Implemented Interfaces:
RepositoryStructureService

@ApplicationScoped
public class RepositoryStructureServiceImpl
extends Object
implements RepositoryStructureService


Constructor Summary
RepositoryStructureServiceImpl()
           
 
Method Summary
 org.uberfire.backend.vfs.Path convertToMultiProjectStructure(List<Project> projects, GAV parentGav, Repository repo, boolean updateChildrenGav, String comment)
           
 void delete(org.uberfire.backend.vfs.Path pathToPomXML, String comment)
           
 Repository initRepository(Repository repo, boolean managed)
           
 org.uberfire.backend.vfs.Path initRepositoryStructure(GAV gav, Repository repo)
           
 org.uberfire.backend.vfs.Path initRepositoryStructure(POM pom, String baseUrl, Repository repo, boolean multiProject)
           
 boolean isValidArtifactId(String artifactId)
           
 boolean isValidGroupId(String groupId)
           
 boolean isValidProjectName(String name)
           
 boolean isValidVersion(String version)
           
 RepositoryStructureModel load(Repository repository)
           
 RepositoryStructureModel load(Repository repository, boolean includeModules)
           
 void save(org.uberfire.backend.vfs.Path pathToPomXML, RepositoryStructureModel model, String comment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryStructureServiceImpl

public RepositoryStructureServiceImpl()
Method Detail

initRepositoryStructure

public org.uberfire.backend.vfs.Path initRepositoryStructure(GAV gav,
                                                             Repository repo)
Specified by:
initRepositoryStructure in interface RepositoryStructureService

initRepositoryStructure

public org.uberfire.backend.vfs.Path initRepositoryStructure(POM pom,
                                                             String baseUrl,
                                                             Repository repo,
                                                             boolean multiProject)
Specified by:
initRepositoryStructure in interface RepositoryStructureService

initRepository

public Repository initRepository(Repository repo,
                                 boolean managed)
Specified by:
initRepository in interface RepositoryStructureService

convertToMultiProjectStructure

public org.uberfire.backend.vfs.Path convertToMultiProjectStructure(List<Project> projects,
                                                                    GAV parentGav,
                                                                    Repository repo,
                                                                    boolean updateChildrenGav,
                                                                    String comment)
Specified by:
convertToMultiProjectStructure in interface RepositoryStructureService

load

public RepositoryStructureModel load(Repository repository)
Specified by:
load in interface RepositoryStructureService

load

public RepositoryStructureModel load(Repository repository,
                                     boolean includeModules)
Specified by:
load in interface RepositoryStructureService

save

public void save(org.uberfire.backend.vfs.Path pathToPomXML,
                 RepositoryStructureModel model,
                 String comment)
Specified by:
save in interface RepositoryStructureService

isValidProjectName

public boolean isValidProjectName(String name)
Specified by:
isValidProjectName in interface RepositoryStructureService

isValidGroupId

public boolean isValidGroupId(String groupId)
Specified by:
isValidGroupId in interface RepositoryStructureService

isValidArtifactId

public boolean isValidArtifactId(String artifactId)
Specified by:
isValidArtifactId in interface RepositoryStructureService

isValidVersion

public boolean isValidVersion(String version)
Specified by:
isValidVersion in interface RepositoryStructureService

delete

public void delete(org.uberfire.backend.vfs.Path pathToPomXML,
                   String comment)
Specified by:
delete in interface RepositoryStructureService

Guvnor - Asset Management Backend 6.2.0.CR3

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.