public final class JPortalUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isEmpty(JBlockMapping jBlock)
Returns true if given
JBlockMapping is empty, and if all of its children are empty |
static java.lang.String |
jPortalActionToJSon(JPortalActionResult action) |
static java.lang.String |
jPortalMappingToJson(JPortalMapping jPortal) |
static JPortalMapping |
jsonToJPortalMapping(java.lang.String json) |
public static java.lang.String jPortalMappingToJson(JPortalMapping jPortal)
jPortal
- the JPortalMapping
public static JPortalMapping jsonToJPortalMapping(java.lang.String json)
json
- the json String representing the JPortalMappingJPortalMapping
from the given json Stringpublic static java.lang.String jPortalActionToJSon(JPortalActionResult action)
action
- the JPortalActionResult
JPortalActionResult
as jsonpublic static boolean isEmpty(JBlockMapping jBlock)
JBlockMapping
is empty, and if all of its children are emptyjBlock
- the JBlockMapping
JBlockMapping
is emptyCopyright © 2001-2017 Jalios SA. All Rights Reserved.