public class VirtualMonthPageFactory extends Object implements AmetysObjectFactory<VirtualMonthPage>, Serviceable, PluginAware
AmetysObjectFactory handling VirtualMonthPage.| Modifier and Type | Field and Description |
|---|---|
private BlogCacheManager |
_cacheManager |
protected String |
_i18nCatalogue
The i18n catalogue.
|
protected I18nUtils |
_i18nUtils
The i18n cache.
|
private PageDataTypeExtensionPoint |
_pageDataTypeExtensionPoint |
protected String |
_pluginName
The plugin name.
|
private AmetysObjectResolver |
_resolver |
private ServiceExtensionPoint |
_serviceExtensionPoint |
private SkinsManager |
_skinsManager |
| Constructor and Description |
|---|
VirtualMonthPageFactory() |
| Modifier and Type | Method and Description |
|---|---|
VirtualMonthPage |
getAmetysObjectById(String id)
|
String |
getScheme()
Returns the protocol of this factory, used to construct unique ids.
|
boolean |
hasAmetysObjectForId(String id)
Return true if the specified id correspond to an existing
AmetysObject. |
void |
service(ServiceManager manager) |
void |
setPluginInfo(String pluginName,
String featureName,
String id)
Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level. |
String |
translate(String language,
String key)
Get a translated i18n message from the cache.
|
protected I18nUtils _i18nUtils
protected String _pluginName
protected String _i18nCatalogue
private AmetysObjectResolver _resolver
private BlogCacheManager _cacheManager
private SkinsManager _skinsManager
private PageDataTypeExtensionPoint _pageDataTypeExtensionPoint
private ServiceExtensionPoint _serviceExtensionPoint
public VirtualMonthPageFactory()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic void setPluginInfo(String pluginName, String featureName, String id)
PluginAwaresetPluginInfo in interface PluginAwarepluginName - Unique identifier for the plugin hosting the extensionfeatureName - Unique feature identifier (unique for a given pluginName)id - Unique identifier of this componentpublic String getScheme()
AmetysObjectFactorygetScheme in interface AmetysObjectFactory<VirtualMonthPage>public VirtualMonthPage getAmetysObjectById(String id) throws AmetysRepositoryException
AmetysObjectFactorygetAmetysObjectById in interface AmetysObjectFactory<VirtualMonthPage>id - the identifier.AmetysObject.AmetysRepositoryException - if an error occurs.public boolean hasAmetysObjectForId(String id) throws AmetysRepositoryException
AmetysObjectFactoryAmetysObject.
Id are like <protocol>://<protocol-specific-part>.hasAmetysObjectForId in interface AmetysObjectFactory<VirtualMonthPage>id - the identifier.AmetysObject.AmetysRepositoryException - if an error occurs.