org.springframework.roo.addon.surf.site
Class SiteCommands

java.lang.Object
  extended by 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

Constructor Summary
SiteCommands(SiteOperations siteOperations)
           
 
Method Summary
 boolean isSiteOperationAvailable()
          Check availability of site related commands.
 void listSurfSiteRegions(String siteName, String rootPageId)
          Creates a new Surf site configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteCommands

public SiteCommands(SiteOperations siteOperations)
Parameters:
siteOperations -
Method Detail

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.