org.nuxeo.theme.models
Class AbstractModel
java.lang.Object
org.nuxeo.theme.models.AbstractModel
- All Implemented Interfaces:
- Model
- Direct Known Subclasses:
- BlogPostListModel, BlogPostModel, BlogSiteArchiveDayModel, BlogSiteArchiveListModel, BlogSiteArchiveMonthModel, BlogSiteArchiveYearModel, CommentListModel, CommentModel, ContextualLinkListModel, ContextualLinkModel, Feed, FeedItem, Html, Menu, MenuItem, Navigation, NavigationItem, Region, RegionModel, SearchListModel, SearchModel, TagCloudListModel, TagCloudModel, TagListModel, TagModel, Text, WebpageCommentListModel, WebpageCommentModel, WebpageListModel, WebpageModel
public abstract class AbstractModel
- extends Object
- implements Model
AbstractModel
public AbstractModel()
getModelTypeName
public String getModelTypeName()
- Specified by:
getModelTypeName
in interface Model
getModelType
public ModelType getModelType()
- Specified by:
getModelType
in interface Model
addItem
public Model addItem(Model model)
throws ModelException
- Specified by:
addItem
in interface Model
- Throws:
ModelException
insertItem
public Model insertItem(int index,
Model model)
throws ModelException
- Specified by:
insertItem
in interface Model
- Throws:
ModelException
getItems
public List<Model> getItems()
- Specified by:
getItems
in interface Model
hasItems
public boolean hasItems()
- Specified by:
hasItems
in interface Model
Copyright © 2011 Nuxeo SAS. All Rights Reserved.