Package org.ametys.odf.catalog
Class CatalogModel
- java.lang.Object
-
- org.ametys.odf.catalog.CatalogModel
-
- All Implemented Interfaces:
Model
,ModelItemAccessor
,ModelItemContainer
,Initializable
,Component
,Serviceable
public class CatalogModel extends Object implements Model, Serviceable, Initializable, Component
Model of catalog objects
-
-
Constructor Summary
Constructors Constructor Description CatalogModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFamilyId()
Retrieves the Family Id (for example the extension point) Each model Id have to be unique in it's family IdString
getId()
Retrieves the model id (an id must be unique in the familyModel.getFamilyId()
Collection<? extends ModelItem>
getModelItems()
Retrieves all the model items of this accessorvoid
initialize()
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 Detail
-
TITLE
public static final String TITLE
title attribute.- See Also:
- Constant Field Values
-
IS_DEFAULT
public static final String IS_DEFAULT
isDefault attribute.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CatalogModel
public CatalogModel()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
initialize
public void initialize() throws Exception
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
getModelItems
public Collection<? extends ModelItem> getModelItems()
Description copied from interface:ModelItemAccessor
Retrieves all the model items of this accessor- Specified by:
getModelItems
in interfaceModelItemAccessor
- Returns:
- the model items
-
getId
public String getId()
Description copied from interface:Model
Retrieves the model id (an id must be unique in the familyModel.getFamilyId()
-
getFamilyId
public String 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)
-
-