Class DesignTimePermissionCollection
java.lang.Object
com.thingworx.security.permissions.AssignedPermissionMap
com.thingworx.security.permissions.DesignTimePermissionCollection
- All Implemented Interfaces:
IDiffableObject
,Cloneable
@ThingworxExtensionApiClass(since={6,6},
canInstantiate=true)
public class DesignTimePermissionCollection
extends AssignedPermissionMap
implements Cloneable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJSON
(org.json.JSONObject jsonObject) void
mergePermissions
(DesignTimePermissionCollection permissions) org.json.JSONObject
toJSON()
Methods inherited from class com.thingworx.security.permissions.AssignedPermissionMap
addPermission, deleteAllPermissions, deletePermission
-
Constructor Details
-
DesignTimePermissionCollection
public DesignTimePermissionCollection()
-
-
Method Details
-
mergePermissions
@ThingworxExtensionApiMethod(since={6,6}) public void mergePermissions(DesignTimePermissionCollection permissions) -
toJSON
- Throws:
Exception
- If an error occurs
-
fromJSON
@ThingworxExtensionApiMethod(since={6,6}) public static DesignTimePermissionCollection fromJSON(org.json.JSONObject jsonObject) throws Exception - Throws:
Exception
- If an error occurs
-