org.springframework.roo.addon.web.flow
Interface WebFlowOperations

All Known Implementing Classes:
WebFlowOperationsImpl

public interface WebFlowOperations

Interface for WebFlowOperationsImpl.

Since:
1.0
Author:
Ben Alex

Method Summary
 void installWebFlow(String flowName)
          Installs a new flow in its own directory under /WEB-INF/views.
 boolean isWebFlowInstallationPossible()
           
 

Method Detail

installWebFlow

void installWebFlow(String flowName)
Installs a new flow in its own directory under /WEB-INF/views. For example if the flow name is "main" then all flow artifacts will be in /WEB-INF/views/main. The first time a flow is installed, Web Flow related configuration will also be added. The flow directory is expected to be used exclusively for flow-related artifacts. A new flow will not be created if the flow directory already exists.

Parameters:
flowName - the name of the flow to install
Throws:
IllegalStateException - if the directory for the flow already exists.

isWebFlowInstallationPossible

boolean isWebFlowInstallationPossible()


Copyright © 2009–2015. All rights reserved.