|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.datacrow.enhancers.ValueEnhancers
public class ValueEnhancers
Collection of value enhancers. Value enhancers should be registered here to become active.
IValueEnhancer
Field Summary | |
---|---|
static int |
_AUTOINCREMENT
|
static int |
_TITLEREWRITERS
|
Constructor Summary | |
---|---|
ValueEnhancers()
|
Method Summary | |
---|---|
static java.util.Collection<IValueEnhancer> |
getEnhancers(DcField field)
Retrieves all value enhancers for the specified field. |
static java.util.Collection<? extends IValueEnhancer> |
getEnhancers(int module,
int idx)
Retrieves all value enhancers for the specified module. |
static void |
initialize()
Loads all value enhancers. |
static void |
registerEnhancer(DcField field,
IValueEnhancer valueEnhancer)
Register a value enhancer for a specific field. |
static void |
save()
Saves the enhancer settings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int _AUTOINCREMENT
public static final int _TITLEREWRITERS
Constructor Detail |
---|
public ValueEnhancers()
Method Detail |
---|
public static void registerEnhancer(DcField field, IValueEnhancer valueEnhancer)
field
- The field which will be enhanced.valueEnhancer
- The value enhancer.public static void initialize()
public static java.util.Collection<IValueEnhancer> getEnhancers(DcField field)
field
-
public static java.util.Collection<? extends IValueEnhancer> getEnhancers(int module, int idx)
module
- The module index.idx
- The enhancer index/type.
public static void save()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |