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
-
Constructor Summary
-
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 accessorvoid
void
service
(ServiceManager manager) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
service
in interfaceServiceable
- Throws:
ServiceException
-
initialize
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
getModelItems
Description copied from interface:ModelItemAccessor
Retrieves all the model items of this accessor- Specified by:
getModelItems
in interfaceModelItemAccessor
- Returns:
- the model items
-
getId
Description copied from interface:Model
Retrieves the model id (an id must be unique in the familyModel.getFamilyId()
-
getFamilyId
Description copied from interface:Model
Retrieves the Family Id (for example the extension point) Each model Id have to be unique in it's family Id- Specified by:
getFamilyId
in interfaceModel
- Returns:
- content point (for example "org.ametys.cms.contenttype.ContentTypeExtensionPoint" for a content)
-