Package org.ametys.plugins.ugc.page
Class TransitionalPageInformation.TypeEnum
- java.lang.Object
-
- org.ametys.plugins.ugc.page.TransitionalPageInformation.TypeEnum
-
- All Implemented Interfaces:
TransitionalPageInformation
- Enclosing interface:
- TransitionalPageInformation
public static class TransitionalPageInformation.TypeEnum extends Object implements TransitionalPageInformation
UGC pages are classified by entries of an enumerator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.plugins.ugc.page.TransitionalPageInformation
TransitionalPageInformation.TypeContent, TransitionalPageInformation.TypeEnum
-
-
Field Summary
Fields Modifier and Type Field Description private String
_key
private I18nizableText
_text
private UGCPageHandler
_ugcPageHandler
-
Constructor Summary
Constructors Constructor Description TypeEnum(UGCPageHandler ugcPageHandler, String key, I18nizableText text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAttributeValue()
Gets the value of the classification attribute for the transitional pageString
getKey()
Gets the unique key of the transitional pageString
getTitle()
Gets the title of the transitional page-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ametys.plugins.ugc.page.TransitionalPageInformation
getInfo
-
-
-
-
Field Detail
-
_text
private I18nizableText _text
-
_ugcPageHandler
private UGCPageHandler _ugcPageHandler
-
-
Constructor Detail
-
TypeEnum
TypeEnum(UGCPageHandler ugcPageHandler, String key, I18nizableText text)
-
-
Method Detail
-
getKey
public String getKey()
Description copied from interface:TransitionalPageInformation
Gets the unique key of the transitional page- Specified by:
getKey
in interfaceTransitionalPageInformation
- Returns:
- the unique key of the transitional page
-
getAttributeValue
public String getAttributeValue()
Description copied from interface:TransitionalPageInformation
Gets the value of the classification attribute for the transitional page- Specified by:
getAttributeValue
in interfaceTransitionalPageInformation
- Returns:
- the value of the classification attribute for the transitional page
-
getTitle
public String getTitle()
Description copied from interface:TransitionalPageInformation
Gets the title of the transitional page- Specified by:
getTitle
in interfaceTransitionalPageInformation
- Returns:
- the title of the transitional page
-
-