BEA Systems, Inc.

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

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.ChangeGroupNameTag

public class ChangeGroupNameTag
extends ResultTag

Corresponds to <um:changeGroupName>.

The <um:changeGroupName> tag changes the name of the group corresponding to the specified oldGroupName to the specified newGroupName. The tag has no enclosed body.

Note: This tag should only be invoked when the weblogic.security.realmClass property in the weblogic.properties file is com.beasys.commerce.axiom.contact.security.RDBMSRealm.

Tag Attribute

Required

Type

Description

oldGroupName

yes

String

The old group name.

Example: "<%=oldGroupName%>"

newGroupName

yes

String

The new group name.

Example: "<%=newGroupName%>"

result

yes

String

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

Possible values:
Success:
UserManagerTagConstants.GROUP_CHANGE_OK

Error Encountered:
UserManagerTagConstants.GROUP_CHANGE_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
ChangeGroupNameTag()
           
 
Method Summary
 int doStartTag()
          Change the group's name through the UserManager session bean.
 java.lang.String getNewGroupName()
          Get the new name of the group
 java.lang.String getOldGroupName()
          Get the name of the group to change
 void release()
          Reset the tag's attributes
 void setNewGroupName(java.lang.String newGroupName)
          Set the new name of the group
 void setOldGroupName(java.lang.String oldGroupName)
          Set the name of the group to change
 
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

ChangeGroupNameTag

public ChangeGroupNameTag()
Method Detail

setOldGroupName

public void setOldGroupName(java.lang.String oldGroupName)
Set the name of the group to change

getOldGroupName

public java.lang.String getOldGroupName()
Get the name of the group to change

setNewGroupName

public void setNewGroupName(java.lang.String newGroupName)
Set the new name of the group

getNewGroupName

public java.lang.String getNewGroupName()
Get the new name of the group

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Change the group's name through the UserManager session bean.
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