Class InstanceEnvironment
java.lang.Object
org.gcube.informationsystem.resourceregistry.environments.Environment
org.gcube.informationsystem.resourceregistry.environments.HierarchicalEnvironment
org.gcube.informationsystem.resourceregistry.environments.instances.HierarchicalInstanceEnvironment
org.gcube.informationsystem.resourceregistry.environments.instances.InstanceEnvironment
- Author:
- Luca Frosini (ISTI - CNR) Contains all the instances belonging to a context.
-
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.HierarchicalEnvironment
activeOnlyHierarchicalMode, children, H, HA, hierarchicalMode, parentEnvironmentFields inherited from class org.gcube.informationsystem.resourceregistry.environments.Environment
allOperationAllowedRoles, CONTEXT_MANAGER, contextSubtreeOperationAllowedRoles, DEFAULT_READER_ROLE, DEFAULT_WRITER_ROLE, environmentUUID, INFRASTRUCTURE_MANAGER, instanceOperationAllowedRoles, IS_INSTANCE_OPERATOR, IS_MANAGER -
Constructor Summary
ConstructorsConstructorDescriptionInstanceEnvironment(UUID uuid) Creates a newInstanceEnvironmentinstance for the specified context UUID. -
Method Summary
Methods inherited from class org.gcube.informationsystem.resourceregistry.environments.instances.HierarchicalInstanceEnvironment
addElement, createRolesAndUsers, deleteRolesAndUsers, removeElementMethods inherited from class org.gcube.informationsystem.resourceregistry.environments.HierarchicalEnvironment
addActiveReaderRoleToParent, addHierarchicalRoleToParent, allow, allowActiveReader, allowed, changeParentEnvironment, createActiveReaderRoleAndUser, createRolesAndUsers, deny, denyActiveReader, getChildren, getContexts, getOSecurity, getParentEnvironment, getPool, getRoleOrUserName, getRoleOrUserName, getRoleOrUserName, getSecurityRoleOrUserName, getSecurityRoleOrUserName, grantActiveReaderRoleToAncestors, grantActiveReaderRoleToAncestors, isActiveOnlyHierarchicalMode, isHierarchicalMode, removeActiveReaderRoleFromMyHAUser, removeChildrenHRolesFromMyHUsers, removeChildrenHRolesFromParents, removeChildrenHRolesFromParents, removeHierarchicRoleFromMyHUser, revokeActiveReaderRoleFromAncestors, revokeActiveReaderRoleFromAncestors, setActiveOnlyHierarchicalMode, setHierarchicalMode, setParentEnvironmentMethods inherited from class org.gcube.informationsystem.resourceregistry.environments.Environment
addElement, addExtraRules, allow, create, create, delete, delete, deny, drop, getAllOperationsAllowedRoles, getAllowedRoles, getDatabaseDocument, getInstanceOperationAllowedRoles, getOrCreateRole, getOrCreateUser, getSecurityRoleOrUserName, getSuperRole, getUUID, isElementInContext, isUserAllowed, removeElement, toString
-
Constructor Details
-
InstanceEnvironment
public InstanceEnvironment(UUID uuid) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException Creates a newInstanceEnvironmentinstance for the specified context UUID.- Parameters:
uuid- the Context UUID- Throws:
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException- if the environment cannot be initialized
-