public class LicenseResource extends Object
Constructor and Description |
---|
LicenseResource(UserCountService userCountService,
PermissionManager permissionManager,
LicenseWebFacade licenseWebFacade,
ClusterManager clusterManager,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
LicenseService licenseService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getMaxUsers()
Return the number of users that is allowed by the current license
|
javax.ws.rs.core.Response |
getOrganisation()
Return the organisation name of this Confluence
|
javax.ws.rs.core.Response |
getRemainingUserCount()
Return the number of free slots on this Confluence instance
|
javax.ws.rs.core.Response |
getUserCount()
Return the number of users that have access to this Confluence
|
javax.ws.rs.core.Response |
validate(String licenseKey) |
public LicenseResource(UserCountService userCountService, PermissionManager permissionManager, LicenseWebFacade licenseWebFacade, ClusterManager clusterManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, LicenseService licenseService)
public javax.ws.rs.core.Response getOrganisation()
public javax.ws.rs.core.Response getUserCount()
public javax.ws.rs.core.Response getRemainingUserCount()
public javax.ws.rs.core.Response getMaxUsers()
public javax.ws.rs.core.Response validate(String licenseKey)
Copyright © 2003–2016 Atlassian. All rights reserved.