Class EntityRestResult<T>
java.lang.Object
com.suncode.pwfl.web.support.ajax.RestResult
com.suncode.pwfl.web.support.ajax.EntityRestResult<T>
-
Constructor Summary
ConstructorsConstructorDescriptionEntityRestResult
(boolean success) EntityRestResult
(boolean success, String message) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> EntityRestResult<T>
void
static <T> EntityRestResult<T>
success
(T entity)
-
Constructor Details
-
EntityRestResult
public EntityRestResult(boolean success) -
EntityRestResult
-
-
Method Details
-
success
-
failure
-
setEntity
-
getEntity
-