|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.nava.informa.impl.basic.ChannelBuilder
public class ChannelBuilder
Factory for the creation of the channel object model with the in-memory implementation.
Constructor Summary | |
---|---|
ChannelBuilder()
|
Method Summary | |
---|---|
void |
beginTransaction()
|
void |
close()
The following methods are only meaningful for persistent informa back end implementations such as Hibernate and are no-ops otherwise. |
CategoryIF |
createCategory(CategoryIF parent,
String title)
|
ChannelIF |
createChannel(org.jdom.Element channelElement,
String title)
|
ChannelIF |
createChannel(org.jdom.Element channelElement,
String title,
String location)
|
ChannelIF |
createChannel(String title)
|
ChannelIF |
createChannel(String title,
String location)
|
ChannelGroupIF |
createChannelGroup(String title)
|
CloudIF |
createCloud(String domain,
int port,
String path,
String registerProcedure,
String protocol)
|
ImageIF |
createImage(String title,
URL location,
URL link)
|
ItemIF |
createItem(ChannelIF chan,
ItemIF oldItem)
Create an item from an existing item. |
ItemIF |
createItem(ChannelIF channel,
String title,
String description,
URL link)
Creates a news item and assign it to the given channel. |
ItemIF |
createItem(org.jdom.Element itemElement,
ChannelIF channel,
String title,
String description,
URL link)
|
ItemEnclosureIF |
createItemEnclosure(ItemIF item,
URL location,
String type,
int length)
|
ItemGuidIF |
createItemGuid(ItemIF item,
String location,
boolean permaLink)
|
ItemSourceIF |
createItemSource(ItemIF item,
String name,
String location,
Date timestamp)
|
TextInputIF |
createTextInput(String title,
String description,
String name,
URL link)
|
void |
endTransaction()
|
void |
init(Properties props)
Sets the runtime properties defined for this channel builder. |
void |
update(Object obj)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChannelBuilder()
Method Detail |
---|
public void init(Properties props) throws ChannelBuilderException
ChannelBuilderIF
init
in interface ChannelBuilderIF
props
- The parsed set of properties which may be applied to
this object.
ChannelBuilderException
- If the initialisation fails for
some reason.public ChannelGroupIF createChannelGroup(String title)
createChannelGroup
in interface ChannelBuilderIF
public ChannelIF createChannel(String title, String location)
createChannel
in interface ChannelBuilderIF
public ChannelIF createChannel(org.jdom.Element channelElement, String title, String location)
createChannel
in interface ChannelBuilderIF
public ChannelIF createChannel(String title)
createChannel
in interface ChannelBuilderIF
public ChannelIF createChannel(org.jdom.Element channelElement, String title)
createChannel
in interface ChannelBuilderIF
public ItemIF createItem(ChannelIF channel, String title, String description, URL link)
ChannelBuilderIF
createItem
in interface ChannelBuilderIF
public ItemIF createItem(org.jdom.Element itemElement, ChannelIF channel, String title, String description, URL link)
createItem
in interface ChannelBuilderIF
public ItemIF createItem(ChannelIF chan, ItemIF oldItem)
createItem
in interface ChannelBuilderIF
chan
- - Channel in which the new item will be heldoldItem
- - Old item which will provide the state for the new item
public ImageIF createImage(String title, URL location, URL link)
createImage
in interface ChannelBuilderIF
public TextInputIF createTextInput(String title, String description, String name, URL link)
createTextInput
in interface ChannelBuilderIF
public CloudIF createCloud(String domain, int port, String path, String registerProcedure, String protocol)
createCloud
in interface ChannelBuilderIF
public ItemSourceIF createItemSource(ItemIF item, String name, String location, Date timestamp)
createItemSource
in interface ChannelBuilderIF
public ItemEnclosureIF createItemEnclosure(ItemIF item, URL location, String type, int length)
createItemEnclosure
in interface ChannelBuilderIF
public ItemGuidIF createItemGuid(ItemIF item, String location, boolean permaLink)
createItemGuid
in interface ChannelBuilderIF
public CategoryIF createCategory(CategoryIF parent, String title)
createCategory
in interface ChannelBuilderIF
public void close() throws ChannelBuilderException
close
in interface ChannelBuilderIF
ChannelBuilderException
public void beginTransaction() throws ChannelBuilderException
beginTransaction
in interface ChannelBuilderIF
ChannelBuilderException
public void endTransaction() throws ChannelBuilderException
endTransaction
in interface ChannelBuilderIF
ChannelBuilderException
public void update(Object obj)
update
in interface ChannelBuilderIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |