|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractPropertySet
com.atlassian.crowd.integration.osuser.PrioritizedCompositePropertySet
public class PrioritizedCompositePropertySet
PrioritizedCompositePropertySet composes multiple PropertySets
into a unified view of the underlying properties. The order of the underlying PropertySets is significant and affects
the value that is returned for a particular property key. The first PropertySet that contains the value is the holder
of the official value.
remove(String)
which otherwise would not actually
remove the property but allow the previously shadowed value to be returned.
Method Summary | |
---|---|
boolean |
exists(String key)
Does a property exist in the delegated property sets in order. |
protected Object |
get(int type,
String key)
Copied from com.opensymphony.module.propertyset.aggregate.AggregatePropertySet and modified to perform
the get operation on the highest property set. |
Collection |
getKeys(String prefix,
int type)
Returns a collection of keys that are retrieved from all providers. |
int |
getType(String key)
Returns the type of the property. |
boolean |
isSettable(String property)
Determine whether the delegates will allow the property to be set. |
void |
remove(String key)
Remove property with given key from all underlying property sets.It removes the property from all property sets. |
protected void |
setImpl(int type,
String key,
Object value)
Copied from com.opensymphony.module.propertyset.aggregate.AggregatePropertySet and modified to perform
the set operation on the highest property set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Collection getKeys(String prefix, int type) throws PropertyException
prefix
- prefixtype
- property type
com.opensymphony.module.propertyset.PropertyException
- if any of the delegated property sets throws it
PropertyException
public int getType(String key) throws PropertyException
key
- property key to find the type of
PropertySet
interface.
PropertyException
- if one of the underlying property set delegates doespublic boolean exists(String key) throws PropertyException
key
- property key to check
PropertyException
- if one of the underlying property set delegates doespublic void remove(String key) throws PropertyException
key
- key of the property to remove
PropertyException
- if property is first found but cannot be removed from the property setpublic boolean isSettable(String property)
property
- the property name
protected void setImpl(int type, String key, Object value) throws PropertyException
com.opensymphony.module.propertyset.aggregate.AggregatePropertySet
and modified to perform
the set operation on the highest property set.
PropertyException
protected Object get(int type, String key) throws PropertyException
com.opensymphony.module.propertyset.aggregate.AggregatePropertySet
and modified to perform
the get operation on the highest property set.
PropertyException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |