Class AbstractResourceExtender

  • All Implemented Interfaces:
    IResourceExtender, org.springframework.beans.factory.InitializingBean
    Direct Known Subclasses:
    HitResourceExtender

    public abstract class AbstractResourceExtender
    extends java.lang.Object
    implements IResourceExtender, org.springframework.beans.factory.InitializingBean
    AbstractResourceExtender
    • Constructor Detail

      • AbstractResourceExtender

        public AbstractResourceExtender()
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Gets the key.
        Specified by:
        getKey in interface IResourceExtender
        Returns:
        the key
      • setKey

        public void setKey​(java.lang.String strKey)
        Sets the key.
        Specified by:
        setKey in interface IResourceExtender
        Parameters:
        strKey - the new key
      • getTitle

        public java.lang.String getTitle​(java.util.Locale locale)
        Gets the name.
        Specified by:
        getTitle in interface IResourceExtender
        Parameters:
        locale - the locale
        Returns:
        the name
      • setI18nTitleKey

        public void setI18nTitleKey​(java.lang.String strI18nTitleKey)
        Sets the i18n title key.
        Specified by:
        setI18nTitleKey in interface IResourceExtender
        Parameters:
        strI18nTitleKey - the new i18n title key
      • setConfigRequired

        public void setConfigRequired​(boolean bIsConfigRequired)
        Parameters:
        bIsConfigRequired - the bIsConfigRequired to set
      • isHistoryEnable

        public boolean isHistoryEnable()
        Checks if is history enable.
        Specified by:
        isHistoryEnable in interface IResourceExtender
        Returns:
        true, if is history enable
      • setHistoryEnable

        public void setHistoryEnable​(boolean bIsHistoryEnable)
        Parameters:
        bIsHistoryEnable - the bIsHistoryEnable to set
      • isStateEnable

        public boolean isStateEnable()
        Returns:
        the _bIsStateEnable
      • setStateEnable

        public void setStateEnable​(boolean bIsStateEnable)
        Parameters:
        bIsStateEnable - the _bIsStateEnable to set
      • getResourceExtenderComponent

        public IResourceExtenderComponent getResourceExtenderComponent()
        Returns:
        the resourceExtenderComponent
      • setResourceExtenderComponent

        public void setResourceExtenderComponent​(IResourceExtenderComponent resourceExtenderComponent)
        Sets the resource extender component.
        Parameters:
        resourceExtenderComponent - the new resource extender component
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception
      • isInvoked

        public boolean isInvoked​(java.lang.String strExtenderType)
        Checks if is invoked.
        Specified by:
        isInvoked in interface IResourceExtender
        Parameters:
        strExtenderType - the str extender type
        Returns:
        true, if is invoked