Package org.ametys.plugins.ugc.page
Class ClassificationType.TypeEnum
- java.lang.Object
-
- org.ametys.plugins.ugc.page.ClassificationType.TypeEnum
-
- All Implemented Interfaces:
ClassificationType
- Enclosing interface:
- ClassificationType
public static class ClassificationType.TypeEnum extends Object implements ClassificationType
UGC pages are classified by entries of an enumerator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.plugins.ugc.page.ClassificationType
ClassificationType.None, ClassificationType.TypeContent, ClassificationType.TypeEnum
-
-
Field Summary
Fields Modifier and Type Field Description private Enumerator<String>
_enumerator
private Page
_rootPage
private UGCPageHandler
_ugcPageHandler
-
Constructor Summary
Constructors Constructor Description TypeEnum(UGCPageHandler ugcPageHandler, Page rootPage, Enumerator<String> enumerator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<TransitionalPageInformation>
allTransitionalPages()
Gets all transitional page informationTransitionalPageInformation
getTransitionalPage(Content ugcContent)
Gets the transitional page information for the given UG Content
-
-
-
Field Detail
-
_ugcPageHandler
private UGCPageHandler _ugcPageHandler
-
_enumerator
private Enumerator<String> _enumerator
-
-
Constructor Detail
-
TypeEnum
TypeEnum(UGCPageHandler ugcPageHandler, Page rootPage, Enumerator<String> enumerator)
-
-
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
-
-