public interface ZoneItem extends ModelLessDataAwareAmetysObject
Modifier and Type | Interface and Description |
---|---|
static class |
ZoneItem.ZoneType
Type of an zone.
|
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_PARAMETERS_DATA_NAME
Constant for the name of the data containing the service parameters.
|
Modifier and Type | Method and Description |
---|---|
<C extends Content> |
getContent()
Retrieves the content reference.
|
String |
getMetadataSetName()
Deprecated.
Use
getViewName() instead |
String |
getServiceId()
Retrieves the service id.
|
ModelAwareDataHolder |
getServiceParameters()
Get the service parameters
|
ZoneItem.ZoneType |
getType()
Retrieves the type.
|
default String |
getViewName()
Get the name of the view to render the Content with.
|
Zone |
getZone()
Get the parent zone.
|
getComposite, getDataHolder, getRepeater, getType, getValue, getValue, getValueOfType, getValueOfType, hasValue, isMultiple
copyTo, getDataNames
equals, getId, getName, getParent, getParentPath, getPath, hashCode
toSAX, toSAX
dataToSAX, dataToSAX, dataToSAX, dataToSAX
static final String SERVICE_PARAMETERS_DATA_NAME
ZoneItem.ZoneType getType() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occurs.ZoneItem.ZoneType
<C extends Content> C getContent() throws AmetysRepositoryException
C
- the actual type of Content
.AmetysRepositoryException
- if an error occurs.@Deprecated String getMetadataSetName() throws AmetysRepositoryException
getViewName()
insteadAmetysRepositoryException
- if an error occurs.default String getViewName() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occurs.
TODO NEWATTRIBUTEAPI_SERVICE: remove the default implementation when all zone items implement the methodString getServiceId() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occurs.ModelAwareDataHolder getServiceParameters() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occurs.