Interface IResourceExtender
-
- All Known Implementing Classes:
AbstractResourceExtender,HitResourceExtender
public interface IResourceExtenderIResourceExtender.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddoCreateResourceAddOn(ResourceExtenderDTO resourceExtender)Do create resource add on.voiddoDeleteResourceAddOn(ResourceExtenderDTO resourceExtender)Do delete resource add on.java.lang.StringgetContent(java.lang.String strIdExtendableResource, java.lang.String strExtendableResourceType, java.lang.String strParameters, javax.servlet.http.HttpServletRequest request)Gets the content.java.lang.StringgetKey()Gets the key.java.lang.StringgetTitle(java.util.Locale locale)Gets the name.booleanisConfigRequired()Checks if is config required.booleanisHistoryEnable()Checks if is history enable.booleanisInvoked(java.lang.String strExtenderType)Checks if is invoked.voidsetI18nTitleKey(java.lang.String strI18nTitleKey)Sets the i18n title key.voidsetKey(java.lang.String strKey)Sets the key.
-
-
-
Method Detail
-
getKey
java.lang.String getKey()
Gets the key.- Returns:
- the key
-
setKey
void setKey(java.lang.String strKey)
Sets the key.- Parameters:
strKey- the new key
-
getTitle
java.lang.String getTitle(java.util.Locale locale)
Gets the name.- Parameters:
locale- the locale- Returns:
- the name
-
setI18nTitleKey
void setI18nTitleKey(java.lang.String strI18nTitleKey)
Sets the i18n title key.- Parameters:
strI18nTitleKey- the new i18n title key
-
isInvoked
boolean isInvoked(java.lang.String strExtenderType)
Checks if is invoked.- Parameters:
strExtenderType- the str extender type- Returns:
- true, if is invoked
-
getContent
java.lang.String getContent(java.lang.String strIdExtendableResource, java.lang.String strExtendableResourceType, java.lang.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
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
-
-