Class MarketplaceApplicationCatalog
java.lang.Object
com.broadleafcommerce.tenant.domain.MarketplaceApplicationCatalog
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware
,Serializable
public class MarketplaceApplicationCatalog
extends Object
implements com.broadleafcommerce.data.tracking.core.ContextStateAware, Serializable
Reference structure for a
Application
to its individually assigned Catalog
instances. This relationship is specific to catalogs belonging to vendors in the marketplace use
case.- Author:
- Jeff Fischer
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The id of the relatedApplication
The id of the relatedCatalog
Thestatus
of thecatalog's
visibility for this assignment.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState
A subset ofTracking
information to expose the context state for this object.In specific circumstances, the system may need to return a 'hydrated' response to an API caller and will set this value to the fullCatalog
instance corresponding togetCatalog()
.getId()
The context id of theMarketplaceApplicationCatalog
instance.The id of the implicit catalog for the application that will contain the application's overrides of items fromcatalog
.ThePropagationType
of the how changes from a vendor will be received into the marketplace application.The vendor ref that this relationship is for.int
hashCode()
void
setApplication
(String application) The id of the relatedApplication
void
setCatalog
(String catalog) The id of the relatedCatalog
void
setCatalogStatus
(String catalogStatus) Thestatus
of thecatalog's
visibility for this assignment.void
setContextState
(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTracking
information to expose the context state for this object.void
setHydratedCatalog
(Catalog hydratedCatalog) In specific circumstances, the system may need to return a 'hydrated' response to an API caller and will set this value to the fullCatalog
instance corresponding togetCatalog()
.void
The context id of theMarketplaceApplicationCatalog
instance.void
setImplicit
(String implicit) The id of the implicit catalog for the application that will contain the application's overrides of items fromcatalog
.void
setPropagationType
(String propagationType) ThePropagationType
of the how changes from a vendor will be received into the marketplace application.void
setVendorRef
(String vendorRef) The vendor ref that this relationship is for.toString()
-
Constructor Details
-
MarketplaceApplicationCatalog
public MarketplaceApplicationCatalog()
-
-
Method Details
-
getId
The context id of theMarketplaceApplicationCatalog
instance.- Returns:
- The context id of the
MarketplaceApplicationCatalog
instance
-
getCatalog
The id of the relatedCatalog
- Returns:
- The id of the related
Catalog
- See Also:
-
getImplicit
The id of the implicit catalog for the application that will contain the application's overrides of items fromcatalog
.- Returns:
- The id of the implicit catalog for the application
-
getApplication
The id of the relatedApplication
- Returns:
- The id of the related
Application
-
getCatalogStatus
Thestatus
of thecatalog's
visibility for this assignment.- Returns:
- The
status
of thecatalog's
visibility for this assignment.
-
getPropagationType
ThePropagationType
of the how changes from a vendor will be received into the marketplace application. The default isPropagationType.DIRECT
.- Returns:
- The
PropagationType
of the how changes from a vendor will be received into the marketplace application.
-
getVendorRef
The vendor ref that this relationship is for. This is always auto-set by the system to matchCatalog.getVendorRef()
at the time of creation and is not intended to be mutable.Any value for this provided in requests should be ignored.
- Returns:
- the vendor ref that this relationship is for
-
getHydratedCatalog
In specific circumstances, the system may need to return a 'hydrated' response to an API caller and will set this value to the fullCatalog
instance corresponding togetCatalog()
.This should never be accepted by the system in requests, and will be
null
in situations where hydration does not apply. -
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()A subset ofTracking
information to expose the context state for this object.- Specified by:
getContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Returns:
- a subset of
Tracking
information to expose the context state for this object
-
setId
The context id of theMarketplaceApplicationCatalog
instance.- Parameters:
id
- The context id of theMarketplaceApplicationCatalog
instance
-
setCatalog
The id of the relatedCatalog
- Parameters:
The
- id of the relatedCatalog
- See Also:
-
setImplicit
The id of the implicit catalog for the application that will contain the application's overrides of items fromcatalog
.- Parameters:
implicit
- The id of the implicit catalog for the application
-
setApplication
The id of the relatedApplication
- Parameters:
The
- id of the relatedApplication
-
setCatalogStatus
Thestatus
of thecatalog's
visibility for this assignment.- Parameters:
catalogStatus
- Thestatus
of thecatalog's
visibility for this assignment.
-
setPropagationType
ThePropagationType
of the how changes from a vendor will be received into the marketplace application. The default isPropagationType.DIRECT
.- Parameters:
propagationType
- ThePropagationType
of the how changes from a vendor will be received into the marketplace application.
-
setVendorRef
The vendor ref that this relationship is for. This is always auto-set by the system to matchCatalog.getVendorRef()
at the time of creation and is not intended to be mutable.Any value for this provided in requests should be ignored.
- Parameters:
vendorRef
- the vendor ref that this relationship is for
-
setHydratedCatalog
In specific circumstances, the system may need to return a 'hydrated' response to an API caller and will set this value to the fullCatalog
instance corresponding togetCatalog()
.This should never be accepted by the system in requests, and will be
null
in situations where hydration does not apply. -
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTracking
information to expose the context state for this object.- Specified by:
setContextState
in interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware
- Parameters:
contextState
- a subset ofTracking
information to expose the context state for this object
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-