Adapts a raw JSON map, as returned by the remote marketplace catalog API, to the IMarketPlaceItem interface. Each getter looks up its value by key in the underlying map rather than from typed fields, so this class is a thin read-only view over the marketplace server's response for a single app, lib, theme or recipe. It is constructed by RemoteMarketplaceProvider when parsing search and lookup responses from the remote marketplace.
Implements: IMarketPlaceItem
Properties
| Property | Returns | Description |
|---|---|---|
| appId | String | Unique id of the marketplace item, taken from the "name" entry in the underlying map. Used to install or look up this app, lib, theme or recipe elsewhere in the platform. |
| availMode | String | Availability mode expression for this item, taken from the "availMode" entry in the underlying map. Used by MarketPlaceService to decide whether the item should be visible to a given organisation. |
| bannerHref | String | Href of the item's banner image, taken from the "banner" entry in the underlying map. |
| brief | String | Short summary of the marketplace item, taken from the "brief" entry in the underlying map. |
| description | String | Full description of the marketplace item, taken from the "description" entry in the underlying map. |
| hash | String | Content hash of the currently published build of this item, taken from the "hash" entry in the underlying map. Used by RemoteMarketplaceProvider to decide whether the item's content needs to be synced locally before install. |
| logoHref | String | Href of the item's logo image, taken from the "logo" entry in the underlying map. |
| price | BigDecimal | Price of the marketplace item, parsed from the "price" entry in the underlying map. |
| publishedDate | Date | Date the currently published build of this item was published, parsed as an ISO date-time from the "publishedDate" entry in the underlying map. |
| publishedVersion | String | Version string of the currently published build of this item, taken from the "publishedVersion" entry in the underlying map. |
| screenshotHrefs | List<String> | Hrefs of the item's screenshot images, taken from the "screenshots" entry in the underlying map. Blank entries are skipped. |
| title | String | Display title of the marketplace item, taken from the "title" entry in the underlying map. |
| type | String | Kind of marketplace item, taken from the "type" entry in the underlying map. Expected values are "app", "lib", "theme" and "recipe", which the default methods on IMarketPlaceItem test against. |
Methods
getAppId() · getTitle() · getType() · getDescription() · getBrief() · getPrice() · getPublishedVersion() · getPublishedDate() · getHash() · getLogoHref() · getBannerHref() · getScreenshotHrefs() · getAvailMode()
getAppId()
Returns: String
Unique id of the marketplace item, taken from the "name" entry in the underlying map. Used to install or look up this app, lib, theme or recipe elsewhere in the platform.
getTitle()
Returns: String
Display title of the marketplace item, taken from the "title" entry in the underlying map.
getType()
Returns: String
Kind of marketplace item, taken from the "type" entry in the underlying map. Expected values are "app", "lib", "theme" and "recipe", which the default methods on IMarketPlaceItem test against.
getDescription()
Returns: String
Full description of the marketplace item, taken from the "description" entry in the underlying map.
getBrief()
Returns: String
Short summary of the marketplace item, taken from the "brief" entry in the underlying map.
getPrice()
Returns: BigDecimal
Price of the marketplace item, parsed from the "price" entry in the underlying map.
getPublishedVersion()
Returns: String
Version string of the currently published build of this item, taken from the "publishedVersion" entry in the underlying map.
getPublishedDate()
Returns: Date
Date the currently published build of this item was published, parsed as an ISO date-time from the "publishedDate" entry in the underlying map.
getHash()
Returns: String
Content hash of the currently published build of this item, taken from the "hash" entry in the underlying map. Used by RemoteMarketplaceProvider to decide whether the item's content needs to be synced locally before install.
getLogoHref()
Returns: String
Href of the item's logo image, taken from the "logo" entry in the underlying map.
getBannerHref()
Returns: String
Href of the item's banner image, taken from the "banner" entry in the underlying map.
getScreenshotHrefs()
Returns: List<String>
Hrefs of the item's screenshot images, taken from the "screenshots" entry in the underlying map. Blank entries are skipped.
getAvailMode()
Returns: String
Availability mode expression for this item, taken from the "availMode" entry in the underlying map. Used by MarketPlaceService to decide whether the item should be visible to a given organisation.