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
Modifier and TypeFieldDescriptionprotected AmetysObjectFactoryExtensionPoint
The ametys object factory extension pointprotected String
The id in the configuration extension pointprotected Context
The avalon contextprotected I18nUtils
the i18n utils componentprotected ServiceManager
The service managerprotected ModelItemTypeExtensionPoint
The model item type extension pointprotected AmetysObjectResolver
The ametys object resolverprotected SAXParser
Excalibur SaxParserprotected ServiceExtensionPoint
The service extension pointprotected SkinsManager
The skins managerprotected VirtualPageConfigurationExtensionPoint
The virtual page configuration extension pointprotected String
The zone factory id -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration configuration) void
contextualize
(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 factoryvoid
service
(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:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
configure
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
service
- Specified by:
service
in 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
-