Class ListCategoryPosts.CategoriesForSite
java.lang.Object
org.fenixedu.cms.domain.component.ListCategoryPosts.CategoriesForSite
- All Implemented Interfaces:
ComponentContextProvider<Category>
- Enclosing class:
- ListCategoryPosts
public static class ListCategoryPosts.CategoriesForSite
extends Object
implements ComponentContextProvider<Category>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.fenixedu.cms.domain.component.ComponentContextProvider
ComponentContextProvider.EmptyProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPresents the given item (returned by theComponentContextProvider.provide(Page)method).Provide the contextual items for the given page.
-
Constructor Details
-
CategoriesForSite
public CategoriesForSite()
-
-
Method Details
-
provide
Description copied from interface:ComponentContextProviderProvide the contextual items for the given page.- Specified by:
providein interfaceComponentContextProvider<Category>- Parameters:
page- The page in which the component will be inserted.- Returns:
- The options for the given slot.
-
present
Description copied from interface:ComponentContextProviderPresents the given item (returned by theComponentContextProvider.provide(Page)method). By default, simply invokesObject.toString().- Specified by:
presentin interfaceComponentContextProvider<Category>- Parameters:
category- The item to present.- Returns:
- The presentation of the given item.
-