Class AbstractConfigurableVirtualPageFactory
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.web.repository.page.virtual.AbstractConfigurableVirtualPageFactory
- All Implemented Interfaces:
LogEnabled,Configurable,Contextualizable,Serviceable
- Direct Known Subclasses:
AbstractOdfPageFactory,AbstractUGCPageFactory,AbstractUserDirectoryPageFactory
public abstract class AbstractConfigurableVirtualPageFactory
extends AbstractLogEnabled
implements Serviceable, Configurable, Contextualizable
Common class for factories of virtual pages
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AmetysObjectFactoryExtensionPointThe ametys object factory extension pointprotected StringThe id in the configuration extension pointprotected ContextThe avalon contextprotected I18nUtilsthe i18n utils componentprotected ServiceManagerThe service managerprotected ModelItemTypeExtensionPointThe model item type extension pointprotected AmetysObjectResolverThe ametys object resolverprotected SAXParserExcalibur SaxParserprotected ServiceExtensionPointThe service extension pointprotected SkinsManagerThe skins managerprotected VirtualPageConfigurationExtensionPointThe virtual page configuration extension pointprotected StringThe zone factory id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(Configuration configuration) voidcontextualize(Context context) Get the ametys object factory extension pointGet the configuration for the virtual pageGet the i18n utilsGet the page data type extension pointReturns the current requestGet the ametys object resolver extension pointGet the Excalibur SAX ParserGet the service extension pointGet the skins managerGet the Configurable virtual zone's factoryvoidservice(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
_virtualPageConfigurationEP
The virtual page configuration extension point -
_resolver
The ametys object resolver -
_i18nUtils
the i18n utils component -
_saxParser
Excalibur SaxParser -
_pageDataTypeExtensionPoint
The model item type extension point -
_serviceExtensionPoint
The service extension point -
_manager
The service manager -
_ametysObjectFactoryEP
The ametys object factory extension point -
_skinsManager
The skins manager -
_configurationId
The id in the configuration extension point -
_zoneFactoryId
The zone factory id -
_context
The avalon context
-
-
Constructor Details
-
AbstractConfigurableVirtualPageFactory
-
-
Method Details
-
contextualize
- Specified by:
contextualizein interfaceContextualizable- Throws:
ContextException
-
configure
- Specified by:
configurein interfaceConfigurable- Throws:
ConfigurationException
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getConfiguration
Get the configuration for the virtual page- Returns:
- The CourseVirtualPageConfiguraton
-
getSkinsManager
Get the skins manager- Returns:
- The skins manager
-
getZoneFactory
Get the Configurable virtual zone's factory- Returns:
- The ConfigurableVirtualZoneFactory
-
getResolver
Get the ametys object resolver extension point- Returns:
- The
AmetysObjectResolver
-
getI18nUtils
Get the i18n utils- Returns:
- The
I18nUtils
-
getSaxParser
Get the Excalibur SAX Parser- Returns:
- The
SAXParser
-
getPageDataTypeEP
Get the page data type extension point- Returns:
- The
ModelItemTypeExtensionPoint
-
getServiceEP
Get the service extension point- Returns:
- The
ServiceExtensionPoint
-
getAmetysObjectFactoryEP
Get the ametys object factory extension point- Returns:
- The
AmetysObjectFactoryExtensionPoint
-
getRequest
Returns the current request- Returns:
- the current request
-