How do we use the Java public api to define our own type?Especially user and group.
Solved! Go to Solution.
The two parts of the question don't make much sense together. First of all, you do not define your own types via the public API - you define them by bootstrapping a content model XML file at startup. See content model tutorials.
Do you want to create a custom type for representing users / groups? Otherwise I don't understand the second part at all. Typically you do not need to create types for users / groups since Alfresco already provides its own and only suports these. You can of course define aspects which you can use to enhance the user / group nodes that Alfresco creates with additional metadata.
The two parts of the question don't make much sense together. First of all, you do not define your own types via the public API - you define them by bootstrapping a content model XML file at startup. See content model tutorials.
Do you want to create a custom type for representing users / groups? Otherwise I don't understand the second part at all. Typically you do not need to create types for users / groups since Alfresco already provides its own and only suports these. You can of course define aspects which you can use to enhance the user / group nodes that Alfresco creates with additional metadata.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.