Class D2AbstractController
- java.lang.Object
-
- com.emc.documentum.rest.controller.AbstractController
-
- com.emc.documentum.d2.core.resource.controller.D2AbstractController
-
public class D2AbstractController extends com.emc.documentum.rest.controller.AbstractController
The abstract class for resource controllers.
-
-
Constructor Summary
Constructors Constructor Description D2AbstractController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.emc.documentum.rest.model.Linkable>
com.emc.documentum.rest.model.AtomFeedgetRenderedFeed(java.lang.String repositoryName, java.util.List<T> resultList, boolean links, boolean inline, com.emc.documentum.rest.http.UriInfo uriInfo, java.util.Map<java.lang.String,java.lang.Object> others)
Get the rendered atom feed from the view definition.
-
-
-
Method Detail
-
getRenderedFeed
public <T extends com.emc.documentum.rest.model.Linkable> com.emc.documentum.rest.model.AtomFeed getRenderedFeed(java.lang.String repositoryName, java.util.List<T> resultList, boolean links, boolean inline, com.emc.documentum.rest.http.UriInfo uriInfo, java.util.Map<java.lang.String,java.lang.Object> others)
Get the rendered atom feed from the view definition. The view definition classes are loaded fromD2ViewFactory
. The default view definition can be annotated on the controller definition byResourceViewBinding
.- Type Parameters:
T
- serializable model data- Parameters:
repositoryName
- repository nameresultList
- the list of itemslinks
- indicate whether to return linksinline
- whether embed the entry in the feeduriInfo
- uri infoothers
- other parameters- Returns:
- the rendered atom feed for list of objects
-
-