Package org.ametys.plugins.ugc.page
Class AbstractUGCPageFactory
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.web.repository.page.virtual.AbstractConfigurableVirtualPageFactory
org.ametys.plugins.ugc.page.AbstractUGCPageFactory
- All Implemented Interfaces:
LogEnabled
,Configurable
,Serviceable
- Direct Known Subclasses:
UGCPageFactory
,UGCTransitionalPageFactory
,VirtualUGCPageFactory
Common class for factories of UGC virtual pages
-
Field Summary
Modifier and TypeFieldDescriptionprotected SkinsManager
The skin managerprotected UGCPageHandler
The UGC page handlerFields inherited from class org.ametys.web.repository.page.virtual.AbstractConfigurableVirtualPageFactory
_ametysObjectFactoryEP, _configurationId, _i18nUtils, _manager, _pageDataTypeExtensionPoint, _resolver, _saxParser, _serviceExtensionPoint, _skinsManager, _virtualPageConfigurationEP, _zoneFactoryId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetConfiguration
(Page rootPage) Get the configuration for the virtual pageprotected UGCPageHandler
Get the ugc page handlervoid
service
(ServiceManager manager) Methods inherited from class org.ametys.web.repository.page.virtual.AbstractConfigurableVirtualPageFactory
configure, getAmetysObjectFactoryEP, getConfiguration, getI18nUtils, getPageDataTypeEP, getResolver, getSaxParser, getServiceEP, getSkinsManager, getZoneFactory
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
_ugcPageHandler
The UGC page handler -
_skinManager
The skin manager
-
-
Constructor Details
-
AbstractUGCPageFactory
public AbstractUGCPageFactory()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractConfigurableVirtualPageFactory
- Throws:
ServiceException
-
getConfiguration
Get the configuration for the virtual page- Parameters:
rootPage
- The root page of the virtual hierarchy- Returns:
- The CourseVirtualPageConfiguraton
-
getUgcPageHandler
Get the ugc page handler- Returns:
UGCPageHandler
-