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

java.lang.Object
  extended by org.springframework.roo.addon.surf.report.ReportOperations

public class ReportOperations
extends Object

Provides Surf report related operations.

Since:
1.0
Author:
Yong Qu

Constructor Summary
ReportOperations(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
 boolean isReportOperationAvailable()
          Checks if a new Surf report can be generated.
 String showSurfPageConfig(String pageId)
          Returns detailed configurations of a specified Surf page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportOperations

public ReportOperations(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)
Parameters:
fileManager -
pathResolver -
metadataService -
projectOperations -
Method Detail

isReportOperationAvailable

public boolean isReportOperationAvailable()
Checks if a new Surf report can be generated.

Returns:
true if a new Surf report can be generated.

showSurfPageConfig

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

Parameters:
pageId - Page Id.
Returns:
Detailed configurations.


Copyright © 2009 SpringSource, Inc. All Rights Reserved.