|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--com.beasys.commerce.user.jsp.tags.UserManagerTag | +--com.beasys.commerce.user.jsp.tags.GetGroupNamesForUserTag
Corresponds to <um:getGroupNamesForUser>
.
The <um:getGroupNamesForUser>
tag retrieves
a String array that contains the group names corresponding to groups
to which the provided user immediately belongs. The tag has no
enclosed body.
Tag Attribute |
Required |
Type |
Description |
username |
yes |
String |
The name of the user whose matching groups are sought. Example: " |
id |
yes |
String |
A variable name to which the resultant group names are assigned. Example: "myGroups" |
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 | |
GetGroupNamesForUserTag()
|
Method Summary | |
int |
doStartTag()
Go through the UserManager session bean to retrieve the list of groups that the given user belongs to. |
java.lang.String |
getUsername()
Get the username to query |
void |
release()
Reset the tag attributes |
void |
setUsername(java.lang.String username)
Set the username to query |
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 |
public GetGroupNamesForUserTag()
Method Detail |
public int doStartTag()
public void release()
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |