mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
[MNT-24555] Set download node name on node creation (#2901)
* [MNT-24555] Set download node name on node creation * [MNT-24555] PMD scan changes
This commit is contained in:
@@ -238,6 +238,17 @@ public interface CustomModelService
|
||||
*/
|
||||
public NodeRef createDownloadNode(String modelName, boolean withAssociatedForm);
|
||||
|
||||
/**
|
||||
* Creates a downloadable archive file containing the custom model file and
|
||||
* if specified, its associated Share extension module file.
|
||||
*
|
||||
* @param modelName the model name to be exported
|
||||
* @param withAssociatedForm whether Share extension module file should be
|
||||
* included or not
|
||||
* @return reference to the node which will contain the archive file
|
||||
*/
|
||||
NodeRef createDownloadNode(String modelName, boolean withAssociatedForm, String downloadNodeName);
|
||||
|
||||
/**
|
||||
* Compiles the {@link M2Model}.
|
||||
*
|
||||
|
Reference in New Issue
Block a user