Class TypeEnvironment
java.lang.Object
org.gcube.informationsystem.resourceregistry.environments.Environment
org.gcube.informationsystem.resourceregistry.environments.SystemEnvironment
org.gcube.informationsystem.resourceregistry.environments.types.TypeEnvironment
- Author:
- Luca Frosini (ISTI - CNR) Contains all the information-system-model types plus all the types defined on top of the information-system-model (e.g the gcube-model)
-
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
Modifier and TypeMethodDescriptionprotected com.orientechnologies.orient.core.metadata.security.ORoleaddExtraRules(com.orientechnologies.orient.core.metadata.security.ORole role, Environment.PermissionMode permissionMode) static TypeEnvironmentMethods 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 Details
-
getInstance
public static TypeEnvironment 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
-