|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.portal.tools.userManagement.UserBean
public class UserBean
Object storing information of an user context.
Constructor Summary | |
---|---|
UserBean()
|
Method Summary | |
---|---|
void |
addContext(String key,
String value)
Add a single context information |
Collection |
getContext()
Get the whole context of the current user |
String |
getContextItem(String key)
return specified context value |
String |
getPicture()
Special Attribute for the cocoon portal tool example: you can store even extra attributes in the bean |
void |
setPicture(String string)
Special Attribute for the cocoon portal tool example: you can store even extra attributes in the bean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserBean()
Method Detail |
---|
public void addContext(String key, String value)
key
- name of the contextvalue
- value of the contextpublic Collection getContext()
public String getContextItem(String key)
key
- public String getPicture()
public void setPicture(String string)
string
- name of the picture file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |