|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.AbstractChannelRegistryStore
@Deprecated public abstract class AbstractChannelRegistryStore
Abstract channel registry store. Be aware that calls to methods within this class may be cached. The cache is configured in /uportal-impl/src/main/resources/properties/contexts/channelContainerContext.xml
| Constructor Summary | |
|---|---|
AbstractChannelRegistryStore()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
addCategoryToCategory(ChannelCategory child,
ChannelCategory parent)
Deprecated. Makes one category a child of another. |
void |
addChannelToCategory(IChannelDefinition channelDef,
ChannelCategory category)
Deprecated. Associates a channel definition with a category. |
void |
approveChannelDefinition(IChannelDefinition channelDef,
IPerson approver,
Date approveDate)
Deprecated. Sets a channel definition as "approved". |
void |
deleteChannelCategory(ChannelCategory category)
Deprecated. Deletes a channel category. |
void |
disapproveChannelDefinition(IChannelDefinition channelDef)
Deprecated. Removes a channel from the channel registry by changing its status from "approved" to "unapproved". |
ChannelCategory[] |
getAllChildCategories(ChannelCategory parent)
Deprecated. Gets all child channel categories for a parent category. |
IChannelDefinition[] |
getAllChildChannels(ChannelCategory parent)
Deprecated. Gets all child channel definitions for a parent category. |
IChannelDefinition[] |
getAllChildChannels(ChannelCategory parent,
IPerson person)
Deprecated. Recursively gets all child channel definitions for a parent category that the given user is allowed to subscribe to. |
IChannelDefinition[] |
getAllManageableChildChannels(ChannelCategory parent,
IPerson person)
Deprecated. Recursively gets all child channel definitions for a parent category that the given user is allowed to manage. |
ChannelCategory |
getChannelCategory(String channelCategoryId)
Deprecated. Gets an existing channel category. |
ChannelCategory[] |
getChildCategories(ChannelCategory parent)
Deprecated. Gets all child channel categories for a parent category. |
IChannelDefinition[] |
getChildChannels(ChannelCategory parent)
Deprecated. Gets all child channel definitions for a parent category. |
IChannelDefinition[] |
getChildChannels(ChannelCategory parent,
IPerson person)
Deprecated. Gets all child channel definitions for a parent category that the given user is allowed to subscribe to. |
IChannelDefinition[] |
getManageableChildChannels(ChannelCategory parent,
IPerson person)
Deprecated. Gets all child channel definitions for a parent category that the given user is allowed to manage. |
ChannelCategory[] |
getParentCategories(ChannelCategory child)
Deprecated. Gets the immediate parent categories of this category. |
ChannelCategory[] |
getParentCategories(IChannelDefinition child)
Deprecated. Gets the immediate parent categories of this channel definition. |
ChannelCategory |
getTopLevelChannelCategory()
Deprecated. Gets top level channel category |
ChannelCategory |
newChannelCategory()
Deprecated. Creates a new channel category. |
ChannelCategory |
newChannelCategory(String name,
String description,
String creatorId)
Deprecated. Creates a new channel category with the specified values. |
void |
removeCategoryFromCategory(ChannelCategory child,
ChannelCategory parent)
Deprecated. Makes one category a child of another. |
void |
removeChannelFromCategory(IChannelDefinition channelDef,
ChannelCategory category)
Deprecated. Disassociates a channel definition from a category. |
void |
saveChannelCategory(ChannelCategory category)
Deprecated. Persists a channel category. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jasig.portal.IChannelRegistryStore |
|---|
deleteChannelDefinition, deleteChannelType, getChannelDefinition, getChannelDefinition, getChannelDefinitionByName, getChannelDefinitions, getChannelDefinitions, getChannelType, getChannelType, getChannelTypes, getOrCreateChannelType, newChannelDefinition, newChannelType, saveChannelDefinition, saveChannelType |
| Constructor Detail |
|---|
public AbstractChannelRegistryStore()
| Method Detail |
|---|
public void addCategoryToCategory(ChannelCategory child,
ChannelCategory parent)
throws GroupsException
addCategoryToCategory in interface IChannelRegistryStorechild - the source categoryparent - the destination category
GroupsException
public void addChannelToCategory(IChannelDefinition channelDef,
ChannelCategory category)
throws PortalException
addChannelToCategory in interface IChannelRegistryStorechannelDef - the channel definitioncategory - the channel category to which to associate the channel definition
PortalException
public void approveChannelDefinition(IChannelDefinition channelDef,
IPerson approver,
Date approveDate)
approveChannelDefinition in interface IChannelRegistryStorechannelDef - the channel definition to approveapprover - the user that approves this channel definitionapproveDate - the date when the channel definition should be approved (can be future dated)
Exception
public void deleteChannelCategory(ChannelCategory category)
throws GroupsException
deleteChannelCategory in interface IChannelRegistryStorecategory - the channel category to delete
GroupsExceptionpublic void disapproveChannelDefinition(IChannelDefinition channelDef)
disapproveChannelDefinition in interface IChannelRegistryStorechannelDef - the channel definition to disapprove
Exceptionpublic ChannelCategory[] getAllChildCategories(ChannelCategory parent)
getAllChildCategories in interface IChannelRegistryStoreGroupsExceptionpublic IChannelDefinition[] getAllChildChannels(ChannelCategory parent)
getAllChildChannels in interface IChannelRegistryStoreSQLException
GroupsException
public IChannelDefinition[] getAllChildChannels(ChannelCategory parent,
IPerson person)
IChannelRegistryStore
getAllChildChannels in interface IChannelRegistryStore
public IChannelDefinition[] getAllManageableChildChannels(ChannelCategory parent,
IPerson person)
IChannelRegistryStore
getAllManageableChildChannels in interface IChannelRegistryStore
public ChannelCategory getChannelCategory(String channelCategoryId)
throws GroupsException
getChannelCategory in interface IChannelRegistryStorechannelCategoryId - the id of the category to get
GroupsException
public ChannelCategory[] getChildCategories(ChannelCategory parent)
throws GroupsException
getChildCategories in interface IChannelRegistryStoreGroupsExceptionpublic IChannelDefinition[] getChildChannels(ChannelCategory parent)
getChildChannels in interface IChannelRegistryStoreSQLException
GroupsException
public IChannelDefinition[] getChildChannels(ChannelCategory parent,
IPerson person)
getChildChannels in interface IChannelRegistryStore
public IChannelDefinition[] getManageableChildChannels(ChannelCategory parent,
IPerson person)
IChannelRegistryStore
getManageableChildChannels in interface IChannelRegistryStore
public ChannelCategory[] getParentCategories(ChannelCategory child)
throws GroupsException
getParentCategories in interface IChannelRegistryStoreGroupsException
public ChannelCategory[] getParentCategories(IChannelDefinition child)
throws GroupsException
getParentCategories in interface IChannelRegistryStoreGroupsException
public ChannelCategory getTopLevelChannelCategory()
throws GroupsException
getTopLevelChannelCategory in interface IChannelRegistryStoreGroupsException
public ChannelCategory newChannelCategory()
throws GroupsException
newChannelCategory in interface IChannelRegistryStoreGroupsException
public ChannelCategory newChannelCategory(String name,
String description,
String creatorId)
throws GroupsException
newChannelCategory in interface IChannelRegistryStorename - the name of the categorydescription - the name of the descriptioncreatorId - the id of the creator or system
GroupsException
public void removeCategoryFromCategory(ChannelCategory child,
ChannelCategory parent)
throws GroupsException
removeCategoryFromCategory in interface IChannelRegistryStorechild - the category to removeparent - the category to remove from
GroupsException
public void removeChannelFromCategory(IChannelDefinition channelDef,
ChannelCategory category)
throws PortalException
removeChannelFromCategory in interface IChannelRegistryStorechannelDef - the channel definitioncategory - the channel category from which to disassociate the channel definition
PortalException
public void saveChannelCategory(ChannelCategory category)
throws GroupsException
saveChannelCategory in interface IChannelRegistryStorecategory - the channel category to persist
GroupsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||