public class NumberNetServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements NumberNetService
NumberNetService.Util| Constructor and Description |
|---|
NumberNetServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExpectedTable(java.lang.String name)
Adds the expected table.
|
void |
addNameToTable(java.lang.String name,
java.lang.String table)
Adds the name to table.
|
java.util.List<Participant> |
getAllParticipants()
Gets the all participants.
|
java.util.List<java.lang.Double> |
getAllTargetsThatHaveOneOrMoreExpressions()
Gets the all targets that have one or more expressions.
|
java.util.Map<CalculatorKey,java.lang.Boolean> |
getCalculatorAllKeyStatesForTable(java.lang.String tableName)
Gets the calculator all key states for table.
|
boolean |
getCalculatorKeyStateForTable(java.lang.String tableName,
CalculatorKey key)
Gets the calculator key state for table.
|
java.util.List<java.lang.String> |
getExpectedTables()
Gets the expected tables.
|
java.util.List<Expression> |
getExpressionsForPerson(java.lang.String person)
Gets the expressions for person.
|
java.util.List<Expression> |
getExpressionsForTable(java.lang.String table)
Gets the expressions for table.
|
java.util.List<Expression> |
getExpressionsForTarget(double target)
Gets the expressions for target.
|
java.util.List<Participant> |
getNamesForTable(java.lang.String table)
Gets the names for table.
|
java.util.List<TableTarget> |
getTableTargets()
Gets the table targets.
|
void |
projectTable(java.lang.String table,
java.lang.String projector)
Project table.
|
void |
removeFromTable(java.lang.String name,
java.lang.String table)
Removes the from table.
|
void |
rotateTableContentAndTargets(java.util.List<TableTarget> to)
Rotate table content and targets.
|
void |
setCalculatorKeyStateForAllTables(CalculatorKey key,
boolean state)
Sets the calculator key state for all tables.
|
void |
setCalculatorKeyStateForTable(java.lang.String tableName,
CalculatorKey key,
boolean state)
Sets the calculator key state for table.
|
void |
setCalculatorVisibility(boolean visible)
Sets the calculator visibility.
|
void |
setCorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
Sets the correct expressions visible for all tables.
|
void |
setGraphingModeEnabled(boolean graphingModeOn)
Sets the graphing mode enabled.
|
void |
setIncorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
Sets the incorrect expressions visible for all tables.
|
void |
setOthersCorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
Sets the others correct expressions visible for all tables.
|
void |
setOthersIncorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
Sets the others incorrect expressions visible for all tables.
|
void |
setProjectorDisplayMode(java.lang.String projector,
ProjectionDisplayMode mode)
Sets the projector display mode.
|
void |
setScoresVisibleForAllTables(boolean shouldBeVisible)
Sets the scores visible for all tables.
|
void |
setTableInputEnabled(boolean enabled)
Sets the table input enabled.
|
void |
setTableTargets(java.util.List<TableTarget> targets)
Sets the table targets.
|
void |
setUnifyRotationModeEnabled(java.lang.String projector,
boolean enabled)
Sets the unify rotation mode enabled.
|
void |
updatePositionInformationFromProjector(java.lang.String projector)
Update position information from projector.
|
getSerializationPolicy, processCall, processPostpublic void addExpectedTable(java.lang.String name)
NumberNetServiceaddExpectedTable in interface NumberNetServicename - the namepublic void addNameToTable(java.lang.String name,
java.lang.String table)
NumberNetServiceaddNameToTable in interface NumberNetServicename - the nametable - the tablepublic java.util.List<Participant> getAllParticipants()
NumberNetServicegetAllParticipants in interface NumberNetServicepublic java.util.List<java.lang.Double> getAllTargetsThatHaveOneOrMoreExpressions()
NumberNetServicegetAllTargetsThatHaveOneOrMoreExpressions in interface NumberNetServicepublic java.util.Map<CalculatorKey,java.lang.Boolean> getCalculatorAllKeyStatesForTable(java.lang.String tableName)
NumberNetServicegetCalculatorAllKeyStatesForTable in interface NumberNetServicetableName - the table namepublic boolean getCalculatorKeyStateForTable(java.lang.String tableName,
CalculatorKey key)
NumberNetServicegetCalculatorKeyStateForTable in interface NumberNetServicetableName - the table namekey - the keypublic java.util.List<java.lang.String> getExpectedTables()
NumberNetServicegetExpectedTables in interface NumberNetServicepublic java.util.List<Expression> getExpressionsForPerson(java.lang.String person)
NumberNetServicegetExpressionsForPerson in interface NumberNetServiceperson - the personpublic java.util.List<Expression> getExpressionsForTable(java.lang.String table)
NumberNetServicegetExpressionsForTable in interface NumberNetServicetable - the tablepublic java.util.List<Expression> getExpressionsForTarget(double target)
NumberNetServicegetExpressionsForTarget in interface NumberNetServicetarget - the targetpublic java.util.List<Participant> getNamesForTable(java.lang.String table)
NumberNetServicegetNamesForTable in interface NumberNetServicetable - the tablepublic java.util.List<TableTarget> getTableTargets()
NumberNetServicegetTableTargets in interface NumberNetServicepublic void projectTable(java.lang.String table,
java.lang.String projector)
NumberNetServiceprojectTable in interface NumberNetServicetable - the tableprojector - the projectorpublic void removeFromTable(java.lang.String name,
java.lang.String table)
NumberNetServiceremoveFromTable in interface NumberNetServicename - the nametable - the tablepublic void rotateTableContentAndTargets(java.util.List<TableTarget> to)
NumberNetServicerotateTableContentAndTargets in interface NumberNetServiceto - the topublic void setCalculatorKeyStateForAllTables(CalculatorKey key, boolean state)
NumberNetServicesetCalculatorKeyStateForAllTables in interface NumberNetServicekey - the keystate - the statepublic void setCalculatorKeyStateForTable(java.lang.String tableName,
CalculatorKey key,
boolean state)
NumberNetServicesetCalculatorKeyStateForTable in interface NumberNetServicetableName - the table namekey - the keystate - the statepublic void setCalculatorVisibility(boolean visible)
NumberNetServicesetCalculatorVisibility in interface NumberNetServicevisible - the new calculator visibilitypublic void setCorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
NumberNetServicesetCorrectExpressionsVisibleForAllTables in interface NumberNetServiceshouldBeVisible - the new correct expressions visible for all tablespublic void setGraphingModeEnabled(boolean graphingModeOn)
NumberNetServicesetGraphingModeEnabled in interface NumberNetServicegraphingModeOn - the new graphing mode enabledpublic void setIncorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
NumberNetServicesetIncorrectExpressionsVisibleForAllTables in interface NumberNetServiceshouldBeVisible - the new incorrect expressions visible for all
tablespublic void setOthersCorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
NumberNetServicesetOthersCorrectExpressionsVisibleForAllTables in interface NumberNetServiceshouldBeVisible - the new others correct expressions visible for all
tablespublic void setOthersIncorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
NumberNetServicesetOthersIncorrectExpressionsVisibleForAllTables in interface NumberNetServiceshouldBeVisible - the new others incorrect expressions visible for
all tablespublic void setProjectorDisplayMode(java.lang.String projector,
ProjectionDisplayMode mode)
NumberNetServicesetProjectorDisplayMode in interface NumberNetServiceprojector - the projectormode - the modepublic void setScoresVisibleForAllTables(boolean shouldBeVisible)
NumberNetServicesetScoresVisibleForAllTables in interface NumberNetServiceshouldBeVisible - the new scores visible for all tablespublic void setTableInputEnabled(boolean enabled)
NumberNetServicesetTableInputEnabled in interface NumberNetServiceenabled - the new table input enabledpublic void setTableTargets(java.util.List<TableTarget> targets)
NumberNetServicesetTableTargets in interface NumberNetServicetargets - the new table targetspublic void setUnifyRotationModeEnabled(java.lang.String projector,
boolean enabled)
NumberNetServicesetUnifyRotationModeEnabled in interface NumberNetServiceprojector - the projectorenabled - the enabledpublic void updatePositionInformationFromProjector(java.lang.String projector)
NumberNetServiceupdatePositionInformationFromProjector in interface NumberNetServiceprojector - the projector