Class NoopApplicationLicensingService

java.lang.Object
com.atlassian.jira.crowd.embedded.NoopApplicationLicensingService
All Implemented Interfaces:
com.atlassian.crowd.licensing.ApplicationLicensingService

public class NoopApplicationLicensingService extends Object implements com.atlassian.crowd.licensing.ApplicationLicensingService
We don't provide any of this functionality. Just need to provide this class as it is a dependency of crowd-rest-plugin or crowd-rest-application-management.

In future releases of Crowd / Embedded Crowd we should probably do some cleanup there.

  • Constructor Details

    • NoopApplicationLicensingService

      public NoopApplicationLicensingService()
  • Method Details

    • canShowLicenseUsageForApplication

      public boolean canShowLicenseUsageForApplication(Long applicationId) throws com.atlassian.crowd.exception.ApplicationNotFoundException
      Specified by:
      canShowLicenseUsageForApplication in interface com.atlassian.crowd.licensing.ApplicationLicensingService
      Throws:
      com.atlassian.crowd.exception.ApplicationNotFoundException
    • isVersionUptoDate

      public boolean isVersionUptoDate(Long applicationId, String appSubType, Long version) throws com.atlassian.crowd.exception.ApplicationNotFoundException
      Specified by:
      isVersionUptoDate in interface com.atlassian.crowd.licensing.ApplicationLicensingService
      Throws:
      com.atlassian.crowd.exception.ApplicationNotFoundException
    • listJiraTypes

      public List<com.atlassian.crowd.model.ApplicationSubtype> listJiraTypes(Long applicationId, Long version) throws com.atlassian.crowd.exception.ApplicationNotFoundException
      Specified by:
      listJiraTypes in interface com.atlassian.crowd.licensing.ApplicationLicensingService
      Throws:
      com.atlassian.crowd.exception.ApplicationNotFoundException
    • listDirectories

      public List<com.atlassian.crowd.model.licensing.ApplicationLicensedDirectory> listDirectories(Long applicationId, String appSubType, Long version, int start, int limit) throws com.atlassian.crowd.exception.ApplicationNotFoundException
      Specified by:
      listDirectories in interface com.atlassian.crowd.licensing.ApplicationLicensingService
      Throws:
      com.atlassian.crowd.exception.ApplicationNotFoundException
    • searchLicensedUsers

      public io.atlassian.fugue.Pair<List<com.atlassian.crowd.model.licensing.ApplicationLicensedUser>,Long> searchLicensedUsers(Long applicationId, String searchText, String directoryId, String appSubType, Long lastLoggedInDate, Long version, int start, int limit) throws com.atlassian.crowd.exception.ObjectNotFoundException
      Specified by:
      searchLicensedUsers in interface com.atlassian.crowd.licensing.ApplicationLicensingService
      Throws:
      com.atlassian.crowd.exception.ObjectNotFoundException
    • getLicensingSummary

      public Optional<com.atlassian.crowd.model.licensing.ApplicationLicensingSummary> getLicensingSummary(Long applicationId, String appSubType, Long version) throws com.atlassian.crowd.exception.ApplicationNotFoundException
      Specified by:
      getLicensingSummary in interface com.atlassian.crowd.licensing.ApplicationLicensingService
      Throws:
      com.atlassian.crowd.exception.ApplicationNotFoundException
    • updateApplicationData

      public boolean updateApplicationData(com.atlassian.crowd.model.application.Application application)
      Specified by:
      updateApplicationData in interface com.atlassian.crowd.licensing.ApplicationLicensingService
    • scheduleRefreshApplicationDataJobImmediately

      public void scheduleRefreshApplicationDataJobImmediately(long applicationId) throws com.atlassian.crowd.exception.ApplicationNotFoundException
      Specified by:
      scheduleRefreshApplicationDataJobImmediately in interface com.atlassian.crowd.licensing.ApplicationLicensingService
      Throws:
      com.atlassian.crowd.exception.ApplicationNotFoundException
    • clearAllJobs

      public void clearAllJobs(com.atlassian.crowd.model.application.Application application)
      Specified by:
      clearAllJobs in interface com.atlassian.crowd.licensing.ApplicationLicensingService
    • isLicensingConfigured

      public boolean isLicensingConfigured(Long applicationId) throws com.atlassian.crowd.exception.ApplicationNotFoundException
      Specified by:
      isLicensingConfigured in interface com.atlassian.crowd.licensing.ApplicationLicensingService
      Throws:
      com.atlassian.crowd.exception.ApplicationNotFoundException