public class NoopApplicationLicensingService extends Object implements com.atlassian.crowd.licensing.ApplicationLicensingService
In future releases of Crowd / Embedded Crowd we should probably do some cleanup there.
Constructor and Description |
---|
NoopApplicationLicensingService() |
Modifier and Type | Method and Description |
---|---|
boolean |
canShowLicenseUsageForApplication(Long applicationId) |
void |
clearAllJobs(com.atlassian.crowd.model.application.Application application) |
Optional<com.atlassian.crowd.model.licensing.ApplicationLicensingSummary> |
getLicensingSummary(Long applicationId,
String appSubType,
Long version) |
boolean |
isLicensingConfigured(Long applicationId) |
boolean |
isVersionUptoDate(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) |
void |
scheduleRefreshApplicationDataJobImmediately(long applicationId) |
com.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) |
boolean |
updateApplicationData(com.atlassian.crowd.model.application.Application application) |
public boolean canShowLicenseUsageForApplication(Long applicationId) throws com.atlassian.crowd.exception.ApplicationNotFoundException
canShowLicenseUsageForApplication
in interface com.atlassian.crowd.licensing.ApplicationLicensingService
com.atlassian.crowd.exception.ApplicationNotFoundException
public boolean isVersionUptoDate(Long applicationId, String appSubType, Long version) throws com.atlassian.crowd.exception.ApplicationNotFoundException
isVersionUptoDate
in interface com.atlassian.crowd.licensing.ApplicationLicensingService
com.atlassian.crowd.exception.ApplicationNotFoundException
public List<com.atlassian.crowd.model.ApplicationSubtype> listJiraTypes(Long applicationId, Long version) throws com.atlassian.crowd.exception.ApplicationNotFoundException
listJiraTypes
in interface com.atlassian.crowd.licensing.ApplicationLicensingService
com.atlassian.crowd.exception.ApplicationNotFoundException
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
listDirectories
in interface com.atlassian.crowd.licensing.ApplicationLicensingService
com.atlassian.crowd.exception.ApplicationNotFoundException
public com.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
searchLicensedUsers
in interface com.atlassian.crowd.licensing.ApplicationLicensingService
com.atlassian.crowd.exception.ObjectNotFoundException
public Optional<com.atlassian.crowd.model.licensing.ApplicationLicensingSummary> getLicensingSummary(Long applicationId, String appSubType, Long version) throws com.atlassian.crowd.exception.ApplicationNotFoundException
getLicensingSummary
in interface com.atlassian.crowd.licensing.ApplicationLicensingService
com.atlassian.crowd.exception.ApplicationNotFoundException
public boolean updateApplicationData(com.atlassian.crowd.model.application.Application application)
updateApplicationData
in interface com.atlassian.crowd.licensing.ApplicationLicensingService
public void scheduleRefreshApplicationDataJobImmediately(long applicationId) throws com.atlassian.crowd.exception.ApplicationNotFoundException
scheduleRefreshApplicationDataJobImmediately
in interface com.atlassian.crowd.licensing.ApplicationLicensingService
com.atlassian.crowd.exception.ApplicationNotFoundException
public void clearAllJobs(com.atlassian.crowd.model.application.Application application)
clearAllJobs
in interface com.atlassian.crowd.licensing.ApplicationLicensingService
public boolean isLicensingConfigured(Long applicationId) throws com.atlassian.crowd.exception.ApplicationNotFoundException
isLicensingConfigured
in interface com.atlassian.crowd.licensing.ApplicationLicensingService
com.atlassian.crowd.exception.ApplicationNotFoundException
Copyright © 2002-2021 Atlassian. All Rights Reserved.