Package com.jalios.jcms.result
Class Result
- java.lang.Object
-
- com.jalios.jcms.result.AbstractResult
-
- com.jalios.jcms.result.Result
-
- All Implemented Interfaces:
java.io.Serializable
public class Result extends AbstractResult
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Result(JcmsMessage.Level level, java.lang.String message, java.lang.Object... params)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Result
error(java.lang.String message, java.lang.Object... params)
static Result
fail()
static Result
fail(java.lang.String message, java.lang.Object... params)
static Result
info(java.lang.String message, java.lang.Object... params)
static Result
success()
static Result
success(java.lang.String message, java.lang.Object... params)
-
Methods inherited from class com.jalios.jcms.result.AbstractResult
getMessage, getMessage, isSuccess, sendMessage, sendMessage, sendMessage, sendMessage
-
-
-
-
Constructor Detail
-
Result
protected Result(JcmsMessage.Level level, java.lang.String message, java.lang.Object... params)
-
-
Method Detail
-
success
public static Result success()
-
success
public static Result success(java.lang.String message, java.lang.Object... params)
-
fail
public static Result fail()
-
fail
public static Result fail(java.lang.String message, java.lang.Object... params)
-
error
public static Result error(java.lang.String message, java.lang.Object... params)
-
info
public static Result info(java.lang.String message, java.lang.Object... params)
-
-