|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.webapp.tools.data.GapManager
public class GapManager
| Field Summary | |
|---|---|
protected static Logger |
log
The logger for this class |
| Method Summary | |
|---|---|
List<Gap> |
allGaps()
By default, limit the number of entries to 100 |
List<Gap> |
allGaps(Boolean limit)
|
List<Gap> |
allGaps(Gap filterGap)
|
boolean |
appendDataIfGapExists(Gap gap)
|
void |
cleanUp(User user)
cleans up leftovers from course generation gap detection removes presets to be deleted |
void |
cleanUp(User user,
GapDetectionBook book)
cleans up leftovers from course generation gap detection |
boolean |
deleteGapById(int gapId)
|
Gap |
getAccessorGap()
returns a config gap to access the static values in gap |
String |
getGapClass(Gap gap)
gets the type of object which the gap contains |
static GapManager |
getInstance()
|
int |
getNumGaps()
A way to determine if there are any gaps available |
int |
getOperationCount()
|
void |
incOperationCount()
|
boolean |
resetDatabase()
resets the database to its initial state |
void |
resetOperationCount()
|
Gap |
retrieveGapById(int gapId)
|
boolean |
storeGap(Gap gap)
|
String |
transformXMLToHTML(String MBaseId)
makes xml source of item look good in browser |
String |
trimMBaseId(String MBaseId)
removes square brackets |
boolean |
updateGap(Gap gap)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Logger log
| Method Detail |
|---|
public static GapManager getInstance()
public List<Gap> allGaps(Boolean limit)
public List<Gap> allGaps()
public List<Gap> allGaps(Gap filterGap)
public Gap retrieveGapById(int gapId)
public boolean storeGap(Gap gap)
public boolean appendDataIfGapExists(Gap gap)
public boolean resetDatabase()
public boolean deleteGapById(int gapId)
public boolean updateGap(Gap gap)
public int getNumGaps()
public String transformXMLToHTML(String MBaseId)
throws OMConvertException
m - the AppModel
throws - OMConvertException
if the constructor was not able to load the stylesheet
OMConvertExceptionpublic String getGapClass(Gap gap)
gap - The gap for which thepublic String trimMBaseId(String MBaseId)
MBaseId - The String which is to be cleaned up
public int getOperationCount()
public void incOperationCount()
public void resetOperationCount()
public void cleanUp(User user,
GapDetectionBook book)
user - the user who created a gap detection runbook - the gap detection book which has been assembled during the processpublic void cleanUp(User user)
user - the user who created a gap detection runpublic Gap getAccessorGap()
user - the user who created a gap detection run
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||