1 13 package info.magnolia.module.admininterface; 14 15 import info.magnolia.cms.beans.runtime.MultipartForm; 16 import info.magnolia.cms.core.ItemType; 17 18 19 24 public interface SaveHandler { 25 26 29 public void init(MultipartForm form); 30 31 34 public abstract boolean save(); 35 36 40 public abstract boolean isCreate(); 41 42 46 public abstract void setCreate(boolean create); 47 48 52 public abstract ItemType getCreationItemType(); 53 54 58 public abstract void setCreationItemType(ItemType creationItemType); 59 60 63 public abstract String getNodeCollectionName(); 64 65 68 public abstract void setNodeCollectionName(String nodeCollectionName); 69 70 73 public abstract String getNodeName(); 74 75 78 public abstract void setNodeName(String nodeName); 79 80 83 public abstract String getParagraph(); 84 85 88 public abstract void setParagraph(String paragraph); 89 90 93 public abstract String getPath(); 94 95 98 public abstract void setPath(String path); 99 100 104 public void setRepository(String repository); 105 106 110 public String getRepository(); 111 112 } | Popular Tags |