org.springframework.roo.addon.surf.site
Class SiteCommands
java.lang.Object
org.springframework.roo.addon.surf.site.SiteCommands
- All Implemented Interfaces:
- org.springframework.roo.shell.CommandMarker
public class SiteCommands
- extends Object
- implements org.springframework.roo.shell.CommandMarker
Commands for the 'alfresco surf' add-on to be used by the ROO shell.
- Since:
- 1.0
- Author:
- Yong Qu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SiteCommands
public SiteCommands(SiteOperations siteOperations)
- Parameters:
siteOperations
-
isSiteOperationAvailable
public boolean isSiteOperationAvailable()
- Check availability of site related commands.
- Returns:
- true if site related commands are available at this moment.
listSurfSiteRegions
public void listSurfSiteRegions(String siteName,
String rootPageId)
- Creates a new Surf site configuration.
- Parameters:
siteName
- Site name.rootPageId
- Root page id.
Copyright © 2009 SpringSource, Inc. All Rights Reserved.