|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.context.FacesContext
org.edorasframework.extfaces.context.ExtFacesContext
org.edorasframework.portletfaces.context.PortletFacesContext
org.edorasframework.portletfaces.context.impl.PortletFacesContextImpl
public class PortletFacesContextImpl
This class is the default implementation of the PortletFacesContext.
| Field Summary |
|---|
| Fields inherited from class org.edorasframework.extfaces.context.ExtFacesContext |
|---|
JAVAX_FACES_UPLOADED_FILES_MAP |
| Constructor Summary | |
|---|---|
PortletFacesContextImpl()
|
|
| Method Summary | |
|---|---|
void |
addComponentErrorMessage(String clientId,
String key)
|
void |
addComponentErrorMessage(String clientId,
String key,
Object... arguments)
|
void |
addComponentErrorMessage(String clientId,
String key,
Object argument)
|
void |
addComponentInfoMessage(String clientId,
String key)
|
void |
addComponentInfoMessage(String clientId,
String key,
Object... arguments)
|
void |
addComponentInfoMessage(String clientId,
String key,
Object argument)
|
void |
addGlobalErrorMessage(String key)
|
void |
addGlobalErrorMessage(String key,
Object... arguments)
|
void |
addGlobalErrorMessage(String key,
Object argument)
|
void |
addGlobalInfoMessage(String key)
|
void |
addGlobalInfoMessage(String key,
Object... arguments)
|
void |
addGlobalInfoMessage(String key,
Object argument)
|
void |
addGlobalSuccessInfoMessage()
Adds a global information message to the current FacesContext with the standard Liferay "your-request-processed-successfully" key as the messageId. |
void |
addGlobalUnexpectedErrorMessage()
Adds a global error message to the current FacesContext with the standard Liferay "an-unexpected-error-occurred" key as the messageId. |
void |
addMessage(String clientId,
javax.faces.application.FacesMessage.Severity severity,
String key)
|
void |
addMessage(String clientId,
javax.faces.application.FacesMessage.Severity severity,
String key,
Object... arguments)
|
void |
addMessage(String clientId,
javax.faces.application.FacesMessage.Severity severity,
String key,
Object argument)
|
void |
addMessage(String clientId,
javax.faces.application.FacesMessage facesMessage)
|
void |
checkUserPortletPermission(String actionId)
Checks to see if the current user has permission to execute the specified actionId (which, in turn, is assumed to be an action defined for the current portlet). |
javax.portlet.PortletURL |
createActionURL()
Retrieves a render URL for the current facesContext. |
javax.portlet.PortletURL |
createPopupUrl(String viewId)
Creates a URL capable of displaying a specified view Id in "Popup" mode. |
javax.portlet.PortletURL |
createRenderURL()
Retrieves a render URL for the current facesContext. |
javax.portlet.ActionResponse |
getActionResponse()
Retrieves the javax.portlet.ActionResponse object associated with the current JSF FacesContext. |
javax.faces.application.Application |
getApplication()
|
Iterator<String> |
getClientIdsWithMessages()
|
long |
getCompanyId()
Returns the company Id associated with the community that is hosting the portlet associated with the current JSF FacesContext. |
String |
getDocumentLibraryURL()
Returns an absolute URL to the Liferay document library, which is the main part of different struts action paths. |
javax.el.ELContext |
getELContext()
|
javax.faces.context.ExternalContext |
getExternalContext()
|
org.edorasframework.extfaces.context.ExtFacesContext |
getExtFacesContext()
|
javax.faces.context.FacesContext |
getFacesContext()
Returns the current facesContext. |
com.liferay.portal.model.User |
getGroupUser()
Returns the user associated with the group (Liferay community) associated with the layout (portal page) that the portlet resides on. |
long |
getHostGroupId()
Returns the "group Id" associated with the community that is hosting the portlet associated with the current JSF FacesContext. |
String |
getImageGalleryURL()
Returns an absolute URL to the Liferay image gallery, which is the main part of different struts action paths. |
com.liferay.portal.model.Layout |
getLayout()
Returns the layout being displayed in the current context. |
protected Liferay |
getLiferayManagedBean()
|
org.edorasframework.liferayadapter.ServiceMap |
getLiferayServiceMap()
Returns a Map of Liferay Services. |
Locale |
getLocale()
|
javax.faces.application.FacesMessage.Severity |
getMaximumSeverity()
|
String |
getMessage(Locale locale,
String messageId)
|
String |
getMessage(Locale locale,
String messageId,
Object... arguments)
|
String |
getMessage(long companyId,
Locale locale,
String messageId)
Returns the message associated with the specified messageId by delegating to the FacesMessageFactory, according to the specified Liferay companyId and specified locale. |
String |
getMessage(long companyId,
Locale locale,
String messageId,
Object... arguments)
Returns the message associated with the specified messageId by delegating to the FacesMessageFactory, according to the specified Liferay companyId, and specified locale and arguments that are to be substituted. |
String |
getMessage(String messageId)
|
String |
getMessage(String messageId,
Object... arguments)
|
Iterator<javax.faces.application.FacesMessage> |
getMessages()
|
Iterator<javax.faces.application.FacesMessage> |
getMessages(String clientId)
|
javax.faces.component.UIForm |
getParentForm(javax.faces.component.UIComponent uiComponent)
|
org.edorasframework.liferayadapter.PermissionCheckerWrapper |
getPermissionChecker()
Returns the Liferay PermissionChecker associated with the request. |
long |
getPlid()
Returns the "Plid" (the "portal layout id"), which is the identifier of the specific "page" the portlet exists on. |
javax.portlet.PortalContext |
getPortalContext()
Retrieves the javax.portlet.PortalContext object associated with the current JSF FacesContext. |
String |
getPortalURL()
Returns an absolute URL which is the context-path of the portal webapp. |
com.liferay.portal.model.Portlet |
getPortlet()
Returns the com.liferay.portal.model.Portlet object for the portlet associated with the current
request. |
javax.portlet.PortletConfig |
getPortletConfig()
Retrieves the javax.portlet.PortletConfig object associated with the current JSF FacesContext. |
javax.portlet.PortletContext |
getPortletContext()
Retrieves the javax.portlet.PortletContext object associated with the current JSF FacesContext. |
String |
getPortletContextName()
Retrieves the name of the portlet associated with the current JSF FacesContext (usually, its the name of the portlet .war) |
String |
getPortletInstanceId()
Returns the "portlet instance Id" of the currently running portlet. |
String |
getPortletName()
Retrieves the name of the portlet associated with the current JSF FacesContext (as defined in portlet.xml's <portlet-name> tag). |
String |
getPortletNamespace()
Returns a namespace prefix to be used for the portlet associated with the current JSF FacesContext instance. |
Object |
getPortletPreference(String preferenceName,
Object defaultValue)
Returns String representation of the value of the portlet preference associated with the specified name in from the javax.portlet.PortletPreferences object associated with the current JSF FacesContext. |
boolean |
getPortletPreferenceAsBool(String preferenceName,
boolean defaultValue)
Returns boolean representation of the value of the portlet preference associated with the specified name in from the PortletPreferenceMap object associated with the current JSF FacesContext. |
int |
getPortletPreferenceAsInt(String preferenceName,
int defaultValue)
Returns integer representation of the value of the portlet preference associated with the specified name in from the PortletPreferenceMap object associated with the current JSF FacesContext. |
short |
getPortletPreferenceAsShort(String preferenceName,
short defaultValue)
Returns short representation of the value of the portlet preference associated with the specified name in from the PortletPreferenceMap object associated with the current JSF FacesContext. |
String |
getPortletPreferenceAsString(String preferenceName,
String defaultValue)
Returns short representation of the value of the portlet preference associated with the specified name in from the PortletPreferenceMap object associated with the current JSF FacesContext. |
PortletPreferenceMap |
getPortletPreferenceMap()
Returns the PortletPreferenceMap associated with the current JSF FacesContext. |
javax.portlet.PortletPreferences |
getPortletPreferences()
Retrieves the javax.portlet.PortletPreferences object associated with the current JSF FacesContext. |
javax.portlet.RenderRequest |
getPortletRenderRequest()
Retrieves the javax.portlet.RenderRequest object associated with the current JSF FacesContext. |
javax.portlet.RenderResponse |
getPortletRenderResponse()
Retrieves the javax.portlet.RenderResponse object associated with the current JSF FacesContext. |
javax.portlet.PortletRequest |
getPortletRequest()
Retrieves the javax.portlet.PortletRequest object associated with the current JSF FacesContext. |
javax.portlet.PortletResponse |
getPortletResponse()
Retrieves the javax.portlet.PortletResponse object associated with the current JSF FacesContext. |
String |
getPortletRootId()
Returns the "portlet root Id" of the currently running portlet. |
javax.portlet.PortletSession |
getPortletSession()
Retrieves the javax.portlet.PortletSession object associated with the current JSF FacesContext. |
String |
getRemoteUser()
Returns the user name/id of the user associated with the current JSF FacesContext |
javax.faces.render.RenderKit |
getRenderKit()
|
boolean |
getRenderResponse()
|
Object |
getRequestAttribute(String name)
|
String |
getRequestContextPath()
|
String |
getRequestParameter(String name)
|
boolean |
getRequestParameterAsBool(String name,
boolean defaultValue)
|
int |
getRequestParameterAsInt(String name,
int defaultValue)
|
long |
getRequestParameterAsLong(String name,
long defaultValue)
|
String |
getRequestParameterFromMap(String name)
|
String |
getRequestQueryString()
|
String |
getRequestQueryStringParameter(String name)
|
boolean |
getResponseComplete()
|
javax.faces.context.ResponseStream |
getResponseStream()
|
javax.faces.context.ResponseWriter |
getResponseWriter()
|
org.edorasframework.liferayadapter.ServiceContext |
getServiceContext(String className)
Returns an instance of a ServiceContext associated with the specified className. |
Object |
getSession(boolean create)
|
Object |
getSessionAttribute(String name)
|
Object |
getSessionSharedAttribute(String name)
Returns the value of the session attribute associated with the specified name from PortletSession.APPLICATION_SCOPE |
com.liferay.portal.model.Theme |
getTheme()
Returns the theme being displayed in the current context. |
org.edorasframework.liferayadapter.ThemeDisplayClone |
getThemeDisplay()
Returns the com.liferay.portal.theme.ThemeDisplay object, which contains a variety methods for
rendering theme specific look and feels. |
String |
getThemeImagesURL()
Returns an absolute URL which is the path to the images of the theme associated with the current Layout. |
Map<String,File> |
getUploadedFilesMap()
|
com.liferay.portal.model.User |
getUser()
Returns the user record of the user associated with the current JSF FacesContext. |
long |
getUserId()
Returns the user Id of the user associated with the current JSF FacesContext |
List<com.liferay.portal.model.Role> |
getUserRoles()
Returns a list of all of the roles played by the user associated with the current JSF FacesContext. |
javax.faces.component.UIViewRoot |
getViewRoot()
|
javax.portlet.WindowState |
getWindowState()
Returns the window state of the portlet associated with the current JSF FacesContext |
boolean |
isUserInRole(String roleName)
Returns TRUE if the current user is associated with the specified role. |
boolean |
isWindowMaximized()
Returns TRUE if the Window state of the current portlet is set to MAXIMIZED |
boolean |
isWindowNormal()
Returns TRUE if the Window state of the current portlet is set to MAXIMIZED |
javax.faces.component.UIComponent |
matchComponentInHierarchy(javax.faces.component.UIComponent parent,
String partialClientId)
|
javax.faces.component.UIComponent |
matchComponentInViewRoot(String partialClientId)
|
void |
navigate(String fromAction,
String outcome)
|
void |
navigateTo(String outcome)
|
void |
postLifecycleCleanup()
Performs cleanup operations that are intended to be performed after the JSF lifecycle executes. |
void |
recreateComponentTree()
|
void |
registerPhaseListener(javax.faces.event.PhaseListener phaseListener)
|
void |
release()
|
void |
removeChildrenFromComponentTree(String clientId)
|
void |
removeMessages(String clientId)
|
void |
removeMessagesForImmediateComponents()
|
void |
removeMessagesForImmediateComponents(javax.faces.component.UIComponent uiComponent)
|
void |
removeParentFormFromComponentTree(javax.faces.component.UIComponent uiComponent)
|
void |
renderResponse()
|
void |
resetView()
|
void |
resetView(boolean renderResponse)
|
Object |
resolveExpression(String elExpression)
|
void |
responseComplete()
|
void |
setExtFacesContext(org.edorasframework.extfaces.context.ExtFacesContext extFacesContext)
|
void |
setPortletMode(javax.portlet.PortletMode portletMode)
Sets the portlet mode of the portlet associated with the current JSF FacesContext to the specified portlet mode. |
void |
setRequestAttribute(String name,
Object value)
|
void |
setResponseStream(javax.faces.context.ResponseStream responseStream)
|
void |
setResponseWriter(javax.faces.context.ResponseWriter responseWriter)
|
void |
setSessionAttribute(String name,
Object value)
|
void |
setSessionSharedAttribute(String name,
Object value)
Sets the value of the a session attribute using the specified name and value within PortletSession.APPLICATION_SCOPE |
void |
setViewRoot(javax.faces.component.UIViewRoot viewRoot)
|
void |
setWindowState(javax.portlet.WindowState windowState)
Sets the window state of the portlet associated with the current JSF FacesContext to the specified window state. |
void |
setWindowStateToMaximized()
A short-cut method for calling setWindowState(WindowState.MAXIMIZED) |
void |
setWindowStateToNormal()
A short-cut method for calling setWindowState(WindowState.NORMAL) |
boolean |
userHasPortletPermission(String actionId)
Returns TRUE if the current user has permission to execute the specified actionId (which, in turn, is assumed to be an action defined for the current portlet). |
boolean |
userHasRole(String roleName)
Returns TRUE if the current user has the specified role name. |
| Methods inherited from class org.edorasframework.portletfaces.context.PortletFacesContext |
|---|
getInstance, setInstance |
| Methods inherited from class org.edorasframework.extfaces.context.ExtFacesContext |
|---|
setInstance |
| Methods inherited from class javax.faces.context.FacesContext |
|---|
getCurrentInstance, setCurrentInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortletFacesContextImpl()
| Method Detail |
|---|
public void addGlobalUnexpectedErrorMessage()
PortletFacesContext
addGlobalUnexpectedErrorMessage in class PortletFacesContextpublic void addGlobalSuccessInfoMessage()
PortletFacesContext
addGlobalSuccessInfoMessage in class PortletFacesContextpublic void addGlobalErrorMessage(String key)
addGlobalErrorMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public void addGlobalErrorMessage(String key,
Object argument)
addGlobalErrorMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public void addGlobalErrorMessage(String key,
Object... arguments)
addGlobalErrorMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public void addComponentErrorMessage(String clientId,
String key)
addComponentErrorMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public void addComponentErrorMessage(String clientId,
String key,
Object argument)
addComponentErrorMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public void addComponentErrorMessage(String clientId,
String key,
Object... arguments)
addComponentErrorMessage in class org.edorasframework.extfaces.context.ExtFacesContextpublic void addGlobalInfoMessage(String key)
addGlobalInfoMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public void addGlobalInfoMessage(String key,
Object argument)
addGlobalInfoMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public void addGlobalInfoMessage(String key,
Object... arguments)
addGlobalInfoMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public void addComponentInfoMessage(String clientId,
String key)
addComponentInfoMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public void addComponentInfoMessage(String clientId,
String key,
Object argument)
addComponentInfoMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public void addComponentInfoMessage(String clientId,
String key,
Object... arguments)
addComponentInfoMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public void addMessage(String clientId,
javax.faces.application.FacesMessage facesMessage)
addMessage in class javax.faces.context.FacesContext
public void addMessage(String clientId,
javax.faces.application.FacesMessage.Severity severity,
String key)
addMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public void addMessage(String clientId,
javax.faces.application.FacesMessage.Severity severity,
String key,
Object argument)
addMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public void addMessage(String clientId,
javax.faces.application.FacesMessage.Severity severity,
String key,
Object... arguments)
addMessage in class org.edorasframework.extfaces.context.ExtFacesContextpublic javax.portlet.PortletURL createActionURL()
PortletFacesContext
createActionURL in class PortletFacesContextpublic javax.portlet.PortletURL createRenderURL()
PortletFacesContext
createRenderURL in class PortletFacesContextpublic javax.faces.component.UIComponent matchComponentInViewRoot(String partialClientId)
matchComponentInViewRoot in class org.edorasframework.extfaces.context.ExtFacesContext
public javax.faces.component.UIComponent matchComponentInHierarchy(javax.faces.component.UIComponent parent,
String partialClientId)
matchComponentInHierarchy in class org.edorasframework.extfaces.context.ExtFacesContext
public void navigate(String fromAction,
String outcome)
navigate in class org.edorasframework.extfaces.context.ExtFacesContextpublic void navigateTo(String outcome)
navigateTo in class org.edorasframework.extfaces.context.ExtFacesContextpublic void recreateComponentTree()
recreateComponentTree in class org.edorasframework.extfaces.context.ExtFacesContextpublic void registerPhaseListener(javax.faces.event.PhaseListener phaseListener)
registerPhaseListener in class org.edorasframework.extfaces.context.ExtFacesContextpublic void release()
release in class javax.faces.context.FacesContextpublic void removeChildrenFromComponentTree(String clientId)
removeChildrenFromComponentTree in class org.edorasframework.extfaces.context.ExtFacesContextpublic void removeMessages(String clientId)
removeMessages in class org.edorasframework.extfaces.context.ExtFacesContextpublic void removeMessagesForImmediateComponents()
removeMessagesForImmediateComponents in class org.edorasframework.extfaces.context.ExtFacesContextpublic void removeMessagesForImmediateComponents(javax.faces.component.UIComponent uiComponent)
removeMessagesForImmediateComponents in class org.edorasframework.extfaces.context.ExtFacesContextpublic void removeParentFormFromComponentTree(javax.faces.component.UIComponent uiComponent)
removeParentFormFromComponentTree in class org.edorasframework.extfaces.context.ExtFacesContextpublic void renderResponse()
renderResponse in class javax.faces.context.FacesContextpublic void resetView()
resetView in class org.edorasframework.extfaces.context.ExtFacesContextpublic void resetView(boolean renderResponse)
resetView in class org.edorasframework.extfaces.context.ExtFacesContextpublic void responseComplete()
responseComplete in class javax.faces.context.FacesContextpublic javax.portlet.ActionResponse getActionResponse()
PortletFacesContextjavax.portlet.ActionResponse object associated with the current JSF FacesContext.
getActionResponse in class PortletFacesContextpublic javax.faces.application.Application getApplication()
getApplication in class javax.faces.context.FacesContextpublic Iterator<String> getClientIdsWithMessages()
getClientIdsWithMessages in class javax.faces.context.FacesContextpublic javax.faces.context.ExternalContext getExternalContext()
getExternalContext in class javax.faces.context.FacesContextpublic org.edorasframework.extfaces.context.ExtFacesContext getExtFacesContext()
getExtFacesContext in class PortletFacesContextpublic void setExtFacesContext(org.edorasframework.extfaces.context.ExtFacesContext extFacesContext)
public javax.faces.context.FacesContext getFacesContext()
PortletFacesContext
getFacesContext in class PortletFacesContextpublic javax.el.ELContext getELContext()
getELContext in class javax.faces.context.FacesContextpublic Locale getLocale()
getLocale in class org.edorasframework.extfaces.context.ExtFacesContextpublic javax.faces.application.FacesMessage.Severity getMaximumSeverity()
getMaximumSeverity in class javax.faces.context.FacesContextpublic String getMessage(String messageId)
getMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public String getMessage(String messageId,
Object... arguments)
getMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public String getMessage(Locale locale,
String messageId)
getMessage in class org.edorasframework.extfaces.context.ExtFacesContext
public String getMessage(Locale locale,
String messageId,
Object... arguments)
getMessage in class org.edorasframework.extfaces.context.ExtFacesContextpublic Iterator<javax.faces.application.FacesMessage> getMessages()
getMessages in class javax.faces.context.FacesContextpublic Iterator<javax.faces.application.FacesMessage> getMessages(String clientId)
getMessages in class javax.faces.context.FacesContextpublic javax.faces.component.UIForm getParentForm(javax.faces.component.UIComponent uiComponent)
getParentForm in class org.edorasframework.extfaces.context.ExtFacesContextpublic javax.portlet.PortalContext getPortalContext()
PortletFacesContextjavax.portlet.PortalContext object associated with the current JSF FacesContext.
getPortalContext in class PortletFacesContextpublic javax.portlet.PortletConfig getPortletConfig()
PortletFacesContextjavax.portlet.PortletConfig object associated with the current JSF FacesContext.
getPortletConfig in class PortletFacesContextpublic javax.portlet.PortletContext getPortletContext()
PortletFacesContextjavax.portlet.PortletContext object associated with the current JSF FacesContext.
getPortletContext in class PortletFacesContextpublic String getPortletContextName()
PortletFacesContext
getPortletContextName in class PortletFacesContextpublic void setPortletMode(javax.portlet.PortletMode portletMode)
PortletFacesContext
setPortletMode in class PortletFacesContextpublic String getPortletName()
PortletFacesContext
getPortletName in class PortletFacesContextpublic String getPortletNamespace()
PortletFacesContext
getPortletNamespace in class PortletFacesContext
public Object getPortletPreference(String preferenceName,
Object defaultValue)
PortletFacesContextjavax.portlet.PortletPreferences object associated with the current JSF FacesContext.
getPortletPreference in class PortletFacesContext
public boolean getPortletPreferenceAsBool(String preferenceName,
boolean defaultValue)
PortletFacesContext
getPortletPreferenceAsBool in class PortletFacesContext
public int getPortletPreferenceAsInt(String preferenceName,
int defaultValue)
PortletFacesContext
getPortletPreferenceAsInt in class PortletFacesContext
public short getPortletPreferenceAsShort(String preferenceName,
short defaultValue)
PortletFacesContext
getPortletPreferenceAsShort in class PortletFacesContext
public String getPortletPreferenceAsString(String preferenceName,
String defaultValue)
PortletFacesContext
getPortletPreferenceAsString in class PortletFacesContextpublic PortletPreferenceMap getPortletPreferenceMap()
PortletFacesContext
getPortletPreferenceMap in class PortletFacesContextpublic javax.portlet.PortletPreferences getPortletPreferences()
PortletFacesContextjavax.portlet.PortletPreferences object associated with the current JSF FacesContext.
getPortletPreferences in class PortletFacesContextpublic javax.portlet.RenderRequest getPortletRenderRequest()
PortletFacesContextjavax.portlet.RenderRequest object associated with the current JSF FacesContext.
getPortletRenderRequest in class PortletFacesContextpublic javax.portlet.RenderResponse getPortletRenderResponse()
PortletFacesContextjavax.portlet.RenderResponse object associated with the current JSF FacesContext.
getPortletRenderResponse in class PortletFacesContextpublic javax.portlet.PortletRequest getPortletRequest()
PortletFacesContextjavax.portlet.PortletRequest object associated with the current JSF FacesContext.
getPortletRequest in class PortletFacesContextpublic javax.portlet.PortletResponse getPortletResponse()
PortletFacesContextjavax.portlet.PortletResponse object associated with the current JSF FacesContext.
getPortletResponse in class PortletFacesContextpublic javax.portlet.PortletSession getPortletSession()
PortletFacesContextjavax.portlet.PortletSession object associated with the current JSF FacesContext.
getPortletSession in class PortletFacesContextpublic String getRemoteUser()
PortletFacesContext
getRemoteUser in class PortletFacesContextpublic javax.faces.render.RenderKit getRenderKit()
getRenderKit in class javax.faces.context.FacesContextpublic boolean getRenderResponse()
getRenderResponse in class javax.faces.context.FacesContextpublic Object getRequestAttribute(String name)
getRequestAttribute in class org.edorasframework.extfaces.context.ExtFacesContext
public void setRequestAttribute(String name,
Object value)
setRequestAttribute in class org.edorasframework.extfaces.context.ExtFacesContextpublic String getRequestContextPath()
getRequestContextPath in class org.edorasframework.extfaces.context.ExtFacesContextpublic String getRequestParameter(String name)
getRequestParameter in class org.edorasframework.extfaces.context.ExtFacesContext
public boolean getRequestParameterAsBool(String name,
boolean defaultValue)
getRequestParameterAsBool in class org.edorasframework.extfaces.context.ExtFacesContext
public int getRequestParameterAsInt(String name,
int defaultValue)
getRequestParameterAsInt in class org.edorasframework.extfaces.context.ExtFacesContext
public long getRequestParameterAsLong(String name,
long defaultValue)
getRequestParameterAsLong in class org.edorasframework.extfaces.context.ExtFacesContextpublic String getRequestParameterFromMap(String name)
getRequestParameterFromMap in class org.edorasframework.extfaces.context.ExtFacesContextpublic String getRequestQueryString()
getRequestQueryString in class org.edorasframework.extfaces.context.ExtFacesContextpublic String getRequestQueryStringParameter(String name)
getRequestQueryStringParameter in class org.edorasframework.extfaces.context.ExtFacesContextpublic boolean getResponseComplete()
getResponseComplete in class javax.faces.context.FacesContextpublic javax.faces.context.ResponseStream getResponseStream()
getResponseStream in class javax.faces.context.FacesContextpublic void setResponseStream(javax.faces.context.ResponseStream responseStream)
setResponseStream in class javax.faces.context.FacesContextpublic javax.faces.context.ResponseWriter getResponseWriter()
getResponseWriter in class javax.faces.context.FacesContextpublic void setResponseWriter(javax.faces.context.ResponseWriter responseWriter)
setResponseWriter in class javax.faces.context.FacesContextpublic Object getSessionSharedAttribute(String name)
PortletFacesContext
getSessionSharedAttribute in class PortletFacesContext
public void setSessionSharedAttribute(String name,
Object value)
PortletFacesContext
setSessionSharedAttribute in class PortletFacesContextpublic Object getSession(boolean create)
getSession in class org.edorasframework.extfaces.context.ExtFacesContextpublic Object getSessionAttribute(String name)
getSessionAttribute in class org.edorasframework.extfaces.context.ExtFacesContextpublic Object resolveExpression(String elExpression)
resolveExpression in class org.edorasframework.extfaces.context.ExtFacesContext
public void setSessionAttribute(String name,
Object value)
setSessionAttribute in class org.edorasframework.extfaces.context.ExtFacesContextpublic Map<String,File> getUploadedFilesMap()
getUploadedFilesMap in class org.edorasframework.extfaces.context.ExtFacesContextpublic boolean isUserInRole(String roleName)
PortletFacesContext
isUserInRole in class PortletFacesContextpublic javax.faces.component.UIViewRoot getViewRoot()
getViewRoot in class javax.faces.context.FacesContextpublic void setViewRoot(javax.faces.component.UIViewRoot viewRoot)
setViewRoot in class javax.faces.context.FacesContextpublic boolean isWindowMaximized()
PortletFacesContext
isWindowMaximized in class PortletFacesContextpublic boolean isWindowNormal()
PortletFacesContext
isWindowNormal in class PortletFacesContextpublic javax.portlet.WindowState getWindowState()
PortletFacesContext
getWindowState in class PortletFacesContextpublic void setWindowState(javax.portlet.WindowState windowState)
PortletFacesContext
setWindowState in class PortletFacesContextpublic void setWindowStateToMaximized()
PortletFacesContext
setWindowStateToMaximized in class PortletFacesContextpublic void setWindowStateToNormal()
PortletFacesContext
setWindowStateToNormal in class PortletFacesContext
public void checkUserPortletPermission(String actionId)
throws AuthorizationException
PortletFacesContext
checkUserPortletPermission in class PortletFacesContextAuthorizationExceptionPortletFacesContext.userHasPortletPermission(String)public javax.portlet.PortletURL createPopupUrl(String viewId)
PortletFacesContext
createPopupUrl in class PortletFacesContextpublic boolean userHasPortletPermission(String actionId)
PortletFacesContext
userHasPortletPermission in class PortletFacesContextPortletFacesContext.checkUserPortletPermission(String)public boolean userHasRole(String roleName)
PortletFacesContext
userHasRole in class PortletFacesContextpublic long getCompanyId()
PortletFacesContext
getCompanyId in class PortletFacesContextpublic com.liferay.portal.model.User getGroupUser()
PortletFacesContext
getGroupUser in class PortletFacesContextpublic long getHostGroupId()
PortletFacesContext
getHostGroupId in class PortletFacesContextpublic com.liferay.portal.model.Layout getLayout()
PortletFacesContext
getLayout in class PortletFacesContextpublic void postLifecycleCleanup()
PortletFacesContext
postLifecycleCleanup in class PortletFacesContextprotected Liferay getLiferayManagedBean()
public org.edorasframework.liferayadapter.ServiceMap getLiferayServiceMap()
PortletFacesContext
getLiferayServiceMap in class PortletFacesContextpublic org.edorasframework.liferayadapter.PermissionCheckerWrapper getPermissionChecker()
PortletFacesContext
getPermissionChecker in class PortletFacesContextpublic long getPlid()
PortletFacesContext
getPlid in class PortletFacesContextpublic com.liferay.portal.model.Portlet getPortlet()
PortletFacesContextcom.liferay.portal.model.Portlet object for the portlet associated with the current
request.
getPortlet in class PortletFacesContextpublic String getPortletInstanceId()
PortletFacesContext
getPortletInstanceId in class PortletFacesContextPortletFacesContext.getPortletName()public String getPortletRootId()
PortletFacesContext
getPortletRootId in class PortletFacesContextPortletFacesContext.getPortletName()public com.liferay.portal.model.Theme getTheme()
PortletFacesContext
getTheme in class PortletFacesContextpublic org.edorasframework.liferayadapter.ThemeDisplayClone getThemeDisplay()
PortletFacesContextcom.liferay.portal.theme.ThemeDisplay object, which contains a variety methods for
rendering theme specific look and feels.
getThemeDisplay in class PortletFacesContextpublic com.liferay.portal.model.User getUser()
PortletFacesContext
getUser in class PortletFacesContextpublic long getUserId()
PortletFacesContext
getUserId in class PortletFacesContextpublic List<com.liferay.portal.model.Role> getUserRoles()
PortletFacesContext
getUserRoles in class PortletFacesContextpublic String getDocumentLibraryURL()
PortletFacesContext
getDocumentLibraryURL in class PortletFacesContextpublic String getImageGalleryURL()
PortletFacesContext
getImageGalleryURL in class PortletFacesContextpublic String getPortalURL()
PortletFacesContext
getPortalURL in class PortletFacesContextpublic String getThemeImagesURL()
PortletFacesContext
getThemeImagesURL in class PortletFacesContextpublic org.edorasframework.liferayadapter.ServiceContext getServiceContext(String className)
PortletFacesContext
getServiceContext in class PortletFacesContext
public String getMessage(long companyId,
Locale locale,
String messageId)
PortletFacesContext
getMessage in class PortletFacesContext
public String getMessage(long companyId,
Locale locale,
String messageId,
Object... arguments)
PortletFacesContext
getMessage in class PortletFacesContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||