Interface I_CmsRepository

    • Method Detail

      • getName

        java.lang.String getName()
        Returns the name of the repository.

        Returns:
        the name of the repository
      • isTranslationEnabled

        boolean isTranslationEnabled()
        Returns true if the repository specific file translations are enabled (they may also be set without being enabled).
        Returns:
        true if the file translations are enabled
      • setName

        void setName​(java.lang.String name)
        Sets the name for this repository.

        Parameters:
        name - the name to use for the repository
      • setTranslation

        void setTranslation​(CmsResourceTranslator translator,
                            boolean enabled)
        Sets the repository-specific file translations
        Parameters:
        translator - the file translations
        enabled - true if the translations should be enabled