public class ControlledPageTagInfo extends BaseTagInfo
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG_VARIABLE_NAME |
Constructor and Description |
---|
ControlledPageTagInfo(RequestContext requestContext) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConnectionid() |
java.lang.String |
getConnectionId()
Return the connection ID in use by the current page
|
java.lang.String |
getDecodedProperty(java.lang.String propertyid)
Returns the first property value found in the Request properties, then the
Page Properties and finally the Session properties.
|
java.lang.String |
getEncodedProperty(java.lang.String propertyid)
Returns the first property value found in the Request properties, then the
Page Properties and finally the Session properties.
|
java.util.HashMap |
getPageProperties()
NOTE: Legacy method with altered functionality
Return a HashMap containing all request, page and session properties.
|
java.lang.String |
getPageProperty(java.lang.String propertyid)
Return a value from a page property
|
java.util.HashMap |
getProperties()
Return a HashMap containing all request, page and session properties.
|
java.lang.String |
getProperty(java.lang.String propertyid)
Returns the first property value found in the Request properties, then the
Page Properties and finally the Session properties.
|
java.util.HashMap |
getRequestProperties()
NOTE: Legacy method with altered functionality
Return a HashMap containing all request, page and session properties.
|
java.lang.String |
getRequestProperty(java.lang.String propertyid)
Return a value from a request property
|
java.util.HashMap |
getSessionProperties()
NOTE: Legacy method with altered functionality
Return a HashMap containing all request, page and session properties.
|
java.lang.String |
getSessionProperty(java.lang.String propertyid)
Return a value from a session property
|
boolean |
isControlledpage()
Return whether the page is controlled page or not.
|
boolean |
isCopyrequestparameters()
Internal method.
|
boolean |
isPageProperty(java.lang.String propertyid)
Return whether a property is a page property
|
boolean |
isProperty(java.lang.String propertyid)
Return a property is either a request, page or session property.
|
boolean |
isRequestProperty(java.lang.String propertyid)
Return whether a property is a request property
|
boolean |
isSessionProperty(java.lang.String propertyid)
Return whether a property is a session property
|
void |
resetPageProperties()
Clear all page properties
|
void |
resetProperties()
Clear all request, context, page, and session properties
|
void |
resetRequestProperties()
Clear all request properties
|
void |
resetSessionProperties()
Clear all session properties
|
void |
setConnectionid(java.lang.String connectionid)
Internal method.
|
void |
setControlledpage(boolean controlledpage)
Internal method.
|
void |
setCopyrequestparameters(boolean copy)
Internal method.
|
void |
setPageProperty(java.lang.String propertyid,
java.lang.String propertyvalue)
Set a value for a page property.
|
void |
setRequestProperty(java.lang.String propertyid,
java.lang.String propertyvalue)
Set a value for a request property.
|
void |
setSessionProperty(java.lang.String propertyid,
java.lang.String propertyvalue)
Internal method.
|
getErrorCodes, getErrorStack, getLastError, setErrorStack
public static final java.lang.String TAG_VARIABLE_NAME
public ControlledPageTagInfo(RequestContext requestContext)
public boolean isCopyrequestparameters()
public void setCopyrequestparameters(boolean copy)
public void setConnectionid(java.lang.String connectionid)
public java.lang.String getConnectionId()
public java.lang.String getConnectionid()
public void setControlledpage(boolean controlledpage)
public boolean isControlledpage()
public void setRequestProperty(java.lang.String propertyid, java.lang.String propertyvalue)
propertyid
- the propertyid to setpropertyvalue
- the property valuepublic void setPageProperty(java.lang.String propertyid, java.lang.String propertyvalue)
propertyid
- the page propertyidpropertyvalue
- the property valuepublic void setSessionProperty(java.lang.String propertyid, java.lang.String propertyvalue)
public java.lang.String getProperty(java.lang.String propertyid)
propertyid
- the propertyid to look forpublic java.lang.String getEncodedProperty(java.lang.String propertyid)
propertyid
- the propertyid to look forpublic java.lang.String getDecodedProperty(java.lang.String propertyid)
propertyid
- the propertyid to look forpublic java.lang.String getRequestProperty(java.lang.String propertyid)
propertyid
- the propertyid to look forpublic java.lang.String getPageProperty(java.lang.String propertyid)
propertyid
- the propertyid to look forpublic java.lang.String getSessionProperty(java.lang.String propertyid)
propertyid
- the propertyid to look forpublic boolean isProperty(java.lang.String propertyid)
propertyid
- the propertyid to look forpublic boolean isRequestProperty(java.lang.String propertyid)
propertyid
- the propertyid to look forpublic boolean isPageProperty(java.lang.String propertyid)
propertyid
- the propertyid to look forpublic boolean isSessionProperty(java.lang.String propertyid)
propertyid
- the propertyid to look forpublic java.util.HashMap getProperties()
public java.util.HashMap getRequestProperties()
public java.util.HashMap getPageProperties()
public java.util.HashMap getSessionProperties()
public void resetProperties()
public void resetRequestProperties()
public void resetPageProperties()
public void resetSessionProperties()