Interface IResourceExtender
- All Known Implementing Classes:
AbstractResourceExtender,HitResourceExtender
public interface IResourceExtender
IResourceExtender.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddoCreateResourceAddOn(ResourceExtenderDTO resourceExtender) Do create resource add on.voiddoDeleteResourceAddOn(ResourceExtenderDTO resourceExtender) Do delete resource add on.getContent(String strIdExtendableResource, String strExtendableResourceType, String strParameters, javax.servlet.http.HttpServletRequest request) Gets the content.getKey()Gets the key.Gets the name.booleanChecks if is config required.booleanChecks if is history enable.booleanChecks if is invoked.voidsetI18nTitleKey(String strI18nTitleKey) Sets the i18n title key.voidSets the key.
-
Method Details
-
getKey
String getKey()Gets the key.- Returns:
- the key
-
setKey
Sets the key.- Parameters:
strKey- the new key
-
getTitle
Gets the name.- Parameters:
locale- the locale- Returns:
- the name
-
setI18nTitleKey
Sets the i18n title key.- Parameters:
strI18nTitleKey- the new i18n title key
-
isInvoked
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 resourcestrExtendableResourceType- the str extendable resource typestrParameters- the str parametersrequest- the request- Returns:
- the content
-
doCreateResourceAddOn
Do create resource add on.- Parameters:
resourceExtender- the resource extender
-
doDeleteResourceAddOn
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
-