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:
DeferredServiceable,LogEnabled,Configurable,Contextualizable
- Direct Known Subclasses:
UGCPageFactory,UGCTransitionalPageFactory,VirtualUGCPageFactory
Common class for factories of UGC virtual pages
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SkinsManagerThe skin managerprotected UGCPageHandlerThe UGC page handlerFields inherited from class org.ametys.web.repository.page.virtual.AbstractConfigurableVirtualPageFactory
_ametysObjectFactoryEP, _configurationId, _context, _manager, _pageDataTypeExtensionPoint, _resolver, _skinsManager, _virtualPageConfigurationEP, _zoneFactoryId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeferredService(ServiceManager manager) Pass theServiceManagerused to access other components.getConfiguration(Page rootPage) Get the configuration for the virtual pageprotected UGCPageHandlerGet the ugc page handlerMethods inherited from class org.ametys.web.repository.page.virtual.AbstractConfigurableVirtualPageFactory
configure, contextualize, getConfiguration, getPageDataTypeEP, getRequest, getResolver, getSkinsManager, getZoneFactoryMethods 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
-
deferredService
Description copied from interface:DeferredServiceablePass theServiceManagerused to access other components.- Specified by:
deferredServicein interfaceDeferredServiceable- Overrides:
deferredServicein classAbstractConfigurableVirtualPageFactory- Parameters:
manager- TheServiceManagerwhich thisDeferredServiceableuses. Must not benull.- Throws:
ServiceException- if an error occurs
-
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
-