mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
"encoding" and "displayMimetype" getters added to templating Content API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7264 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1206,8 +1206,8 @@ public class ScriptNode implements Serializable, Scopeable
|
||||
{
|
||||
ParameterCheck.mandatoryString("Node Name", name);
|
||||
|
||||
FileInfo fileInfo = this.services.getFileFolderService().create(this.nodeRef, name,
|
||||
ContentModel.TYPE_CONTENT);
|
||||
FileInfo fileInfo = this.services.getFileFolderService().create(
|
||||
this.nodeRef, name, ContentModel.TYPE_CONTENT);
|
||||
|
||||
reset();
|
||||
|
||||
@@ -1225,8 +1225,8 @@ public class ScriptNode implements Serializable, Scopeable
|
||||
{
|
||||
ParameterCheck.mandatoryString("Node Name", name);
|
||||
|
||||
FileInfo fileInfo = this.services.getFileFolderService().create(this.nodeRef, name,
|
||||
ContentModel.TYPE_FOLDER);
|
||||
FileInfo fileInfo = this.services.getFileFolderService().create(
|
||||
this.nodeRef, name, ContentModel.TYPE_FOLDER);
|
||||
|
||||
reset();
|
||||
|
||||
|
Reference in New Issue
Block a user