Uses of Class
cz.metacentrum.perun.core.api.ConsentHub
Package
Description
Exceptions.
-
Uses of ConsentHub in cz.metacentrum.perun.core.api
Modifier and TypeMethodDescriptionConsent.getConsentHub()
ConsentsManager.getConsentHubByFacility
(PerunSession sess, int facilityId) Finds existing Consent Hub by facility.ConsentsManager.getConsentHubById
(PerunSession sess, int id) Finds existing Consent Hub by id.ConsentsManager.getConsentHubByName
(PerunSession sess, String name) Finds existing Consent Hub by name.ConsentsManager.getConsentHubByResource
(PerunSession sess, int resourceId) Finds existing Consent Hub for facility to which resource belongs.ConsentsManager.updateConsentHub
(PerunSession perunSession, ConsentHub consentHub) Updates the consent hub.Modifier and TypeMethodDescriptionConsentsManager.getAllConsentHubs
(PerunSession sess) Get list of all Consent HubsModifier and TypeMethodDescriptionvoid
ConsentsManager.evaluateConsents
(PerunSession sess, ConsentHub consentHub) Evaluates consents for given consent hub with enforced consents enabled.void
Consent.setConsentHub
(ConsentHub consentHub) ConsentsManager.updateConsentHub
(PerunSession perunSession, ConsentHub consentHub) Updates the consent hub.Modifier and TypeMethodDescriptionvoid
ConsentsManager.evaluateConsents
(PerunSession sess, List<ConsentHub> consentHubs) Evaluates consents for given list of consent hubs with enforced consents enabled.ModifierConstructorDescriptionConsent
(int id, int userId, ConsentHub consentHub, List<AttributeDefinition> attributes) Consent
(int id, String createdAt, String createdBy, String modifiedAt, String modifiedBy, Integer createdByUid, Integer modifiedByUid, int userId, ConsentHub consentHub, List<AttributeDefinition> attributes) -
Uses of ConsentHub in cz.metacentrum.perun.core.api.exceptions
Modifier and TypeMethodDescriptionConsentHubExistsException.getConsentHub()
Getter for the consentHubConsentHubNotExistsException.getConsentHub()
Getter for the consent hub that does not existModifierConstructorDescriptionConsentHubExistsException
(ConsentHub consentHub) Constructor with the consentHubConsentHubNotExistsException
(ConsentHub consentHub) Constructor with the consent hub that does not exist -
Uses of ConsentHub in cz.metacentrum.perun.core.bl
Modifier and TypeMethodDescriptionConsentsManagerBl.createConsentHub
(PerunSession perunSession, ConsentHub consentHub) Creates new consent hub.ConsentsManagerBl.getConsentHubByFacility
(PerunSession sess, int facilityId) Finds existing Consent Hub by facility id.ConsentsManagerBl.getConsentHubById
(PerunSession sess, int id) Finds existing Consent Hub by id.ConsentsManagerBl.getConsentHubByName
(PerunSession sess, String name) Finds existing Consent Hub by name.ConsentsManagerBl.updateConsentHub
(PerunSession perunSession, ConsentHub consentHub) Updates the ConsentHub.Modifier and TypeMethodDescriptionConsentsManagerBl.getAllConsentHubs
(PerunSession sess) Get list of all Consent HubsConsentsManagerBl.getConsentHubsByService
(PerunSession sess, int serviceId) Finds all existing Consent Hubs by service id (consent hubs that have given service assigned through facilities).Modifier and TypeMethodDescriptionvoid
ConsentsManagerBl.addFacility
(PerunSession sess, ConsentHub consentHub, Facility facility) Adds facility to consent hub.void
ConsentsManagerBl.checkConsentHubExists
(PerunSession sess, ConsentHub consentHub) Throws exception if consent hub does not exist.boolean
ConsentsManagerBl.consentHubExists
(PerunSession sess, ConsentHub consentHub) Returns true, if consent hub exists, false otherwise.ConsentsManagerBl.createConsentHub
(PerunSession perunSession, ConsentHub consentHub) Creates new consent hub.void
ConsentsManagerBl.deleteConsentHub
(PerunSession perunSession, ConsentHub consentHub) Deletes consent hub.void
ConsentsManagerBl.evaluateConsents
(PerunSession sess, ConsentHub consentHub) Evaluates consents for given consent hub with enforced consents enabled.void
ConsentsManagerBl.removeFacility
(PerunSession sess, ConsentHub consentHub, Facility facility) Removes facility from consent hub.ConsentsManagerBl.updateConsentHub
(PerunSession perunSession, ConsentHub consentHub) Updates the ConsentHub. -
Uses of ConsentHub in cz.metacentrum.perun.core.blImpl
Modifier and TypeMethodDescriptionConsentsManagerBlImpl.createConsentHub
(PerunSession sess, ConsentHub consentHub) ConsentsManagerBlImpl.getConsentHubByFacility
(PerunSession sess, int facilityId) ConsentsManagerBlImpl.getConsentHubById
(PerunSession sess, int id) ConsentsManagerBlImpl.getConsentHubByName
(PerunSession sess, String name) ConsentsManagerBlImpl.updateConsentHub
(PerunSession perunSession, ConsentHub consentHub) Modifier and TypeMethodDescriptionConsentsManagerBlImpl.getAllConsentHubs
(PerunSession sess) ConsentsManagerBlImpl.getConsentHubsByService
(PerunSession sess, int serviceId) Modifier and TypeMethodDescriptionvoid
ConsentsManagerBlImpl.addFacility
(PerunSession sess, ConsentHub consentHub, Facility facility) void
ConsentsManagerBlImpl.checkConsentHubExists
(PerunSession sess, ConsentHub consentHub) boolean
ConsentsManagerBlImpl.consentHubExists
(PerunSession sess, ConsentHub consentHub) ConsentsManagerBlImpl.createConsentHub
(PerunSession sess, ConsentHub consentHub) void
ConsentsManagerBlImpl.deleteConsentHub
(PerunSession sess, ConsentHub consentHub) void
ConsentsManagerBlImpl.evaluateConsents
(PerunSession sess, ConsentHub consentHub) void
ConsentsManagerBlImpl.removeFacility
(PerunSession sess, ConsentHub consentHub, Facility facility) ConsentsManagerBlImpl.updateConsentHub
(PerunSession perunSession, ConsentHub consentHub) -
Uses of ConsentHub in cz.metacentrum.perun.core.entry
Modifier and TypeMethodDescriptionConsentsManagerEntry.getConsentHubByFacility
(PerunSession sess, int facilityId) ConsentsManagerEntry.getConsentHubById
(PerunSession sess, int id) ConsentsManagerEntry.getConsentHubByName
(PerunSession sess, String name) ConsentsManagerEntry.getConsentHubByResource
(PerunSession sess, int resourceId) ConsentsManagerEntry.updateConsentHub
(PerunSession sess, ConsentHub consentHub) Modifier and TypeMethodDescriptionvoid
ConsentsManagerEntry.evaluateConsents
(PerunSession sess, ConsentHub consentHub) ConsentsManagerEntry.updateConsentHub
(PerunSession sess, ConsentHub consentHub) Modifier and TypeMethodDescriptionvoid
ConsentsManagerEntry.evaluateConsents
(PerunSession sess, List<ConsentHub> consentHubs) -
Uses of ConsentHub in cz.metacentrum.perun.core.impl
Modifier and TypeFieldDescriptionprotected static final RowMapper<ConsentHub>
ConsentsManagerImpl.CONSENT_HUB_MAPPER
Modifier and TypeMethodDescriptionConsentsManagerImpl.createConsentHub
(PerunSession sess, ConsentHub consentHub) ConsentsManagerImpl.getConsentHubByFacility
(PerunSession sess, int facilityId) ConsentsManagerImpl.getConsentHubById
(PerunSession sess, int id) ConsentsManagerImpl.getConsentHubByName
(PerunSession sess, String name) Modifier and TypeMethodDescriptionConsentsManagerImpl.getAllConsentHubs
(PerunSession sess) ConsentsManagerImpl.getConsentHubsByService
(PerunSession session, int serviceId) Modifier and TypeMethodDescriptionvoid
ConsentsManagerImpl.addFacility
(PerunSession sess, ConsentHub consentHub, Facility facility) void
ConsentsManagerImpl.checkConsentHubExists
(PerunSession sess, ConsentHub consentHub) boolean
ConsentsManagerImpl.consentHubExists
(PerunSession sess, ConsentHub consentHub) ConsentsManagerImpl.createConsentHub
(PerunSession sess, ConsentHub consentHub) void
ConsentsManagerImpl.deleteConsentHub
(PerunSession perunSession, ConsentHub consentHub) ConsentsManagerImpl.getFacilitiesForConsentHub
(ConsentHub consentHub) static void
PerunLocksUtils.lockConsentHub
(ConsentHub consentHub) Create transaction lock for consentHub and also bind it to the transaction (as resource by Object uniqueKey)void
ConsentsManagerImpl.removeFacility
(PerunSession sess, ConsentHub consentHub, Facility facility) void
ConsentsManagerImpl.updateConsentHub
(PerunSession sess, ConsentHub consentHub) -
Uses of ConsentHub in cz.metacentrum.perun.core.implApi
Modifier and TypeMethodDescriptionConsentsManagerImplApi.createConsentHub
(PerunSession perunSession, ConsentHub consentHub) Creates new consent hub.ConsentsManagerImplApi.getConsentHubByFacility
(PerunSession sess, int facilityId) Finds existing Consent Hub by facility.ConsentsManagerImplApi.getConsentHubById
(PerunSession sess, int id) Finds existing Consent Hub by id.ConsentsManagerImplApi.getConsentHubByName
(PerunSession sess, String name) Finds existing Consent Hub by name.Modifier and TypeMethodDescriptionConsentsManagerImplApi.getAllConsentHubs
(PerunSession sess) Get list of all Consent HubsConsentsManagerImplApi.getConsentHubsByService
(PerunSession session, int serviceId) Finds all existing Consent Hubs by service (service is assigned to them)Modifier and TypeMethodDescriptionvoid
ConsentsManagerImplApi.addFacility
(PerunSession sess, ConsentHub consentHub, Facility facility) Adds facility to consent hub.void
ConsentsManagerImplApi.checkConsentHubExists
(PerunSession sess, ConsentHub consentHub) Throws exception if consent hub does not exist.boolean
ConsentsManagerImplApi.consentHubExists
(PerunSession sess, ConsentHub consentHub) Returns true, if consent hub exists, false otherwise.ConsentsManagerImplApi.createConsentHub
(PerunSession perunSession, ConsentHub consentHub) Creates new consent hub.void
ConsentsManagerImplApi.deleteConsentHub
(PerunSession perunSession, ConsentHub consentHub) Deletes the consent hub.ConsentsManagerImplApi.getFacilitiesForConsentHub
(ConsentHub consentHub) Get list of all facilities associated to the given Consent Hubvoid
ConsentsManagerImplApi.removeFacility
(PerunSession sess, ConsentHub consentHub, Facility facility) Removes facility from consent hub.void
ConsentsManagerImplApi.updateConsentHub
(PerunSession perunSession, ConsentHub consentHub) Updates the consent hub.