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 Details

    • getCode

      String getCode()
      Get organisation unit code.
    • getName

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

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

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

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

      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.