Package org.ametys.web.repository.page
Interface ModifiableZone
-
- All Superinterfaces:
AmetysObject
,DataAwareAmetysObject
,DataHolder
,ModelLessDataAwareAmetysObject
,ModelLessDataHolder
,ModifiableAmetysObject
,ModifiableDataHolder
,ModifiableModelLessDataAwareAmetysObject
,ModifiableModelLessDataHolder
,RemovableAmetysObject
,Zone
- All Known Implementing Classes:
DefaultZone
public interface ModifiableZone extends Zone, ModifiableModelLessDataAwareAmetysObject, ModifiableAmetysObject, RemovableAmetysObject
A zone that is modifiable
-
-
Field Summary
-
Fields inherited from interface org.ametys.web.repository.page.Zone
ZONEITEM_DATA_NAME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifiableZoneItem
addZoneItem()
Add a new zone itemAmetysObjectIterable<ModifiableZoneItem>
getZoneItems()
Retrieve the list of used zone itemsModifiableModelAwareDataHolder
getZoneParametersHolder()
Get the view parameters-
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
-
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, dataToSAX, getDataNames, getRepositoryData
-
Methods inherited from interface org.ametys.plugins.repository.data.holder.DataHolder
dataToSAX
-
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelLessDataAwareAmetysObject
dataToSAX, getComposite, getType, getValue, getValue, getValueOfType, getValueOfType, hasValue, isMultiple
-
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModelLessDataHolder
dataToSAX, hasValue
-
Methods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChanges
-
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModifiableModelLessDataAwareAmetysObject
getComposite, getComposite, getDataHolder, getRepositoryData, removeValue, setValue, setValue, synchronizeValues
-
Methods inherited from interface org.ametys.plugins.repository.RemovableAmetysObject
remove
-
-
-
-
Method Detail
-
addZoneItem
ModifiableZoneItem addZoneItem() throws AmetysRepositoryException
Add a new zone item- Returns:
- The zone item created
- Throws:
AmetysRepositoryException
- If an error occured
-
getZoneItems
AmetysObjectIterable<ModifiableZoneItem> getZoneItems() throws AmetysRepositoryException
Retrieve the list of used zone items- Specified by:
getZoneItems
in interfaceZone
- Returns:
- The list of zone items. Cannot be null.
- Throws:
AmetysRepositoryException
- if an error occured
-
getZoneParametersHolder
ModifiableModelAwareDataHolder getZoneParametersHolder() throws AmetysRepositoryException
Get the view parameters- Specified by:
getZoneParametersHolder
in interfaceZone
- Returns:
- the view parameters
- Throws:
AmetysRepositoryException
- if an error occurs.
-
-