Interface IResourceExtenderComponent
- All Known Implementing Classes:
AbstractResourceExtenderComponent,HitResourceExtenderComponent,NoConfigResourceExtenderComponent
public interface IResourceExtenderComponent
IResourceExtenderComponent
-
Method Summary
Modifier and TypeMethodDescriptionvoidbuildXmlAddOn(String strIdExtendableResource, String strExtendableResourceType, String strParameters, StringBuffer strXml) Add to the the XML String additional datas.voiddoSaveConfig(javax.servlet.http.HttpServletRequest request, IExtenderConfig config) Do save config.getConfig(int nIdExtender) Gets the config.getConfigHtml(ResourceExtenderDTO resourceExtender, Locale locale, javax.servlet.http.HttpServletRequest request) Gets the config html.getInfoHtml(ResourceExtenderDTO resourceExtender, Locale locale, javax.servlet.http.HttpServletRequest request) Gets the info html.getPageAddOn(String strIdExtendableResource, String strExtendableResourceType, String strParameters, javax.servlet.http.HttpServletRequest request) Add datas to the model use by document template.Gets the resource extender.voidsetResourceExtender(IResourceExtender extender) Sets the resource extender.
-
Method Details
-
getResourceExtender
IResourceExtender getResourceExtender()Gets the resource extender.- Returns:
- the resource extender
-
setResourceExtender
Sets the resource extender.- Parameters:
extender- the new resource extender
-
buildXmlAddOn
void buildXmlAddOn(String strIdExtendableResource, String strExtendableResourceType, String strParameters, StringBuffer strXml) Add to the the XML String additional datas.- Parameters:
strIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource typestrParameters- the str parametersstrXml- The xml string use by stylesheet
-
getPageAddOn
String getPageAddOn(String strIdExtendableResource, String strExtendableResourceType, String strParameters, javax.servlet.http.HttpServletRequest request) Add datas to the model use by document template.- Parameters:
strIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource typestrParameters- the str parametersrequest- The HTTP Request- Returns:
- the page add on
-
getConfigHtml
String getConfigHtml(ResourceExtenderDTO resourceExtender, Locale locale, javax.servlet.http.HttpServletRequest request) Gets the config html.- Parameters:
resourceExtender- the resource extenderlocale- the localerequest- the request- Returns:
- the config html
-
getInfoHtml
String getInfoHtml(ResourceExtenderDTO resourceExtender, Locale locale, javax.servlet.http.HttpServletRequest request) Gets the info html.- Parameters:
resourceExtender- the resource extenderlocale- the localerequest- the request- Returns:
- the info html
-
getConfig
Gets the config.- Parameters:
nIdExtender- the n id extender- Returns:
- the config
-
doSaveConfig
void doSaveConfig(javax.servlet.http.HttpServletRequest request, IExtenderConfig config) throws ExtendErrorException Do save config.- Parameters:
request- the requestconfig- the config- Throws:
ExtendErrorException- the extend error exception
-