public final class EmbeddedCrowdPropertySet
extends com.opensymphony.module.propertyset.map.MapPropertySet
Constructor and Description |
---|
EmbeddedCrowdPropertySet(UserWithAttributes user,
CrowdService crowdService) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(String key) |
byte[] |
getData(String key) |
Date |
getDate(String key) |
double |
getDouble(String key) |
int |
getInt(String key) |
long |
getLong(String key) |
Map |
getMap() |
Object |
getObject(String key) |
Properties |
getProperties(String key) |
int |
getType(String key) |
Document |
getXML(String key) |
void |
remove(String key) |
void |
setBoolean(String key,
boolean value) |
void |
setData(String key,
byte[] value) |
void |
setDate(String key,
Date value) |
void |
setDouble(String key,
double value) |
protected void |
setImpl(int type,
String key,
Object value) |
void |
setInt(String key,
int value) |
void |
setLong(String key,
long value) |
void |
setMap(Map map) |
void |
setObject(String key,
Object value) |
void |
setProperties(String key,
Properties value) |
void |
setText(String key,
String value)
Throws IllegalPropertyException if value length greater than 255.
|
void |
setXML(String key,
Document value) |
boolean |
supportsType(int type) |
boolean |
supportsTypes() |
String |
toString() |
exists, get, getKeys, init
public EmbeddedCrowdPropertySet(UserWithAttributes user, CrowdService crowdService)
public int getType(String key) throws UnsupportedOperationException
getType
in interface com.opensymphony.module.propertyset.PropertySet
getType
in class com.opensymphony.module.propertyset.map.MapPropertySet
UnsupportedOperationException
public boolean getBoolean(String key)
getBoolean
in interface com.opensymphony.module.propertyset.PropertySet
getBoolean
in class com.opensymphony.module.propertyset.AbstractPropertySet
public void setBoolean(String key, boolean value)
setBoolean
in interface com.opensymphony.module.propertyset.PropertySet
setBoolean
in class com.opensymphony.module.propertyset.AbstractPropertySet
public int getInt(String key)
getInt
in interface com.opensymphony.module.propertyset.PropertySet
getInt
in class com.opensymphony.module.propertyset.AbstractPropertySet
public void setInt(String key, int value)
setInt
in interface com.opensymphony.module.propertyset.PropertySet
setInt
in class com.opensymphony.module.propertyset.AbstractPropertySet
public long getLong(String key)
getLong
in interface com.opensymphony.module.propertyset.PropertySet
getLong
in class com.opensymphony.module.propertyset.AbstractPropertySet
public void setLong(String key, long value)
setLong
in interface com.opensymphony.module.propertyset.PropertySet
setLong
in class com.opensymphony.module.propertyset.AbstractPropertySet
public double getDouble(String key)
getDouble
in interface com.opensymphony.module.propertyset.PropertySet
getDouble
in class com.opensymphony.module.propertyset.AbstractPropertySet
public void setDouble(String key, double value)
setDouble
in interface com.opensymphony.module.propertyset.PropertySet
setDouble
in class com.opensymphony.module.propertyset.AbstractPropertySet
public Date getDate(String key)
getDate
in interface com.opensymphony.module.propertyset.PropertySet
getDate
in class com.opensymphony.module.propertyset.AbstractPropertySet
public void setDate(String key, Date value)
setDate
in interface com.opensymphony.module.propertyset.PropertySet
setDate
in class com.opensymphony.module.propertyset.AbstractPropertySet
public void setText(String key, String value) throws com.opensymphony.module.propertyset.IllegalPropertyException
setText
in interface com.opensymphony.module.propertyset.PropertySet
setText
in class com.opensymphony.module.propertyset.AbstractPropertySet
com.opensymphony.module.propertyset.IllegalPropertyException
public byte[] getData(String key)
getData
in interface com.opensymphony.module.propertyset.PropertySet
getData
in class com.opensymphony.module.propertyset.AbstractPropertySet
public void setData(String key, byte[] value)
setData
in interface com.opensymphony.module.propertyset.PropertySet
setData
in class com.opensymphony.module.propertyset.AbstractPropertySet
public Object getObject(String key)
getObject
in interface com.opensymphony.module.propertyset.PropertySet
getObject
in class com.opensymphony.module.propertyset.AbstractPropertySet
public void setObject(String key, Object value)
setObject
in interface com.opensymphony.module.propertyset.PropertySet
setObject
in class com.opensymphony.module.propertyset.AbstractPropertySet
public Properties getProperties(String key)
getProperties
in interface com.opensymphony.module.propertyset.PropertySet
getProperties
in class com.opensymphony.module.propertyset.AbstractPropertySet
public void setProperties(String key, Properties value)
setProperties
in interface com.opensymphony.module.propertyset.PropertySet
setProperties
in class com.opensymphony.module.propertyset.AbstractPropertySet
public Document getXML(String key)
getXML
in interface com.opensymphony.module.propertyset.PropertySet
getXML
in class com.opensymphony.module.propertyset.AbstractPropertySet
public void setXML(String key, Document value)
setXML
in interface com.opensymphony.module.propertyset.PropertySet
setXML
in class com.opensymphony.module.propertyset.AbstractPropertySet
public boolean supportsTypes()
supportsTypes
in interface com.opensymphony.module.propertyset.PropertySet
supportsTypes
in class com.opensymphony.module.propertyset.map.MapPropertySet
public Map getMap()
getMap
in class com.opensymphony.module.propertyset.map.MapPropertySet
public void setMap(Map map)
setMap
in class com.opensymphony.module.propertyset.map.MapPropertySet
public void remove(String key)
remove
in interface com.opensymphony.module.propertyset.PropertySet
remove
in class com.opensymphony.module.propertyset.map.MapPropertySet
protected void setImpl(int type, String key, Object value)
setImpl
in class com.opensymphony.module.propertyset.map.MapPropertySet
public boolean supportsType(int type)
supportsType
in interface com.opensymphony.module.propertyset.PropertySet
supportsType
in class com.opensymphony.module.propertyset.map.MapPropertySet
public String toString()
toString
in class com.opensymphony.module.propertyset.AbstractPropertySet
Copyright © 2013 Atlassian. All Rights Reserved.