Class ContentZoneItemList
java.lang.Object
com.broadleafcommerce.content.domain.ContentZoneItemList
- All Implemented Interfaces:
 com.broadleafcommerce.data.tracking.core.EmbeddedContextStateAware,com.broadleafcommerce.translation.mapping.SubIdentifiable,Serializable
public class ContentZoneItemList
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.EmbeddedContextStateAware, com.broadleafcommerce.translation.mapping.SubIdentifiable
Represents a collection of 
ContentZoneItems related to a
 ContentZone that should be returned together when the displayRule matches the
 request context.- Author:
 - Nathan Moore (nathandmoore)
 - See Also:
 
- 
Field Summary
Fields inherited from interface com.broadleafcommerce.data.tracking.core.EmbeddedContextStateAware
DEFAULT_FIELD_NAME - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleancom.broadleafcommerce.data.tracking.core.EmbeddedContextStateA subset ofTrackinginformation to expose the context state for this object.The display rule required to be matched by requests for the list to be displayed in the zone.getId()The id for this list.getItems()TheContentItemsin this list.getName()The name of this list.inthashCode()voidsetContextState(com.broadleafcommerce.data.tracking.core.EmbeddedContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidsetDisplayRule(String displayRule) The display rule required to be matched by requests for the list to be displayed in the zone.voidThe id for this list.voidsetItems(List<ContentZoneItem> items) TheContentItemsin this list.voidThe name of this list.toString() 
- 
Constructor Details
- 
ContentZoneItemList
public ContentZoneItemList() 
 - 
 - 
Method Details
- 
getItems
TheContentItemsin this list.- Returns:
 - The 
ContentItemsin this list. 
 - 
getId
The id for this list. Should be unique for the parentContentZone.- Specified by:
 getIdin interfacecom.broadleafcommerce.translation.mapping.SubIdentifiable- Returns:
 - The id for this list.
 
 - 
getName
The name of this list. This is used in the admin UI.- Returns:
 - The name of this list.
 
 - 
getDisplayRule
The display rule required to be matched by requests for the list to be displayed in the zone.- Returns:
 - The display rule required to be matched by requests for the list to be displayed in the zone.
 
 - 
getContextState
public com.broadleafcommerce.data.tracking.core.EmbeddedContextState getContextState()A subset ofTrackinginformation to expose the context state for this object. This value is not persisted, and instead it is dynamically calculated and populated when theChangeDetailsfor the parent object's entireattributesmap are compared.- Specified by:
 getContextStatein interfacecom.broadleafcommerce.data.tracking.core.EmbeddedContextStateAware- Returns:
 - a subset of 
Trackinginformation to expose the context state for this object 
 - 
setItems
TheContentItemsin this list.- Parameters:
 items- TheContentItemsin this list.
 - 
setId
The id for this list. Should be unique for the parentContentZone.- Specified by:
 setIdin interfacecom.broadleafcommerce.translation.mapping.SubIdentifiable- Parameters:
 id- The id for this list.
 - 
setName
The name of this list. This is used in the admin UI.- Parameters:
 name- The name of this list.
 - 
setDisplayRule
The display rule required to be matched by requests for the list to be displayed in the zone.- Parameters:
 displayRule- The display rule required to be matched by requests for the list to be displayed in the zone.
 - 
setContextState
public void setContextState(com.broadleafcommerce.data.tracking.core.EmbeddedContextState contextState) A subset ofTrackinginformation to expose the context state for this object. This value is not persisted, and instead it is dynamically calculated and populated when theChangeDetailsfor the parent object's entireattributesmap are compared.- Specified by:
 setContextStatein interfacecom.broadleafcommerce.data.tracking.core.EmbeddedContextStateAware- Parameters:
 contextState- a subset ofTrackinginformation to expose the context state for this object
 - 
equals
 - 
canEqual
 - 
hashCode
public int hashCode() - 
toString
 
 -