1 26 27 29 package de.nava.informa.core; 30 31 import java.net.URL ; 32 import java.util.Date ; 33 import java.util.Properties ; 34 35 import org.jdom.Element; 36 37 44 public interface ChannelBuilderIF { 45 46 56 void init(Properties props) throws ChannelBuilderException; 57 58 ChannelGroupIF createChannelGroup(String title); 59 60 ChannelIF createChannel(String title); 61 62 ChannelIF createChannel(Element channelElement, String title); 63 64 67 ItemIF createItem(ChannelIF channel, String title, String description, URL link); 68 ItemIF createItem(Element itemElement, ChannelIF channel, String title, String description, URL link); 69 ItemIF createItem(ChannelIF channel, ItemIF item); 70 71 ImageIF createImage(String title, URL location, URL link); 72 73 TextInputIF createTextInput(String title, String description, String name, URL link); 74 75 ItemSourceIF createItemSource(ItemIF item, String name, String location, Date timestamp); 76 ItemEnclosureIF createItemEnclosure(ItemIF item, URL location, String type, int length); 77 ItemGuidIF createItemGuid(ItemIF item, String location, boolean permaLink); 78 CloudIF createCloud(String domain, int port, String path, String registerProcedure, String protocol); 79 80 CategoryIF createCategory(CategoryIF parent, String title); 81 82 89 void close() throws ChannelBuilderException; 90 91 public void beginTransaction() throws ChannelBuilderException; 92 public void endTransaction() throws ChannelBuilderException; 93 public void update(Object o) throws ChannelBuilderException; 94 95 } 96 | Popular Tags |