|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.cheftool.PortletConfig
public class PortletConfig
Provides read access to tool parameters, which are (name, value) pairs. Write access is not allowed. This provides an unmodifiable Map that looks first in the tool configuration, then in the tool registration, then in the servlet configuration. The values in the tool configuration may have been configured by the end-user, the values in the tool registration are defaulted in the tool registration file, and the values in the servlet configuration come from web.xml and cannot be modified by the user.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Method Summary | |
|---|---|
void |
clear()
Unsupported operation |
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Set |
entrySet()
|
Object |
get(Object key)
|
String[] |
get3InitParameter(String name)
Special non-jetspeed imitation: get three possible init parameter values: [0] from servlet config [1] from tool registration [2] from tool config nulls if not present |
String |
getInitParameter(String name)
|
String |
getInitParameter(String name,
String dflt)
|
Map |
getInitParameters()
|
String |
getTitle()
|
boolean |
isEmpty()
|
Set |
keySet()
|
Object |
put(Object key,
Object value)
Unsupported operation |
void |
putAll(Map t)
Unsupported operation |
Object |
remove(Object key)
Unsupported operation |
int |
size()
|
Collection |
values()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Method Detail |
|---|
public String getInitParameter(String name,
String dflt)
public String getInitParameter(String name)
public Map getInitParameters()
public String getTitle()
public String[] get3InitParameter(String name)
public void clear()
clear in interface Mappublic boolean containsKey(Object key)
containsKey in interface Mappublic boolean containsValue(Object value)
containsValue in interface Mappublic Set entrySet()
entrySet in interface Mappublic Object get(Object key)
get in interface Mappublic boolean isEmpty()
isEmpty in interface Mappublic Set keySet()
keySet in interface Map
public Object put(Object key,
Object value)
put in interface Mappublic void putAll(Map t)
putAll in interface Mappublic Object remove(Object key)
remove in interface Mappublic int size()
size in interface Mappublic Collection values()
values in interface Map
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||