public class EnterpriseFacesContextUtility extends Object
| Constructor and Description |
|---|
EnterpriseFacesContextUtility() |
| Modifier and Type | Method and Description |
|---|---|
static org.rhq.core.domain.resource.Resource |
getResource()
Returns the
Resource associated with the current request. |
static org.rhq.core.domain.resource.group.ResourceGroup |
getResourceGroup()
Returns the
Resource associated with the current request. |
static org.rhq.core.domain.resource.Resource |
getResourceIfExists()
Returns the
Resource associated with the current request or null if the request is not
associated with a resource. |
static org.rhq.core.domain.resource.ResourceType |
getResourceType()
Returns the
ResourceType associated with the current request. |
static org.rhq.core.domain.resource.ResourceType |
getResourceTypeIfExists()
Returns the
ResourceType associated with the current request or null if the request is not
associated with a ResourceType. |
static org.rhq.core.domain.auth.Subject |
getSubject()
Returns information on the user that submitted the currently executing request.
|
static WebUser |
getWebUser() |
public static WebUser getWebUser()
@NotNull public static org.rhq.core.domain.auth.Subject getSubject()
@NotNull public static org.rhq.core.domain.resource.Resource getResource()
Resource associated with the current request. If none, an exception is thrown.@NotNull public static org.rhq.core.domain.resource.group.ResourceGroup getResourceGroup()
Resource associated with the current request. If none, an exception is thrown.@Nullable public static org.rhq.core.domain.resource.Resource getResourceIfExists()
Resource associated with the current request or null if the request is not
associated with a resource.null if none@NotNull public static org.rhq.core.domain.resource.ResourceType getResourceType()
ResourceType associated with the current request. If none, an exception is thrown.@Nullable public static org.rhq.core.domain.resource.ResourceType getResourceTypeIfExists()
ResourceType associated with the current request or null if the request is not
associated with a ResourceType.null if noneCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.