com.logabit.webtools.patchwork
Interface PatchworkManager

All Known Implementing Classes:
PatchworkManagerImpl

public interface PatchworkManager

Represents a patchwork manager. In general the patchwork manager is responsible for resolving a given layout name.

Author:
Stephan Niedermeier

Field Summary
static java.lang.String ROLE
           
 
Method Summary
 java.lang.String getDefaultPatchworkConfigPath()
           
 java.lang.String getDefaultRequestAttrName()
           
 PatchworkLayout getLayout(java.lang.String layoutName)
          Loads the layout specified using the attribut name from the specified patchwork configuration.
 

Field Detail

ROLE

static final java.lang.String ROLE
Method Detail

getLayout

PatchworkLayout getLayout(java.lang.String layoutName)
                          throws PatchworkManagerException,
                                 PatchworkConfigurationException
Loads the layout specified using the attribut name from the specified patchwork configuration.

Parameters:
name - - The name of the layout to load.
Returns:
The current layout.
Throws:
PatchworkConfigurationException
PatchworkManagerException
PatchworkConfigurationException

getDefaultRequestAttrName

java.lang.String getDefaultRequestAttrName()
Returns:
The default request attribute name.

getDefaultPatchworkConfigPath

java.lang.String getDefaultPatchworkConfigPath()
Returns:
The default patchwork config path.


Copyright © 2007. All Rights Reserved.