public interface ModifiableZoneItem extends ZoneItem, ModifiableMetadataAwareAmetysObject, RemovableAmetysObject, MovableAmetysObject
ZoneItem.ZoneType
Modifier and Type | Method and Description |
---|---|
ModifiableCompositeMetadata |
getServiceParameters()
Get the service parameters
|
<C extends Content> |
setContent(C content)
Set the content reference.
|
void |
setMetadataSetName(String metadataSetName)
Set the Content metadata set name.
|
void |
setServiceId(String serviceId)
Set the service id.
|
void |
setType(ZoneItem.ZoneType type)
Set the type.
|
getContent, getMetadataSetName, getServiceId, getType, getZone
getMetadataHolder
needsSave, rename, revertChanges, saveChanges
equals, getId, getName, getParent, getParentPath, getPath, hashCode
remove
canMoveTo, moveTo, orderBefore
void setType(ZoneItem.ZoneType type) throws AmetysRepositoryException
type
- the type.AmetysRepositoryException
- if an error occurs.ZoneItem.ZoneType
<C extends Content> void setContent(C content) throws AmetysRepositoryException
C
- the actual type of Content
.content
- the content.AmetysRepositoryException
- if an error occurs.void setMetadataSetName(String metadataSetName) throws AmetysRepositoryException
metadataSetName
- the metadata set name.AmetysRepositoryException
- if an error occurs.void setServiceId(String serviceId) throws AmetysRepositoryException
serviceId
- the service id.AmetysRepositoryException
- if an error occurs.ModifiableCompositeMetadata getServiceParameters() throws AmetysRepositoryException
ZoneItem
getServiceParameters
in interface ZoneItem
AmetysRepositoryException
- if an error occurs.