|
Guvnor - Project API 6.0.1.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProjectService
| Method Summary | |
|---|---|
void |
addRole(Project project,
String role)
Add a role to a project; limiting access to users with the role |
void |
copy(org.uberfire.backend.vfs.Path pathToPomXML,
String newName,
String comment)
|
void |
delete(org.uberfire.backend.vfs.Path pathToPomXML,
String comment)
|
boolean |
isKModule(org.uberfire.backend.vfs.Path resource)
Return true if the file is the Project's kmodule.xml file |
boolean |
isPom(org.uberfire.backend.vfs.Path resource)
Return true if the file is the Project's pom.xml file |
WorkingSetSettings |
loadWorkingSetConfig(org.uberfire.backend.vfs.Path project)
|
Package |
newPackage(Package pkg,
String packageName)
Creates a new package as a child of the provide package. |
Project |
newProject(org.uberfire.backend.repositories.Repository repository,
String name,
POM pom,
String baseURL)
Creates a new project to the given path. |
void |
removeRole(Project project,
String role)
Remove a role from a project |
org.uberfire.backend.vfs.Path |
rename(org.uberfire.backend.vfs.Path pathToPomXML,
String newName,
String comment)
|
Package |
resolveDefaultPackage(Project project)
|
Package |
resolvePackage(org.uberfire.backend.vfs.Path resource)
Given a Resource path resolve it to the containing Package Path. |
Set<Package> |
resolvePackages(Package pkg)
|
Set<Package> |
resolvePackages(Project project)
Given a Project resolves the calculation of all the packages for this project. |
Package |
resolveParentPackage(Package pkg)
|
Project |
resolveProject(org.uberfire.backend.vfs.Path resource)
Given a Resource path resolve it to the containing Project Path. |
| Methods inherited from interface org.guvnor.common.services.shared.file.SupportsRead |
|---|
load |
| Methods inherited from interface org.guvnor.common.services.shared.file.SupportsUpdate |
|---|
save |
| Method Detail |
|---|
WorkingSetSettings loadWorkingSetConfig(org.uberfire.backend.vfs.Path project)
Project resolveProject(org.uberfire.backend.vfs.Path resource)
resource -
Package resolvePackage(org.uberfire.backend.vfs.Path resource)
resource -
Set<Package> resolvePackages(Project project)
project -
Set<Package> resolvePackages(Package pkg)
Package resolveDefaultPackage(Project project)
Package resolveParentPackage(Package pkg)
boolean isPom(org.uberfire.backend.vfs.Path resource)
resource -
boolean isKModule(org.uberfire.backend.vfs.Path resource)
resource -
Project newProject(org.uberfire.backend.repositories.Repository repository,
String name,
POM pom,
String baseURL)
repository - name - pom - baseURL - the base URL where the Guvnor is hosted in web container
Package newPackage(Package pkg,
String packageName)
pkg - packageName -
void addRole(Project project,
String role)
project - The Projectrole - The required role
void removeRole(Project project,
String role)
project - The Projectrole - The role
org.uberfire.backend.vfs.Path rename(org.uberfire.backend.vfs.Path pathToPomXML,
String newName,
String comment)
void delete(org.uberfire.backend.vfs.Path pathToPomXML,
String comment)
void copy(org.uberfire.backend.vfs.Path pathToPomXML,
String newName,
String comment)
|
Guvnor - Project API 6.0.1.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||