com.sas.edir.webapp
Interface ContentChannel

All Superinterfaces:
Caching, ContentItem, Entity, KeywordEntity, TrackedObject

public interface ContentChannel
extends ContentItem

Content channel interface

Version:
1.0
Author:
SAS

Fields inherited from interface com.sas.edir.Entity
PROPERTY_CHANGED, SUBPROPERTY_CHANGED
 
Method Summary
 void addSubscriber(User newSubscriber)
          Add a subscriber to a content channel.
 java.util.Iterator getSubscriberIterator()
          Returns an Iterator of User objects that represent the subscribers.
 boolean isSubscription(User subscriber)
          Flags if user is subscribed to content channel.
 void removeSubscriber(User subscriber)
          Remove a subscriber from a content channel.
 
Methods inherited from interface com.sas.edir.webapp.ContentItem
addAttribute, addParameter, getAttributeIterator, getContentDescription, getEmbeddedContent, getEmbeddedXsl, getFormatCharacteristics, getJsp, getLabel, getMimeType, getParameterIterator, getPath, getProviderType, getPublisher, getUrl, getUsage, getXsl, removeAttribute, removeParameter, setContentDescription, setEmbeddedContent, setEmbeddedXsl, setFormatCharacteristics, setJsp, setLabel, setMimeType, setPath, setProviderType, setPublisher, setUrl, setUsage, setXsl
 
Methods inherited from interface com.sas.edir.KeywordEntity
addKeyword, keywordIterator, keywordIterator, removeKeyword, setKeywords
 
Methods inherited from interface com.sas.edir.Entity
addPropertyChangeListener, getContext, getCreateTime, getCreatorsName, getDescription, getEnterpriseDirectory, getGuid, getModifiersName, getModifyTime, getName, getObjectclass, removeModificationItems, removePropertyChangeListener, setDescription, setGuid, setName, setObjectclass
 
Methods inherited from interface com.sas.edir.Caching
edirUpdateStore, getTimeToLive, isExpired, refreshCache, refreshCachedObjects, releaseCache, setDirty, setTimeToLive, setTimeToLive, updateStore
 
Methods inherited from interface com.sas.edir.TrackedObject
getTrackingId, getUserData, setUserData
 

Method Detail

getSubscriberIterator

public java.util.Iterator getSubscriberIterator()
Returns an Iterator of User objects that represent the subscribers.

Returns:
The subscriber iterator.

addSubscriber

public void addSubscriber(User newSubscriber)
Add a subscriber to a content channel.

Parameters:
The - new subscriber

removeSubscriber

public void removeSubscriber(User subscriber)
Remove a subscriber from a content channel.

Parameters:
The - subscriber to remove.

isSubscription

public boolean isSubscription(User subscriber)
Flags if user is subscribed to content channel.

Parameters:
The - subscriber.