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

PropertyReturnsDescription
appIdStringUnique 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.
availModeStringAvailability 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.
bannerHrefStringHref of the item's banner image, taken from the "banner" entry in the underlying map.
briefStringShort summary of the marketplace item, taken from the "brief" entry in the underlying map.
descriptionStringFull description of the marketplace item, taken from the "description" entry in the underlying map.
hashStringContent 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.
logoHrefStringHref of the item's logo image, taken from the "logo" entry in the underlying map.
priceBigDecimalPrice of the marketplace item, parsed from the "price" entry in the underlying map.
publishedDateDateDate the currently published build of this item was published, parsed as an ISO date-time from the "publishedDate" entry in the underlying map.
publishedVersionStringVersion string of the currently published build of this item, taken from the "publishedVersion" entry in the underlying map.
screenshotHrefsList<String>Hrefs of the item's screenshot images, taken from the "screenshots" entry in the underlying map. Blank entries are skipped.
titleStringDisplay title of the marketplace item, taken from the "title" entry in the underlying map.
typeStringKind 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.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.