Class StaticPost.PostsForSite
java.lang.Object
org.fenixedu.cms.domain.component.StaticPost.PostsForSite
- All Implemented Interfaces:
ComponentContextProvider<Post>
- Enclosing class:
- StaticPost
public static class StaticPost.PostsForSite
extends Object
implements ComponentContextProvider<Post>
-
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
-
PostsForSite
public PostsForSite()
-
-
Method Details
-
provide
Description copied from interface:ComponentContextProviderProvide the contextual items for the given page.- Specified by:
providein interfaceComponentContextProvider<Post>- 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<Post>- Parameters:
post- The item to present.- Returns:
- The presentation of the given item.
-