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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe id of the relatedApplicationThe id of the relatedCatalogThestatusof thecatalog'svisibility for this assignment.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStateA subset ofTrackinginformation 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 fullCataloginstance corresponding togetCatalog().getId()The context id of theMarketplaceApplicationCataloginstance.The id of the implicit catalog for the application that will contain the application's overrides of items fromcatalog.ThePropagationTypeof the how changes from a vendor will be received into the marketplace application.The vendor ref that this relationship is for.inthashCode()voidsetApplication(String application) The id of the relatedApplicationvoidsetCatalog(String catalog) The id of the relatedCatalogvoidsetCatalogStatus(String catalogStatus) Thestatusof thecatalog'svisibility for this assignment.voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidsetHydratedCatalog(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 fullCataloginstance corresponding togetCatalog().voidThe context id of theMarketplaceApplicationCataloginstance.voidsetImplicit(String implicit) The id of the implicit catalog for the application that will contain the application's overrides of items fromcatalog.voidsetPropagationType(String propagationType) ThePropagationTypeof the how changes from a vendor will be received into the marketplace application.voidsetVendorRef(String vendorRef) The vendor ref that this relationship is for.toString()
-
Constructor Details
-
MarketplaceApplicationCatalog
public MarketplaceApplicationCatalog()
-
-
Method Details
-
getId
The context id of theMarketplaceApplicationCataloginstance.- Returns:
- The context id of the
MarketplaceApplicationCataloginstance
-
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
Thestatusof thecatalog'svisibility for this assignment.- Returns:
- The
statusof thecatalog'svisibility for this assignment.
-
getPropagationType
ThePropagationTypeof the how changes from a vendor will be received into the marketplace application. The default isPropagationType.DIRECT.- Returns:
- The
PropagationTypeof 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 fullCataloginstance corresponding togetCatalog().This should never be accepted by the system in requests, and will be
nullin situations where hydration does not apply. -
getContextState
public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()A subset ofTrackinginformation to expose the context state for this object.- Specified by:
getContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware- Returns:
- a subset of
Trackinginformation to expose the context state for this object
-
setId
The context id of theMarketplaceApplicationCataloginstance.- Parameters:
id- The context id of theMarketplaceApplicationCataloginstance
-
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
Thestatusof thecatalog'svisibility for this assignment.- Parameters:
catalogStatus- Thestatusof thecatalog'svisibility for this assignment.
-
setPropagationType
ThePropagationTypeof the how changes from a vendor will be received into the marketplace application. The default isPropagationType.DIRECT.- Parameters:
propagationType- ThePropagationTypeof 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 fullCataloginstance corresponding togetCatalog().This should never be accepted by the system in requests, and will be
nullin situations where hydration does not apply. -
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.- Specified by:
setContextStatein interfacecom.broadleafcommerce.data.tracking.core.ContextStateAware- Parameters:
contextState- a subset ofTrackinginformation to expose the context state for this object
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-