BEA Systems, Inc.

com.beasys.commerce.foundation.property.tags
Class GetPropertyNamesTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--com.beasys.commerce.foundation.property.tags.ResultTag
              |
              +--com.beasys.commerce.foundation.property.tags.GetPropertyNamesTag

public class GetPropertyNamesTag
extends ResultTag

Implementation of the <ps:getPropertyNames> tag. Uses the SchemaManager EJB to retrieve all property names for a given property set.

See the WLPS tag documentation for attributes and result values.

See Also:
Serialized Form

Fields inherited from class com.beasys.commerce.foundation.property.tags.ResultTag
result
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Constructor Summary
GetPropertyNamesTag()
           
 
Method Summary
 int doStartTag()
          Go through the Schema entity bean to retrieve a list of associated properties.
 java.lang.String getPropertySet()
          Get the name of the property set to query for property names
 java.lang.String getSchemaGroupName()
          Get the schema group of the property set to query for property names
 void release()
          Reset all the tag's attributes
 void setPropertySet(java.lang.String s)
          Set the name of the property set to query for property names
 void setSchemaGroupName(java.lang.String s)
          Set the schema group of the property set to query for property names
 
Methods inherited from class com.beasys.commerce.foundation.property.tags.ResultTag
getResult, setResult
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetPropertyNamesTag

public GetPropertyNamesTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Go through the Schema entity bean to retrieve a list of associated properties.
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport

release

public void release()
Reset all the tag's attributes
Overrides:
release in class ResultTag

setPropertySet

public void setPropertySet(java.lang.String s)
Set the name of the property set to query for property names

getPropertySet

public java.lang.String getPropertySet()
Get the name of the property set to query for property names

setSchemaGroupName

public void setSchemaGroupName(java.lang.String s)
Set the schema group of the property set to query for property names

getSchemaGroupName

public java.lang.String getSchemaGroupName()
Get the schema group of the property set to query for property names

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved