|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.ChannelRegistryManager
@Deprecated public class ChannelRegistryManager
Manages the channel registry which is a listing of published channels that one can subscribe to (add to their layout). Also currently manages the channel types data and CPD documents. (maybe these should be managed by another class -Ken)
| Field Summary | |
|---|---|
protected static SmartCache |
channelRegistryCache
Deprecated. |
protected static SmartCache |
channelTypesCache
Deprecated. |
protected static int |
chanTypesCacheTimeout
Deprecated. Timeout, in seconds, of the cache of channel types. |
protected static SmartCache |
cpdCache
Deprecated. |
protected static int |
cpdCacheTimeout
Deprecated. Timeout, in seconds, of the cache of channel publishing documents. |
protected static IChannelRegistryStore |
crs
Deprecated. |
protected static boolean |
localeAware
Deprecated. Boolean indicating whether internationalization will be used. |
protected static int |
registryCacheTimeout
Deprecated. Timeout, in seconds, of the cache of the registry of channels. |
| Constructor Summary | |
|---|---|
ChannelRegistryManager()
Deprecated. |
|
| Method Summary | |
|---|---|
static void |
expireCache()
Deprecated. |
static NodeList |
getCategories(String channelPublishId)
Deprecated. Looks in channel registry for a channel element matching the given channel ID. |
static Element |
getChannel(String channelPublishId)
Deprecated. Looks in channel registry for a channel element matching the given channel ID. |
static Document |
getChannelRegistry()
Deprecated. Returns a copy of the channel registry as a Document. |
static Document |
getChannelRegistry(IPerson person)
Deprecated. Returns the channel registry as a Document. |
static Document |
getChannelRegistryXML()
Deprecated. Returns an XML document which describes the channel registry. |
static Document |
getChannelTypes()
Deprecated. Returns the publishable channel types as a Document. |
static Document |
getChannelTypesXML()
Deprecated. Create XML representing the channel types. |
static Element |
getChannelXML(String subscribeId,
IChannelDefinition channelDef)
Deprecated. Create XML representing this channel definition. |
static Document |
getCPD(String chanTypeID)
Deprecated. Returns a CPD (channel publishing document) as a Document |
static Document |
getManageableChannelRegistry(IPerson person)
Deprecated. Returns the channel registry as a Document. |
static void |
removeChannel(String channelID,
IPerson person)
Deprecated. Removes a channel from the channel registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final IChannelRegistryStore crs
protected static final int registryCacheTimeout
protected static final int chanTypesCacheTimeout
protected static final int cpdCacheTimeout
protected static final boolean localeAware
protected static final SmartCache channelRegistryCache
protected static final SmartCache channelTypesCache
protected static final SmartCache cpdCache
| Constructor Detail |
|---|
public ChannelRegistryManager()
| Method Detail |
|---|
public static Document getChannelRegistry()
throws PortalException
getChannelRegistry(IPerson person)
PortalException
public static Document getChannelRegistry(IPerson person)
throws PortalException
PortalException
public static Document getManageableChannelRegistry(IPerson person)
throws PortalException
PortalException
public static Document getChannelRegistryXML()
throws Exception
channelRegistry.dtd
Exception
public static Element getChannel(String channelPublishId)
throws PortalException
channelPublishId - the channel publish id
PortalException
public static Element getChannelXML(String subscribeId,
IChannelDefinition channelDef)
subscribeId - the channel subscibe ID, formerly called instance IDchannelDef - a channel definition
public static Document getChannelTypesXML()
throws Exception
Exception
public static NodeList getCategories(String channelPublishId)
throws PortalException
channelPublishId - the channel publish ID
PortalException
public static void removeChannel(String channelID,
IPerson person)
throws Exception
channelID - the channel IDperson - the person removing the channel
Exception
public static Document getChannelTypes()
throws PortalException
PortalException
public static Document getCPD(String chanTypeID)
throws PortalException
chanTypeID - the channel type ID, "-1" if channel type is "custom"
null if "custom" channel
PortalExceptionpublic static void expireCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||