org.rhq.enterprise.gui.inventory.resource
Class ResourceUIBean
java.lang.Object
org.rhq.enterprise.gui.inventory.resource.ResourceUIBean
@Name(value="ResourceUIBean")
@Scope(value=EVENT)
public class ResourceUIBean
- extends Object
A JSF managed bean that represents a RHQ resource. In addition to exposing the core Resource properties, it also
exposes the resource's parent, facets and the current user's implicit permissions for that resource. Note: This bean
is only intended for reading this information, not updating it.
- Author:
- Ian Springer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
MANAGED_BEAN_NAME
public static final String MANAGED_BEAN_NAME
- See Also:
- Constant Field Values
ResourceUIBean
public ResourceUIBean()
ResourceUIBean
public ResourceUIBean(org.rhq.core.domain.resource.Resource resource)
ResourceUIBean
public ResourceUIBean(org.rhq.core.domain.resource.Resource resource,
org.rhq.core.domain.auth.Subject subject)
getMessage
public String getMessage()
setMessage
public void setMessage(String message)
getId
public int getId()
getUuid
public String getUuid()
getName
@NotNull
public String getName()
getResourceKey
public String getResourceKey()
getResourceType
public org.rhq.core.domain.resource.ResourceType getResourceType()
getInventoryStatus
public org.rhq.core.domain.resource.InventoryStatus getInventoryStatus()
isConnected
public boolean isConnected()
getVersion
public String getVersion()
getDescription
public String getDescription()
getCtime
public long getCtime()
getMtime
public long getMtime()
getModifiedBy
public String getModifiedBy()
getLocation
public String getLocation()
getParent
public org.rhq.core.domain.resource.Resource getParent()
getPermissions
public org.rhq.core.domain.resource.composite.ResourcePermission getPermissions()
getFacets
public org.rhq.core.domain.resource.composite.ResourceFacets getFacets()
getTabs
public List<org.rhq.enterprise.server.perspective.Tab> getTabs()
getInvalidPluginConfigurationError
@Nullable
public org.rhq.core.domain.resource.ResourceError getInvalidPluginConfigurationError()
getAvailabilityType
public org.rhq.core.domain.measurement.AvailabilityType getAvailabilityType()
getAvailabilitySummary
public org.rhq.core.domain.resource.composite.ResourceAvailabilitySummary getAvailabilitySummary()
isCanShowParent
public boolean isCanShowParent()
getTemplateEngine
public TemplateEngine getTemplateEngine()
setTemplateEngine
public void setTemplateEngine(TemplateEngine templateEngine)
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.