|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.server.app.ComponentURL
Field Summary | |
protected java.lang.Boolean |
authenticated
If it is secure or not. |
protected Mode |
mode
The mode. |
protected Parameters |
parameters
The target parameters. |
protected java.lang.Boolean |
secure
If it is secure or not. |
protected int |
type
The url type. |
static int |
TYPE_ACTION
|
static int |
TYPE_RENDER
|
protected WindowState |
windowState
The window state. |
Constructor Summary | |
ComponentURL(ComponentURL url)
Copy constructor. |
|
ComponentURL(int type,
Mode mode,
WindowState windowState,
Parameters parameters,
java.lang.Boolean secure,
java.lang.Boolean authenticated)
Constructor that fully initialize the state of the url. |
Method Summary | |
java.lang.Boolean |
getAuthenticated()
|
Mode |
getMode()
|
java.lang.String |
getParameter(java.lang.String name)
|
Parameters |
getParameters()
|
java.lang.Boolean |
getSecure()
|
int |
getType()
|
WindowState |
getWindowState()
|
void |
setAuthenticated(java.lang.Boolean authenticated)
|
void |
setMode(Mode mode)
|
void |
setParameter(java.lang.String name,
java.lang.String value)
|
void |
setSecure(java.lang.Boolean secure)
|
void |
setType(int type)
|
void |
setWindowState(WindowState windowState)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int TYPE_ACTION
public static final int TYPE_RENDER
protected int type
protected Mode mode
protected WindowState windowState
protected Parameters parameters
protected java.lang.Boolean secure
protected java.lang.Boolean authenticated
Constructor Detail |
public ComponentURL(int type, Mode mode, WindowState windowState, Parameters parameters, java.lang.Boolean secure, java.lang.Boolean authenticated)
public ComponentURL(ComponentURL url) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- if the url passed in argument is nullMethod Detail |
public int getType()
public void setType(int type)
public Mode getMode()
public void setMode(Mode mode)
public WindowState getWindowState()
public void setWindowState(WindowState windowState)
public java.lang.Boolean getSecure()
public void setSecure(java.lang.Boolean secure)
public java.lang.Boolean getAuthenticated()
public void setAuthenticated(java.lang.Boolean authenticated)
public void setParameter(java.lang.String name, java.lang.String value) throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if the url does not have parameters setpublic java.lang.String getParameter(java.lang.String name) throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if the url does not have parameters setpublic Parameters getParameters()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |