Interface ServiceDeskLicenseService
@PublicApi
public interface ServiceDeskLicenseService
-
Method Summary
Modifier and TypeMethodDescriptionGets theServiceDeskLicensefor instancebooleanhasAgentLicense(com.atlassian.jira.user.ApplicationUser user) Checks whether the user has an agent license for instance.
-
Method Details
-
getLicense
ServiceDeskLicense getLicense()Gets theServiceDeskLicensefor instance- Returns:
ServiceDeskLicenselicense
-
hasAgentLicense
@Nonnull boolean hasAgentLicense(@Nonnull com.atlassian.jira.user.ApplicationUser user) Checks whether the user has an agent license for instance. True if: - valid license, - license count not overrun- Parameters:
user- the user who you want to check- Returns:
- whether the user is an agent for instance
- Throws:
ServiceDeskServiceException- on error
-