public enum FormItemTypeCacheHolder extends java.lang.Enum<FormItemTypeCacheHolder> implements FormItemTypeCache
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the cache of all current members
|
boolean |
evict(java.lang.String key)
Removes an entry from cache removing a non-existing key is still a success
|
java.util.Map<java.lang.String,java.util.EnumSet<com.hcl.domino.data.Item.ItemFlag>> |
getFieldProperties(com.hcl.domino.data.Database db,
java.lang.String formName) |
java.util.Map<java.lang.String,java.util.EnumSet<com.hcl.domino.data.Item.ItemFlag>> |
getFieldProperties(com.hcl.domino.data.Database db,
java.lang.String formName,
java.util.List<java.lang.String> subForms) |
boolean |
hasEntry(java.lang.String key)
Is a specific entry in the cache?
|
static FormItemTypeCacheHolder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FormItemTypeCacheHolder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getCachePrefix
public static final FormItemTypeCacheHolder INSTANCE
public static FormItemTypeCacheHolder[] values()
for (FormItemTypeCacheHolder c : FormItemTypeCacheHolder.values()) System.out.println(c);
public static FormItemTypeCacheHolder valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void clear()
KeepBaseCache
Clears the cache of all current members
clear
in interface KeepBaseCache
public boolean evict(java.lang.String key)
KeepBaseCache
Removes an entry from cache removing a non-existing key is still a success
evict
in interface KeepBaseCache
key
- public java.util.Map<java.lang.String,java.util.EnumSet<com.hcl.domino.data.Item.ItemFlag>> getFieldProperties(com.hcl.domino.data.Database db, java.lang.String formName)
getFieldProperties
in interface FormItemTypeCache
public java.util.Map<java.lang.String,java.util.EnumSet<com.hcl.domino.data.Item.ItemFlag>> getFieldProperties(com.hcl.domino.data.Database db, java.lang.String formName, java.util.List<java.lang.String> subForms)
getFieldProperties
in interface FormItemTypeCache
public boolean hasEntry(java.lang.String key)
KeepBaseCache
Is a specific entry in the cache?
hasEntry
in interface KeepBaseCache
key
-