|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IChannelTypeDao
| Method Summary | |
|---|---|
IChannelType |
createChannelType(String name,
String clazz,
String cpdUri)
Creates, initializes and persists a new IChannelType based on the specified parameters |
void |
deleteChannelType(IChannelType type)
Removes the specified IChannelType from the persistent store. |
IChannelType |
getChannelType(int id)
Get a IChannelType for the specified id. |
IChannelType |
getChannelType(String name)
Get a IChannelType for the specified name |
List<IChannelType> |
getChannelTypes()
|
IChannelType |
updateChannelType(IChannelType type)
Persists changes to a IChannelType. |
| Method Detail |
|---|
IChannelType createChannelType(String name,
String clazz,
String cpdUri)
IChannelType based on the specified parameters
name - The name of the channel typeclazz - The Java Class the type representscpdUri - The URI to the CPD file used when publishing channels of this type
IChannelType
DataIntegrityViolationException - If a IChannelType already exists for the provide arguments
IllegalArgumentException - If any of the parameters are nullIChannelType updateChannelType(IChannelType type)
IChannelType.
type - The channel type to store the changes for
IllegalArgumentException - if type is null.void deleteChannelType(IChannelType type)
IChannelType from the persistent store.
type - The type to remove.
IllegalArgumentException - if type is null.IChannelType getChannelType(int id)
IChannelType for the specified id.
id - The id to get the type for.
IChannelType getChannelType(String name)
IChannelType for the specified name
name - The name to get the type for.
IllegalArgumentException - if name is null.List<IChannelType> getChannelTypes()
List of all persisted IChannelTypes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||