Uses of Class
cz.metacentrum.perun.core.api.Host
Package
Description
Exceptions.
-
Uses of Host in cz.metacentrum.perun.audit.events.AttributesManagerEvents
Modifier and TypeMethodDescriptionAllAttributesRemovedForHost.getHost()
AttributeRemovedForHost.getHost()
AttributeSetForHost.getHost()
ModifierConstructorDescriptionAttributeRemovedForHost
(AttributeDefinition attribute, Host host) AttributeSetForHost
(Attribute attribute, Host host) -
Uses of Host in cz.metacentrum.perun.audit.events.FacilityManagerEvents
Modifier and TypeMethodDescriptionHostAddedToFacility.getHost()
HostRemovedFromFacility.getHost()
ModifierConstructorDescriptionHostAddedToFacility
(Host host, Facility facility) HostRemovedFromFacility
(Host host, Facility facility) -
Uses of Host in cz.metacentrum.perun.core.api
Modifier and TypeMethodDescriptionFacilitiesManager.addHost
(PerunSession perunSession, Host host, Facility facility) Adds host to the Facility.EnrichedHost.getHost()
FacilitiesManager.getHostById
(PerunSession sess, int id) Get the host by its ID.Modifier and TypeMethodDescriptionFacilitiesManager.addHosts
(PerunSession sess, Facility facility, List<String> hosts) Create hosts in Perun and add them to the Facility.FacilitiesManager.addHosts
(PerunSession sess, List<Host> hosts, Facility facility) Adds hosts to the Facility.EnrichedFacility.getHosts()
FacilitiesManager.getHosts
(PerunSession sess, Facility facility) List hosts of Facility.FacilitiesManager.getHostsByHostname
(PerunSession sess, String hostname) Get all hosts with this hostname (from all facilities).Modifier and TypeMethodDescriptionFacilitiesManager.addHost
(PerunSession perunSession, Host host, Facility facility) Adds host to the Facility.void
AttributesManager.checkAttributeSemantics
(PerunSession sess, Host host, Attribute attribute) Checks if value of this host attribute has valid semantics.void
AttributesManager.checkAttributesSemantics
(PerunSession sess, Host host, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributesSyntax
(PerunSession sess, Host host, List<Attribute> attributes) PRIVILEGE: Check attributes only when principal has access to write on them.void
AttributesManager.checkAttributeSyntax
(PerunSession sess, Host host, Attribute attribute) Checks if value of this host attribute has valid syntaxAttributesManager.fillAttribute
(PerunSession sess, Host host, Attribute attribute) This method tries to fill host attribute.AttributesManager.fillAttributes
(PerunSession sess, Host host, List<Attribute> attributes) PRIVILEGE: Fill attributes only when principal has access to write on them.AttributesManager.getAttribute
(PerunSession sess, Host host, String attributeName) Get particular attribute for the hostAttributesManager.getAttributeById
(PerunSession sess, Host host, int id) Get particular attribute for the hostAttributesManager.getAttributes
(PerunSession sess, Host host) Get all non-empty attributes associated with the hostAttributesManager.getAttributes
(PerunSession sess, Host host, List<String> attrNames) Get all attributes associated with the host which have name in list attrNames (empty too).FacilitiesManager.getFacilityForHost
(PerunSession sess, Host host) Return facility which has the host.AttributesManager.getRequiredAttributes
(PerunSession sess, Service service, Host host) Get host required attributes for the serviceAttributesManager.getResourceRequiredAttributes
(PerunSession sess, Resource resourceToGetServicesFrom, Host host) Get host attributes which are required by services defined on specified resourcestatic boolean
AuthzResolver.isAuthorizedForAttribute
(PerunSession sess, ActionType actionType, AttributeDefinition attrDef, Host host) Deprecated.static boolean
AuthzResolver.isAuthorizedForAttribute
(PerunSession sess, AttributeAction actionType, AttributeDefinition attrDef, Host host, boolean checkMfa) Checks if the principal is authorized to do some action of host attribute.void
AttributesManager.removeAllAttributes
(PerunSession sess, Host host) Unset all attributes for the hostvoid
AttributesManager.removeAttribute
(PerunSession sess, Host host, AttributeDefinition attribute) Unset particular attribute for the host.void
AttributesManager.removeAttributes
(PerunSession sess, Host host, List<? extends AttributeDefinition> attributes) PRIVILEGE: Remove attributes only when principal has access to write on them.void
FacilitiesManager.removeHost
(PerunSession perunSession, Host host) Remove hosts from the Facility.void
AttributesManager.setAttribute
(PerunSession sess, Host host, Attribute attribute) Store the attribute associated with the host.void
AttributesManager.setAttributes
(PerunSession sess, Host host, List<Attribute> attributes) Store the attributes associated with the host.void
Modifier and TypeMethodDescriptionFacilitiesManager.addHosts
(PerunSession sess, List<Host> hosts, Facility facility) Adds hosts to the Facility.void
FacilitiesManager.removeHosts
(PerunSession sess, List<Host> hosts, Facility facility) Remove hosts from the Facility.void
-
Uses of Host in cz.metacentrum.perun.core.api.exceptions
Modifier and TypeMethodDescriptionHostExistsException.getHost()
Getter for the hostHostNotExistsException.getHost()
Getter for the hostModifierConstructorDescriptionHostExistsException
(Host host) Constructor with the hostHostNotExistsException
(Host host) Constructor with the host -
Uses of Host in cz.metacentrum.perun.core.bl
Modifier and TypeMethodDescriptionFacilitiesManagerBl.addHost
(PerunSession perunSession, Host host, Facility facility) Adds host to the Facility.FacilitiesManagerBl.getHostById
(PerunSession sess, int id) Get the host by its ID.Modifier and TypeMethodDescriptionFacilitiesManagerBl.addHosts
(PerunSession sess, Facility facility, List<String> hosts) Create hosts in Perun and add them to the Facility.FacilitiesManagerBl.addHosts
(PerunSession sess, List<Host> hosts, Facility facility) Create hosts in Perun and add them to the Facility Note: If you wish to add more hosts, it is recommended to prepare a Listof them so as there can be only one database call. FacilitiesManagerBl.getHosts
(PerunSession sess, Facility facility) List hosts of Facility.FacilitiesManagerBl.getHostsByHostname
(PerunSession sess, String hostname) Get all hosts with this hostname (from all facilities).Modifier and TypeMethodDescriptionFacilitiesManagerBl.addHost
(PerunSession perunSession, Host host, Facility facility) Adds host to the Facility.void
AttributesManagerBl.checkAttributeSemantics
(PerunSession sess, Host host, Attribute attribute) Check if the value of this host attribute has valid semanticsvoid
AttributesManagerBl.checkAttributesSemantics
(PerunSession sess, Host host, List<Attribute> attributes) Batch version of checkAttributeSemanticsvoid
AttributesManagerBl.checkAttributesSyntax
(PerunSession sess, Host host, List<Attribute> attributes) Batch version of checkAttributeSyntaxvoid
AttributesManagerBl.checkAttributeSyntax
(PerunSession sess, Host host, Attribute attribute) Check if the value of this host attribute has valid syntax.void
FacilitiesManagerBl.checkHostExists
(PerunSession sess, Host host) AttributesManagerBl.fillAttribute
(PerunSession sess, Host host, Attribute attribute) This method tries to fill value of the host attribute.AttributesManagerBl.fillAttributes
(PerunSession sess, Host host, List<Attribute> attributes) Batch version of fillAttribute.AttributesManagerBl.getAttribute
(PerunSession sess, Host host, String attributeName) Get particular attribute for the hostAttributesManagerBl.getAttributeById
(PerunSession sess, Host host, int id) Get particular attribute for the hostAttributesManagerBl.getAttributes
(PerunSession sess, Host host) Get all non-empty attributes associated with the hostAttributesManagerBl.getAttributes
(PerunSession sess, Host host, List<String> attrNames) Get all attributes associated with the host which have name in list attrNames (empty and virtual too).FacilitiesManagerBl.getFacilitiesByPerunBean
(PerunSession sess, Host host) Returns list of facilities connected with a hostFacilitiesManagerBl.getFacilityForHost
(PerunSession sess, Host host) Return facility which has the host.GroupsManagerBl.getGroupsByPerunBean
(PerunSession sess, Host host) Returns list of groups connected with a hostAttributesManagerBl.getRequiredAttributes
(PerunSession sess, Service service, Host host) Get host attributes which are required by serviceAttributesManagerBl.getResourceRequiredAttributes
(PerunSession sess, Resource resourceToGetServicesFrom, Host host) Get the host attributes which are required by services.UsersManagerBl.getUsersByPerunBean
(PerunSession sess, Host host) Returns list of users connected with a hostVosManagerBl.getVosByPerunBean
(PerunSession sess, Host host) Returns list of vos connected with a hostvoid
AttributesManagerBl.removeAllAttributes
(PerunSession sess, Host host) Unset all attributes for the host.void
AttributesManagerBl.removeAttribute
(PerunSession sess, Host host, AttributeDefinition attribute) Unset particular attribute for the host.void
AttributesManagerBl.removeAttributes
(PerunSession sess, Host host, List<? extends AttributeDefinition> attributes) Batch version of removeAttribute.boolean
AttributesManagerBl.removeAttributeWithoutCheck
(PerunSession sess, Host host, AttributeDefinition attribute) Unset all attributes for the host without check of value.void
FacilitiesManagerBl.removeHost
(PerunSession perunSession, Host host, Facility facility) Remove hosts from the Facility.void
AttributesManagerBl.setAttribute
(PerunSession sess, Host host, Attribute attribute) Store the attribute associated with the host.void
AttributesManagerBl.setAttributes
(PerunSession sess, Host host, List<Attribute> attributes) Store the attributes associated with the host.boolean
AttributesManagerBl.setAttributeWithoutCheck
(PerunSession sess, Host host, Attribute attribute) Just store the particular attribute associated with the host, doesn't preform any value check.Modifier and TypeMethodDescriptionFacilitiesManagerBl.addHosts
(PerunSession sess, List<Host> hosts, Facility facility) Create hosts in Perun and add them to the Facility Note: If you wish to add more hosts, it is recommended to prepare a Listof them so as there can be only one database call. void
FacilitiesManagerBl.removeHosts
(PerunSession sess, List<Host> hosts, Facility facility) Remove hosts from the Facility. -
Uses of Host in cz.metacentrum.perun.core.blImpl
Modifier and TypeMethodDescriptionFacilitiesManagerBlImpl.addHost
(PerunSession sess, Host host, Facility facility) FacilitiesManagerBlImpl.getHostById
(PerunSession sess, int id) Modifier and TypeMethodDescriptionFacilitiesManagerBlImpl.addHosts
(PerunSession sess, Facility facility, List<String> hosts) FacilitiesManagerBlImpl.addHosts
(PerunSession sess, List<Host> hosts, Facility facility) FacilitiesManagerBlImpl.getHosts
(PerunSession sess, Facility facility) FacilitiesManagerBlImpl.getHostsByHostname
(PerunSession sess, String hostname) Modifier and TypeMethodDescriptionFacilitiesManagerBlImpl.addHost
(PerunSession sess, Host host, Facility facility) void
AttributesManagerBlImpl.checkAttributeSemantics
(PerunSession sess, Host host, Attribute attribute) void
AttributesManagerBlImpl.checkAttributesSemantics
(PerunSession sess, Host host, List<Attribute> attributes) void
AttributesManagerBlImpl.checkAttributesSyntax
(PerunSession sess, Host host, List<Attribute> attributes) void
AttributesManagerBlImpl.checkAttributeSyntax
(PerunSession sess, Host host, Attribute attribute) void
FacilitiesManagerBlImpl.checkHostExists
(PerunSession sess, Host host) AttributesManagerBlImpl.fillAttribute
(PerunSession sess, Host host, Attribute attribute) AttributesManagerBlImpl.fillAttributes
(PerunSession sess, Host host, List<Attribute> attributes) AttributesManagerBlImpl.getAttribute
(PerunSession sess, Host host, String attributeName) AttributesManagerBlImpl.getAttributeById
(PerunSession sess, Host host, int id) AttributesManagerBlImpl.getAttributes
(PerunSession sess, Host host) AttributesManagerBlImpl.getAttributes
(PerunSession sess, Host host, List<String> attrNames) FacilitiesManagerBlImpl.getFacilitiesByPerunBean
(PerunSession sess, Host host) FacilitiesManagerBlImpl.getFacilityForHost
(PerunSession sess, Host host) GroupsManagerBlImpl.getGroupsByPerunBean
(PerunSession sess, Host host) AttributesManagerBlImpl.getRequiredAttributes
(PerunSession sess, Service service, Host host) AttributesManagerBlImpl.getResourceRequiredAttributes
(PerunSession sess, Resource resourceToGetServicesFrom, Host host) UsersManagerBlImpl.getUsersByPerunBean
(PerunSession sess, Host host) VosManagerBlImpl.getVosByPerunBean
(PerunSession sess, Host host) boolean
FacilitiesManagerBlImpl.hostExists
(PerunSession sess, Host host) static boolean
AuthzResolverBlImpl.isAuthorizedForAttribute
(PerunSession sess, ActionType actionType, AttributeDefinition attrDef, Host host) Deprecated.static boolean
AuthzResolverBlImpl.isAuthorizedForAttribute
(PerunSession sess, AttributeAction actionType, AttributeDefinition attrDef, Host host) void
AttributesManagerBlImpl.removeAllAttributes
(PerunSession sess, Host host) void
AttributesManagerBlImpl.removeAttribute
(PerunSession sess, Host host, AttributeDefinition attribute) void
AttributesManagerBlImpl.removeAttributes
(PerunSession sess, Host host, List<? extends AttributeDefinition> attributesDefinition) boolean
AttributesManagerBlImpl.removeAttributeWithoutCheck
(PerunSession sess, Host host, AttributeDefinition attribute) void
FacilitiesManagerBlImpl.removeHost
(PerunSession sess, Host host, Facility facility) void
AttributesManagerBlImpl.setAttribute
(PerunSession sess, Host host, Attribute attribute) void
AttributesManagerBlImpl.setAttributes
(PerunSession sess, Host host, List<Attribute> attributes) boolean
AttributesManagerBlImpl.setAttributeWithoutCheck
(PerunSession sess, Host host, Attribute attribute) Modifier and TypeMethodDescriptionFacilitiesManagerBlImpl.addHosts
(PerunSession sess, List<Host> hosts, Facility facility) void
FacilitiesManagerBlImpl.removeHosts
(PerunSession sess, List<Host> hosts, Facility facility) -
Uses of Host in cz.metacentrum.perun.core.entry
Modifier and TypeMethodDescriptionFacilitiesManagerEntry.addHost
(PerunSession sess, Host host, Facility facility) FacilitiesManagerEntry.getHostById
(PerunSession sess, int hostId) Modifier and TypeMethodDescriptionFacilitiesManagerEntry.addHosts
(PerunSession sess, Facility facility, List<String> hosts) FacilitiesManagerEntry.addHosts
(PerunSession sess, List<Host> hosts, Facility facility) FacilitiesManagerEntry.getHosts
(PerunSession sess, Facility facility) FacilitiesManagerEntry.getHostsByHostname
(PerunSession sess, String hostname) Modifier and TypeMethodDescriptionFacilitiesManagerEntry.addHost
(PerunSession sess, Host host, Facility facility) void
AttributesManagerEntry.checkAttributeSemantics
(PerunSession sess, Host host, Attribute attribute) void
AttributesManagerEntry.checkAttributesSemantics
(PerunSession sess, Host host, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributesSyntax
(PerunSession sess, Host host, List<Attribute> attributes) void
AttributesManagerEntry.checkAttributeSyntax
(PerunSession sess, Host host, Attribute attribute) AttributesManagerEntry.fillAttribute
(PerunSession sess, Host host, Attribute attribute) AttributesManagerEntry.fillAttributes
(PerunSession sess, Host host, List<Attribute> attributes) AttributesManagerEntry.getAttribute
(PerunSession sess, Host host, String attributeName) AttributesManagerEntry.getAttributeById
(PerunSession sess, Host host, int id) AttributesManagerEntry.getAttributes
(PerunSession sess, Host host) AttributesManagerEntry.getAttributes
(PerunSession sess, Host host, List<String> attrNames) FacilitiesManagerEntry.getFacilityForHost
(PerunSession sess, Host host) AttributesManagerEntry.getRequiredAttributes
(PerunSession sess, Service service, Host host) AttributesManagerEntry.getResourceRequiredAttributes
(PerunSession sess, Resource resourceToGetServicesFrom, Host host) void
AttributesManagerEntry.removeAllAttributes
(PerunSession sess, Host host) void
AttributesManagerEntry.removeAttribute
(PerunSession sess, Host host, AttributeDefinition attribute) void
AttributesManagerEntry.removeAttributes
(PerunSession sess, Host host, List<? extends AttributeDefinition> attributes) void
FacilitiesManagerEntry.removeHost
(PerunSession sess, Host host) void
AttributesManagerEntry.setAttribute
(PerunSession sess, Host host, Attribute attribute) void
AttributesManagerEntry.setAttributes
(PerunSession sess, Host host, List<Attribute> attributes) Modifier and TypeMethodDescriptionFacilitiesManagerEntry.addHosts
(PerunSession sess, List<Host> hosts, Facility facility) void
FacilitiesManagerEntry.removeHosts
(PerunSession sess, List<Host> hosts, Facility facility) -
Uses of Host in cz.metacentrum.perun.core.impl
Modifier and TypeMethodDescriptionFacilitiesManagerImpl.addHost
(PerunSession sess, Host host, Facility facility) FacilitiesManagerImpl.getHostById
(PerunSession sess, int id) Modifier and TypeMethodDescriptionFacilitiesManagerImpl.getHosts
(PerunSession sess, Facility facility) FacilitiesManagerImpl.getHostsByHostname
(PerunSession sess, String hostname) Modifier and TypeMethodDescriptionFacilitiesManagerImpl.addHost
(PerunSession sess, Host host, Facility facility) void
AttributesManagerImpl.changedAttributeHook
(PerunSession sess, Host host, Attribute attribute) void
AttributesManagerImpl.checkAttributeSemantics
(PerunSession sess, Host host, Attribute attribute) void
AttributesManagerImpl.checkAttributeSyntax
(PerunSession sess, Host host, Attribute attribute) void
FacilitiesManagerImpl.checkHostExists
(PerunSession sess, Host host) static void
Utils.checkHostname
(Host host) Checks whether the hostname has correct syntax.AttributesManagerImpl.fillAttribute
(PerunSession sess, Host host, Attribute attribute) AttributesManagerImpl.getAttribute
(PerunSession sess, Host host, String attributeName) AttributesManagerImpl.getAttributeById
(PerunSession sess, Host host, int id) AttributesManagerImpl.getAttributes
(PerunSession sess, Host host) AttributesManagerImpl.getAttributes
(PerunSession sess, Host host, List<String> attrNames) FacilitiesManagerImpl.getFacilityForHost
(PerunSession sess, Host host) AttributesManagerImpl.getRequiredAttributes
(PerunSession sess, Resource resourceToGetServicesFrom, Host host) AttributesManagerImpl.getRequiredAttributes
(PerunSession sess, Service service, Host host) AttributesManagerImpl.getVirtualAttributes
(PerunSession sess, Host host) boolean
FacilitiesManagerImpl.hostExists
(PerunSession sess, Host host) boolean
AttributesManagerImpl.removeAllAttributes
(PerunSession sess, Host host) boolean
AttributesManagerImpl.removeAttribute
(PerunSession sess, Host host, AttributeDefinition attribute) void
FacilitiesManagerImpl.removeHost
(PerunSession sess, Host host) -
Uses of Host in cz.metacentrum.perun.core.implApi
Modifier and TypeMethodDescriptionFacilitiesManagerImplApi.addHost
(PerunSession perunSession, Host host, Facility facility) Adds host to the Facility.FacilitiesManagerImplApi.getHostById
(PerunSession sess, int id) Get the host by its ID.Modifier and TypeMethodDescriptionFacilitiesManagerImplApi.getHosts
(PerunSession perunSession, Facility facility) List hosts from facility.FacilitiesManagerImplApi.getHostsByHostname
(PerunSession sess, String hostname) Get all hosts with this hostname (from all facilities).Modifier and TypeMethodDescriptionFacilitiesManagerImplApi.addHost
(PerunSession perunSession, Host host, Facility facility) Adds host to the Facility.void
AttributesManagerImplApi.changedAttributeHook
(PerunSession sess, Host host, Attribute attribute) If you need to do some further work with other modules, this method do thatvoid
AttributesManagerImplApi.checkAttributeSemantics
(PerunSession sess, Host host, Attribute attribute) Check if value of this host attribute has valid semantics.void
AttributesManagerImplApi.checkAttributeSyntax
(PerunSession sess, Host host, Attribute attribute) Check if value of this host attribute has valid syntax.void
FacilitiesManagerImplApi.checkHostExists
(PerunSession sess, Host host) AttributesManagerImplApi.fillAttribute
(PerunSession sess, Host host, Attribute attribute) AttributesManagerImplApi.getAttribute
(PerunSession sess, Host host, String attributeName) AttributesManagerImplApi.getAttributeById
(PerunSession sess, Host host, int id) AttributesManagerImplApi.getAttributes
(PerunSession sess, Host host) AttributesManagerImplApi.getAttributes
(PerunSession sess, Host host, List<String> attrNames) Get all attributes associated with the host which have name in list attrNames (empty and virtual too).FacilitiesManagerImplApi.getFacilityForHost
(PerunSession sess, Host host) Return facility which has the host.AttributesManagerImplApi.getRequiredAttributes
(PerunSession sess, Resource resourceToGetServicesFrom, Host host) AttributesManagerImplApi.getRequiredAttributes
(PerunSession sess, Service service, Host host) AttributesManagerImplApi.getVirtualAttributes
(PerunSession sess, Host host) Get all virtual attributes associated with the host.boolean
FacilitiesManagerImplApi.hostExists
(PerunSession sess, Host host) boolean
AttributesManagerImplApi.removeAllAttributes
(PerunSession sess, Host host) Unset all user attributes for the host.boolean
AttributesManagerImplApi.removeAttribute
(PerunSession sess, Host host, AttributeDefinition attribute) Unset particular host attributevoid
FacilitiesManagerImplApi.removeHost
(PerunSession perunSession, Host host) Remove hosts from the Facility. -
Uses of Host in cz.metacentrum.perun.core.implApi.modules.attributes
Modifier and TypeMethodDescriptionvoid
HostAttributesModuleAbstract.changedAttributeHook
(PerunSessionImpl session, Host host, Attribute attribute) void
HostAttributesModuleImplApi.changedAttributeHook
(PerunSessionImpl session, Host host, Attribute attribute) If you need to do some further work with other modules, this method do thatvoid
HostAttributesModuleAbstract.checkAttributeSemantics
(PerunSessionImpl session, Host host, Attribute attribute) void
HostAttributesModuleImplApi.checkAttributeSemantics
(PerunSessionImpl session, Host host, Attribute attribute) Checks if value of assigned attribute to the host has valid semantics.void
HostAttributesModuleAbstract.checkAttributeSyntax
(PerunSessionImpl session, Host host, Attribute attribute) void
HostAttributesModuleImplApi.checkAttributeSyntax
(PerunSessionImpl session, Host host, Attribute attribute) Checks if value of assigned attribute to the host has valid syntax.HostAttributesModuleAbstract.fillAttribute
(PerunSessionImpl session, Host host, AttributeDefinition attribute) HostAttributesModuleImplApi.fillAttribute
(PerunSessionImpl session, Host host, AttributeDefinition attribute) Tries to fill an attribute to the specified host.