com.bea.security.entitlements.admin.rbac
Class UserItem

java.lang.Object
  extended bycom.bea.security.entitlements.admin.rbac.UserItem
All Implemented Interfaces:
java.io.Serializable

public class UserItem
extends java.lang.Object
implements java.io.Serializable

The UserItem class represents a selected user associated with current identity directory node in EUI tree. The class will be used by the entitlements front end for user management.

See Also:
Serialized Form

Method Summary
 java.lang.String addGroups()
          Add groups for current user's membership
 java.lang.String cancelModifyAttribute()
          Cacel modifying a user attribute
 java.lang.String cancelModifyMemberships()
          Cacelling user membership modification.
 java.lang.String decreaseGroupIndex()
          For paging purposes, decrement on index of available groups
 java.lang.String finishModifyAttribute()
          Finished the modification of the attribute of user
 java.lang.String finishModifyMemberships()
          Finished to modify user membership
 int getAttrIdx()
          Get Attribute id
 java.lang.String getAvailableGroupsFilter()
          Filter set to view available groups
 int getAvailableGroupsFromIdx()
          Index of the available groups of current user's membership in the From box
 int getAvailableGroupsToIdx()
          Index of the available groups of current user's membership in the To box
 int getAvailableGroupsTotal()
          Get a total of available groups for current user's membership
 java.lang.String getConfirmOfPwd()
          Get the confirmation of user password
 java.util.List getCurrentAssignedGroups()
          Get direct groups to which the user belongs
 AttributeElement getCurrentAttribute()
          Get Current attribute for this user
 java.util.List getCurrentAvailableGroups()
          Get all available groups
 java.util.List getCurrentMemberships()
          Get all groups to which the user belongs
 java.lang.String getName()
          Get user name
 java.lang.String getNewConfirmOfPwd()
          Get confirmation of new user password, used for user modification
 java.lang.String getNewName()
          Get new user name, used for user modification
 java.lang.String getNewPassword()
          Get new password, used for user modification
 java.lang.String getOldPassword()
          Get current user's old password, used for user modification
 java.lang.String getPassword()
          Get user password
 java.util.List getSelectedAvailableGroups()
          Retrieve currently selected available groups for current user's membership
 java.util.List getSelectedMemberships()
          Retrieve currently selected groups to which the user belongs
 java.util.List getUserAttributes()
          Return a list Attributes associated to this user
 java.lang.String increaseGroupIndex()
          For paging purposes, increment on index of available groups
 boolean isModifyingLoginUser()
          Determine if current selected user is login user
 java.lang.String removeGroups()
          Remove groups for current user's membership
 void setAttrIdx(int attrIdx)
          set row index for this attribute
 void setAvailableGroupsFilter(java.lang.String inFilter)
          Reset currently set filter to display available groups
 void setConfirmOfPwd(java.lang.String confirmOfPwd)
          Set user password confirmation
 void setCurrentAttribute(AttributeElement currentAttribute)
          Set current attribute to set for this user
 void setName(java.lang.String name)
          Set user name
 void setNewConfirmOfPwd(java.lang.String newConfirmOfPwd)
          Set confirmation of new user password for user modification
 void setNewName(java.lang.String newName)
          Set new user name, used for user modification
 void setNewPassword(java.lang.String newPassword)
          Set new user password for user modification
 void setOldPassword(java.lang.String oldPassword)
          Set user's old password for user modification
 void setPassword(java.lang.String password)
          Set user password
 void setSelectedAvailableGroups(java.util.List selectedGroups)
          Set a new set of selected available groups
 void setSelectedMemberships(java.util.List inList)
          Set a new set of currently selected groups to which the user belongs
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addGroups

public java.lang.String addGroups()
Add groups for current user's membership

Returns:
null mostly, exception otherwise

cancelModifyAttribute

public java.lang.String cancelModifyAttribute()
Cacel modifying a user attribute

Returns:
null mostly, exception otherwise

cancelModifyMemberships

public java.lang.String cancelModifyMemberships()
Cacelling user membership modification.

Returns:
null mostly, exception otherwise

decreaseGroupIndex

public java.lang.String decreaseGroupIndex()
For paging purposes, decrement on index of available groups

Returns:
mostly null

finishModifyAttribute

public java.lang.String finishModifyAttribute()
Finished the modification of the attribute of user

Returns:
null mostly, exception otherwise

finishModifyMemberships

public java.lang.String finishModifyMemberships()
Finished to modify user membership

Returns:
null mostly, exception otherwise

getAttrIdx

public int getAttrIdx()
Get Attribute id

Returns:
attribute index for current attribute table

getAvailableGroupsFilter

public java.lang.String getAvailableGroupsFilter()
Filter set to view available groups

Returns:
filter currently set

getAvailableGroupsFromIdx

public int getAvailableGroupsFromIdx()
Index of the available groups of current user's membership in the From box

Returns:
index

getAvailableGroupsToIdx

public int getAvailableGroupsToIdx()
Index of the available groups of current user's membership in the To box

Returns:
index

getAvailableGroupsTotal

public int getAvailableGroupsTotal()
Get a total of available groups for current user's membership

Returns:
total permissions

getConfirmOfPwd

public java.lang.String getConfirmOfPwd()
Get the confirmation of user password

Returns:
user password confirmation

getCurrentAssignedGroups

public java.util.List getCurrentAssignedGroups()
Get direct groups to which the user belongs

Returns:
list of groups

getCurrentAttribute

public AttributeElement getCurrentAttribute()
Get Current attribute for this user

Returns:
AttributeElement for current attribute

getCurrentAvailableGroups

public java.util.List getCurrentAvailableGroups()
Get all available groups

Returns:
list of available groups

getCurrentMemberships

public java.util.List getCurrentMemberships()
Get all groups to which the user belongs

Returns:
list of groups

getName

public java.lang.String getName()
Get user name

Returns:
user name

getNewConfirmOfPwd

public java.lang.String getNewConfirmOfPwd()
Get confirmation of new user password, used for user modification

Returns:
confirmation of new user password

getNewName

public java.lang.String getNewName()
Get new user name, used for user modification

Returns:
new user name

getNewPassword

public java.lang.String getNewPassword()
Get new password, used for user modification

Returns:
new user password

getOldPassword

public java.lang.String getOldPassword()
Get current user's old password, used for user modification

Returns:
user's old password

getPassword

public java.lang.String getPassword()
Get user password

Returns:
user password

getSelectedAvailableGroups

public java.util.List getSelectedAvailableGroups()
Retrieve currently selected available groups for current user's membership

Returns:

getSelectedMemberships

public java.util.List getSelectedMemberships()
Retrieve currently selected groups to which the user belongs

Returns:

getUserAttributes

public java.util.List getUserAttributes()
Return a list Attributes associated to this user

Returns:
a set of attributes for this user

increaseGroupIndex

public java.lang.String increaseGroupIndex()
For paging purposes, increment on index of available groups

Returns:
mostly null

isModifyingLoginUser

public boolean isModifyingLoginUser()
Determine if current selected user is login user

Returns:
true is login user, false otherwise

removeGroups

public java.lang.String removeGroups()
Remove groups for current user's membership

Returns:
null mostly, exception otherwise

setAttrIdx

public void setAttrIdx(int attrIdx)
set row index for this attribute

Parameters:
attrIdx - attribute row index to set for this node

setAvailableGroupsFilter

public void setAvailableGroupsFilter(java.lang.String inFilter)
Reset currently set filter to display available groups


setConfirmOfPwd

public void setConfirmOfPwd(java.lang.String confirmOfPwd)
Set user password confirmation

Parameters:
confirmOfPwd - user password confirmation

setCurrentAttribute

public void setCurrentAttribute(AttributeElement currentAttribute)
Set current attribute to set for this user

Parameters:
currentAttribute - AttributeElement to set

setName

public void setName(java.lang.String name)
Set user name

Parameters:
name - user name

setNewConfirmOfPwd

public void setNewConfirmOfPwd(java.lang.String newConfirmOfPwd)
Set confirmation of new user password for user modification

Parameters:
newConfirmOfPwd - confirmation of new user password

setNewName

public void setNewName(java.lang.String newName)
Set new user name, used for user modification

Parameters:
newName - the user name being modified to

setNewPassword

public void setNewPassword(java.lang.String newPassword)
Set new user password for user modification

Parameters:
newPassword - new user password

setOldPassword

public void setOldPassword(java.lang.String oldPassword)
Set user's old password for user modification

Parameters:
oldPassword - user's old password

setPassword

public void setPassword(java.lang.String password)
Set user password

Parameters:
password - user password

setSelectedAvailableGroups

public void setSelectedAvailableGroups(java.util.List selectedGroups)
Set a new set of selected available groups

Parameters:
selectedGroups -

setSelectedMemberships

public void setSelectedMemberships(java.util.List inList)
Set a new set of currently selected groups to which the user belongs

Returns:


Copyright © 2007 BEA Systems Inc. All Rights Reserved.