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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<T>getChildren()Get collection of children unit organisations.java.lang.StringgetCode()Get organisation unit code.java.lang.StringgetCommonFolderName()Get name of folder that is the same common for organisations of the same kind.java.lang.StringgetFolderName()Get name of folder root folder for this kind of organisations.java.util.Collection<ImportLanguage>getLanguages()Get list of languages for given organisation unit.java.lang.StringgetName()Get organisation unit user friendly name.SgetParent()Get this organisation parentStructureStategetStructureState()Get version in which this organisation should be introduced in.voidsetParent(S parent)Set parent for this organisation.
-
-
-
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.nullin 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.
-
-