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 boolean
boolean
The content item.com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState
A subset ofTracking
information to expose the context state for this object.getId()
The context ID of the folder.int
hashCode()
void
setContentItemId
(String contentItemId) The content item.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
setFolderId
(String folderId) void
The 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 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 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 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
-