Class MUCServiceProperties
java.lang.Object
org.jivesoftware.openfire.muc.spi.MUCServiceProperties
Retrieves and stores MUC service properties. Properties are stored in the database.
- Author:
- Daniel Henninger
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
boolean
getBooleanProperty
(String name) boolean
getBooleanProperty
(String name, boolean defaultValue) getChildrenNames
(String parentKey) Return all children property names of a parent property as a Collection of String objects.getProperty
(String name, String defaultValue) Returns all property names as a Collection of String values.boolean
isEmpty()
keySet()
void
int
size()
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
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
MUCServiceProperties
-
-
Method Details
-
size
public int size() -
clear
public void clear() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<String,
String>
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,
String>
-
values
-
putAll
-
entrySet
-
keySet
-
get
-
getChildrenNames
Return all children property names of a parent property as a Collection of String objects. For example, given the propertiesX.Y.A
,X.Y.B
, andX.Y.C
, then the child properties ofX.Y
areX.Y.A
,X.Y.B
, andX.Y.C
. The method is not recursive; ie, it does not return children of children.- Parameters:
parentKey
- the name of the parent property.- Returns:
- all child property names for the given parent.
-
getPropertyNames
Returns all property names as a Collection of String values.- Returns:
- all property names.
-
remove
-
put
-
getProperty
-
getBooleanProperty
-
getBooleanProperty
-