Class ApplicationLicensingResource
java.lang.Object
com.atlassian.crowd.plugin.rest.service.resource.licensing.ApplicationLicensingResource
@Path("licensing")
@Consumes("application/json")
@Produces("application/json")
public class ApplicationLicensingResource
extends Object
Resource for application licensing
- Since:
- 3.5.0
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationLicensingResource(ApplicationLicensingController controller, com.atlassian.event.api.EventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponseexportLicensedUsers(Long applicationId, String search, String directoryId, String jiraType, Long lastLoginBefore, Long searchVersion, jakarta.servlet.http.HttpServletResponse response) jakarta.ws.rs.core.ResponsegetLicensingSummary(Long applicationId, Long version, String jiraType) jakarta.ws.rs.core.ResponselistDirectories(RestPageRequest restPageRequest, Long applicationId, Long version, String jiraType) jakarta.ws.rs.core.ResponselistJiraTypes(Long applicationId, Long version) jakarta.ws.rs.core.ResponsesearchLicensedUsers(RestPageRequest restPageRequest, Long applicationId, LicensedUserSearchParameters searchParameters)
-
Constructor Details
-
ApplicationLicensingResource
@Inject public ApplicationLicensingResource(ApplicationLicensingController controller, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
searchLicensedUsers
@POST @Path("{applicationId}/licensed-users/search") public jakarta.ws.rs.core.Response searchLicensedUsers(@BeanParam RestPageRequest restPageRequest, @PathParam("applicationId") Long applicationId, LicensedUserSearchParameters searchParameters) throws ObjectNotFoundException - Throws:
ObjectNotFoundException
-
exportLicensedUsers
@GET @Produces("text/csv") @Path("{applicationId}/licensed-users/download") public jakarta.ws.rs.core.Response exportLicensedUsers(@PathParam("applicationId") Long applicationId, @QueryParam("search") String search, @QueryParam("directoryId") String directoryId, @QueryParam("jiraType") String jiraType, @QueryParam("lastLoginBefore") Long lastLoginBefore, @QueryParam("searchVersion") Long searchVersion, @Context jakarta.servlet.http.HttpServletResponse response) throws ObjectNotFoundException, IOException - Throws:
ObjectNotFoundExceptionIOException
-
listDirectories
@GET @Path("{applicationId}/directories") public jakarta.ws.rs.core.Response listDirectories(@BeanParam RestPageRequest restPageRequest, @PathParam("applicationId") Long applicationId, @QueryParam("version") Long version, @QueryParam("jiraType") String jiraType) throws ApplicationNotFoundException - Throws:
ApplicationNotFoundException
-
listJiraTypes
@GET @Path("{applicationId}/jira-types") public jakarta.ws.rs.core.Response listJiraTypes(@PathParam("applicationId") Long applicationId, @QueryParam("version") Long version) throws ApplicationNotFoundException - Throws:
ApplicationNotFoundException
-
getLicensingSummary
@GET @Path("{applicationId}/summary") public jakarta.ws.rs.core.Response getLicensingSummary(@PathParam("applicationId") Long applicationId, @QueryParam("version") Long version, @QueryParam("jiraType") String jiraType) throws ApplicationNotFoundException - Throws:
ApplicationNotFoundException
-