public class UserWebSession
extends org.pinscores.web.UserWebSession
Constructor and Description |
---|
UserWebSession(BSAccountUser user) |
Modifier and Type | Method and Description |
---|---|
int |
getEditingSid() |
MachineForm |
getMachineForm() |
int |
getNewMid() |
int |
getNewMtid()
If we are changing machine during scoring, and create a new machine type, the mtid goes here.
|
java.util.ArrayList<java.lang.Integer> |
getNewPlayers() |
Player |
getPlayer() |
SessionForm |
getSessionForm() |
int |
getSessionLid()
If there is an open session for scoring, this is its location
|
boolean |
isAdmin() |
boolean |
isChangingMachine() |
boolean |
isShowIds() |
void |
setAdmin(boolean admin) |
void |
setChangingMachine(boolean changingMachine) |
void |
setEditingSid(int editingSid) |
void |
setMachineForm(MachineForm machineForm) |
void |
setNewMid(int newMid) |
void |
setNewMtid(int newMtid) |
void |
setNewPlayers(java.util.ArrayList<java.lang.Integer> newPlayers) |
void |
setPlayer(Player player) |
void |
setSessionForm(SessionForm sessionForm) |
void |
setSessionLid(int sessionLid)
Set the location of the session we are scoring
|
void |
setShowIds(boolean showIds) |
public Player getPlayer()
public void setPlayer(Player player)
player
- The player to set.public MachineForm getMachineForm()
public void setMachineForm(MachineForm machineForm)
machineForm
- The machineForm to set.public SessionForm getSessionForm()
public void setSessionForm(SessionForm sessionForm)
sessionForm
- The sessionForm to set.public boolean isChangingMachine()
public void setChangingMachine(boolean changingMachine)
changingMachine
- the changingMachine to setpublic int getNewMid()
public void setNewMid(int newMid)
newMid
- the newMid to setpublic int getEditingSid()
public void setEditingSid(int editingSid)
editingSid
- the editingSid to setpublic int getSessionLid()
public void setSessionLid(int sessionLid)
sessionLid
- the sessionLid to setpublic int getNewMtid()
public void setNewMtid(int newMtid)
newMtid
- the newMtid to setpublic java.util.ArrayList<java.lang.Integer> getNewPlayers()
public void setNewPlayers(java.util.ArrayList<java.lang.Integer> newPlayers)
newPlayers
- the newPlayers to setpublic boolean isAdmin()
public void setAdmin(boolean admin)
admin
- the admin to setpublic boolean isShowIds()
public void setShowIds(boolean showIds)
showIds
- the showIds to set