Package org.ametys.runtime.model
Interface Model
- All Superinterfaces:
ModelItemAccessor
,ModelItemContainer
- All Known Subinterfaces:
ContentType
,ModifiableUserDirectory
,Service
,SiteType
,SynchronizableContentsCollectionModel
- All Known Implementing Classes:
AttachmentsService
,AutomaticContentType
,CalendarSearchService
,CatalogModel
,ConfigManager
,DefaultContentType
,DefaultSiteType
,DefaultSynchronizableContentsCollectionModel
,ExplorerFolderService
,FilteredContentsService
,FilteredPagesService
,FormService
,HTMLContentType
,JdbcUserDirectory
,LinkDirectoryService
,ODFContentType
,ProjectWorkspaceSiteType
,SearchPagesService
,SearchService
,ServerDirectoryService
,SitemapService
,SkinParametersModel
,StaticService
,SyndicationService
,ViewParametersModel
Interface of model classes for parameters or attributes
-
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 familygetFamilyId()
static Model
Methods inherited from interface org.ametys.runtime.model.ModelItemAccessor
getChild, getModelItem, getModelItems, hasModelItem
-
Method Details
-
of
- Parameters:
id
- the model identifierfamilyId
- the model family identifiermodelItems
- the model items- Returns:
- the created
Model
-
getId
Retrieves the model id (an id must be unique in the familygetFamilyId()
- Returns:
- model id (for example the content type id for a content)
-
getFamilyId
Retrieves the Family Id (for example the extension point) Each model Id have to be unique in it's family Id- Returns:
- content point (for example "org.ametys.cms.contenttype.ContentTypeExtensionPoint" for a content)
-