Package org.ametys.web.parameters.view
Class ViewParametersModel
java.lang.Object
org.ametys.web.parameters.view.ViewParametersModel
- All Implemented Interfaces:
- Model,- ModelItemAccessor,- ModelItemContainer
Object representing the view parameters as a model
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddModelItem(ModelItem modelItem) Add a model itemRetrieves the Family Id (for example the extension point) Each model Id have to be unique in it's family IdgetId()Retrieves the model id (an id must be unique in the familyModel.getFamilyId()Collection<? extends ModelItem>Get model item with inheritance from the pageCollection<? extends ModelItem>Retrieves all the model items of this accessorgetView()Get the viewbooleanReturns true if there are model itemsvoidsetModelItems(Map<String, ModelItem> modelItems) Set the model itemsvoidSet the viewMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.runtime.model.ModelItemAccessorgetChild, getModelItem, hasModelItem
- 
Field Details- 
_idThe unique identifier
 
- 
- 
Constructor Details- 
ViewParametersModelThe view parameters constructor- Parameters:
- id- the id
- view- the view
- modelItems- the model items
 
 
- 
- 
Method Details- 
getViewGet the view- Returns:
- the view
 
- 
setViewSet the view- Parameters:
- view- the view
 
- 
getModelItemsDescription copied from interface:ModelItemAccessorRetrieves all the model items of this accessor- Specified by:
- getModelItemsin interface- ModelItemAccessor
- Returns:
- the model items
 
- 
setModelItemsSet the model items- Parameters:
- modelItems- the model items
 
- 
getIdDescription copied from interface:ModelRetrieves the model id (an id must be unique in the familyModel.getFamilyId()
- 
getFamilyIdDescription copied from interface:ModelRetrieves the Family Id (for example the extension point) Each model Id have to be unique in it's family Id- Specified by:
- getFamilyIdin interface- Model
- Returns:
- content point (for example "org.ametys.cms.contenttype.ContentTypeExtensionPoint" for a content)
 
- 
isNotEmptyReturns true if there are model items- Returns:
- true if there are model items
 
- 
addModelItemAdd a model item- Parameters:
- modelItem- the model item
 
- 
getInheritedModelItemsGet model item with inheritance from the page- Parameters:
- page- the page
- Returns:
- the list of model item with inheritance
 
 
-