@Path(value="appstore/{shopGuid}/apps")
public class OfficialAppResource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private AppInstallationServiceFinder |
finder |
private java.util.Locale |
locale |
private OfficialAppService |
officialAppService |
private java.util.Currency |
preferredCurrency |
private GUID |
shopGuid |
Constructor and Description |
---|
OfficialAppResource(OfficialAppService officialAppService,
AppInstallationServiceFinder finder) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getApp(OfficialApp officialApp,
java.lang.String businessUnit,
java.lang.String shopType) |
javax.ws.rs.core.Response |
getAppByUrl(java.lang.String businessUnit,
java.lang.String shopType,
AppType appType,
java.lang.String appUrl) |
javax.ws.rs.core.Response |
getAppsByBusinessUnitAndShopType(java.lang.String businessUnit,
java.lang.String shopType,
java.util.List<AppType> appTypes,
java.lang.String categoryId,
PagerStartsFromZeroBeanParam pager) |
private final OfficialAppService officialAppService
private final AppInstallationServiceFinder finder
@PathParam(value="shopGuid") private GUID shopGuid
@QueryParam(value="locale") private java.util.Locale locale
@QueryParam(value="preferredCurrency") private java.util.Currency preferredCurrency
@Inject public OfficialAppResource(OfficialAppService officialAppService, AppInstallationServiceFinder finder)
@GET @Produces(value="application/json") public javax.ws.rs.core.Response getAppsByBusinessUnitAndShopType(@NotNull @QueryParam(value="businessUnit") java.lang.String businessUnit, @NotNull @QueryParam(value="shopType") java.lang.String shopType, @NotNull @QueryParam(value="appTypes") java.util.List<AppType> appTypes, @QueryParam(value="categoryId") java.lang.String categoryId, @BeanParam PagerStartsFromZeroBeanParam pager)
@GET @Path(value="app-url") @Produces(value="application/json") public javax.ws.rs.core.Response getAppByUrl(@NotNull @QueryParam(value="businessUnit") java.lang.String businessUnit, @NotNull @QueryParam(value="shopType") java.lang.String shopType, @NotNull @QueryParam(value="appType") AppType appType, @NotNull @QueryParam(value="appUrl") java.lang.String appUrl)
@GET @Path(value="{appId}") @Produces(value="application/json") public javax.ws.rs.core.Response getApp(@NotNull @PathParam(value="appId") OfficialApp officialApp, @NotNull @QueryParam(value="businessUnit") java.lang.String businessUnit, @NotNull @QueryParam(value="shopType") java.lang.String shopType)