Package org.ametys.odf.catalog
Class CatalogModel
- java.lang.Object
- 
- org.ametys.odf.catalog.CatalogModel
 
- 
- All Implemented Interfaces:
- Model,- ModelItemContainer,- Initializable,- Component,- Serviceable
 
 public class CatalogModel extends Object implements Model, Serviceable, Initializable, Component Model of catalog objects
- 
- 
Field SummaryFields Modifier and Type Field Description private CatalogDataTypeExtensionPoint_catalogDataTypeExtensionPointprivate List<ModelItem>_modelItemsstatic StringIS_DEFAULTisDefault attribute.static StringROLEAvalon Rolestatic StringTITLEtitle attribute.
 - 
Constructor SummaryConstructors Constructor Description CatalogModel()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFamilyId()Retrieves the Family Id (for example the extension point) Each model Id have to be unique in it's family IdStringgetId()Retrieves the model id (an id must be unique in the familyModel.getFamilyId()Collection<? extends ModelItem>getModelItems()Retrieves all the model items of this containervoidinitialize()voidservice(ServiceManager manager)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.ametys.runtime.model.ModelItemContainergetChild, getModelItem, hasModelItem
 
- 
 
- 
- 
- 
Field Detail- 
TITLEpublic static final String TITLE title attribute.- See Also:
- Constant Field Values
 
 - 
IS_DEFAULTpublic static final String IS_DEFAULT isDefault attribute.- See Also:
- Constant Field Values
 
 - 
_catalogDataTypeExtensionPointprivate CatalogDataTypeExtensionPoint _catalogDataTypeExtensionPoint 
 - 
_modelItemsprivate List<ModelItem> _modelItems 
 
- 
 - 
Constructor Detail- 
CatalogModelpublic CatalogModel() 
 
- 
 - 
Method Detail- 
servicepublic void service(ServiceManager manager) throws ServiceException - Specified by:
- servicein interface- Serviceable
- Throws:
- ServiceException
 
 - 
initializepublic void initialize() throws Exception - Specified by:
- initializein interface- Initializable
- Throws:
- Exception
 
 - 
getModelItemspublic Collection<? extends ModelItem> getModelItems() Description copied from interface:ModelItemContainerRetrieves all the model items of this container- Specified by:
- getModelItemsin interface- ModelItemContainer
- Returns:
- the model items
 
 - 
getIdpublic String getId() Description copied from interface:ModelRetrieves the model id (an id must be unique in the familyModel.getFamilyId()
 - 
getFamilyIdpublic String 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 interface- Model
- Returns:
- content point (for example "org.ametys.cms.contenttype.ContentTypeExtensionPoint" for a content)
 
 
- 
 
-