1 5 6 package org.exoplatform.services.jcr.impl.core.nodetype.nt; 7 8 9 import javax.jcr.nodetype.NodeType; 10 import javax.jcr.nodetype.NodeDef; 11 12 13 import javax.jcr.version.OnParentVersionAction; 14 import org.exoplatform.services.jcr.impl.core.nodetype.NodeDefImpl; 15 import org.exoplatform.services.jcr.impl.core.nodetype.NodeTypeImpl; 16 17 23 24 public class Folder extends NodeTypeImpl { 25 26 public Folder() { 27 this.name = "nt:folder"; 28 this.mixin = false; 29 this.declaredSupertypes = new NodeType[1]; 30 this.declaredSupertypes[0] = new HierarchyItem(); 31 this.declaredNodeDefs = new NodeDef[1]; 32 String [] types = {"nt:hierarchyItem"}; 33 this.declaredNodeDefs[0] = new NodeDefImpl(null, types, "nt:hierarchyItem", 34 null, null, 35 false, false, OnParentVersionAction.VERSION, false, false, 36 false); 37 } 38 39 } 40 | Popular Tags |