public class VHostItemHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_STORE_METHOD_KEY |
static String |
ENABLED_KEY |
static String |
MUC_SAVE_KEY |
static String |
REQUIRED_STORE_METHOD_KEY |
static String |
RETENTION_PERIOD_KEY |
static String |
RETENTION_TYPE_KEY |
| Constructor and Description |
|---|
VHostItemHelper() |
| Modifier and Type | Method and Description |
|---|---|
static StoreMethod |
getDefaultStoreMethod(tigase.vhosts.VHostItem item,
StoreMethod defValue) |
static StoreMethod |
getRequiredStoreMethod(tigase.vhosts.VHostItem item,
StoreMethod defValue) |
static Integer |
getRetentionDays(tigase.vhosts.VHostItem item) |
static RetentionType |
getRetentionType(tigase.vhosts.VHostItem item) |
static StoreMuc |
getStoreMucMessages(tigase.vhosts.VHostItem item,
StoreMuc defValue) |
static boolean |
isEnabled(tigase.vhosts.VHostItem item) |
static void |
register() |
public static final String ENABLED_KEY
public static final String DEFAULT_STORE_METHOD_KEY
public static final String REQUIRED_STORE_METHOD_KEY
public static final String RETENTION_TYPE_KEY
public static final String RETENTION_PERIOD_KEY
public static final String MUC_SAVE_KEY
public static StoreMethod getDefaultStoreMethod(tigase.vhosts.VHostItem item, StoreMethod defValue)
public static StoreMethod getRequiredStoreMethod(tigase.vhosts.VHostItem item, StoreMethod defValue)
public static Integer getRetentionDays(tigase.vhosts.VHostItem item)
public static RetentionType getRetentionType(tigase.vhosts.VHostItem item)
public static StoreMuc getStoreMucMessages(tigase.vhosts.VHostItem item, StoreMuc defValue)
public static boolean isEnabled(tigase.vhosts.VHostItem item)
public static void register()
Copyright © 2012–2019 "Tigase, Inc.". All rights reserved.