|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Deprecated public interface IChannelRegistryStore
Interface defining how the portal reads and writes its channel types, definitions, and categories.
| Method Summary | |
|---|---|
void |
addCategoryToCategory(ChannelCategory source,
ChannelCategory destination)
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 |
deleteChannelDefinition(IChannelDefinition channelDef)
Deprecated. Permanently deletes a channel definition from the store. |
void |
deleteChannelType(IChannelType chanType)
Deprecated. Deletes a channel type. |
void |
disapproveChannelDefinition(IChannelDefinition channelDef)
Deprecated. Sets a channel definition as "unapproved". |
ChannelCategory[] |
getAllChildCategories(ChannelCategory parent)
Deprecated. Recursively gets all child channel categories for a parent category. |
IChannelDefinition[] |
getAllChildChannels(ChannelCategory parent)
Deprecated. Recursively 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. |
IChannelDefinition |
getChannelDefinition(int channelPublishId)
Deprecated. Get a channel definition. |
IChannelDefinition |
getChannelDefinition(String channelFunctionalName)
Deprecated. Get a channel definition. |
IChannelDefinition |
getChannelDefinitionByName(String channelName)
Deprecated. Get a channel definition by name. |
List<IChannelDefinition> |
getChannelDefinitions()
Deprecated. Get all channel definitions including ones that haven't been approved. |
List<IChannelDefinition> |
getChannelDefinitions(IPerson person)
Deprecated. Get all channel definitions filtered by a user's channel permissions |
IChannelType |
getChannelType(int channelTypeId)
Deprecated. Get the channel type associated with a particular identifier. |
IChannelType |
getChannelType(String name)
Deprecated. Get the channel type associated with a particular identifier. |
List<IChannelType> |
getChannelTypes()
Deprecated. Returns an array of ChannelTypes. |
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. |
IChannelType |
getOrCreateChannelType(String name,
String clazz,
String cpdUri)
Deprecated. Convience for getChannelType(String) and newChannelType(String, String, String). |
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. |
IChannelDefinition |
newChannelDefinition(int channelTypeId,
String fname,
String clazz,
String name,
String title)
Deprecated. Create a new ChannelDefinition object. |
IChannelType |
newChannelType(String name,
String clazz,
String cpdUri)
Deprecated. Creates a new channel type. |
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. |
void |
saveChannelDefinition(IChannelDefinition channelDef)
Deprecated. Persists a channel definition. |
IChannelType |
saveChannelType(IChannelType chanType)
Deprecated. Persists a channel type. |
| Method Detail |
|---|
IChannelType newChannelType(String name,
String clazz,
String cpdUri)
Exception
IChannelType getOrCreateChannelType(String name,
String clazz,
String cpdUri)
getChannelType(String) and newChannelType(String, String, String).
If the get returns null the type will be created and returned. If the get returns an IChannelType
the clazz and cpdUri parameters are ignored
getChannelType(String),
newChannelType(String, String, String)IChannelType getChannelType(int channelTypeId)
channelTypeId - the channel type identifier
ExceptionIChannelType getChannelType(String name)
name - the channel type name
ExceptionList<IChannelType> getChannelTypes()
ExceptionIChannelType saveChannelType(IChannelType chanType)
chanType - a channel type
Exceptionvoid deleteChannelType(IChannelType chanType)
chanType - a channel type
Exception
IChannelDefinition newChannelDefinition(int channelTypeId,
String fname,
String clazz,
String name,
String title)
ExceptionIChannelDefinition getChannelDefinition(int channelPublishId)
channelPublishId - a channel publish ID
null if no matching channel definition can be found
ExceptionIChannelDefinition getChannelDefinition(String channelFunctionalName)
channelFunctionalName - a channel functional name
null if no matching channel definition can be found
ExceptionIChannelDefinition getChannelDefinitionByName(String channelName)
channelName - a channel name
null if no matching
channel definition can be foundList<IChannelDefinition> getChannelDefinitions()
ExceptionList<IChannelDefinition> getChannelDefinitions(IPerson person)
void saveChannelDefinition(IChannelDefinition channelDef)
channelDef - the channel definition
Exceptionvoid deleteChannelDefinition(IChannelDefinition channelDef)
channelDef - the channel definition
Exception
void approveChannelDefinition(IChannelDefinition channelDef,
IPerson approver,
Date approveDate)
channelDef - the channel definitionapprover - the user that approves this channel definitionapproveDate - the date when the channel definition should be approved (can be future dated)
Exceptionvoid disapproveChannelDefinition(IChannelDefinition channelDef)
channelDef - the channel definition
ExceptionChannelCategory newChannelCategory()
Exception
ChannelCategory newChannelCategory(String name,
String description,
String creatorId)
name - the name of the categorydescription - the name of the descriptioncreatorId - the id of the creator or system
ExceptionChannelCategory getChannelCategory(String channelCategoryId)
channelCategoryId - the id of the category to get
ExceptionChannelCategory getTopLevelChannelCategory()
ExceptionChannelCategory[] getAllChildCategories(ChannelCategory parent)
ExceptionIChannelDefinition[] getAllChildChannels(ChannelCategory parent)
Exception
IChannelDefinition[] getAllChildChannels(ChannelCategory parent,
IPerson person)
IChannelDefinition[] getAllManageableChildChannels(ChannelCategory parent,
IPerson person)
ChannelCategory[] getChildCategories(ChannelCategory parent)
ExceptionIChannelDefinition[] getChildChannels(ChannelCategory parent)
Exception
IChannelDefinition[] getChildChannels(ChannelCategory parent,
IPerson person)
IChannelDefinition[] getManageableChildChannels(ChannelCategory parent,
IPerson person)
ChannelCategory[] getParentCategories(ChannelCategory child)
ExceptionChannelCategory[] getParentCategories(IChannelDefinition child)
Exceptionvoid saveChannelCategory(ChannelCategory category)
category - the channel category to persist
Exceptionvoid deleteChannelCategory(ChannelCategory category)
category - the channel category to delete
Exception
void addCategoryToCategory(ChannelCategory source,
ChannelCategory destination)
source - the source categorydestination - the destination category
Exception
void removeCategoryFromCategory(ChannelCategory child,
ChannelCategory parent)
child - the category to removeparent - the category to remove from
Exception
void addChannelToCategory(IChannelDefinition channelDef,
ChannelCategory category)
channelDef - the channel definitioncategory - the channel category to which to associate the channel definition
Exception
void removeChannelFromCategory(IChannelDefinition channelDef,
ChannelCategory category)
channelDef - the channel definitioncategory - the channel category from which to disassociate the channel definition
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||