Posts

Showing posts with the label Content Model

Alfresco Content Model

Image
Alfresco Content models are defined in the Data Dictonary as meta-model. The meta-model consists of two main structures - Content Types and Content Aspect . Content Type is the fundamental Structure of a content item. It defines the composition of properties and behaviours of a content item. Much like in the object-oriented programming model where an object always has to be a defined class type, in Alfresco an item has to be a defined type also. Types are like types or classes in the object-oriented world. They can be used to model business objects, they have properties, and they can inherit from a parent type. “Content”, “Person”, and “Folder” are three important types defined out-of-the-box. There is a root content type defined in Alfresco, all other content types are created inheriting this root type - cm:content or {http://www.alfresco.org/model/content/1.0}content There are two parts in defining the name Namespace of the content type Name of the content type ...

Out-of-the-box Models

The content repository comprises several content models out of the box for specifying the core content types of an ECM system DictionaryModel.xml  -  provides definitions for the fundamental data types, such as d:text and d:boolean. It exposes the namespace URI www.alfresco.org/model/dictionary/1.0 with prefix d. Data-Types are : d:text java.lang.String d:mltext           org.alfresco.service.cmr.respository.MLText  -  possible for one node add multiple language d:int           java.lang.Integer d:long java.lang.Long d:float java.lang.Float d:qname org.alfresco.service.namespace.QName d:date java.util.Date d:datetime  java.util.Date d:path org.alfresco.service.cmr.repository.Path d:noderef org.alfresco.service.cmr.repository.NodeRef d:any java.lang.Object d:version org.alfresco.utill.VersionNumber d:period           or...