|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A channel is an enterprise entity that contains a collection of related information. A channel provides:
Fields inherited from interface com.sas.edir.Entity |
PROPERTY_CHANGED, SUBPROPERTY_CHANGED |
Method Summary | |
void |
addSubscriber(Subscriber subscriber)
Adds a subscriber to this channel. |
java.util.Iterator |
archiveIterator()
Returns an iteration of all the archives contained in this channel. |
java.util.ListIterator |
archiveIterator(java.util.Comparator compare)
Returns a sorted iteration of all the archives contained in this channel. |
java.lang.String |
getDefaultComparatorClassName()
This attribute determines the class that contains the default comparator, identified by the DefaultComparatorEntry attribute, used to sort the channels archives. |
java.lang.String |
getDefaultComparatorEntry()
This attribute determines the default comparator definition, in the class defined by the DefaultComparatorClassName attribute, used to sort the channels archives. |
boolean |
getShowExpiredArchives()
This attribute is informs the channel whether it should display expired archives. |
java.lang.String |
getSubject()
Returns this channel's subject. |
boolean |
isGroupSubscription(DeliveryUser user)
flags if a user is subscribed to this channel through a group |
boolean |
isGroupSubscription(Subscriber subscriber)
flags if a user is subscribed to this channel through a group |
boolean |
isSubscription()
Returns a flag that gets set if this channel was created by a subscription filter. |
boolean |
isSubscription(DeliveryUser user)
flags if any of the subscriber identities in a DeliveryUser are subscribed to this channel. |
boolean |
isSubscription(Subscriber subscriber)
flags if a user is subscribed to this channel |
void |
removeSubscriber(Subscriber subscriber)
Removes a subscriber from this channel. |
void |
setArchivesDirty()
Force a refresh of the archives contained by this channel. |
void |
setDefaultComparatorClassName(java.lang.String className)
This attribute determines the class that contains the default comparator, identified by the DefaultComparatorEntry attribute, used to sort the channels archives. |
void |
setDefaultComparatorEntry(java.lang.String entryName)
This attribute determines the default comparator definition, in the class defined by the DefaultComparatorClassName attribute, used to sort the channels archives. |
void |
setShowExpiredArchives(boolean show)
This attribute is informs the channel whether it should display expired archives. |
void |
setShowExpiredArchives(java.lang.String show)
This attribute is informs the channel whether it should display expired archives. |
void |
setSubject(java.lang.String subject)
Sets this channel's subject. |
void |
setSubscription(boolean subscription)
Sets the flag that indicates the user who created this channel is subscribed. |
java.util.ListIterator |
subscriberGroupsIterator()
Returns a ListIterator of subscriber groups |
java.util.Iterator |
subscriberIterator()
Returns an iteration of all this channel's subscribers. |
java.util.ListIterator |
subscriberIterator(java.util.Comparator compare)
Returns a sorted iteration of all this channel's subscribers. |
java.util.Iterator |
subscriberNameIterator()
Return an Iterator of subscriber names |
Methods inherited from interface com.sas.edir.TrackedObjectCollection |
getDescription, getName, iterator, listIterator, listIterator, setDescription, setName |
Methods inherited from interface com.sas.edir.TrackedObject |
getTrackingId, getUserData, setUserData |
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.KeywordEntity |
addKeyword, keywordIterator, keywordIterator, removeKeyword, setKeywords |
Method Detail |
public void setArchivesDirty()
public java.util.Iterator archiveIterator()
public java.util.ListIterator archiveIterator(java.util.Comparator compare)
comparator
- A Comparator for sorting, or null for no sorting.public java.lang.String getSubject()
public void setSubject(java.lang.String subject)
This change is not persisted to the enterprise directory until updateStore is called.
subject
- The subject.public java.util.Iterator subscriberIterator()
public java.util.ListIterator subscriberIterator(java.util.Comparator compare)
comparator
- A Comparator for sorting, or null for no sorting.public void addSubscriber(Subscriber subscriber)
subscriber
- The subscriber to add.public void removeSubscriber(Subscriber subscriber)
subscriber
- The subscriber to remove.public boolean isGroupSubscription(Subscriber subscriber)
subscriber
- The subscriberpublic boolean isGroupSubscription(DeliveryUser user)
user
- The delivery user to look uppublic boolean isSubscription(Subscriber subscriber)
subscriber
- The subscriberpublic boolean isSubscription(DeliveryUser user)
public boolean isSubscription()
public void setSubscription(boolean subscription)
public java.util.Iterator subscriberNameIterator()
public java.util.ListIterator subscriberGroupsIterator()
public boolean getShowExpiredArchives()
public void setShowExpiredArchives(boolean show)
show
- true to show expired archives, false to not show them.public void setShowExpiredArchives(java.lang.String show)
show
- true to show expired archives, false to not show them.public java.lang.String getDefaultComparatorClassName()
public void setDefaultComparatorClassName(java.lang.String className)
classname
- the fully qualified classname of a class containing comparators.public java.lang.String getDefaultComparatorEntry()
public void setDefaultComparatorEntry(java.lang.String entryName)
entryName
- the name of the comparator entry.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |