|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.roo.addon.surf.SurfOperations
public class SurfOperations
Provides Surf related operations.
Constructor Summary | |
---|---|
SurfOperations(org.springframework.roo.process.manager.FileManager fileManager,
org.springframework.roo.project.PathResolver pathResolver,
org.springframework.roo.metadata.MetadataService metadataService,
org.springframework.roo.project.ProjectOperations projectOperations)
|
Method Summary | |
---|---|
void |
addPOMDependenciesFromFile(String filePath)
Injects additional dependencies into Maven's pom.xml file. |
void |
installSurf(String siteName)
Installs Surf. |
void |
installSurfAlfrescoSamples()
Installs Alfresco sample components for Surf. |
void |
installSurfCmisSamples()
Installs CMIS sample components for Surf. |
void |
installSurfGroovy()
Installs Groovy scripting support into the Surf web application. |
void |
installSurfPackage(String packageName)
Installs the Surf package with the given name into the current web application |
void |
installSurfPackageLocal(String packageName,
boolean deleteOnFinish)
Installs a Surf site package from a file path in the current web application. |
void |
installSurfPHP()
Installs PHP template support into the Surf web application. |
void |
installSurfSampleSite()
Installs the default Surf sample site (Roo included) |
void |
installSurfStudio()
Installs Web Studio into the Surf web application. |
boolean |
isInstallSurfAvailable()
Returns whether Surf is installed or not. |
boolean |
isManageSurfAvailable()
Returns whether Surf is available. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SurfOperations(org.springframework.roo.process.manager.FileManager fileManager, org.springframework.roo.project.PathResolver pathResolver, org.springframework.roo.metadata.MetadataService metadataService, org.springframework.roo.project.ProjectOperations projectOperations)
fileManager
- pathResolver
- metadataService
- projectOperations
- Method Detail |
---|
public boolean isInstallSurfAvailable()
public boolean isManageSurfAvailable()
public void installSurf(String siteName)
siteName
- Surf site name. The project name will be used as the default if the site name is not specified.public void installSurfSampleSite()
public void installSurfPackage(String packageName)
packageName
- Package name.public void installSurfPackageLocal(String packageName, boolean deleteOnFinish)
zipFilePath
- the path to the file relative to the web application rootdeleteOnFinish
- whether to delete the file when finishedpublic void installSurfPHP()
public void installSurfGroovy()
public void installSurfStudio()
public void installSurfCmisSamples()
public void installSurfAlfrescoSamples()
public void addPOMDependenciesFromFile(String filePath)
filePath
- Dependency template file name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |