Annotation Interface FeedViewBinding


@Documented @Target(TYPE) @Retention(RUNTIME) public @interface FeedViewBinding
An annotation used on a feed view class to bind entryable view classes and the feed type. This annotation can only be used on the implementation class of FeedableView.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends EntryableView>[]
    Specifies the entry view classes bound to the feed view class annotated by this annotation.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends AtomFeed>
    Specifies the atom feed class which is used for instantiating the feed for the Page.
  • Element Details

    • value

      Class<? extends EntryableView>[] value
      Specifies the entry view classes bound to the feed view class annotated by this annotation. When a feed is rendering, it needs to look up the entry views for the paged model instances to render as atom entries. When multiple views are defined, each entry view definition must be corresponding to a unique model class.
      Returns:
      the list of entry view classes.
    • feedType

      Class<? extends AtomFeed> feedType
      Specifies the atom feed class which is used for instantiating the feed for the Page. The default is AtomFeed. If the custom view defines a custom atom feed class for the page, sets the custom atom feed class here.
      Returns:
      the feed class
      Default:
      com.emc.documentum.rest.model.AtomFeed.class