Package org.ametys.odf.catalog
Class CatalogModel
java.lang.Object
org.ametys.odf.catalog.CatalogModel
- All Implemented Interfaces:
Model,ModelItemAccessor,ModelItemContainer,Initializable,Component,Serviceable
Model of catalog objects
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves 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> Retrieves all the model items of this accessorvoidvoidservice(ServiceManager manager) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.runtime.model.ModelItemAccessor
getChild, getModelItem, hasModelItem
-
Field Details
-
ROLE
Avalon Role -
TITLE
title attribute.- See Also:
-
IS_DEFAULT
isDefault attribute.- See Also:
-
-
Constructor Details
-
CatalogModel
public CatalogModel()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
initialize
- Specified by:
initializein interfaceInitializable- Throws:
Exception
-
getModelItems
Description copied from interface:ModelItemAccessorRetrieves all the model items of this accessor- Specified by:
getModelItemsin interfaceModelItemAccessor- Returns:
- the model items
-
getId
Description copied from interface:ModelRetrieves the model id (an id must be unique in the familyModel.getFamilyId() -
getFamilyId
Description 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 interfaceModel- Returns:
- content point (for example "org.ametys.cms.contenttype.ContentTypeExtensionPoint" for a content)
-