org.activemath.webapp.speech
Interface SpeechRuleCheckerInterface

All Known Implementing Classes:
SpeechRuleChecker

public interface SpeechRuleCheckerInterface


Method Summary
 void computeRulesInExercise()
          This method computes the rules in the exerciseController.
 void computeRulesInPage(Page page)
          This method computes the rules in the ViewBook and the UniversalController.
 void computeRulesInSearch(String itemId)
          This method computes the rules in the SearchController.
 SpeechItemList getCheckedItemList()
           
 boolean isSpeechExerciseOn()
           
 boolean isSpeechOnDemandOn()
           
 boolean isSpeechUniversalOn()
           
 

Method Detail

computeRulesInPage

void computeRulesInPage(Page page)
This method computes the rules in the ViewBook and the UniversalController.

Parameters:
page - - Page which should be computed with the rules.

computeRulesInExercise

void computeRulesInExercise()
This method computes the rules in the exerciseController.


computeRulesInSearch

void computeRulesInSearch(String itemId)
This method computes the rules in the SearchController.

Parameters:
itemId - - Id of the Item which was found in the search.

isSpeechOnDemandOn

boolean isSpeechOnDemandOn()
Returns:
A boolean value if the speech presentation type is OnDemand. So there will be a button in the velocity to start the OnDemandController.

isSpeechUniversalOn

boolean isSpeechUniversalOn()
Returns:
A boolean value if the speech presentation type is Universal. So the UniversalController will be called automatically.

getCheckedItemList

SpeechItemList getCheckedItemList()
Returns:
A SpeechItemList with all item wich will be presented in the Universal type.

isSpeechExerciseOn

boolean isSpeechExerciseOn()
Returns:
A boolean value if there is a speech presentation in exercises.