|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--openfuture.bugbase.app.controller.AbsController | +--openfuture.bugbase.app.controller.ListController | +--openfuture.bugbase.app.controller.UserController
Controller for the user administration panel.
Created: Fri Jun 09 05:59:12 2000
Constructor Summary | |
UserController(AbsController parentController,
java.util.LinkedList userList,
java.util.LinkedList groupList)
|
Method Summary | |
java.lang.String |
createUniqueUserId()
Create a unique user ID |
User |
createUser()
Creates a new user, sets the actual user
to this value and appends it to the list of users. |
User |
getActualUser()
Returns the user currently selected. |
DoubleListController |
getGroupController()
Get the value of groupController. |
java.lang.String |
getNewPassword()
Getter for the new password field entry. |
protected void |
handleEvents(java.awt.AWTEvent event,
java.lang.Object source,
java.lang.String name)
Central event handler |
boolean |
isUniqueUserid(java.lang.String userid)
Calls isUniqueUserid( . |
boolean |
isUniqueUserid(java.lang.String userid,
boolean ignoreSelection)
Check, whether userid is a unique ID
in the list of users. |
void |
setGroupController(DoubleListController v)
Set the value of groupController. |
void |
valueChanged(javax.swing.event.ListSelectionEvent e)
An element in the user list is selected. |
Methods inherited from class openfuture.bugbase.app.controller.ListController |
deleteElement, getDeletedElements, getListModel, getNewElement, getSelected, getSelectedIndex, setDeletedElements, setListModel, setNewElement, setSelected, setSelectedIndex |
Methods inherited from class openfuture.bugbase.app.controller.AbsController |
actionPerformed, focusGained, focusLost, getBugReport, getIgnoreEvents, getProject, getServletClient, getView, init, itemStateChanged, setBugReport, setIgnoreEvents, setProject, setServletClient, setView, showError, showError, showI18NError, showI18NError, stringToDate, tableChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UserController(AbsController parentController, java.util.LinkedList userList, java.util.LinkedList groupList)
Method Detail |
protected void handleEvents(java.awt.AWTEvent event, java.lang.Object source, java.lang.String name)
event
- the event that should be handledsource
- source of the eventname
- name of the control causing the eventpublic void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged
in class ListController
e
- selection eventpublic boolean isUniqueUserid(java.lang.String userid, boolean ignoreSelection)
userid
is a unique ID
in the list of users.userid
- user ID to be checkedignoreSelection
- if set to true
, the
selected user is ignored.true
, if the ID is uniquepublic boolean isUniqueUserid(java.lang.String userid)
isUniqueUserid(userid
, false
)
.userid
- user ID to be checkedtrue
, if the ID is uniquepublic DoubleListController getGroupController()
public void setGroupController(DoubleListController v)
v
- Value to assign to groupController.public User createUser()
actual user
to this value and appends it to the list of users.public java.lang.String createUniqueUserId()
public User getActualUser()
public java.lang.String getNewPassword()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |