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
,CatalogModel
,ConfigManager
,DefaultContentType
,DefaultSiteType
,DefaultSynchronizableContentsCollectionModel
,ExplorerFolderService
,FilteredContentsService
,FilteredPagesService
,HTMLContentType
,JdbcUserDirectory
,LinkDirectoryService
,ODFContentType
,PostContentType
,ProjectWorkspaceSiteType
,SearchPagesService
,SearchService
,ServerDirectoryService
,SitemapService
,SkinParametersModel
,StaticService
,SyndicationService
,ViewParametersModel
,WebContentType
public interface Model extends ModelItemContainer
Interface of model classes for parameters or attributes
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract 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 familygetFamilyId()
static Model
of(String id, String familyId, ModelItem... modelItems)
-
Methods inherited from interface org.ametys.runtime.model.ModelItemAccessor
getChild, getModelItem, getModelItems, hasModelItem
-
-
-
-
Method Detail
-
of
static Model of(String id, String familyId, ModelItem... modelItems)
- Parameters:
id
- the model identifierfamilyId
- the model family identifiermodelItems
- the model items- Returns:
- the created
Model
-
getId
String 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
String 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)
-
-