Package org.ametys.web.repository.page
Interface ModifiableZoneItem
- All Superinterfaces:
AmetysObject,DataAwareAmetysObject,DataHolder,ModelLessDataAwareAmetysObject,ModelLessDataHolder,ModifiableAmetysObject,ModifiableDataHolder,ModifiableModelLessDataAwareAmetysObject,ModifiableModelLessDataHolder,MovableAmetysObject,RemovableAmetysObject,ZoneItem
- All Known Implementing Classes:
DefaultZoneItem
public interface ModifiableZoneItem
extends ZoneItem, ModifiableModelLessDataAwareAmetysObject, RemovableAmetysObject, MovableAmetysObject
A zone item that can is modifiable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.web.repository.page.ZoneItem
ZoneItem.ZoneType -
Field Summary
Fields inherited from interface org.ametys.web.repository.page.ZoneItem
SERVICE_PARAMETERS_DATA_NAME -
Method Summary
Modifier and TypeMethodDescriptiongetContentViewParametersHolder(String contentViewName) Get the content view parameters for a given viewGet the service parametersgetServiceViewParametersHolder(String serviceViewName) Get the service view parameters for a given viewGet the view parameters<C extends Content>
voidsetContent(C content) Set the content reference.voidsetServiceId(String serviceId) Set the service id.voidsetType(ZoneItem.ZoneType type) Set the type.voidsetViewName(String viewName) Set the Content view name.Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCodeMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, dataToJSON, dataToJSON, dataToSAX, dataToSAX, getDataNames, getRepositoryDataMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelLessDataAwareAmetysObject
dataToJSON, dataToSAX, getComposite, getModelItemTypeExtensionPoint, getParentDataHolder, getRootDataHolder, getType, getValue, getValue, getValueOfType, getValueOfType, hasValue, hasValue, hasValueOrEmpty, isMultiple, isMultipleMethods inherited from interface org.ametys.plugins.repository.data.holder.ModelLessDataHolder
dataToJSON, dataToSAX, hasValue, hasValueOrEmptyMethods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChangesMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModifiableModelLessDataAwareAmetysObject
getComposite, getComposite, getDataHolder, getParentDataHolder, getRepositoryData, getRootDataHolder, removeValue, setValue, setValue, synchronizeValuesMethods inherited from interface org.ametys.plugins.repository.MovableAmetysObject
canMoveTo, moveTo, orderBeforeMethods inherited from interface org.ametys.plugins.repository.RemovableAmetysObject
removeMethods inherited from interface org.ametys.web.repository.page.ZoneItem
getContent, getServiceId, getType, getViewName, getZone
-
Method Details
-
setType
Set the type.- Parameters:
type- the type.- Throws:
AmetysRepositoryException- if an error occurs.- See Also:
-
setContent
Set the content reference.- Type Parameters:
C- the actual type ofContent.- Parameters:
content- the content.- Throws:
AmetysRepositoryException- if an error occurs.
-
setViewName
Set the Content view name.- Parameters:
viewName- the view name.- Throws:
AmetysRepositoryException- if an error occurs.
-
setServiceId
Set the service id.- Parameters:
serviceId- the service id.- Throws:
AmetysRepositoryException- if an error occurs.
-
getServiceParameters
Description copied from interface:ZoneItemGet the service parameters- Specified by:
getServiceParametersin interfaceZoneItem- Returns:
- the service parameters
- Throws:
AmetysRepositoryException- if an error occurs.
-
getZoneItemParametersHolder
Description copied from interface:ZoneItemGet the view parameters- Specified by:
getZoneItemParametersHolderin interfaceZoneItem- Returns:
- the view parameters
- Throws:
AmetysRepositoryException- if an error occurs.
-
getContentViewParametersHolder
ModifiableModelAwareDataHolder getContentViewParametersHolder(String contentViewName) throws AmetysRepositoryException Description copied from interface:ZoneItemGet the content view parameters for a given view- Specified by:
getContentViewParametersHolderin interfaceZoneItem- Parameters:
contentViewName- the view name- Returns:
- the content view parameters
- Throws:
AmetysRepositoryException- if an error occurs.
-
getServiceViewParametersHolder
ModifiableModelAwareDataHolder getServiceViewParametersHolder(String serviceViewName) throws AmetysRepositoryException Description copied from interface:ZoneItemGet the service view parameters for a given view- Specified by:
getServiceViewParametersHolderin interfaceZoneItem- Parameters:
serviceViewName- the view name- Returns:
- the service view parameters
- Throws:
AmetysRepositoryException- if an error occurs.
-