fr.paris.lutece.plugins.extend.service.extender.config
Interface IResourceExtenderConfigService

All Known Implementing Classes:
ResourceExtenderConfigService

public interface IResourceExtenderConfigService

IResourceExtenderConfigService


Method Summary
 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 an extender associated with a resource and with a given extender type
 void remove(int nIdExtender)
          Removes.
 void update(IExtenderConfig config)
          Update a config
 

Method Detail

create

void create(IExtenderConfig config)
Create a new config

Parameters:
config - the config

update

void update(IExtenderConfig config)
Update a config

Parameters:
config - the config

remove

void remove(int nIdExtender)
Removes.

Parameters:
nIdExtender - the n id extender

find

<T> T find(int nIdExtender)
Find an extender

Type Parameters:
T - The class of extender to return.
Parameters:
nIdExtender - The id of the extender to return
Returns:
The extender of this service with the given id, or null id none was found

find

<T> T find(String strExtenderType,
           String strIdExtendableResource,
           String strExtendableResourceType)
Find an extender associated with a resource and with a given extender type

Type Parameters:
T - The class of extender to return.
Parameters:
strExtenderType - The type of the extender to get
strIdExtendableResource - The id of the resource the extender must be associated with.
strExtendableResourceType - The resource type the extender must be associated with.
Returns:
The extender, or null id none was found


Copyright © 2013 Mairie de Paris. All Rights Reserved.