|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.gui.util.EnterpriseFacesContextUtility
public class EnterpriseFacesContextUtility
| Constructor Summary | |
|---|---|
EnterpriseFacesContextUtility()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnterpriseFacesContextUtility()
| Method Detail |
|---|
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 none
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||