public abstract class AssistantActionBase extends java.lang.Object implements AssistantAction
Modifier and Type | Field and Description |
---|---|
protected AssistantRequest |
assistantRequest |
protected AssistantResponse |
assistantResponse |
protected java.io.PrintStream |
err |
protected java.io.PrintStream |
out |
Constructor and Description |
---|
AssistantActionBase() |
Modifier and Type | Method and Description |
---|---|
AssistantResponse |
doAction(AssistantRequest assistantRequest) |
void |
doButton1() |
void |
doButton2() |
void |
doButton3() |
void |
doButton4() |
protected void |
error(java.lang.Object message) |
protected void |
print(java.lang.Object message) |
void |
setErrorStream(java.io.PrintStream err) |
void |
setOutputStream(java.io.PrintStream out) |
AssistantResponse |
showAction(AssistantRequest assistantRequest) |
protected final AssistantResponse assistantResponse
protected java.io.PrintStream out
protected java.io.PrintStream err
protected AssistantRequest assistantRequest
public AssistantResponse showAction(AssistantRequest assistantRequest) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException
showAction
in interface AssistantAction
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
public AssistantResponse doAction(AssistantRequest assistantRequest) throws ru.bitel.bgbilling.common.BGException, ru.bitel.bgbilling.common.BGMessageException
doAction
in interface AssistantAction
ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGMessageException
public void doButton1()
doButton1
in interface AssistantAction
public void doButton2()
doButton2
in interface AssistantAction
public void doButton3()
doButton3
in interface AssistantAction
public void doButton4()
doButton4
in interface AssistantAction
public void setOutputStream(java.io.PrintStream out)
public void setErrorStream(java.io.PrintStream err)
protected void print(java.lang.Object message)
protected void error(java.lang.Object message)