public class ResourceExtenderConfigService extends Object implements IResourceExtenderConfigService, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
ResourceExtenderConfigService() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
create(IExtenderConfig config)
Create a new config
|
<T> T |
find(int nIdExtender)
Find an extender
|
<T> T |
find(String strExtenderType,
String strIdExtendableResource,
String strExtendableResourceType)
Find a resource
|
static <T> T |
getConfigBean(IExtenderConfig config)
Get the config bean
|
protected IExtenderConfigDAO<IExtenderConfig> |
getDAO()
Get the DAO
|
void |
remove(int nIdExtender)
Removes.
|
void |
setExtenderConfigDAO(IExtenderConfigDAO<IExtenderConfig> extenderConfigDAO)
Set the extender config DAO
|
void |
update(IExtenderConfig config)
Update a config
|
public void setExtenderConfigDAO(IExtenderConfigDAO<IExtenderConfig> extenderConfigDAO)
extenderConfigDAO - the extender config DAOpublic void create(IExtenderConfig config)
create in interface IResourceExtenderConfigServiceconfig - the configpublic void update(IExtenderConfig config)
update in interface IResourceExtenderConfigServiceconfig - the configpublic void remove(int nIdExtender)
remove in interface IResourceExtenderConfigServicenIdExtender - the n id extenderpublic <T> T find(int nIdExtender)
find in interface IResourceExtenderConfigServiceT - The extender typenIdExtender - The extender IDpublic <T> T find(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType)
find in interface IResourceExtenderConfigServiceT - The resource typestrExtenderType - The extenderstrIdExtendableResource - The resource IDstrExtendableResourceType - The resource typepublic static <T> T getConfigBean(IExtenderConfig config)
T - The class of the beanconfig - the configprotected IExtenderConfigDAO<IExtenderConfig> getDAO()
Copyright © 2015 City of Paris. All rights reserved.