Package com.sap.cds.adapter
Interface IndexContentProvider
public interface IndexContentProvider
Interface to implement by content providers for the index page
-
Method Summary
Modifier and TypeMethodDescriptiondefault intorder()The order can be used to list index content in a specified order.voidwriteContent(PrintWriter out, String contextPath) Write the index page content
-
Method Details
-
getSectionTitle
String getSectionTitle()- Returns:
- the text to use as title for the index page section of this provide
-
writeContent
Write the index page content- Parameters:
out- the writer to output the content tocontextPath- the servlet context path
-
order
default int order()The order can be used to list index content in a specified order. The default order is 0. Index content with a lower order is shown before index content with a higher order.- Returns:
- the order value
-