Interface ServiceDeskLicenseService
@PublicApi
public interface ServiceDeskLicenseService
-
Method Summary
Modifier and TypeMethodDescriptionGets theServiceDeskLicense
for instanceboolean
hasAgentLicense
(com.atlassian.jira.user.ApplicationUser user) Checks whether the user has an agent license for instance.
-
Method Details
-
getLicense
ServiceDeskLicense getLicense()Gets theServiceDeskLicense
for instance- Returns:
ServiceDeskLicense
license
-
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
-