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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifiableModelAwareDataHolder
getContentViewParametersHolder(String contentViewName)
Get the content view parameters for a given viewModifiableModelAwareDataHolder
getServiceParameters()
Get the service parametersModifiableModelAwareDataHolder
getServiceViewParametersHolder(String serviceViewName)
Get the service view parameters for a given viewModifiableModelAwareDataHolder
getZoneItemParametersHolder()
Get the view parameters<C extends Content>
voidsetContent(C content)
Set the content reference.void
setServiceId(String serviceId)
Set the service id.void
setType(ZoneItem.ZoneType type)
Set the type.void
setViewName(String viewName)
Set the Content view name.-
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, dataToSAX, getDataNames, getRepositoryData
-
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelLessDataAwareAmetysObject
dataToSAX, getComposite, getParentDataHolder, getRootDataHolder, getType, getValue, getValue, getValueOfType, getValueOfType, hasValue, hasValueOrEmpty, isMultiple
-
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModelLessDataHolder
dataToSAX, hasValue, hasValueOrEmpty
-
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, getParentDataHolder, getRepositoryData, getRootDataHolder, removeValue, setValue, setValue, synchronizeValues
-
Methods inherited from interface org.ametys.plugins.repository.MovableAmetysObject
canMoveTo, moveTo, orderBefore
-
Methods inherited from interface org.ametys.plugins.repository.RemovableAmetysObject
remove
-
Methods inherited from interface org.ametys.web.repository.page.ZoneItem
getContent, getServiceId, getType, getViewName, getZone
-
-
-
-
Method Detail
-
setType
void setType(ZoneItem.ZoneType type) throws AmetysRepositoryException
Set the type.- Parameters:
type
- the type.- Throws:
AmetysRepositoryException
- if an error occurs.- See Also:
ZoneItem.ZoneType
-
setContent
<C extends Content> void setContent(C content) throws AmetysRepositoryException
Set the content reference.- Type Parameters:
C
- the actual type ofContent
.- Parameters:
content
- the content.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setViewName
void setViewName(String viewName) throws AmetysRepositoryException
Set the Content view name.- Parameters:
viewName
- the view name.- Throws:
AmetysRepositoryException
- if an error occurs.
-
setServiceId
void setServiceId(String serviceId) throws AmetysRepositoryException
Set the service id.- Parameters:
serviceId
- the service id.- Throws:
AmetysRepositoryException
- if an error occurs.
-
getServiceParameters
ModifiableModelAwareDataHolder getServiceParameters() throws AmetysRepositoryException
Description copied from interface:ZoneItem
Get the service parameters- Specified by:
getServiceParameters
in interfaceZoneItem
- Returns:
- the service parameters
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getZoneItemParametersHolder
ModifiableModelAwareDataHolder getZoneItemParametersHolder() throws AmetysRepositoryException
Description copied from interface:ZoneItem
Get the view parameters- Specified by:
getZoneItemParametersHolder
in interfaceZoneItem
- Returns:
- the view parameters
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getContentViewParametersHolder
ModifiableModelAwareDataHolder getContentViewParametersHolder(String contentViewName) throws AmetysRepositoryException
Description copied from interface:ZoneItem
Get the content view parameters for a given view- Specified by:
getContentViewParametersHolder
in 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:ZoneItem
Get the service view parameters for a given view- Specified by:
getServiceViewParametersHolder
in interfaceZoneItem
- Parameters:
serviceViewName
- the view name- Returns:
- the service view parameters
- Throws:
AmetysRepositoryException
- if an error occurs.
-
-