@KSObject public class OperationResult extends AbstractOperationResult implements IInteractionRequest, java.io.Serializable
构造器和说明 |
---|
OperationResult() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<IOperateInfo> |
getAllErrorOrValidateInfo()
操作校验提示集合
|
InteractionContext |
getInteractionContext()
本次交互上下文,包含交互提示内容及交互界面参数
|
java.lang.String |
getSponsor()
交互请求标识,区分发起请求的来源,各交互请求不重复
|
ValidateResultCollection |
getValidateResult() |
boolean |
isSuccess()
操作是否成功:重写此方法,加上校验结果的判断:如果有校验失败信息,有错误提示信息,均标注操作失败(即没有完全成功)
|
void |
setInteractionContext(InteractionContext interactionContext) |
void |
setSponsor(java.lang.String sponsor) |
void |
setValidateResult(ValidateResultCollection validateResultCollection) |
addErrorInfo, addSuccessPkId, getAllErrorInfo, getBillCount, getMessage, getSuccessPkIds, isNeedSign, isShowMessage, setAllErrorInfo, setBillCount, setMessage, setNeedSign, setShowMessage, setSuccess, setSuccessPkIds
addErrorInfo, setShowMessage
@KSMethod public java.util.List<IOperateInfo> getAllErrorOrValidateInfo()
IInteractionRequest
getAllErrorOrValidateInfo
在接口中 IInteractionRequest
@KSMethod public ValidateResultCollection getValidateResult()
public void setValidateResult(ValidateResultCollection validateResultCollection)
@KSMethod public boolean isSuccess()
isSuccess
在接口中 IOperationResult
isSuccess
在类中 AbstractOperationResult
@KSMethod public java.lang.String getSponsor()
getSponsor
在接口中 IInteractionRequest
public void setSponsor(java.lang.String sponsor)
@KSMethod public InteractionContext getInteractionContext()
getInteractionContext
在接口中 IInteractionRequest
public void setInteractionContext(InteractionContext interactionContext)