BEA Systems, Inc.

com.beasys.commerce.user.jsp.tags
Class RemoveGroupFromGroupTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--com.beasys.commerce.user.jsp.tags.UserManagerTag
              |
              +--com.beasys.commerce.user.jsp.tags.ResultTag
                    |
                    +--com.beasys.commerce.user.jsp.tags.RemoveGroupFromGroupTag

public class RemoveGroupFromGroupTag
extends ResultTag

Corresponds to <um:removeGroupFromGroup>.

The <um:removeGroupFromGroup> tag removes a child group from a parent group in a group hierarchy.

Tag Attribute

Required

Type

Description

childGroupName

yes

String

The name of the child group to remove from its parent.

parentGroupName

yes

String

The name of the parent group from which the child group will be removed.

result

yes

String

The name of an Integer variable to which the result of the remove group from group operation is assigned.

Possible Values:
Success:
UserManagerTagConstants.REMOVE_GROUP_OK

Failure:
UserManagerTagConstants.REMOVE_GROUP_FAILED

See Also:
Serialized Form

Fields inherited from class com.beasys.commerce.user.jsp.tags.ResultTag
result
 
Fields inherited from class com.beasys.commerce.user.jsp.tags.UserManagerTag
printStackTraces, verbose
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Constructor Summary
RemoveGroupFromGroupTag()
           
 
Method Summary
 int doStartTag()
          Go through the UserManager session bean to remove the child group from the parent group.
 java.lang.String getChildGroupName()
          Get the name of the child group
 java.lang.String getParentGroupName()
          Get the name of the parent group
 void release()
          Reset the tag's attributes
 void setChildGroupName(java.lang.String childGroupName)
          Set the name of the child group
 void setParentGroupName(java.lang.String parentGroupName)
          Set the name of the parent group
 
Methods inherited from class com.beasys.commerce.user.jsp.tags.ResultTag
getResult, setResult
 
Methods inherited from class com.beasys.commerce.user.jsp.tags.UserManagerTag
getUserManager
 
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

RemoveGroupFromGroupTag

public RemoveGroupFromGroupTag()
Method Detail

setParentGroupName

public void setParentGroupName(java.lang.String parentGroupName)
Set the name of the parent group

getParentGroupName

public java.lang.String getParentGroupName()
Get the name of the parent group

setChildGroupName

public void setChildGroupName(java.lang.String childGroupName)
Set the name of the child group

getChildGroupName

public java.lang.String getChildGroupName()
Get the name of the child group

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Go through the UserManager session bean to remove the child group from the parent group.
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport

release

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

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved