ResourceDecorator (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.ui.taglib.display.ResourceDecorator class

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.hq.ui.taglib.display
Class ResourceDecorator

    java.lang.Object
      org.hyperic.hq.ui.taglib.display.Decorator
          org.hyperic.hq.ui.taglib.display.ColumnDecorator
              org.hyperic.hq.ui.taglib.display.ResourceDecorator

All Implemented Interfaces:
  java.lang.Cloneable, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class ResourceDecorator

extends ColumnDecorator
implements javax.servlet.jsp.tagext.Tag

This class is a two in one decorator/tag for use within the `TableTag`; it is a `ColumnDecorator` tag that returns property values of resources and their dependent objects, handling null values and the like.

Field Summary

Fields inherited from interface javax.servlet.jsp.tagext.Tag
`EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE`

Constructor Summary
`ResourceDecorator()`

Method Summary
`java.lang.String` | `decorate(java.lang.Object obj)`
`int` | `doEndTag()`
`int` | `doStartTag()`
`java.lang.String` | `getBaseKey()`
`java.lang.String` | `getBundle()`
`java.lang.Boolean` | `getFunction()`
`java.lang.String` | `getLocale()`
`javax.servlet.jsp.tagext.Tag` | `getParent()`
`AppdefResourceValue` | `getResource()`
`java.lang.Integer` | `getResourceId()`
`java.lang.String` | `getResourceName()`
`java.lang.Integer` | `getResourceTypeId()`
`java.lang.Boolean` | `getType()`
`void` | `release()`
`void` | `setBaseKey(java.lang.String s)`
`void` | `setBundle(java.lang.String s)`
`void` | `setFunction(java.lang.Boolean s)`
`void` | `setLocale(java.lang.String s)`
`void` | `setPageContext(javax.servlet.jsp.PageContext pc)`
`void` | `setParent(javax.servlet.jsp.tagext.Tag t)`
`void` | `setResource(AppdefResourceValue s)`
`void` | `setResourceId(java.lang.Integer resourceId)`
`void` | `setResourceName(java.lang.String resourceName)`
`void` | `setResourceTypeId(java.lang.Integer resourceTypeId)`
`void` | `setType(java.lang.Boolean s)`

Methods inherited from class org.hyperic.hq.ui.taglib.display.Decorator
`finish, finishRow, getList, getListIndex, getObject, getPageContext, getViewIndex, init, initRow`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ResourceDecorator

    public ResourceDecorator()

Method Detail

### getBaseKey

    public java.lang.String getBaseKey()

### setBaseKey

    public void setBaseKey(java.lang.String s)

### getBundle

    public java.lang.String getBundle()

### setBundle

    public void setBundle(java.lang.String s)

### getLocale

    public java.lang.String getLocale()

### setLocale

    public void setLocale(java.lang.String s)

### getFunction

    public java.lang.Boolean getFunction()

### setFunction

    public void setFunction(java.lang.Boolean s)

### getResource

    public AppdefResourceValue getResource()

### setResource

    public void setResource(AppdefResourceValue s)

### getType

    public java.lang.Boolean getType()

### setType

    public void setType(java.lang.Boolean s)

### decorate

    public java.lang.String decorate(java.lang.Object obj)
                              throws javax.servlet.jsp.JspException

  Specified by:
    `decorate` in class `ColumnDecorator`
  Throws:
    `javax.servlet.jsp.JspException`

### doStartTag

    public int doStartTag()
                   throws javax.servlet.jsp.JspTagException

  Specified by:
    `doStartTag` in interface `javax.servlet.jsp.tagext.Tag`
  Throws:
    `javax.servlet.jsp.JspTagException`

### doEndTag

    public int doEndTag()

  Specified by:
    `doEndTag` in interface `javax.servlet.jsp.tagext.Tag`

### getParent

    public javax.servlet.jsp.tagext.Tag getParent()

  Specified by:
    `getParent` in interface `javax.servlet.jsp.tagext.Tag`

### setParent

    public void setParent(javax.servlet.jsp.tagext.Tag t)

  Specified by:
    `setParent` in interface `javax.servlet.jsp.tagext.Tag`

### setPageContext

    public void setPageContext(javax.servlet.jsp.PageContext pc)

  Specified by:
    `setPageContext` in interface `javax.servlet.jsp.tagext.Tag`
  Overrides:
    `setPageContext` in class `Decorator`

### release

    public void release()

  Specified by:
    `release` in interface `javax.servlet.jsp.tagext.Tag`
  Overrides:
    `release` in class `Decorator`

### getResourceId

    public java.lang.Integer getResourceId()

### setResourceId

    public void setResourceId(java.lang.Integer resourceId)

### getResourceTypeId

    public java.lang.Integer getResourceTypeId()

### setResourceTypeId

    public void setResourceTypeId(java.lang.Integer resourceTypeId)

### getResourceName

    public java.lang.String getResourceName()

### setResourceName

    public void setResourceName(java.lang.String resourceName)

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.