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 Summary
Modifier and TypeMethodDescriptionGet collection of children unit organisations.getCode()Get organisation unit code.Get name of folder that is the same common for organisations of the same kind.Get name of folder root folder for this kind of organisations.Get list of languages for given organisation unit.getName()Get organisation unit user friendly name.Get this organisation parentGet version in which this organisation should be introduced in.voidSet parent for this organisation.
-
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.nullin 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
Set parent for this organisation.- Parameters:
parent-
-
getStructureState
StructureState getStructureState()Get version in which this organisation should be introduced in.
-