|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.portlet.GenericURL
com.bea.portlet.PostbackURL
com.bea.portlet.WindowURL
public class WindowURL
The WindowURL
helps portal applications create URLs
to portlet windows, portal pages and books.
GenericURL
Field Summary |
---|
Fields inherited from class com.bea.portlet.GenericURL |
---|
COMMUNITY_ADMIN_FLAG_PARAM, COMMUNITY_DESKTOP, CONTROL_STATE_PARAM, CURRENT_PAGE, domain, DOMAIN, EVENT_NAME_PARAM, httpRequest, httpResponse, httpsDomain, LOADSTATE_PARAM, MODE_PARAM, PAGE_LABEL_PARAM, params, PATH, PORT, PORTLET_SUB_INSTANCE_ID, POSTBACK_PARAM, PREFIX, QUERY_STRING, SCHEME, SECURE_PORT, STATE_PARAM, TREE_OPTIMIZATION_PARAM, URL_COMPRESSION, WINDOW_LABEL_PARAM |
Constructor Summary | |
---|---|
protected |
WindowURL(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
Constructs a WindowURL. |
protected |
WindowURL(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
String windowLabel)
Constructs a WindowURL. |
Method Summary | |
---|---|
Object |
clone()
Returns a deep copy. |
static WindowURL |
createWindowURL(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
Returns a WindowURL from the current portlet. |
static WindowURL |
createWindowURL(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
String windowLabel)
Returns a WindowURL from the specified portlet. |
String |
getWindowLabel()
Returns the window label. |
String |
getWindowMode()
Returns a window mode. |
String |
getWindowState()
Returns the window state. |
void |
setWindowLabel(String windowLabel)
|
void |
setWindowMode(String windowMode)
Sets a portlet window mode. |
void |
setWindowState(String windowState)
Sets window state. |
Methods inherited from class com.bea.portlet.PostbackURL |
---|
createPostbackURL, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected WindowURL(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
Constructs a WindowURL.
httpRequest
- HTTP requesthttpResponse
- HTTP responseprotected WindowURL(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, String windowLabel)
Constructs a WindowURL.
httpRequest
- HTTP requesthttpResponse
- HTTP responsewindowLabel
- window labelMethod Detail |
---|
public static WindowURL createWindowURL(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
Returns a WindowURL from the current portlet.
httpRequest
- HTTP requesthttpResponse
- HTTP response
public static WindowURL createWindowURL(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, String windowLabel)
Returns a WindowURL from the specified portlet.
httpRequest
- HTTP requesthttpResponse
- HTTP responsewindowLabel
- window label
public void setWindowLabel(String windowLabel)
public String getWindowLabel()
Returns the window label.
public void setWindowMode(String windowMode)
Sets a portlet window mode.
windowMode
- window modepublic String getWindowMode()
Returns a window mode.
public void setWindowState(String windowState)
Sets window state.
windowState
- window statepublic String getWindowState()
Returns the window state.
public Object clone()
Returns a deep copy.
clone
in class PostbackURL
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |