Save custom content from ADF in Alfresco

I am currently developing a content service application and I am facing following problem:

I want to make a custom form to create a ticket (for a support department) and save it in Alfresco, but I don't know which component I should use to save it persistently in Alfresco repo/database/whatever.