com.opensymphony.module.propertyset.aggregate
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field Summary |
| Fields inherited from class com.opensymphony.module.propertyset.AbstractPropertySet |
schema |
| Fields inherited from interface com.opensymphony.module.propertyset.PropertySet |
BOOLEAN, DATA, DATE, DOUBLE, INT, LONG, OBJECT, PROPERTIES, STRING, TEXT, XML |
| Constructor Summary | |
AggregatePropertySet()
|
|
| Method Summary | |
void |
addPropertySet(PropertySet propertySet)
|
boolean |
exists(java.lang.String key)
Determine if property exists. |
protected java.lang.Object |
get(int type,
java.lang.String key)
|
java.util.Collection |
getKeys(java.lang.String prefix,
int type)
List all keys starting with supplied prefix of certain type. |
int |
getType(java.lang.String key)
Checks all propertysets for the specified property. |
void |
init(java.util.Map config,
java.util.Map args)
|
boolean |
isSettable(java.lang.String property)
Returns true. |
void |
remove()
Remove the propertyset and all it associated keys. |
void |
remove(java.lang.String key)
Removes property. |
protected void |
setImpl(int type,
java.lang.String key,
java.lang.Object value)
Attempts to set a property in one of the propertysets. |
| Methods inherited from class com.opensymphony.module.propertyset.AbstractPropertySet |
getAsActualType, getBoolean, getData, getDate, getDouble, getInt, getKeys, getKeys, getKeys, getLong, getObject, getProperties, getSchema, getString, getText, getXML, setAsActualType, setBoolean, setData, setDate, setDouble, setInt, setLong, setObject, setProperties, setSchema, setString, setText, setXML, supportsType, supportsTypes, toString, type, type |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AggregatePropertySet()
| Method Detail |
public java.util.Collection getKeys(java.lang.String prefix,
int type)
throws PropertyException
PropertySet
getKeys in interface PropertySetprefix - String that keys must start with. If null, than all
keys shall be returned.type - Type to list. See static class variables. If null, then
all types shall be returned.
Collection of
Strings.
PropertyExceptionpublic boolean isSettable(java.lang.String property)
AbstractPropertySet
isSettable in interface PropertySetisSettable in class AbstractPropertySet
public int getType(java.lang.String key)
throws PropertyException
getType in interface PropertySetPropertyExceptionpublic void addPropertySet(PropertySet propertySet)
public boolean exists(java.lang.String key)
throws PropertyException
PropertySet
exists in interface PropertySetPropertyException
public void init(java.util.Map config,
java.util.Map args)
init in interface PropertySetinit in class AbstractPropertySet
public void remove()
throws PropertyException
PropertySet
remove in interface PropertySetPropertyException - if there is an error removing the propertyset.
public void remove(java.lang.String key)
throws PropertyException
PropertySet
remove in interface PropertySetPropertyException
protected void setImpl(int type,
java.lang.String key,
java.lang.Object value)
throws PropertyException
setImpl in class AbstractPropertySetPropertyException
protected java.lang.Object get(int type,
java.lang.String key)
throws PropertyException
get in class AbstractPropertySetPropertyException
|
See www.opensymphony.com for more information. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||