|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentTemplatesActions
Stateful Seam component.
Method Summary | |
---|---|
String |
createDocumentFromTemplate()
Creates a Document from a template using the selectedTemplateId and the changeableDocument. |
String |
createDocumentFromTemplate(DocumentModel doc)
Creates a Document from a template using the selectedTemplateId. |
String |
createDocumentFromTemplate(DocumentModel doc,
String templateId)
Creates a Document from a template. |
void |
documentChildrenChanged(DocumentModel targetDoc)
Listener to children changed event. |
void |
domainChanged(DocumentModel targetDoc)
Listener for domain changed event. |
String |
getSelectedTemplateId()
Getter of the selected template id. |
String |
getTargetType()
Getter for type of the document to be created. |
DocumentModelList |
getTemplates()
|
DocumentModelList |
getTemplates(String targetTypeName)
|
void |
setSelectedTemplateId(String requestedId)
Setter for the template to use. |
void |
setTargetType(String targetType)
Setter for the type of document to be created. |
DocumentModelList |
templatesListFactory()
Factory accessor on the getter. |
Method Detail |
---|
DocumentModelList getTemplates() throws ClientException
ClientException
DocumentModelList getTemplates(String targetTypeName) throws ClientException
ClientException
DocumentModelList templatesListFactory()
String createDocumentFromTemplate(DocumentModel doc, String templateId) throws ClientException
doc
- the DocumentModel with edited datatemplateId
- the template id
ClientException
String createDocumentFromTemplate(DocumentModel doc) throws ClientException
ClientException
String createDocumentFromTemplate() throws ClientException
ClientException
String getSelectedTemplateId()
void setSelectedTemplateId(String requestedId)
String getTargetType()
void setTargetType(String targetType)
void documentChildrenChanged(DocumentModel targetDoc)
void domainChanged(DocumentModel targetDoc)
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |