Package org.ametys.web.parameters.view
Class ViewParametersDAO.ModelItemViewsWrapper
- java.lang.Object
-
- org.ametys.web.parameters.view.ViewParametersDAO.ModelItemViewsWrapper
-
- Enclosing class:
- ViewParametersDAO
static class ViewParametersDAO.ModelItemViewsWrapper extends Object
Class representing a model item and its view parameters
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Map<String,ViewParametersModel>
_contentOrServiceViewParameters
(package private) ElementDefinition<String>
_enumeratorViewDefinition
(package private) I18nizableText
_label
(package private) String
_prefix
(package private) Optional<ViewParametersModel>
_zoneItemViewParameters
-
Constructor Summary
Constructors Constructor Description ModelItemViewsWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
addServiceOrContentViewParameters(String viewName, ViewParametersModel serviceViewParameters)
(package private) ElementDefinition<String>
getEnumeratorViewDefinition()
(package private) I18nizableText
getLabel()
(package private) String
getPrefix()
(package private) Map<String,ViewParametersModel>
getServiceOrContentViewParameters()
(package private) Optional<ViewParametersModel>
getZoneItemViewParameters()
(package private) boolean
hasServiceOrContentViewParameters()
(package private) boolean
hasViewParameters()
(package private) boolean
hasZoneItemViewParameters()
(package private) void
setEnumeratorViewDefinition(ElementDefinition<String> elementDefinition)
(package private) void
setLabel(I18nizableText label)
(package private) void
setPrefix(String prefix)
(package private) void
setZoneItemViewParameters(Optional<ViewParametersModel> viewParameters)
-
-
-
Field Detail
-
_label
I18nizableText _label
-
_zoneItemViewParameters
Optional<ViewParametersModel> _zoneItemViewParameters
-
_contentOrServiceViewParameters
Map<String,ViewParametersModel> _contentOrServiceViewParameters
-
_enumeratorViewDefinition
ElementDefinition<String> _enumeratorViewDefinition
-
-
Constructor Detail
-
ModelItemViewsWrapper
ModelItemViewsWrapper()
-
-
Method Detail
-
getLabel
I18nizableText getLabel()
-
setLabel
void setLabel(I18nizableText label)
-
getZoneItemViewParameters
Optional<ViewParametersModel> getZoneItemViewParameters()
-
setZoneItemViewParameters
void setZoneItemViewParameters(Optional<ViewParametersModel> viewParameters)
-
getServiceOrContentViewParameters
Map<String,ViewParametersModel> getServiceOrContentViewParameters()
-
addServiceOrContentViewParameters
void addServiceOrContentViewParameters(String viewName, ViewParametersModel serviceViewParameters)
-
getEnumeratorViewDefinition
ElementDefinition<String> getEnumeratorViewDefinition()
-
setEnumeratorViewDefinition
void setEnumeratorViewDefinition(ElementDefinition<String> elementDefinition)
-
hasZoneItemViewParameters
boolean hasZoneItemViewParameters()
-
hasServiceOrContentViewParameters
boolean hasServiceOrContentViewParameters()
-
hasViewParameters
boolean hasViewParameters()
-
-