Class RootEntityCollection
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.concurrent.ConcurrentHashMap<T,V>
-
- com.thingworx.common.utils.SimplifiedConcurrentHashMap<java.lang.String,RootEntity>
-
- com.thingworx.entities.collections.RootEntityCollection
-
- All Implemented Interfaces:
INotScriptFriendly
,IPersistableObject<java.lang.String>
,IDesignTimeSecurable
,IRunTimeSecurable
,ISecurable
,IVisibilitySecurable
,INamedObject
,java.io.Serializable
,java.util.concurrent.ConcurrentMap<java.lang.String,RootEntity>
,java.util.Map<java.lang.String,RootEntity>
@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class RootEntityCollection extends SimplifiedConcurrentHashMap<java.lang.String,RootEntity> implements INotScriptFriendly, IPersistableObject<java.lang.String>, IDesignTimeSecurable, IRunTimeSecurable, IVisibilitySecurable, INamedObject
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
java.util.concurrent.ConcurrentHashMap.KeySetView<K extends java.lang.Object,V extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description RootEntityCollection()
-
Method Summary
-
Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
-
-
-
-
Method Detail
-
toEntityReferenceCollection
@ThingworxExtensionApiMethod(since={6,6}) public EntityReferenceCollection toEntityReferenceCollection()
-
getDesignTimePermissions
@ThingworxExtensionApiMethod(since={6,6}) public DesignTimePermissionCollection getDesignTimePermissions()
- Specified by:
getDesignTimePermissions
in interfaceIDesignTimeSecurable
-
setDesignTimePermissions
@ThingworxExtensionApiMethod(since={6,6}) public void setDesignTimePermissions(DesignTimePermissionCollection value)
- Specified by:
setDesignTimePermissions
in interfaceIDesignTimeSecurable
-
addDesignTimePermission
@ThingworxExtensionApiMethod(since={6,6}) public void addDesignTimePermission(PermissionTypes permissionType, Permission permission) throws java.lang.Exception
- Specified by:
addDesignTimePermission
in interfaceIDesignTimeSecurable
- Throws:
java.lang.Exception
- If an error occurs
-
addDesignTimePermission
@ThingworxExtensionApiMethod(since={9,0}) public void addDesignTimePermission(PermissionTypes permissionType, Permission permission, ContextType contextType) throws java.lang.Exception
- Throws:
java.lang.Exception
- If an error occurs
-
deleteDesignTimePermission
@ThingworxExtensionApiMethod(since={6,6}) public void deleteDesignTimePermission(PermissionTypes permissionType, Permission permission) throws java.lang.Exception
- Specified by:
deleteDesignTimePermission
in interfaceIDesignTimeSecurable
- Throws:
java.lang.Exception
- If an error occurs
-
getVisibilityPermissions
@ThingworxExtensionApiMethod(since={6,6}) public VisibilityPermissionCollection getVisibilityPermissions()
- Specified by:
getVisibilityPermissions
in interfaceIVisibilitySecurable
-
setVisibilityPermissions
@ThingworxExtensionApiMethod(since={6,6}) public void setVisibilityPermissions(VisibilityPermissionCollection value)
- Specified by:
setVisibilityPermissions
in interfaceIVisibilitySecurable
-
addVisibilityPermission
@ThingworxExtensionApiMethod(since={6,6}) public void addVisibilityPermission(PermissionTypes permissionType, Permission permission) throws java.lang.Exception
- Specified by:
addVisibilityPermission
in interfaceIVisibilitySecurable
- Throws:
java.lang.Exception
- If an error occurs
-
deleteVisibilityPermission
@ThingworxExtensionApiMethod(since={6,6}) public void deleteVisibilityPermission(PermissionTypes permissionType, Permission permission) throws java.lang.Exception
- Specified by:
deleteVisibilityPermission
in interfaceIVisibilitySecurable
- Throws:
java.lang.Exception
- If an error occurs
-
getID
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getID()
- Specified by:
getID
in interfaceIPersistableObject<java.lang.String>
- Specified by:
getID
in interfaceISecurable
-
getName
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getName()
- Specified by:
getName
in interfaceINamedObject
- Specified by:
getName
in interfaceISecurable
-
getDescription
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceINamedObject
-
isOwner
@ThingworxExtensionApiMethod(since={6,6}) public boolean isOwner(EntityReference principal)
- Specified by:
isOwner
in interfaceISecurable
-
getOwner
@ThingworxExtensionApiMethod(since={6,6}) public EntityReference getOwner()
- Specified by:
getOwner
in interfaceISecurable
-
getRunTimePermissions
@ThingworxExtensionApiMethod(since={6,6}) public RunTimePermissionCollection getRunTimePermissions()
- Specified by:
getRunTimePermissions
in interfaceIRunTimeSecurable
-
setRunTimePermissions
@ThingworxExtensionApiMethod(since={6,6}) public void setRunTimePermissions(RunTimePermissionCollection value)
- Specified by:
setRunTimePermissions
in interfaceIRunTimeSecurable
-
addRunTimePermission
@ThingworxExtensionApiMethod(since={6,6}) public void addRunTimePermission(PermissionTypes permissionType, java.lang.String resourceName, Permission permission) throws java.lang.Exception
- Specified by:
addRunTimePermission
in interfaceIRunTimeSecurable
- Throws:
java.lang.Exception
- If an error occurs
-
deleteRunTimePermission
@ThingworxExtensionApiMethod(since={6,6}) public void deleteRunTimePermission(PermissionTypes permissionType, java.lang.String resourceName, Permission permission) throws java.lang.Exception
- Specified by:
deleteRunTimePermission
in interfaceIRunTimeSecurable
- Throws:
java.lang.Exception
- If an error occurs
-
persistRunTimePermissions
@ThingworxExtensionApiMethod(since={6,6}) public void persistRunTimePermissions() throws java.lang.Exception
- Specified by:
persistRunTimePermissions
in interfaceIRunTimeSecurable
- Throws:
java.lang.Exception
- If an error occurs
-
persistDesignTimePermissions
@ThingworxExtensionApiMethod(since={6,6}) public void persistDesignTimePermissions() throws java.lang.Exception
- Specified by:
persistDesignTimePermissions
in interfaceIDesignTimeSecurable
- Throws:
java.lang.Exception
- If an error occurs
-
persistVisibilityPermissions
@ThingworxExtensionApiMethod(since={6,6}) public void persistVisibilityPermissions() throws java.lang.Exception
- Specified by:
persistVisibilityPermissions
in interfaceIVisibilitySecurable
- Throws:
java.lang.Exception
- If an error occurs
-
-