@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class DesignTimePermissionCollection extends AssignedPermissionMap
Constructor and Description |
---|
DesignTimePermissionCollection() |
Modifier and Type | Method and Description |
---|---|
static DesignTimePermissionCollection |
fromJSON(org.json.JSONObject jsonObject) |
void |
mergePermissions(DesignTimePermissionCollection permissions) |
org.json.JSONObject |
toJSON() |
addPermission, deleteAllPermissions, deletePermission
@ThingworxExtensionApiMethod(since={6,6}) public void mergePermissions(DesignTimePermissionCollection permissions)
@ThingworxExtensionApiMethod(since={6,6}) public org.json.JSONObject toJSON() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public static DesignTimePermissionCollection fromJSON(org.json.JSONObject jsonObject) throws java.lang.Exception
java.lang.Exception
- If an error occurs