org.springframework.roo.addon.surf.report
Class ReportCommands

java.lang.Object
  extended by org.springframework.roo.addon.surf.report.ReportCommands
All Implemented Interfaces:
org.springframework.roo.shell.CommandMarker

public class ReportCommands
extends Object
implements org.springframework.roo.shell.CommandMarker

Commands for managing Surf reports.

Since:
1.0
Author:
Yong Qu

Constructor Summary
ReportCommands(ReportOperations reportOperations)
           
 
Method Summary
 boolean isPageReportAvailable()
          Check availability of the "surf report page" command.
 String showSurfPageConfig(String pageId)
          Lists detailed configurations of a Surf page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportCommands

public ReportCommands(ReportOperations reportOperations)
Parameters:
reportOperations -
Method Detail

isPageReportAvailable

public boolean isPageReportAvailable()
Check availability of the "surf report page" command.

Returns:
true if the "surf report page" command is available at this moment.

showSurfPageConfig

public String showSurfPageConfig(String pageId)
Lists detailed configurations of a Surf page.

Parameters:
pageId - Page Id.
Returns:
Detailed configurations of the Surf page.


Copyright © 2009 SpringSource, Inc. All Rights Reserved.