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
public static class ClassificationType.TypeContent extends Object implements 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AmetysObjectIterable<Content>
_getAllContents(Page rootPage, String contentTypeId)
Get all content with the content type idCollection<TransitionalPageInformation>
allTransitionalPages()
Gets all transitional page informationTransitionalPageInformation
getTransitionalPage(Content ugcContent)
Gets the transitional page information for the given UG Content
-
-
-
Method Detail
-
getTransitionalPage
public TransitionalPageInformation getTransitionalPage(Content ugcContent)
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
public Collection<TransitionalPageInformation> allTransitionalPages()
Description copied from interface:ClassificationType
Gets all transitional page information- Specified by:
allTransitionalPages
in interfaceClassificationType
- Returns:
- all the transitional page information
-
_getAllContents
protected AmetysObjectIterable<Content> _getAllContents(Page rootPage, String contentTypeId)
Get all content with the content type id- Parameters:
rootPage
- the root pagecontentTypeId
- the content type id- Returns:
- the list of contents
-
-