Class UpdateSiteLanguageProcess

    • Field Detail

      • CTXT_UPDATE_SITE_LANG_FLAG

        public static final java.lang.String CTXT_UPDATE_SITE_LANG_FLAG
        See Also:
        Constant Field Values
    • Constructor Detail

      • UpdateSiteLanguageProcess

        protected UpdateSiteLanguageProcess()
        Since:
        jcms-10.0.8 / JCMS-10722
    • Method Detail

      • handleComplete

        protected void handleComplete()
        Disables data write whatever the completedStatus.
        Overrides:
        handleComplete in class BackgroundProcess
        Since:
        jcms-10.0.8 / JCMS-10722
      • getLabelProp

        public java.lang.String getLabelProp()
        Description copied from class: BackgroundProcess
        Retrieve the I18N property key to use to provide the I18Ned label of this BackgroundProcess to the user.
        Overrides:
        getLabelProp in class BackgroundProcess
        Returns:
        a property
        Since:
        jcms-10.0.8 / JCMS-10722
      • incrementStep

        public void incrementStep()
        Description copied from class: BackgroundProcess
        Increment the step number of this processing by one.

        Implementation detail : If this step changes the progress percentage, it triggers an update in database of the BackgroundProcessInfo used to track the process progress

        Overrides:
        incrementStep in class BackgroundProcess
        Since:
        jcms-10.0.8 / JCMS-10722
      • sourceLanguage

        public UpdateSiteLanguageProcess sourceLanguage​(java.lang.String sourceLanguage)
        Parameters:
        sourceLanguage - source language to set
        Returns:
        current process
        Since:
        jcms-10.0.8 / JCMS-10722
      • targetLanguage

        public UpdateSiteLanguageProcess targetLanguage​(java.lang.String targetLanguage)
        Parameters:
        targetLanguage - target language to set
        Returns:
        current process
        Since:
        jcms-10.0.8 / JCMS-10722
      • targetLanguate

        public java.lang.String targetLanguate()
        Returns:
        chosen target language
        Since:
        jcms-10.0.8 / JCMS-10722
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class BackgroundProcess
        Since:
        jcms-10.0.8 / JCMS-10722