Class ContentFolderItem
java.lang.Object
com.broadleafcommerce.content.domain.folder.ContentFolderItem
- All Implemented Interfaces:
 com.broadleafcommerce.data.tracking.core.ContextStateAware,Serializable
public class ContentFolderItem
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.ContextStateAware
A domain that maps a ContentItem to a Folder.
- Author:
 - Jon Fleschler (jfleschler)
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe content item.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextStateA subset ofTrackinginformation to expose the context state for this object.getId()The context ID of the folder.inthashCode()voidsetContentItemId(String contentItemId) The content item.voidsetContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState) A subset ofTrackinginformation to expose the context state for this object.voidsetFolderId(String folderId) voidThe context ID of the folder.toString() 
- 
Constructor Details
- 
ContentFolderItem
public ContentFolderItem() 
 - 
 - 
Method Details
- 
getId
The context ID of the folder.- Returns:
 - the context ID of the folder
 
 - 
getFolderId
- Returns:
 - the folder (null if this is the root folder)
 
 - 
getContentItemId
The content item.- Returns:
 - the content item
 
 - 
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 the folder.- Parameters:
 id- the context ID of the folder
 - 
setFolderId
- Parameters:
 folderid- the folder (null if this is the root folder)
 - 
setContentItemId
The content item.- Parameters:
 contentItemId- the content item
 - 
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
 
 -