|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IChannelDefinitionDao
Provides APIs for creating, storing and retrieving IChannelDefinition objects.
| Method Summary | |
|---|---|
IChannelDefinition |
createChannelDefinition(IChannelType channelType,
String fname,
String clazz,
String name,
String title)
Creates, initializes and persists a new IChannelDefinition based on the specified parameters |
void |
deleteChannelDefinition(IChannelDefinition definition)
Removes the specified IChannelDefinition from the persistent store. |
IChannelDefinition |
getChannelDefinition(int id)
Get a IChannelDefinition for the specified id. |
IChannelDefinition |
getChannelDefinition(String fname)
Get a IChannelDefinition for the specified functional name |
IChannelDefinition |
getChannelDefinitionByName(String name)
Get a IChannelDefinition for the specified channel name. |
List<IChannelDefinition> |
getChannelDefinitions()
|
IChannelDefinition |
updateChannelDefinition(IChannelDefinition definition)
Persists changes to a IChannelDefinition. |
| Method Detail |
|---|
IChannelDefinition createChannelDefinition(IChannelType channelType,
String fname,
String clazz,
String name,
String title)
IChannelDefinition based on the specified parameters
channelType - The type the channel is based onfname - A unique, human-readable key for the channel. Must match the regular expression FunctionalNameType.VALID_FNAME_PATTERNclazz - A fully qualified Java class name that implements the IChannel interface. This is the class the portal will execute when rendering the channel.name - The display name for the channel, this is shown in administrative UIstitle - The title used on portal generated chrome
IChannelDefinition
DataIntegrityViolationException - If a IChannelDefinition already exists for the provide arguments
IllegalArgumentException - If any of the parameters are nullIChannelDefinition updateChannelDefinition(IChannelDefinition definition)
IChannelDefinition.
definition - The channel definition to store the changes for
IllegalArgumentException - if definition is null.void deleteChannelDefinition(IChannelDefinition definition)
IChannelDefinition from the persistent store.
definition - The definition to remove.
IllegalArgumentException - if definition is null.IChannelDefinition getChannelDefinition(int id)
IChannelDefinition for the specified id.
id - The id to get the definition for.
IChannelDefinition getChannelDefinition(String fname)
IChannelDefinition for the specified functional name
fname - The fname to get the definition for.
IllegalArgumentException - if fname is null.IChannelDefinition getChannelDefinitionByName(String name)
IChannelDefinition for the specified channel name.
name - The name to get the definition for.
IllegalArgumentException - if the name is null.List<IChannelDefinition> getChannelDefinitions()
List of all persisted IChannelDefinitions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||