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 Details

    • ContentFolderItem

      public ContentFolderItem()
  • Method Details

    • getId

      public String getId()
      The context ID of the folder.
      Returns:
      the context ID of the folder
    • getFolderId

      public String getFolderId()
      Returns:
      the folder (null if this is the root folder)
    • getContentItemId

      public String getContentItemId()
      The content item.
      Returns:
      the content item
    • getContextState

      public com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState getContextState()
      A subset of Tracking information to expose the context state for this object.
      Specified by:
      getContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
      Returns:
      a subset of Tracking information to expose the context state for this object
    • setId

      public void setId(String id)
      The context ID of the folder.
      Parameters:
      id - the context ID of the folder
    • setFolderId

      public void setFolderId(String folderId)
      Parameters:
      folderid - the folder (null if this is the root folder)
    • setContentItemId

      public void setContentItemId(String contentItemId)
      The content item.
      Parameters:
      contentItemId - the content item
    • setContextState

      public void setContextState(com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState)
      A subset of Tracking information to expose the context state for this object.
      Specified by:
      setContextState in interface com.broadleafcommerce.data.tracking.core.ContextStateAware
      Parameters:
      contextState - a subset of Tracking information to expose the context state for this object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object