Interface IPrivilegeHolder

All Known Implementing Classes:
AbstractPrivilegeHolder, License, LicenseType

public interface IPrivilegeHolder

IPrivilegeHolder interface.

  • Field Details

    • PREFIX_TICKET

      static final String PREFIX_TICKET
      Constant PREFIX_TICKET="TICKET_"
      See Also:
    • PREFIX_PRIV

      static final String PREFIX_PRIV
      Constant PREFIX_PRIV="PRIV_"
      See Also:
    • PRIV_LIST

      static final String PRIV_LIST
      Constant PRIV_LIST="LIST"
      See Also:
    • PRIV_VIEW_IMAGES

      static final String PRIV_VIEW_IMAGES
      Constant PRIV_VIEW_IMAGES="VIEW_IMAGES"
      See Also:
    • PRIV_VIEW_THUMBNAILS

      static final String PRIV_VIEW_THUMBNAILS
      Constant PRIV_VIEW_THUMBNAILS="VIEW_THUMBNAILS"
      See Also:
    • PRIV_VIEW_FULLTEXT

      static final String PRIV_VIEW_FULLTEXT
      Constant PRIV_VIEW_FULLTEXT="VIEW_FULLTEXT"
      See Also:
    • PRIV_VIEW_VIDEO

      static final String PRIV_VIEW_VIDEO
      Constant PRIV_VIEW_VIDEO="VIEW_VIDEO"
      See Also:
    • PRIV_VIEW_AUDIO

      static final String PRIV_VIEW_AUDIO
      Constant PRIV_VIEW_AUDIO="VIEW_AUDIO"
      See Also:
    • PRIV_VIEW_UGC

      static final String PRIV_VIEW_UGC
      Constant PRIV_VIEW_UGC="PRIV_VIEW_UGC"
      See Also:
    • PRIV_DOWNLOAD_PDF

      static final String PRIV_DOWNLOAD_PDF
      Constant PRIV_DOWNLOAD_PDF="DOWNLOAD_PDF"
      See Also:
    • PRIV_DOWNLOAD_PAGE_PDF

      static final String PRIV_DOWNLOAD_PAGE_PDF
      Constant PRIV_DOWNLOAD_PAGE_PDF="DOWNLOAD_PAGE_PDF"
      See Also:
    • PRIV_DOWNLOAD_ORIGINAL_CONTENT

      static final String PRIV_DOWNLOAD_ORIGINAL_CONTENT
      Constant PRIV_DOWNLOAD_ORIGINAL_CONTENT="DOWNLOAD_ORIGINAL_CONTENT"
      See Also:
    • PRIV_DOWNLOAD_METADATA

      static final String PRIV_DOWNLOAD_METADATA
      Constant PRIV_DOWNLOAD_METADATA="DOWNLOAD_METADATA"
      See Also:
    • PRIV_DOWNLOAD_IMAGES

      static final String PRIV_DOWNLOAD_IMAGES
      Constant PRIV_DOWNLOAD_IMAGES="DOWNLOAD_IMAGES"
      See Also:
    • PRIV_GENERATE_IIIF_MANIFEST

      static final String PRIV_GENERATE_IIIF_MANIFEST
      Constant PRIV_GENERATE_IIIF_MANIFEST="GENERATE_IIIF_MANIFEST"
      See Also:
    • PRIV_ZOOM_IMAGES

      static final String PRIV_ZOOM_IMAGES
      Constant PRIV_ZOOM_IMAGES="ZOOM_IMAGES"
      See Also:
    • PRIV_DOWNLOAD_BORN_DIGITAL_FILES

      static final String PRIV_DOWNLOAD_BORN_DIGITAL_FILES
      Constant PRIV_DOWNLOAD_BORN_DIGITAL_FILES="DOWNLOAD_BORN_DIGITAL_FILES"
      See Also:
    • PRIV_DELETE_OCR_PAGE

      static final String PRIV_DELETE_OCR_PAGE
      Constant PRIV_DELETE_OCR_PAGE="DELETE_OCR_PAGE"
      See Also:
    • PRIV_SET_REPRESENTATIVE_IMAGE

      static final String PRIV_SET_REPRESENTATIVE_IMAGE
      Constant PRIV_SET_REPRESENTATIVE_IMAGE="SET_REPRESENTATIVE_IMAGE"
      See Also:
    • PRIV_CMS_PAGES

      static final String PRIV_CMS_PAGES
      Constant PRIV_CMS_PAGES="CMS_PAGES"
      See Also:
    • PRIV_CMS_ALL_SUBTHEMES

      static final String PRIV_CMS_ALL_SUBTHEMES
      Constant PRIV_CMS_ALL_SUBTHEMES="CMS_ALL_SUBTHEMES"
      See Also:
    • PRIV_CMS_ALL_CATEGORIES

      static final String PRIV_CMS_ALL_CATEGORIES
      Constant PRIV_CMS_ALL_CATEGORIES="CMS_ALL_CATEGORIES"
      See Also:
    • PRIV_CMS_ALL_TEMPLATES

      static final String PRIV_CMS_ALL_TEMPLATES
      Constant PRIV_CMS_ALL_TEMPLATES="CMS_ALL_TEMPLATES"
      See Also:
    • PRIV_CMS_MENU

      static final String PRIV_CMS_MENU
      Constant PRIV_CMS_MENU="CMS_MENU"
      See Also:
    • PRIV_CMS_STATIC_PAGES

      static final String PRIV_CMS_STATIC_PAGES
      Constant PRIV_CMS_STATIC_PAGES="CMS_STATIC_PAGES"
      See Also:
    • PRIV_CMS_COLLECTIONS

      static final String PRIV_CMS_COLLECTIONS
      Constant PRIV_CMS_COLLECTIONS="CMS_COLLECTIONS"
      See Also:
    • PRIV_CMS_CATEGORIES

      static final String PRIV_CMS_CATEGORIES
      Constant PRIV_CMS_CATEGORIES="CMS_CATEGORIES"
      See Also:
    • PRIV_CROWDSOURCING_ALL_CAMPAIGNS

      static final String PRIV_CROWDSOURCING_ALL_CAMPAIGNS
      Constant PRIV_CROWDSOURCING_ALL_CAMPAIGNS="CROWDSOURCING_ALL_CAMPAIGNS"
      See Also:
    • PRIV_CROWDSOURCING_ANNOTATE_CAMPAIGN

      static final String PRIV_CROWDSOURCING_ANNOTATE_CAMPAIGN
      Constant PRIV_CROWDSOURCING_ANNOTATE_CAMPAIGN="CROWDSOURCING_ANNOTATE_CAMPAIGN"
      See Also:
    • PRIV_CROWDSOURCING_REVIEW_CAMPAIGN

      static final String PRIV_CROWDSOURCING_REVIEW_CAMPAIGN
      Constant PRIV_CROWDSOURCING_REVIEW_CAMPAIGN="CROWDSOURCING_REVIEW_CAMPAIGN"
      See Also:
  • Method Details

    • getSortedPrivileges

      List<String> getSortedPrivileges(Set<String> privileges)
    • addPrivilege

      boolean addPrivilege(String privilege)
    • removePrivilege

      boolean removePrivilege(String privilege)
    • hasPrivilege

      boolean hasPrivilege(String privilege)

      hasPrivilege.

      Parameters:
      privilege - a String object.
      Returns:
      a boolean.
    • isPrivCmsPages

      boolean isPrivCmsPages()

      isPrivCmsPages.

      Returns:
      a boolean.
    • setPrivCmsPages

      void setPrivCmsPages(boolean priv)

      setPrivCmsPages.

      Parameters:
      priv - a boolean.
    • isPrivCmsMenu

      boolean isPrivCmsMenu()

      isPrivCmsMenu.

      Returns:
      a boolean.
    • setPrivCmsMenu

      void setPrivCmsMenu(boolean priv)

      setPrivCmsMenu.

      Parameters:
      priv - a boolean.
    • isPrivCmsAllSubthemes

      boolean isPrivCmsAllSubthemes()

      isPrivCmsAllSubthemes.

      Returns:
      a boolean.
    • setPrivCmsAllSubthemes

      void setPrivCmsAllSubthemes(boolean priv)

      setPrivCmsAllSubthemes.

      Parameters:
      priv - a boolean.
    • isPrivCmsAllCategories

      boolean isPrivCmsAllCategories()

      isPrivCmsAllCategories.

      Returns:
      a boolean.
    • setPrivCmsAllCategories

      void setPrivCmsAllCategories(boolean priv)

      setPrivCmsAllCategories.

      Parameters:
      priv - a boolean.
    • isPrivCmsAllTemplates

      boolean isPrivCmsAllTemplates()

      isPrivCmsAllTemplates.

      Returns:
      a boolean.
    • setPrivCmsAllTemplates

      void setPrivCmsAllTemplates(boolean priv)

      setPrivCmsAllTemplates.

      Parameters:
      priv - a boolean.
    • isPrivCmsStaticPages

      boolean isPrivCmsStaticPages()

      isPrivCmsStaticPages.

      Returns:
      a boolean.
    • setPrivCmsStaticPages

      void setPrivCmsStaticPages(boolean priv)

      setPrivCmsStaticPages.

      Parameters:
      priv - a boolean.
    • isPrivCmsCollections

      boolean isPrivCmsCollections()

      isPrivCmsCollections.

      Returns:
      a boolean.
    • setPrivCmsCollections

      void setPrivCmsCollections(boolean priv)

      setPrivCmsCollections.

      Parameters:
      priv - a boolean.
    • isPrivCmsCategories

      boolean isPrivCmsCategories()

      isPrivCmsCategories.

      Returns:
      a boolean.
    • setPrivCmsCategories

      void setPrivCmsCategories(boolean priv)

      setPrivCmsCategories.

      Parameters:
      priv - a boolean.
    • isPrivCrowdsourcingAllCampaigns

      boolean isPrivCrowdsourcingAllCampaigns()

      isPrivCrowdsourcingAllCampaigns.

      Returns:
      a boolean.
    • setPrivCrowdsourcingAllCampaigns

      void setPrivCrowdsourcingAllCampaigns(boolean priv)

      setPrivCrowdsourcingAllCampaigns.

      Parameters:
      priv - a boolean.
    • isPrivCrowdsourcingAnnotateCampaign

      boolean isPrivCrowdsourcingAnnotateCampaign()

      isPrivCrowdsourcingAnnotateCampaign.

      Returns:
      a boolean.
    • setPrivCrowdsourcingAnnotateCampaign

      void setPrivCrowdsourcingAnnotateCampaign(boolean priv)

      setPrivCrowdsourcingAnnotateCampaign.

      Parameters:
      priv - a boolean.
    • isPrivCrowdsourcingReviewCampaign

      boolean isPrivCrowdsourcingReviewCampaign()

      isPrivCrowdsourcingReviewCampaign.

      Returns:
      a boolean.
    • setPrivCrowdsourcingReviewCampaign

      void setPrivCrowdsourcingReviewCampaign(boolean priv)

      setPrivCrowdsourcingReviewCampaign.

      Parameters:
      priv - a boolean.
    • isPrivViewUgc

      boolean isPrivViewUgc()

      isPrivViewUgc.

      Returns:
      a boolean.
    • setPrivViewUgc

      void setPrivViewUgc(boolean priv)

      setPrivViewUgc.

      Parameters:
      priv - a boolean.