Interface IInstanceRunTimeSecurable
- All Superinterfaces:
ISecurable
- All Known Subinterfaces:
IInstanceSecurable
- All Known Implementing Classes:
ThingShape
,ThingTemplate
@ThingworxExtensionApiClass(since={6,6})
public interface IInstanceRunTimeSecurable
extends ISecurable
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInstanceRunTimePermission
(PermissionTypes permissionType, String resourceName, Permission permission) void
deleteInstanceRunTimePermission
(PermissionTypes permissionType, String resourceName, Permission permission) void
void
Methods inherited from interface com.thingworx.security.permissions.ISecurable
getID, getName, getOwner, isOwner
-
Method Details
-
getInstanceRunTimePermissions
@ThingworxExtensionApiMethod(since={6,6}) RunTimePermissionCollection getInstanceRunTimePermissions() -
setInstanceRunTimePermissions
@ThingworxExtensionApiMethod(since={6,6}) void setInstanceRunTimePermissions(RunTimePermissionCollection value) -
addInstanceRunTimePermission
@ThingworxExtensionApiMethod(since={6,6}) void addInstanceRunTimePermission(PermissionTypes permissionType, String resourceName, Permission permission) throws Exception - Throws:
Exception
- If an error occurs
-
deleteInstanceRunTimePermission
@ThingworxExtensionApiMethod(since={6,6}) void deleteInstanceRunTimePermission(PermissionTypes permissionType, String resourceName, Permission permission) throws Exception - Throws:
Exception
- If an error occurs
-
persistInstanceRunTimePermissions
- Throws:
Exception
- If an error occurs
-