Package tigase.archive
Class VHostItemHelper
- java.lang.Object
-
- tigase.archive.VHostItemHelper
-
public class VHostItemHelper extends Object
- Author:
- andrzej
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_STORE_METHOD_KEYstatic StringENABLED_KEYstatic StringMUC_SAVE_KEYstatic StringREQUIRED_STORE_METHOD_KEYstatic StringRETENTION_PERIOD_KEYstatic StringRETENTION_TYPE_KEY
-
Constructor Summary
Constructors Constructor Description VHostItemHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StoreMethodgetDefaultStoreMethod(tigase.vhosts.VHostItem item, StoreMethod defValue)static StoreMethodgetRequiredStoreMethod(tigase.vhosts.VHostItem item, StoreMethod defValue)static IntegergetRetentionDays(tigase.vhosts.VHostItem item)static RetentionTypegetRetentionType(tigase.vhosts.VHostItem item)static StoreMucgetStoreMucMessages(tigase.vhosts.VHostItem item, StoreMuc defValue)static booleanisEnabled(tigase.vhosts.VHostItem item)static voidregister()
-
-
-
Field Detail
-
ENABLED_KEY
public static final String ENABLED_KEY
- See Also:
- Constant Field Values
-
DEFAULT_STORE_METHOD_KEY
public static final String DEFAULT_STORE_METHOD_KEY
- See Also:
- Constant Field Values
-
REQUIRED_STORE_METHOD_KEY
public static final String REQUIRED_STORE_METHOD_KEY
- See Also:
- Constant Field Values
-
RETENTION_TYPE_KEY
public static final String RETENTION_TYPE_KEY
- See Also:
- Constant Field Values
-
RETENTION_PERIOD_KEY
public static final String RETENTION_PERIOD_KEY
- See Also:
- Constant Field Values
-
MUC_SAVE_KEY
public static final String MUC_SAVE_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultStoreMethod
public static StoreMethod getDefaultStoreMethod(tigase.vhosts.VHostItem item, StoreMethod defValue)
-
getRequiredStoreMethod
public static StoreMethod getRequiredStoreMethod(tigase.vhosts.VHostItem item, StoreMethod defValue)
-
getRetentionDays
public static Integer getRetentionDays(tigase.vhosts.VHostItem item)
-
getRetentionType
public static RetentionType getRetentionType(tigase.vhosts.VHostItem item)
-
getStoreMucMessages
public static StoreMuc getStoreMucMessages(tigase.vhosts.VHostItem item, StoreMuc defValue)
-
isEnabled
public static boolean isEnabled(tigase.vhosts.VHostItem item)
-
register
public static void register()
-
-