Individual Documentation Coverage
The content template manager service provide factories to automatically create Document.
The factories are used whenever a document is created using EventListener.
Version: missing
No requirements
Not required
This service provides extension points for ContentFactory registering.
Define a new factory binding.
-factoryBinding
- name: name of the factory, defining a factory with the same name will override the first to be registred.
- factoryName: the name of the factory defined in the factory extensionPoint.
- targetType: The document Type for wich the factory will be executed.
-acl: set rights on document to your users.
-principal: Name of the group/user
-permission: the permission you want to set.
-granted: grant or denied the permission.
-template
- typeName: The Type of the Document you want to create.
- id: The id of the Document you want to create.
- title: The title of the Document you want to create.
- description: The description of the Document you want to create.
- path: additionary path, added to facctoryBinding's targetType DocPath
Example of a factoryBinding Registration:
<factoryBinding factoryName="SimpleTemplateFactory" name="RootFactory" targetType="Root">
<acl>
<ace granted="true" permission="Everything" principal="Administrator" />
<ace granted="true" permission="Everything" principal="administrators" />
<ace granted="true" permission="Read" principal="members" />
<ace granted="true" permission="Version" principal="members" />
</acl>
<template>
<templateItem description="Nuxeo 5 default domain" id="default-domain" title="Default domain" typeName="Domain" />
</template>
</factoryBinding>
Last generation: 18:21:25 CEST 11/07/2009