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 SkinsManager
The skin managerprotected UGCPageHandler
The 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 TypeMethodDescriptionvoid
deferredService
(ServiceManager manager) Pass theServiceManager
used to access other components.getConfiguration
(Page rootPage) Get the configuration for the virtual pageprotected UGCPageHandler
Get the ugc page handlerMethods inherited from class org.ametys.web.repository.page.virtual.AbstractConfigurableVirtualPageFactory
configure, contextualize, getConfiguration, getPageDataTypeEP, getRequest, getResolver, 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
-
deferredService
Description copied from interface:DeferredServiceable
Pass theServiceManager
used to access other components.- Specified by:
deferredService
in interfaceDeferredServiceable
- Overrides:
deferredService
in classAbstractConfigurableVirtualPageFactory
- Parameters:
manager
- TheServiceManager
which thisDeferredServiceable
uses. 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
-