|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassRepresentation
A class abstraction to give access to class level configuration like adding an index, checking if index exists, rebuilding an index,...
Method Summary | |
---|---|
void |
addFullInstantiationHelper(FullInstantiationHelper instantiationHelper)
Adds an helper to tell ODB what class to call to create an instance |
void |
addIndexOn(java.lang.String name,
java.lang.String[] indexFields,
boolean verbose)
|
void |
addInstantiationHelper(InstantiationHelper instantiationHelper)
Adds an helper to tell ODB what class to call to create an instance |
void |
addParameterHelper(ParameterHelper parameterHelper)
Adds an helper to tell ODB how to create an instance when no default constructor is available |
void |
addUniqueIndexOn(java.lang.String name,
java.lang.String[] indexFields,
boolean verbose)
|
void |
deleteIndex(java.lang.String indexName,
boolean verbose)
|
void |
doNotPersistAttribute(java.lang.String attributeName)
|
boolean |
existIndex(java.lang.String indexName)
To check if an index exist |
java.util.List<java.lang.String> |
getIndexDescriptions()
|
void |
persistAttribute(java.lang.String attributeName)
|
void |
rebuildIndex(java.lang.String indexName,
boolean verbose)
|
void |
removeFullInstantiationHelper()
Remove the instantiation helper of this class, if exists |
void |
removeInstantiationHelper()
Remove the instantiation helper of this class, if exists |
void |
removeParameterHelper()
Remove the parameter helper for this class, if exists |
Method Detail |
---|
void addUniqueIndexOn(java.lang.String name, java.lang.String[] indexFields, boolean verbose)
name
- The name of the indexindexFields
- The list of fields of the indexverbose
- A boolean value to indicate of ODB must describe what it is
doing
java.io.IOException
java.lang.Exception
void addIndexOn(java.lang.String name, java.lang.String[] indexFields, boolean verbose)
name
- The name of the indexindexFields
- The list of fields of the indexverbose
- A boolean value to indicate of ODB must describe what it is
doing
-
java.io.IOException
java.lang.Exception
void addParameterHelper(ParameterHelper parameterHelper)
void removeParameterHelper()
void addInstantiationHelper(InstantiationHelper instantiationHelper)
void removeInstantiationHelper()
void addFullInstantiationHelper(FullInstantiationHelper instantiationHelper)
void removeFullInstantiationHelper()
boolean existIndex(java.lang.String indexName)
indexName
-
void rebuildIndex(java.lang.String indexName, boolean verbose)
className
- indexName
- verbose
- void deleteIndex(java.lang.String indexName, boolean verbose)
className
- indexName
- verbose
- java.util.List<java.lang.String> getIndexDescriptions()
void persistAttribute(java.lang.String attributeName)
void doNotPersistAttribute(java.lang.String attributeName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |