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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanShowLicenseUsageForApplication(Long applicationId) voidclearAllJobs(com.atlassian.crowd.model.application.Application application) Optional<com.atlassian.crowd.model.licensing.ApplicationLicensingSummary> getLicensingSummary(Long applicationId, String appSubType, Long version) booleanisLicensingConfigured(Long applicationId) booleanisVersionUptoDate(Long applicationId, String appSubType, Long version) List<com.atlassian.crowd.model.licensing.ApplicationLicensedDirectory> listDirectories(Long applicationId, String appSubType, Long version, int start, int limit) List<com.atlassian.crowd.model.ApplicationSubtype> listJiraTypes(Long applicationId, Long version) voidscheduleRefreshApplicationDataJobImmediately(long applicationId) searchLicensedUsers(Long applicationId, String searchText, String directoryId, String appSubType, Long lastLoggedInDate, Long version, int start, int limit) booleanupdateApplicationData(com.atlassian.crowd.model.application.Application application)
-
Constructor Details
-
NoopApplicationLicensingService
public NoopApplicationLicensingService()
-
-
Method Details
-
canShowLicenseUsageForApplication
public boolean canShowLicenseUsageForApplication(Long applicationId) throws com.atlassian.crowd.exception.ApplicationNotFoundException - Specified by:
canShowLicenseUsageForApplicationin interfacecom.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:
isVersionUptoDatein interfacecom.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:
listJiraTypesin interfacecom.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:
listDirectoriesin interfacecom.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:
searchLicensedUsersin interfacecom.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:
getLicensingSummaryin interfacecom.atlassian.crowd.licensing.ApplicationLicensingService- Throws:
com.atlassian.crowd.exception.ApplicationNotFoundException
-
updateApplicationData
public boolean updateApplicationData(com.atlassian.crowd.model.application.Application application) - Specified by:
updateApplicationDatain interfacecom.atlassian.crowd.licensing.ApplicationLicensingService
-
scheduleRefreshApplicationDataJobImmediately
public void scheduleRefreshApplicationDataJobImmediately(long applicationId) throws com.atlassian.crowd.exception.ApplicationNotFoundException - Specified by:
scheduleRefreshApplicationDataJobImmediatelyin interfacecom.atlassian.crowd.licensing.ApplicationLicensingService- Throws:
com.atlassian.crowd.exception.ApplicationNotFoundException
-
clearAllJobs
public void clearAllJobs(com.atlassian.crowd.model.application.Application application) - Specified by:
clearAllJobsin interfacecom.atlassian.crowd.licensing.ApplicationLicensingService
-
isLicensingConfigured
public boolean isLicensingConfigured(Long applicationId) throws com.atlassian.crowd.exception.ApplicationNotFoundException - Specified by:
isLicensingConfiguredin interfacecom.atlassian.crowd.licensing.ApplicationLicensingService- Throws:
com.atlassian.crowd.exception.ApplicationNotFoundException
-