fr.paris.lutece.plugins.extend.service.extender
Interface IResourceExtender

All Known Implementing Classes:
AbstractResourceExtender, HitResourceExtender

public interface IResourceExtender

IResourceExtender.


Method Summary
 void doCreateResourceAddOn(ResourceExtenderDTO resourceExtender)
          Do create resource add on.
 void doDeleteResourceAddOn(ResourceExtenderDTO resourceExtender)
          Do delete resource add on.
 String getContent(String strIdExtendableResource, String strExtendableResourceType, String strParameters, javax.servlet.http.HttpServletRequest request)
          Gets the content.
 String getKey()
          Gets the key.
 String getTitle(Locale locale)
          Gets the name.
 boolean isConfigRequired()
          Checks if is config required.
 boolean isHistoryEnable()
          Checks if is history enable.
 boolean isInvoked(String strExtenderType)
          Checks if is invoked.
 void setI18nTitleKey(String strI18nTitleKey)
          Sets the i18n title key.
 void setKey(String strKey)
          Sets the key.
 

Method Detail

getKey

String getKey()
Gets the key.

Returns:
the key

setKey

void setKey(String strKey)
Sets the key.

Parameters:
strKey - the new key

getTitle

String getTitle(Locale locale)
Gets the name.

Parameters:
locale - the locale
Returns:
the name

setI18nTitleKey

void setI18nTitleKey(String strI18nTitleKey)
Sets the i18n title key.

Parameters:
strI18nTitleKey - the new i18n title key

isInvoked

boolean isInvoked(String strExtenderType)
Checks if is invoked.

Parameters:
strExtenderType - the str extender type
Returns:
true, if is invoked

getContent

String getContent(String strIdExtendableResource,
                  String strExtendableResourceType,
                  String strParameters,
                  javax.servlet.http.HttpServletRequest request)
Gets the content.

Parameters:
strIdExtendableResource - the str id extendable resource
strExtendableResourceType - the str extendable resource type
strParameters - the str parameters
request - the request
Returns:
the content

doCreateResourceAddOn

void doCreateResourceAddOn(ResourceExtenderDTO resourceExtender)
Do create resource add on.

Parameters:
resourceExtender - the resource extender

doDeleteResourceAddOn

void doDeleteResourceAddOn(ResourceExtenderDTO resourceExtender)
Do delete resource add on.

Parameters:
resourceExtender - the resource extender. If the extender has a configuration, then the configuration is also removed unless the extender id is equals to 0.

isConfigRequired

boolean isConfigRequired()
Checks if is config required.

Returns:
true, if is config required

isHistoryEnable

boolean isHistoryEnable()
Checks if is history enable.

Returns:
true, if is history enable


Copyright © 2013 Mairie de Paris. All Rights Reserved.