de.nava.informa.utils.manager.memory
Class Channel

java.lang.Object
  extended by de.nava.informa.impl.basic.Channel
      extended by de.nava.informa.utils.manager.memory.Channel
All Implemented Interfaces:
ChannelIF, ChannelObservableIF, WithCategoriesMIF, WithCreatorMIF, WithDescriptionMIF, WithElementsAndAttributesMIF, WithIdMIF, WithLocationMIF, WithSiteMIF, WithTitleMIF, Serializable

public class Channel
extends Channel

Local implementation of ChannelIF.

Author:
Aleksey Gureev (spyromus@noizeramp.com)
See Also:
Serialized Form

Constructor Summary
Channel(long id, String title, URL location)
          Creates channel object.
 
Method Summary
 void addParentGroup(ChannelGroupIF group)
          Adds parent group to the list when channel is assigned to the new group.
 ChannelGroupIF[] getParentGroups()
          Returns the list of parent groups.
 void removeParentGroup(ChannelGroupIF group)
          Removes parent group from the list when channel is unassigned from it.
 
Methods inherited from class de.nava.informa.impl.basic.Channel
addCategory, addItem, addObserver, equals, getAttributeValue, getAttributeValues, getCategories, getCloud, getCopyright, getCreator, getDescription, getDocs, getElementValue, getElementValues, getFormat, getGenerator, getId, getImage, getItem, getItems, getLanguage, getLastBuildDate, getLastUpdated, getLocation, getPubDate, getPublisher, getRating, getSite, getTextInput, getTitle, getTtl, getUpdateBase, getUpdateFrequency, getUpdatePeriod, hashCode, removeCategory, removeItem, removeObserver, setAllProperties, setCategories, setCloud, setCopyright, setCreator, setDescription, setDocs, setFormat, setGenerator, setId, setImage, setLanguage, setLastBuildDate, setLastUpdated, setLocation, setPubDate, setPublisher, setRating, setSite, setTextInput, setTitle, setTtl, setUpdateBase, setUpdateFrequency, setUpdatePeriod, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Channel

public Channel(long id,
               String title,
               URL location)
Creates channel object.

Parameters:
id - ID of the channel.
title - title of the channel.
location - URL of resource location.
Method Detail

addParentGroup

public final void addParentGroup(ChannelGroupIF group)
Adds parent group to the list when channel is assigned to the new group.

Parameters:
group - group to add.

removeParentGroup

public final void removeParentGroup(ChannelGroupIF group)
Removes parent group from the list when channel is unassigned from it.

Parameters:
group - group to remove.

getParentGroups

public final ChannelGroupIF[] getParentGroups()
Returns the list of parent groups.

Returns:
list of groups.


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