Uses of Class
io.goobi.viewer.model.security.LicenseType
Package
Description
-
Uses of LicenseType in io.goobi.viewer.dao
Modifier and TypeMethodDescriptionIDAO.getLicenseType
(long id) getLicenseType.IDAO.getLicenseType
(String name) getLicenseType.Modifier and TypeMethodDescriptionIDAO.getAllLicenseTypes()
getAllLicenseTypes.IDAO.getCoreLicenseTypes
(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getCoreLicenseTypes.IDAO.getLicenseTypes
(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getLicenseTypes.IDAO.getLicenseTypes
(List<String> names) Returns all license types that match the given name list.IDAO.getOverridingLicenseType
(LicenseType licenseType) IDAO.getRecordLicenseTypes()
getRecordLicenseTypes.Modifier and TypeMethodDescriptionboolean
IDAO.addLicenseType
(LicenseType licenseType) addLicenseType.boolean
IDAO.deleteLicenseType
(LicenseType licenseType) deleteLicenseType.long
IDAO.getLicenseCount
(LicenseType licenseType) Returns the number of licenses that use the given license type.IDAO.getLicenses
(LicenseType licenseType) IDAO.getOverridingLicenseType
(LicenseType licenseType) boolean
IDAO.updateLicenseType
(LicenseType licenseType) updateLicenseType. -
Uses of LicenseType in io.goobi.viewer.dao.impl
Modifier and TypeMethodDescriptionJPADAO.getLicenseType
(long id) getLicenseType.JPADAO.getLicenseType
(String name) getLicenseType.Modifier and TypeMethodDescriptionJPADAO.getAllLicenseTypes()
getAllLicenseTypes.JPADAO.getCoreLicenseTypes
(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getCoreLicenseTypes.JPADAO.getLicenseTypes
(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getLicenseTypes.JPADAO.getLicenseTypes
(List<String> names) JPADAO.getOverridingLicenseType
(LicenseType licenseType) JPADAO.getRecordLicenseTypes()
getRecordLicenseTypes.Modifier and TypeMethodDescriptionboolean
JPADAO.addLicenseType
(LicenseType licenseType) addLicenseType.boolean
JPADAO.deleteLicenseType
(LicenseType licenseType) deleteLicenseType.long
JPADAO.getLicenseCount
(LicenseType licenseType) JPADAO.getLicenses
(LicenseType licenseType) JPADAO.getOverridingLicenseType
(LicenseType licenseType) boolean
JPADAO.updateLicenseType
(LicenseType licenseType) updateLicenseType. -
Uses of LicenseType in io.goobi.viewer.managedbeans
Modifier and TypeMethodDescriptionAdminLicenseBean.getCurrentLicenseType()
Getter for the fieldcurrentLicenseType
.Modifier and TypeMethodDescriptionAdminLicenseBean.getAllCoreLicenseTypes()
getAllCoreLicenseTypes.AdminLicenseBean.getAllLicenseTypes()
Returns all existing license types.AdminLicenseBean.getAllRecordLicenseTypes()
getAllRecordLicenseTypes.AdminLicenseBean.getOtherLicenseTypes()
Returns all existing non-core license types minuscurrentLicenseType
.Modifier and TypeMethodDescriptionAdminLicenseBean.deleteLicenseTypeAction
(LicenseType licenseType) deleteLicenseTypeAction.AdminLicenseBean.getLicenses
(LicenseType licenseType) boolean
AdminLicenseBean.isLicenseTypeInUse
(LicenseType licenseType) void
AdminLicenseBean.setCurrentLicenseType
(LicenseType currentLicenseType) Setter for the fieldcurrentLicenseType
. -
Uses of LicenseType in io.goobi.viewer.model.search
Modifier and TypeMethodDescriptionstatic String
SearchHelper.getPersonalFilterQuerySuffix
(List<LicenseType> licenseTypes, User user, String ipAddress, Optional<ClientApplication> client, String privilege) Constructs a personal search query filter suffix for the given user and IP address. -
Uses of LicenseType in io.goobi.viewer.model.security
Modifier and TypeMethodDescriptionLicenseType.getLicenseTypesOverridingThis()
Returns list ofLicenseType
s that contain this object in their overridden LicenseTypes.LicenseType.getOverriddenLicenseTypes()
Getter for the fieldoverridingLicenseTypes
.Modifier and TypeMethodDescriptionAccessConditionUtils.getApplyingLicenses
(Optional<User> user, String ipAddress, LicenseType type, IDAO dao) List all licenses ("rights") that the given user and ipAddress is entitled to, either because they are directly given to the user, a group the user belongs to or to the given ipAddress, whether or not the given user existsvoid
License.setLicenseType
(LicenseType licenseType) Setter for the fieldlicenseType
.Modifier and TypeMethodDescriptionstatic AccessPermission
AccessConditionUtils.checkAccessPermission
(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, Optional<ClientApplication> client, String query) Base method for checking access permissions of various types.static boolean
AccessConditionUtils.isFreeOpenAccess
(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes) Check whether the requiredAccessConditions consist only of theOPENACCESS
condition and OPENACCESS is not contained in allLicenseTypes.void
LicenseType.setOverriddenLicenseTypes
(Set<LicenseType> overriddenLicenseTypes) Setter for the fieldoverriddenLicenseTypes
. -
Uses of LicenseType in io.goobi.viewer.model.security.user
Modifier and TypeMethodDescriptionIpRange.canSatisfyAllAccessConditions
(Set<String> requiredAccessConditions, List<LicenseType> relevantLicenseTypes, String privilegeName, String pi) canSatisfyAllAccessConditions.