Class CrowdsourcingTools

java.lang.Object
io.goobi.viewer.model.crowdsourcing.CrowdsourcingTools

public final class CrowdsourcingTools extends Object
Utility class providing static helper methods for crowdsourcing-related checks, such as determining whether a user owns any user groups assigned to campaigns.
  • Method Details

    • isUserOwnsAnyCampaigns

      public static boolean isUserOwnsAnyCampaigns(User user) throws DAOException
      Parameters:
      user - User to check
      Returns:
      true if given user owns any user groups assigned to campaigns; false otherwise
      Throws:
      DAOException