org.camunda.bpm.cycle.connector.signavio
Class SignavioJson
java.lang.Object
org.camunda.bpm.cycle.connector.signavio.SignavioJson
public class SignavioJson
- extends Object
Handles all JSON-related stuff, like extraction of ids, types, conversion
etc.
- Author:
- christian.lipphardt@camunda.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignavioJson
public SignavioJson()
extractNodeName
public static String extractNodeName(String json)
extractNodeName
public static String extractNodeName(org.codehaus.jettison.json.JSONObject jsonObj)
extractDirectoryId
public static String extractDirectoryId(org.codehaus.jettison.json.JSONObject jsonObj)
extractModelId
public static String extractModelId(org.codehaus.jettison.json.JSONObject jsonObj)
extractModelContentType
public static ConnectorNodeType extractModelContentType(org.codehaus.jettison.json.JSONObject jsonObj)
extractPrivateFolderId
public static String extractPrivateFolderId(String json)
extractPrivateFolderName
public static String extractPrivateFolderName(String json)
extractLastModifiedDateFromInfo
public static String extractLastModifiedDateFromInfo(String info)
extractParentIdFromInfo
public static String extractParentIdFromInfo(String info)
extractParentNameFromInfo
public static String extractParentNameFromInfo(String info)
extractIdForMatchingModelName
public static String extractIdForMatchingModelName(String json,
String modelName)
throws org.codehaus.jettison.json.JSONException
- Throws:
org.codehaus.jettison.json.JSONException
extractModelComment
public static String extractModelComment(org.codehaus.jettison.json.JSONObject jsonObj)
Copyright © 2014 camunda services GmbH. All rights reserved.