Class D2AtomFeedFactory<T extends com.emc.documentum.rest.model.Linkable>
- java.lang.Object
-
- com.emc.documentum.d2.core.resource.view.factory.D2AtomFeedFactory<T>
-
- Type Parameters:
T
- the linkable object type
public class D2AtomFeedFactory<T extends com.emc.documentum.rest.model.Linkable> extends java.lang.Object
Atom feed factory to build resource feed representation from the feedable view
-
-
Constructor Summary
Constructors Constructor Description D2AtomFeedFactory(D2FeedableView<T> feedView)
Constructor for the atom feed factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.emc.documentum.rest.model.AtomFeed
feed(boolean inline)
Get the feed representation from the viewprotected <E extends com.emc.documentum.rest.model.AtomEntry>
com.emc.documentum.rest.model.AtomFeed<E>newAtomFeed()
-
-
-
Constructor Detail
-
D2AtomFeedFactory
public D2AtomFeedFactory(D2FeedableView<T> feedView)
Constructor for the atom feed factory- Parameters:
feedView
- the feed view
-
-
Method Detail
-
feed
public com.emc.documentum.rest.model.AtomFeed feed(boolean inline)
Get the feed representation from the view- Parameters:
inline
- indicates whether to inline the atom entry content- Returns:
- the feed representation
-
newAtomFeed
protected <E extends com.emc.documentum.rest.model.AtomEntry> com.emc.documentum.rest.model.AtomFeed<E> newAtomFeed()
-
-