public interface ERPInterface
extends java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_CONNECT
An error type that indicates a problem occurred getting a connection to
the ERP system.
|
static int |
ERROR_NONE
An error type that indicates no error.
|
static int |
ERROR_PROGRAM
An error type that indicates a call to an ERP program ended abnormally.
|
static int |
WARN_DUPLICATE
A warning type that indicates the call to the ERP program encountered a
duplicate record when attempting to add a new record.
|
static int |
WARN_NONE
A warning type that indicates no warning.
|
Modifier and Type | Method and Description |
---|---|
FlashServletContext |
getContext()
Returns the ERP interface's servlet context (i.e.
|
int |
getErrorType()
Returns the type of error encountered during processing.
|
int |
getWarningType()
Returns the type of warning encountered during processing.
|
void |
setContext(FlashServletContext ctx)
Sets the ERP interface's servlet context (i.e.
|
void |
setErrorType(int type)
Sets the type of error encountered during processing.
|
void |
setWarningType(int type)
Sets the type of warning encountered during processing.
|
static final int ERROR_NONE
static final int ERROR_CONNECT
static final int ERROR_PROGRAM
static final int WARN_NONE
static final int WARN_DUPLICATE
FlashServletContext getContext()
void setContext(FlashServletContext ctx)
ctx
- (FlashServletContext) The current servlet or thread context.int getErrorType()
void setErrorType(int type)
type
- (int) The error type.int getWarningType()
void setWarningType(int type)
type
- (int) The warning type.