| java.lang.Object org.apache.struts.chain.commands.generic.WrappingLookupCommand
WrappingLookupCommand | public class WrappingLookupCommand implements Filter(Code) | | Variant on chain LookupCommand which can optionally wrap the context it
passes to the looked up command in an alternative class.
|
WrappingLookupCommand | public WrappingLookupCommand()(Code) | | Zero-argument constructor.
|
execute | public boolean execute(Context context) throws Exception(Code) | | Invoke the Command for a Context, returning TRUE if processing
should halt.
Parameters: context - Our ActionContext TRUE if processing should halt throws: Exception - On any error |
getCatalogName | public String getCatalogName()(Code) | | Return CatalogName property.
Value of CatalogName property. |
getCommand | protected Command getCommand(Context context)(Code) | | Return the Command to process for this Context.
Parameters: context - The Context we are processing The Command to process for this Context |
getName | public String getName()(Code) | | Retrieve Name property.
Value of Name property |
getNameKey | public String getNameKey()(Code) | | Return NameKey property.
Value of NameKey property. |
getWrapperClassName | public String getWrapperClassName()(Code) | | Return the WrapperClass property.
The WrapperClass property |
isOptional | public boolean isOptional()(Code) | | Test Optional property.
TRUE if Optional is TRUE. |
postprocess | public boolean postprocess(Context context, Exception exception)(Code) | | Process the Exception for any Command that is a filter.
Parameters: context - Our ActionContext Parameters: exception - The Exception thrown by another Comamnd in a Chain TRUE if there is a Filter to process |
setCatalogName | public void setCatalogName(String catalogName)(Code) | | Set CatalogName property.
Parameters: catalogName - New value for CatalogName |
setName | public void setName(String name)(Code) | | Set Name property.
Parameters: name - New value for Name |
setNameKey | public void setNameKey(String nameKey)(Code) | | Set NameKey property.
Parameters: nameKey - New value for NameKey |
setOptional | public void setOptional(boolean optional)(Code) | | Set Optional property.
Parameters: optional - New value for Optional |
setWrapperClassName | public void setWrapperClassName(String wrapperClassName)(Code) | | Set WrappClassName property.
Parameters: wrapperClassName - The name of a WrapperClass |
|
|