public class ECActionForward
extends org.apache.struts.action.ActionForward
directinterfaceNameimplClassNameresourceClassNameisStoreViewpropertiesHTTP request query stringdirect is true, the
BaseAction class will not return the ActionForward object to the struts request processor
but will execute the command defined by interfaceName and implClassName instead.
This is used to handle customized HttpForwardViewCommands and HttpRedirectViewCommands,
as well as commands returning an output stream.
The properties property provides a generic way to define other properties for the view.
| Constructor and Description |
|---|
ECActionForward()
This is the default constructor for this class.
|
ECActionForward(java.lang.String path)
This is a constructor for this class with one parameter.
|
ECActionForward(java.lang.String path,
boolean redirect)
This method constructs an
ECActionForward object with specified parameters. |
ECActionForward(java.lang.String name,
java.lang.String path,
boolean redirect)
This method constructs an
ECActionForward object with specified parameters. |
ECActionForward(java.lang.String name,
java.lang.String path,
boolean redirect,
boolean contextRelative)
This method constructs an
ECActionForward object with specified parameters. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCredentialsAccepted()
This method sets the flag that represents the type of
authentication that is required to access the forward.
|
java.util.Map |
getDefaultProperties()
This method gets all the properties associated with this
ActionForward object. |
java.lang.String |
getImplClassName()
This method gets the implementation class name, as specified by the
set-property element
in the struts configuration file. |
java.lang.String |
getInterfaceName()
This method gets the interface name, as specified by the
set-property element
in the struts configuration file. |
java.lang.String |
getProperties()
This method gets the value of the
properties property. |
java.lang.String |
getResourceClassName()
This method gets the resource class name, as specified by the
set-property element
in the struts configuration file. |
java.lang.String |
getStoreDir()
This method gets the store directory.
|
java.lang.Integer |
getStoreId()
This method gets the store id associated with this
ActionForward object. |
boolean |
isDirectView()
This method determines whether this is a direct view.
|
boolean |
isGeneric()
This method determines whether this view can be executed by a generic user.
|
boolean |
isStoreView()
This method determines whether this is a store view.
|
void |
setCredentialsAccepted(java.lang.String credentialsAccepted)
This method sets the flag that determines whether or not a user that
is partially authenticated is allowed to access this
URL. |
void |
setDirect(java.lang.String value)
This method sets the value of the direct view property.
|
void |
setImplClassName(java.lang.String string)
This method sets the implementation class name, as specified by the
set-property element
in the struts configuration file. |
void |
setInterfaceName(java.lang.String string)
This method sets the interface name, as specified by the
set-property element
in the struts configuration file. |
void |
setProperties(java.lang.String value)
This method sets the value of the
properties property, a multi-valued property
similar to a query string. |
void |
setResourceClassName(java.lang.String string)
This method sets the resource class name, as specified by the
set-property element
in the struts configuration file. |
void |
setStoreView(java.lang.String value)
This method sets the value of the store view property.
|
public ECActionForward(java.lang.String name,
java.lang.String path,
boolean redirect)
ECActionForward object with specified parameters.name - The name for this object.path - The path for this object.redirect - A boolean value; true if this is a redirect object and false otherwise.public ECActionForward(java.lang.String name,
java.lang.String path,
boolean redirect,
boolean contextRelative)
ECActionForward object with specified parameters.name - The name for this object.path - The path for this object.redirect - A boolean value; true if this is a redirect object and false otherwise.contextRelative - A boolean value; true if path should be interpreted as context-relative and false otherwise.public ECActionForward(java.lang.String path,
boolean redirect)
ECActionForward object with specified parameters.path - The path for this object.redirect - A boolean value; true if this is a redirect object and false otherwise.public ECActionForward()
ECActionForward object with ActionForward object values.public ECActionForward(java.lang.String path)
ECActionForward object with specified parameters.path - The path for this object.public void setProperties(java.lang.String value)
properties property, a multi-valued property
similar to a query string.
This method extracts each individual name/value pair from value and saves it in a map.value - The new value of the properties property.public java.lang.String getProperties()
properties property.properties property.public java.util.Map getDefaultProperties()
ActionForward object.public void setDirect(java.lang.String value)
value - A boolean value; true means "direct view".public boolean isDirectView()
boolean value; true if it is a direct view and false otherwise.public boolean isGeneric()
boolean value; true if it can be executed by a generic user and false otherwise.public java.lang.String getStoreDir()
public boolean isStoreView()
public java.lang.Integer getStoreId()
ActionForward object.public java.lang.String getImplClassName()
set-property element
in the struts configuration file.public java.lang.String getInterfaceName()
set-property element
in the struts configuration file.public java.lang.String getResourceClassName()
set-property element
in the struts configuration file.public void setImplClassName(java.lang.String string)
set-property element
in the struts configuration file.string - The implementation class name.public void setInterfaceName(java.lang.String string)
set-property element
in the struts configuration file.string - The interface name.public void setResourceClassName(java.lang.String string)
set-property element
in the struts configuration file.string - The resource class name.public java.lang.String getCredentialsAccepted()
This method sets the flag that represents the type of authentication that is required to access the forward.
R or null - The partially authenticated user has no access.P - The partially authenticated user can access the URL.P, a partially authenticated user
is not entitled to access any resource by default.public void setCredentialsAccepted(java.lang.String credentialsAccepted)
URL.
R or null - The partially authenticated user has no access.P - The partially authenticated user can access the URL.P, a partially authenticated user
is not entitled to access any resource by default.credentialsAccepted - The flag that represents the type of
authentication that is required to access the forward.public void setStoreView(java.lang.String value)
value - A boolean value; true for store view and false otherwise.