Interface IResourceExtender

    • 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 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