de.nava.informa.core
Interface ChannelGroupIF

All Superinterfaces:
Serializable, WithChildrenMIF, WithIdMIF, WithTitleMIF
All Known Implementing Classes:
ChannelGroup, ChannelGroup, ChannelGroup

public interface ChannelGroupIF
extends WithIdMIF, WithTitleMIF, WithChildrenMIF

Interface to allow to implement a container of channels that may be used by a channel registry (through a front-end) or as the entry point for an application using this library. A ChannelGroupIF object may also reflect the root element of a XML file persisted from the channel object model.

Author:
Niko Schmuck (niko@nava.de)

Method Summary
 void add(ChannelIF channel)
           
 void addChild(ChannelGroupIF child)
           
 Collection<ChannelIF> getAll()
           
 ChannelIF getById(long id)
           
 ChannelGroupIF getParent()
           
 void remove(ChannelIF channel)
           
 void removeChild(ChannelGroupIF child)
           
 void setParent(ChannelGroupIF parent)
           
 
Methods inherited from interface de.nava.informa.core.WithIdMIF
getId, setId
 
Methods inherited from interface de.nava.informa.core.WithTitleMIF
getTitle, setTitle
 
Methods inherited from interface de.nava.informa.core.WithChildrenMIF
getChildren
 

Method Detail

add

void add(ChannelIF channel)

remove

void remove(ChannelIF channel)

getAll

Collection<ChannelIF> getAll()
Returns:
A collection of ChannelIF objects.

getById

ChannelIF getById(long id)

getParent

ChannelGroupIF getParent()

setParent

void setParent(ChannelGroupIF parent)

addChild

void addChild(ChannelGroupIF child)

removeChild

void removeChild(ChannelGroupIF child)


Copyright © 2002-2007 Niko Schmuck. All Rights Reserved.