"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:
Kevin Roast
2007-10-31 15:10:11 +00:00
parent 05ff7ffa90
commit 3e65d317a7
3 changed files with 41 additions and 9 deletions

View File

@@ -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();