Package org.ametys.plugins.ugc.page
Class ClassificationType.TypeContent
java.lang.Object
org.ametys.plugins.ugc.page.ClassificationType.TypeContent
- All Implemented Interfaces:
ClassificationType
- Enclosing interface:
- ClassificationType
UGC pages are classified by a linked Content on their UG Content (for instance entries of a reference table)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.plugins.ugc.page.ClassificationType
ClassificationType.None, ClassificationType.TypeContent, ClassificationType.TypeEnum
-
Method Summary
Modifier and TypeMethodDescriptionprotected AmetysObjectIterable<Content>
_getAllContents
(Page rootPage, String contentTypeId) Get all content with the content type idGets all transitional page informationgetTransitionalPage
(Content ugcContent) Gets the transitional page information for the given UG Content
-
Method Details
-
getTransitionalPage
Description copied from interface:ClassificationType
Gets the transitional page information for the given UG Content- Specified by:
getTransitionalPage
in interfaceClassificationType
- Parameters:
ugcContent
- The UG Content- Returns:
- the transitional page information
-
allTransitionalPages
Description copied from interface:ClassificationType
Gets all transitional page information- Specified by:
allTransitionalPages
in interfaceClassificationType
- Returns:
- all the transitional page information
-
_getAllContents
Get all content with the content type id- Parameters:
rootPage
- the root pagecontentTypeId
- the content type id- Returns:
- the list of contents
-