Class UserZoneItem
java.lang.Object
org.ametys.web.repository.page.virtual.ConfigurableVirtualZoneItem
org.ametys.plugins.userdirectory.page.UserZoneItem
- All Implemented Interfaces:
AmetysObject
,DataAwareAmetysObject
,ModelLessDataAwareAmetysObject
,DataHolder
,ModelLessDataHolder
,ZoneItem
ZoneItem
holding a content.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.web.repository.page.ZoneItem
ZoneItem.ZoneType
-
Field Summary
Fields inherited from class org.ametys.web.repository.page.virtual.ConfigurableVirtualZoneItem
_configuration, _name, _page, _zoneConfiguration, _zoneType
Fields inherited from interface org.ametys.web.repository.page.ZoneItem
SERVICE_PARAMETERS_DATA_NAME
-
Constructor Summary
ConstructorDescriptionUserZoneItem
(AbstractConfigurableVirtualPage page, VirtualZoneItemConfiguration configuration, String scheme, ConfigurableVirtualZoneItemFactory factory) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the view to render the Content with.Methods inherited from class org.ametys.web.repository.page.virtual.ConfigurableVirtualZoneItem
getContent, getContentViewParametersHolder, getDataHolder, getId, getName, getParent, getParentPath, getPath, getServiceId, getServiceParameters, getServiceViewParametersHolder, getType, getZone, getZoneItemParametersHolder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, hashCode
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, copyTo, dataToJSON, dataToJSON, dataToSAX, dataToSAX, getDataNames, getRepositoryData
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelLessDataAwareAmetysObject
dataToJSON, dataToSAX, getComposite, getModelItemTypeExtensionPoint, getParentDataHolder, getRootDataHolder, getType, getValue, getValue, getValueOfType, getValueOfType, hasDifferences, hasValue, hasValue, hasValueOrEmpty, isMultiple, isMultiple
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModelLessDataHolder
dataToJSON, dataToSAX
-
Constructor Details
-
UserZoneItem
public UserZoneItem(AbstractConfigurableVirtualPage page, VirtualZoneItemConfiguration configuration, String scheme, ConfigurableVirtualZoneItemFactory factory) Constructor.- Parameters:
page
- the parentUserPage
.configuration
- The configurationscheme
- The schemefactory
- The factory
-
-
Method Details
-
getViewName
Description copied from interface:ZoneItem
Get the name of the view to render the Content with. It only makes sense if the ZoneItem is a Content reference.
If null is returned, in most cases, "main" should be assumed.- Specified by:
getViewName
in interfaceZoneItem
- Overrides:
getViewName
in classConfigurableVirtualZoneItem
- Returns:
- the view name, or null if not set.
- Throws:
AmetysRepositoryException
- if an error occurs. TODO NEWATTRIBUTEAPI_SERVICE: remove the default implementation when all zone items implement the method
-