|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.util.DbJiveProperties
public class DbJiveProperties
Retrieves and stores Jive properties. Properties are stored in the database.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Method Summary | |
|---|---|
void |
clear()
|
protected void |
clusterPut(java.lang.String key,
java.lang.String value)
|
protected void |
clusterRemove(java.lang.String key)
|
boolean |
containsKey(java.lang.Object key)
|
boolean |
containsValue(java.lang.Object value)
|
static void |
destroy()
Used by JiveGlobals to reset the state of the DbJiveProperty objects |
java.util.Set |
entrySet()
|
java.lang.Object |
get(java.lang.Object key)
|
java.util.Collection |
getChildrenNames(java.lang.String parentKey)
Return all children property names of a parent property as a Collection
of String objects. |
static DbJiveProperties |
getInstance()
Returns a singleton instance of DbJiveProperties. |
java.util.List |
getLocalesForProperty(java.lang.String name)
Returns a list of locales where this property is set. |
static DbJiveProperties |
getLocalizedInstance()
Returns a localized instance of JiveProperties |
java.util.Collection |
getPropertyNames()
Returns all property names as a Collection of String values. |
void |
init()
For internal use only. |
boolean |
isEmpty()
|
java.util.Set |
keySet()
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
void |
putAll(java.util.Map t)
|
java.lang.Object |
remove(java.lang.Object key)
|
int |
size()
|
java.util.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 static DbJiveProperties getInstance()
public static DbJiveProperties getLocalizedInstance()
public void init()
public static void destroy()
public int size()
size in interface java.util.Mappublic void clear()
clear in interface java.util.Mappublic boolean isEmpty()
isEmpty in interface java.util.Mappublic boolean containsKey(java.lang.Object key)
containsKey in interface java.util.Mappublic boolean containsValue(java.lang.Object value)
containsValue in interface java.util.Mappublic java.util.Collection values()
values in interface java.util.Mappublic void putAll(java.util.Map t)
putAll in interface java.util.Mappublic java.util.Set entrySet()
entrySet in interface java.util.Mappublic java.util.Set keySet()
keySet in interface java.util.Mappublic java.lang.Object get(java.lang.Object key)
get in interface java.util.Mappublic java.util.Collection getChildrenNames(java.lang.String parentKey)
JivePropertiesCollection
of String objects. For example, given the properties X.Y.A,
X.Y.B, and X.Y.C, then the child properties of
X.Y are X.Y.A, X.Y.B, and X.Y.C. The method
is not recursive; ie, it does not return children of children.
getChildrenNames in interface JivePropertiesparentKey - the name of the parent property.
public java.util.Collection getPropertyNames()
JivePropertiesCollection of String values.
getPropertyNames in interface JivePropertiespublic java.lang.Object remove(java.lang.Object key)
remove in interface java.util.Map
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
put in interface java.util.Mappublic java.util.List getLocalesForProperty(java.lang.String name)
locales where this property is set. If the property doesn't
exist or is not set then an empty list is returned.
name - the name of the property to check.
Locale objects where this property is set or an empty list
if the property doesn't exist.protected void clusterRemove(java.lang.String key)
protected void clusterPut(java.lang.String key,
java.lang.String value)
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||