public class HibPluginEntryDaoImpl extends com.jamasoftware.contour.data.util.hibernate4.HibernateDaoSupport implements PluginEntryDao
PluginEntryDao
.Constructor and Description |
---|
HibPluginEntryDaoImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deletePluginEntry(PluginEntry plugin)
Deletes the given plug-in entry.
|
List<PluginEntry> |
getActivePluginListByTypeAndScope(Integer pluginType,
Integer scope,
Integer refId)
Returns a list of active plug-in entries with the given type and scope.
|
List<PluginEntry> |
getAllPluginListByTypeAndScope(Integer pluginType,
Integer scope,
Integer refId)
Returns a list of plug-in entries with the given type and scope.
|
PluginEntry |
getPluginEntry(Integer pluginId)
Fetches the plug-in entry with the given ID.
|
void |
savePluginEntry(PluginEntry plugin)
Saves or updates the given
PluginEntry instance. |
public PluginEntry getPluginEntry(Integer pluginId)
PluginEntryDao
getPluginEntry
in interface PluginEntryDao
pluginId
- the given IDpublic List<PluginEntry> getActivePluginListByTypeAndScope(Integer pluginType, Integer scope, Integer refId)
PluginEntryDao
getActivePluginListByTypeAndScope
in interface PluginEntryDao
pluginType
- the plug-in type. A null value of 0 means any type.scope
- the scope IDrefId
- the reference IDpublic List<PluginEntry> getAllPluginListByTypeAndScope(Integer pluginType, Integer scope, Integer refId)
PluginEntryDao
getAllPluginListByTypeAndScope
in interface PluginEntryDao
pluginType
- the plug-in type. A null value of 0 means any type.scope
- the scope IDrefId
- the reference IDpublic void deletePluginEntry(PluginEntry plugin)
PluginEntryDao
deletePluginEntry
in interface PluginEntryDao
plugin
- the plug-in entry to be deletedpublic void savePluginEntry(PluginEntry plugin)
PluginEntryDao
PluginEntry
instance.savePluginEntry
in interface PluginEntryDao
plugin
- the plug-in entry to be saved.Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.