I am starting currently using Alfresco CMS. I need to create an "aspect" in my content model which must contains a number of properties as:
Aspect:
property 1 : String
property 2 : int
property 3 : int
property 4 : long
Moreover it must contains two more properties which are composed either of number of properties as:
Format:
FormatProperty1: int
FormatProperty2: int
FormatProperty3: int
Metadata:
list1: List<String>
list2: List<String>
MetadataProperty 3: boolean
I have not yet created neither a simple content model nor an aspect in Alfresco. Based on my previous knowledge in Relational Databases I perceive the above structure as association between tables. How can I carry out that in Alfresco content model with an aspect or more?
You should take a look here first. Creating a model in Alfresco is far away from a DB.
it's just an XML well defined. You have to write the XML first, then initialize it through bootstrap.
Example XML Model cmodModel.xml:
model context named cmod-model-context.xml
Hope it helps.