Class GenericFeedDescriptor

java.lang.Object
org.hippoecm.hst.content.beans.standard.HippoItem
org.hippoecm.hst.content.beans.standard.HippoDocument
org.bloomreach.forge.feed.beans.GenericFeedDescriptor
All Implemented Interfaces:
Comparable<org.hippoecm.hst.content.beans.standard.HippoBean>, FeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry>, org.hippoecm.hst.content.beans.manager.ObjectConverterAware, org.hippoecm.hst.content.beans.NodeAware, org.hippoecm.hst.content.beans.standard.ContentBean, org.hippoecm.hst.content.beans.standard.HippoBean, org.hippoecm.hst.content.beans.standard.HippoDocumentBean, org.hippoecm.hst.content.beans.standard.HippoTranslated, org.hippoecm.hst.content.beans.standard.IdentifiableContentBean, org.hippoecm.hst.content.PageModelEntity

public class GenericFeedDescriptor extends org.hippoecm.hst.content.beans.standard.HippoDocument implements FeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry>
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.hippoecm.hst.content.beans.standard.HippoItem

    org.hippoecm.hst.content.beans.standard.HippoItem.ComparatorMap
  • Field Summary

    Fields inherited from class org.hippoecm.hst.content.beans.standard.HippoItem

    comparePath, detached, displayName, localizedName, name, node, objectConverter, path, valueProvider
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.rometools.rome.feed.synd.SyndEntry
    Create entry element to include in top level element
    com.rometools.rome.feed.synd.SyndFeed
    Create top level element
     
     
     
     
     
     
     
    org.hippoecm.hst.content.beans.standard.HippoGalleryImageSet
     
     
     
    org.hippoecm.hst.content.beans.standard.HippoDocument
     
     
    descriptor
     
     
     
    process(com.rometools.rome.feed.synd.SyndFeed syndication)
    Process syndication to XML format
    void
    set(com.rometools.rome.feed.synd.SyndFeed syndication, List<com.rometools.rome.feed.synd.SyndEntry> entries)
    Add entry list to the syndication
    FeedType

    Methods inherited from class org.hippoecm.hst.content.beans.standard.HippoDocument

    getAvailableTranslations, getCanonicalHandlePath, getCanonicalHandleUUID, getHippoCompound, getHippoHtml, getLocale, getLocaleString

    Methods inherited from class org.hippoecm.hst.content.beans.standard.HippoItem

    attach, compareTo, detach, equalCompare, equals, getAvailableTranslations, getBean, getBean, getBeanByUUID, getCanonicalBean, getCanonicalPath, getCanonicalUUID, getChildBeans, getChildBeans, getChildBeansByName, getChildBeansByName, getComparePath, getDisplayName, getEqualComparator, getIdentifier, getLinkedBean, getLinkedBeans, getMultipleProperty, getMultipleProperty, getName, getNode, getObjectConverter, getParentBean, getPath, getProperties, getProperty, getSingleProperty, getSingleProperty, getValueProvider, hashCode, isAncestor, isDescendant, isHippoDocumentBean, isHippoFolderBean, isLeaf, isSelf, isVersionedNode, setComparePath, setDisplayName, setIdentifier, setName, setNode, setObjectConverter, setPath

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface org.hippoecm.hst.content.beans.standard.HippoBean

    equalCompare, getAvailableTranslations, getBean, getBean, getBeanByUUID, getCanonicalBean, getCanonicalPath, getCanonicalUUID, getChildBeans, getChildBeans, getChildBeansByName, getChildBeansByName, getComparePath, getContentType, getDisplayName, getEqualComparator, getLinkedBean, getLinkedBeans, getMultipleProperty, getMultipleProperty, getName, getNode, getParentBean, getPath, getProperties, getProperty, getSingleProperty, getSingleProperty, getValueProvider, isAncestor, isDescendant, isHippoDocumentBean, isHippoFolderBean, isLeaf, isSelf, isVersionedNode

    Methods inherited from interface org.hippoecm.hst.content.beans.standard.HippoDocumentBean

    getRepresentationId

    Methods inherited from interface org.hippoecm.hst.content.beans.standard.IdentifiableContentBean

    getIdentifier, setIdentifier

    Methods inherited from interface org.hippoecm.hst.content.beans.NodeAware

    setNode

    Methods inherited from interface org.hippoecm.hst.content.beans.manager.ObjectConverterAware

    getObjectConverter, setObjectConverter
  • Constructor Details

    • GenericFeedDescriptor

      public GenericFeedDescriptor()
  • Method Details

    • getType

      public String getType()
    • getTitle

      public String getTitle()
    • getPublicationDate

      public Calendar getPublicationDate()
    • getAuthor

      public List<String> getAuthor()
    • getDescription

      public String getDescription()
    • getLanguage

      public String getLanguage()
    • getContributors

      public List<String> getContributors()
    • getCopyright

      public String getCopyright()
    • getImage

      public org.hippoecm.hst.content.beans.standard.HippoGalleryImageSet getImage()
    • getCategories

      public List<String> getCategories()
    • getLink

      public org.hippoecm.hst.content.beans.standard.HippoDocument getLink()
    • createSyndication

      public com.rometools.rome.feed.synd.SyndFeed createSyndication()
      Description copied from interface: FeedDescriptor
      Create top level element
      Specified by:
      createSyndication in interface FeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry>
      Returns:
    • createEntry

      public com.rometools.rome.feed.synd.SyndEntry createEntry()
      Description copied from interface: FeedDescriptor
      Create entry element to include in top level element
      Specified by:
      createEntry in interface FeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry>
      Returns:
    • set

      public void set(com.rometools.rome.feed.synd.SyndFeed syndication, List<com.rometools.rome.feed.synd.SyndEntry> entries)
      Description copied from interface: FeedDescriptor
      Add entry list to the syndication
      Specified by:
      set in interface FeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry>
    • process

      public String process(com.rometools.rome.feed.synd.SyndFeed syndication)
      Description copied from interface: FeedDescriptor
      Process syndication to XML format
      Specified by:
      process in interface FeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry>
      Returns:
    • type

      public FeedType type()
      Description copied from interface: FeedDescriptor
      FeedType
      Specified by:
      type in interface FeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry>
      Returns:
    • getScope

      public String getScope()
      descriptor
      Specified by:
      getScope in interface FeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry>
    • getDocumentType

      public String getDocumentType()
      Specified by:
      getDocumentType in interface FeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry>
    • getExclude

      public String getExclude()
      Specified by:
      getExclude in interface FeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry>
    • getItemCount

      public Long getItemCount()
      Specified by:
      getItemCount in interface FeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry>
    • getSortByField

      public String getSortByField()
      Specified by:
      getSortByField in interface FeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry>