1 17 18 19 20 package org.apache.lenya.cms.authoring; 21 22 import java.io.File ; 23 import java.util.Map ; 24 25 import org.apache.avalon.framework.configuration.Configuration; 26 27 public interface ParentChildCreatorInterface { 28 34 short BRANCH_NODE = 1; 35 36 42 short LEAF_NODE = 0; 43 44 49 void init(Configuration doctypeConf); 50 51 61 short getChildType(short childType) throws Exception ; 62 63 70 String getChildName(String childname) throws Exception ; 71 72 80 String generateTreeId(String childId, short childType) throws Exception ; 81 82 95 void create( 96 File samplesDir, 97 File parentDir, 98 String childId, 99 short childType, 100 String childName, 101 String language, 102 Map parameters) 103 throws Exception ; 104 } 105 | Popular Tags |