Uses of Class
cz.metacentrum.perun.core.api.Pair
Packages that use Pair
Package
Description
Exceptions.
-
Uses of Pair in cz.metacentrum.perun.core.api
Methods in cz.metacentrum.perun.core.api that return PairMethod parameters in cz.metacentrum.perun.core.api with type arguments of type Pair -
Uses of Pair in cz.metacentrum.perun.core.api.exceptions
Constructor parameters in cz.metacentrum.perun.core.api.exceptions with type arguments of type PairModifierConstructorDescriptionQuotaNotInAllowedLimitException
(Map<String, Pair<BigDecimal, BigDecimal>> quotaToCheck, Map<String, Pair<BigDecimal, BigDecimal>> limitQuota, String message) Constructor with quota to check, limit quota and messageQuotaNotInAllowedLimitException
(Map<String, Pair<BigDecimal, BigDecimal>> quotaToCheck, Map<String, Pair<BigDecimal, BigDecimal>> limitQuota, String message, Throwable cause) Constructor with quota to check, limit quota and message -
Uses of Pair in cz.metacentrum.perun.core.bl
Methods in cz.metacentrum.perun.core.bl that return PairModifier and TypeMethodDescriptionModulesUtilsBl.checkAndTransferBucketQuota
(Attribute quotasAttribute, PerunBean firstPlaceholder, PerunBean secondPlaceholder) Checks the format of and extracts soft and hard quota from the attribute's value (the expected format is: `softQuota:hardQuota`).AttributesManagerBl.isAttributeValueBlocked
(PerunSession session, Attribute attribute) Checks whether the value of the passed attribute (checks separate key-value pairs and list items as well) is blocked (in namespace if the attribute is namespace based).Methods in cz.metacentrum.perun.core.bl that return types with arguments of type PairModifier and TypeMethodDescriptionModulesUtilsBl.checkAndTransferQuotas
(Attribute quotasAttribute, PerunBean firstPlaceholder, PerunBean secondPlaceholder, boolean withMetrics) Check if value in quotas attribute are in the right format.ModulesUtilsBl.countUserFacilityQuotas
(List<Map<String, Pair<BigDecimal, BigDecimal>>> allUserQuotas) Count all quotas for user.GroupsManagerBl.getGroupResourcePairsByAttribute
(PerunSession sess, Attribute attribute) Returns all group-resource which have set the attribute with the value.AttributesManagerBl.getPerunBeanIdsForUniqueAttributeValue
(PerunSession sess, Attribute attribute) Finds ids of PerunBeans that have the attribute's value for the attribute.UsersManagerBl.getReservedLoginsByApp
(PerunSession sess, int appId) Gets reserved logins which are used in the given application.UsersManagerBl.getReservedLoginsOnlyByGivenApp
(PerunSession sess, int appId) Gets reserved logins which can be deleted - they are used only in the given application.UsersManagerBl.getSponsorsForSponsoredMembersInVo
(PerunSession sess, int voId) Retrieves a map, that maps the ids of the sponsored members in the given VO to a list of their Sponsors with the corresponding Sponsorship objects.UsersManagerBl.getUsersReservedLogins
(PerunSession sess, User user) Return list of all reserved logins for specific user (pair is namespace and login)ModulesUtilsBl.mergeMemberAndResourceTransferredQuotas
(Map<String, Pair<BigDecimal, BigDecimal>> resourceQuotas, Map<String, Pair<BigDecimal, BigDecimal>> memberResourceQuotas, Map<String, Pair<BigDecimal, BigDecimal>> quotasOverride) Merge resource default quotas and member-resource specific quotas together.Method parameters in cz.metacentrum.perun.core.bl with type arguments of type PairModifier and TypeMethodDescriptionvoid
ModulesUtilsBl.checkIfQuotasIsInLimit
(Map<String, Pair<BigDecimal, BigDecimal>> quotaToCheck, Map<String, Pair<BigDecimal, BigDecimal>> limitQuota) Check if quotaToCheck is in limit of limitQuota.ModulesUtilsBl.countUserFacilityQuotas
(List<Map<String, Pair<BigDecimal, BigDecimal>>> allUserQuotas) Count all quotas for user.ModulesUtilsBl.mergeMemberAndResourceTransferredQuotas
(Map<String, Pair<BigDecimal, BigDecimal>> resourceQuotas, Map<String, Pair<BigDecimal, BigDecimal>> memberResourceQuotas, Map<String, Pair<BigDecimal, BigDecimal>> quotasOverride) Merge resource default quotas and member-resource specific quotas together.ModulesUtilsBl.transferQuotasBackToAttributeValue
(Map<String, Pair<BigDecimal, BigDecimal>> transferedQuotasMap, boolean withMetrics) Reverse method for checkAndTransferQuotas method. -
Uses of Pair in cz.metacentrum.perun.core.blImpl
Methods in cz.metacentrum.perun.core.blImpl that return PairModifier and TypeMethodDescriptionModulesUtilsBlImpl.checkAndTransferBucketQuota
(Attribute quotasAttribute, PerunBean firstPlaceholder, PerunBean secondPlaceholder) static Pair
<BigDecimal, String> ModulesUtilsBlImpl.getNumberAndUnitFromString
(String attributeValue) Returns pair of number (BigDecimal) and unit (String) from given string.AttributesManagerBlImpl.isAttributeValueBlocked
(PerunSession session, Attribute attribute) MembersManagerBlImpl.manageMembershipExpiration
(PerunSession sess, Member member, boolean setAttributeValue, boolean throwExceptions) More info on https://wiki.metacentrum.cz/wiki/VO_managers%27s_manualMethods in cz.metacentrum.perun.core.blImpl that return types with arguments of type PairModifier and TypeMethodDescriptionModulesUtilsBlImpl.checkAndTransferQuotas
(Attribute quotasAttribute, PerunBean firstPlaceholder, PerunBean secondPlaceholder, boolean withMetrics) ModulesUtilsBlImpl.countUserFacilityQuotas
(List<Map<String, Pair<BigDecimal, BigDecimal>>> allUserQuotas) GroupsManagerBlImpl.getGroupResourcePairsByAttribute
(PerunSession sess, Attribute attribute) AttributesManagerBlImpl.getPerunBeanIdsForUniqueAttributeValue
(PerunSession sess, Attribute attribute) UsersManagerBlImpl.getReservedLoginsByApp
(PerunSession sess, int appId) UsersManagerBlImpl.getReservedLoginsOnlyByGivenApp
(PerunSession sess, int appId) UsersManagerBlImpl.getSponsorsForSponsoredMembersInVo
(PerunSession sess, int voId) UsersManagerBlImpl.getUsersReservedLogins
(PerunSession sess, User user) ModulesUtilsBlImpl.mergeMemberAndResourceTransferredQuotas
(Map<String, Pair<BigDecimal, BigDecimal>> resourceQuotas, Map<String, Pair<BigDecimal, BigDecimal>> memberResourceQuotas, Map<String, Pair<BigDecimal, BigDecimal>> quotasOverride) Method parameters in cz.metacentrum.perun.core.blImpl with type arguments of type PairModifier and TypeMethodDescriptionvoid
ModulesUtilsBlImpl.checkIfQuotasIsInLimit
(Map<String, Pair<BigDecimal, BigDecimal>> quotaToCheck, Map<String, Pair<BigDecimal, BigDecimal>> limitQuota) ModulesUtilsBlImpl.countUserFacilityQuotas
(List<Map<String, Pair<BigDecimal, BigDecimal>>> allUserQuotas) ModulesUtilsBlImpl.mergeMemberAndResourceTransferredQuotas
(Map<String, Pair<BigDecimal, BigDecimal>> resourceQuotas, Map<String, Pair<BigDecimal, BigDecimal>> memberResourceQuotas, Map<String, Pair<BigDecimal, BigDecimal>> quotasOverride) ModulesUtilsBlImpl.transferQuotasBackToAttributeValue
(Map<String, Pair<BigDecimal, BigDecimal>> transferedQuotasMap, boolean withMetrics) -
Uses of Pair in cz.metacentrum.perun.core.impl
Methods in cz.metacentrum.perun.core.impl that return PairModifier and TypeMethodDescriptionAttributesManagerImpl.isAttributeValueBlocked
(PerunSession session, Attribute attribute) static Pair
<Integer, TemporalUnit> Utils.prepareGracePeriodDate
(Matcher matcher) Prepares grace period date by values from given matcher.Methods in cz.metacentrum.perun.core.impl that return types with arguments of type PairModifier and TypeMethodDescriptionUtils.getAttributesQuery
(List<String> memberAttributes, List<String> userAttributes, List<String> uesAttributes) Prepares query to search users or members by attributes if received attribute list is not empty.GroupsManagerImpl.getGroupResourcePairsByAttribute
(PerunSession sess, Attribute attribute) AttributesManagerImpl.getPerunBeanIdsForUniqueAttributeValue
(PerunSession sess, Attribute attribute) UsersManagerImpl.getReservedLoginsByApp
(PerunSession sess, int appId) UsersManagerImpl.getReservedLoginsOnlyByGivenApp
(PerunSession sess, int appId) UsersManagerImpl.getSponsorsForSponsoredMembersInVo
(PerunSession sess, int voId) UsersManagerImpl.getUsersReservedLogins
(User user) ExtSourceTCS.prepareStructureOfValidCertificates
(String url) For every certificate from pem file (get from url address) parse only valid certificates.Methods in cz.metacentrum.perun.core.impl with parameters of type PairModifier and TypeMethodDescriptionvoid
UsersManagerImpl.deleteReservedLogin
(PerunSession sess, Pair<String, String> login) -
Uses of Pair in cz.metacentrum.perun.core.impl.modules.attributes
Fields in cz.metacentrum.perun.core.impl.modules.attributes with type parameters of type Pair -
Uses of Pair in cz.metacentrum.perun.core.implApi
Methods in cz.metacentrum.perun.core.implApi that return PairModifier and TypeMethodDescriptionAttributesManagerImplApi.isAttributeValueBlocked
(PerunSession session, Attribute attribute) Checks whether the value of the passed attribute (checks separate key-value pairs and list items as well) is blocked (in namespace if the attribute is namespace based).Methods in cz.metacentrum.perun.core.implApi that return types with arguments of type PairModifier and TypeMethodDescriptionGroupsManagerImplApi.getGroupResourcePairsByAttribute
(PerunSession sess, Attribute attribute) Returns all group-resource which have set the attribute with the value.AttributesManagerImplApi.getPerunBeanIdsForUniqueAttributeValue
(PerunSession sess, Attribute attribute) Finds ids of PerunBeans that have the attribute's value for the attribute.UsersManagerImplApi.getReservedLoginsByApp
(PerunSession sess, int appId) Gets reserved logins which used in the given application.UsersManagerImplApi.getReservedLoginsOnlyByGivenApp
(PerunSession sess, int appId) Gets reserved logins which can be deleted - they are used only in the given application.UsersManagerImplApi.getSponsorsForSponsoredMembersInVo
(PerunSession sess, int voId) Retrieves a map, that maps the ids of the sponsored members in the given VO to a list of their Sponsors with the corresponding Sponsorship objects.UsersManagerImplApi.getUsersReservedLogins
(User user) Return list of all reserved logins for specific user (pair is namespace and login)Methods in cz.metacentrum.perun.core.implApi with parameters of type PairModifier and TypeMethodDescriptionvoid
UsersManagerImplApi.deleteReservedLogin
(PerunSession sess, Pair<String, String> login) Deletes given login reservations. -
Uses of Pair in cz.metacentrum.perun.taskslib.model
Methods in cz.metacentrum.perun.taskslib.model that return PairModifier and TypeMethodDescriptionSendTask.getId()
Get ID of SendTask as a pair of Task ID and Destination