Class ShadowContextEnvironment
- java.lang.Object
-
- org.gcube.informationsystem.resourceregistry.environments.Environment
-
- org.gcube.informationsystem.resourceregistry.environments.SystemEnvironment
-
- org.gcube.informationsystem.resourceregistry.environments.contexts.ShadowContextEnvironment
-
public class ShadowContextEnvironment extends SystemEnvironment
- Author:
- Luca Frosini (ISTI - CNR) Added for feature #19428 It is used as a sort of cemetery for deleted Contexts. e.g the information regarding a deleted context are not really deleted instead are moved in this partition to ah historical information and to provide a minimal support for Context reborn.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.gcube.informationsystem.resourceregistry.environments.Environment
Environment.PermissionMode, Environment.SecurityType
-
-
Field Summary
-
Fields inherited from class org.gcube.informationsystem.resourceregistry.environments.Environment
allOperationAllowedRoles, allowedRoles, CONTEXT_MANAGER, DEFAULT_READER_ROLE, DEFAULT_WRITER_ROLE, environmentUUID, INFRASTRUCTURE_MANAGER, IS_MANAGER, poolMap
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.orientechnologies.orient.core.metadata.security.ORoleaddExtraRules(com.orientechnologies.orient.core.metadata.security.ORole role, Environment.PermissionMode permissionMode)static ShadowContextEnvironmentgetInstance()-
Methods inherited from class org.gcube.informationsystem.resourceregistry.environments.Environment
addElement, addElement, allow, allowed, create, create, createRolesAndUsers, delete, delete, deleteRolesAndUsers, deny, drop, getAllOperationsAllowedRoles, getAllowedRoles, getDatabaseDocument, getPool, getRoleOrUserName, getSecurityRoleOrUserName, getSuperRole, getUUID, isElementInContext, isUserAllowed, removeElement, removeElement, toString
-
-
-
-
Method Detail
-
getInstance
public static ShadowContextEnvironment getInstance() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
- Throws:
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
-
addExtraRules
protected com.orientechnologies.orient.core.metadata.security.ORole addExtraRules(com.orientechnologies.orient.core.metadata.security.ORole role, Environment.PermissionMode permissionMode)- Overrides:
addExtraRulesin classEnvironment
-
-