Interface ImportOrganisationUnit<T extends ImportOrganisationUnit,​S extends ImportOrganisationUnit>

  • All Known Implementing Classes:
    CountryOrganisation, ShopOrganisation

    public interface ImportOrganisationUnit<T extends ImportOrganisationUnit,​S extends ImportOrganisationUnit>
    Represent organisation unit: shop, hub, country, anything that require separate data set to be imported.
    • Method Detail

      • getCode

        java.lang.String getCode()
        Get organisation unit code.
      • getName

        java.lang.String getName()
        Get organisation unit user friendly name.
      • getFolderName

        java.lang.String getFolderName()
        Get name of folder root folder for this kind of organisations.
      • getCommonFolderName

        java.lang.String getCommonFolderName()
        Get name of folder that is the same common for organisations of the same kind.
      • getChildren

        java.util.Collection<T> getChildren()
        Get collection of children unit organisations. null in case there are no children.
      • getLanguages

        java.util.Collection<ImportLanguage> getLanguages()
        Get list of languages for given organisation unit.
      • getParent

        S getParent()
        Get this organisation parent
        Returns:
        organisation parent
      • setParent

        void setParent​(S parent)
        Set parent for this organisation.
        Parameters:
        parent -
      • getStructureState

        StructureState getStructureState()
        Get version in which this organisation should be introduced in.