© 2001 BEA Systems, Inc.

com.beasys.commerce.portal.admin.jsp.tags
Class LicenseTag

com.beasys.commerce.portal.admin.jsp.tags.LicenseTag

public class LicenseTag

Implements the methods necessary to support the license tag.


Field Summary
static java.lang.String DEFAULT_COMPONENT
          Component defaults to "Core Server"
 
Constructor Summary
LicenseTag()
           
 
Method Summary
 int doAfterBody()
          Pushes output to the JSP page from the buffered BodyContent.
 int doStartTag()
          Checks the specified License product id against the current product license.
 java.lang.String getComponent()
           
 java.lang.String getId()
           
 java.lang.String getProduct()
           
 java.lang.String getRelease()
           
 void release()
           
 void setComponent(java.lang.String theComponent)
           
 void setId(java.lang.String theId)
           
 void setProduct(java.lang.String theProduct)
           
 void setRelease(java.lang.String theRelease)
           
 

Field Detail

DEFAULT_COMPONENT

public static final java.lang.String DEFAULT_COMPONENT
Component defaults to "Core Server"
Constructor Detail

LicenseTag

public LicenseTag()
Method Detail

setProduct

public void setProduct(java.lang.String theProduct)

getProduct

public java.lang.String getProduct()

setRelease

public void setRelease(java.lang.String theRelease)

getRelease

public java.lang.String getRelease()

setComponent

public void setComponent(java.lang.String theComponent)

getComponent

public java.lang.String getComponent()

setId

public void setId(java.lang.String theId)

getId

public java.lang.String getId()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Checks the specified License product id against the current product license.
Returns:
a value telling the JSP engine to skip the body of the tag or to skip it.

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Pushes output to the JSP page from the buffered BodyContent.
Returns:
a value telling the JSP engine we are done evaluating the body and no more iterations are necessary.

release

public void release()

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved