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.ApplicationLicensingServicecom.atlassian.crowd.exception.ApplicationNotFoundExceptionpublic boolean isVersionUptoDate(Long applicationId, String appSubType, Long version) throws com.atlassian.crowd.exception.ApplicationNotFoundException
isVersionUptoDate in interface com.atlassian.crowd.licensing.ApplicationLicensingServicecom.atlassian.crowd.exception.ApplicationNotFoundExceptionpublic List<com.atlassian.crowd.model.ApplicationSubtype> listJiraTypes(Long applicationId, Long version) throws com.atlassian.crowd.exception.ApplicationNotFoundException
listJiraTypes in interface com.atlassian.crowd.licensing.ApplicationLicensingServicecom.atlassian.crowd.exception.ApplicationNotFoundExceptionpublic 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.ApplicationLicensingServicecom.atlassian.crowd.exception.ApplicationNotFoundExceptionpublic 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.ApplicationLicensingServicecom.atlassian.crowd.exception.ObjectNotFoundExceptionpublic 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.ApplicationLicensingServicecom.atlassian.crowd.exception.ApplicationNotFoundExceptionpublic boolean updateApplicationData(com.atlassian.crowd.model.application.Application application)
updateApplicationData in interface com.atlassian.crowd.licensing.ApplicationLicensingServicepublic void scheduleRefreshApplicationDataJobImmediately(long applicationId)
throws com.atlassian.crowd.exception.ApplicationNotFoundException
scheduleRefreshApplicationDataJobImmediately in interface com.atlassian.crowd.licensing.ApplicationLicensingServicecom.atlassian.crowd.exception.ApplicationNotFoundExceptionpublic void clearAllJobs(com.atlassian.crowd.model.application.Application application)
clearAllJobs in interface com.atlassian.crowd.licensing.ApplicationLicensingServicepublic boolean isLicensingConfigured(Long applicationId) throws com.atlassian.crowd.exception.ApplicationNotFoundException
isLicensingConfigured in interface com.atlassian.crowd.licensing.ApplicationLicensingServicecom.atlassian.crowd.exception.ApplicationNotFoundExceptionCopyright © 2002-2023 Atlassian. All Rights Reserved.