Class OrganizationViewUtils

java.lang.Object
org.teamapps.application.ux.org.OrganizationViewUtils

public class OrganizationViewUtils
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    OrganizationViewUtils()  
  • Method Summary

    Modifier and Type Method Description
    static org.teamapps.ux.model.ComboBoxModel<org.teamapps.model.controlcenter.OrganizationUnitView> createLazyOrgUnitModel​(java.util.function.Supplier<java.util.Collection<org.teamapps.model.controlcenter.OrganizationUnitView>> allowedUnitsSupplier, java.util.Set<org.teamapps.model.controlcenter.OrganizationUnitTypeView> selectableTypes)  
    static org.teamapps.ux.component.field.combobox.ComboBox<org.teamapps.model.controlcenter.OrganizationUnitView> createOrganizationComboBox​(org.teamapps.ux.component.template.Template template, java.util.Collection<org.teamapps.model.controlcenter.OrganizationUnitView> allowedUnits, ApplicationInstanceData applicationInstanceData)  
    static org.teamapps.ux.component.field.combobox.ComboBox<org.teamapps.model.controlcenter.OrganizationUnitView> createOrganizationComboBox​(org.teamapps.ux.component.template.Template template, java.util.function.Supplier<java.util.Collection<org.teamapps.model.controlcenter.OrganizationUnitView>> allowedUnitsSupplier, java.util.Set<org.teamapps.model.controlcenter.OrganizationUnitTypeView> selectableTypes, ApplicationInstanceData applicationInstanceData)  
    static org.teamapps.ux.component.field.combobox.ComboBox<org.teamapps.model.controlcenter.OrganizationUnitView> createOrganizationComboBox​(org.teamapps.ux.component.template.Template template, java.util.function.Supplier<java.util.Collection<org.teamapps.model.controlcenter.OrganizationUnitView>> allowedUnitsSupplier, ApplicationInstanceData applicationInstanceData)  
    static org.teamapps.ux.component.field.combobox.ComboBox<org.teamapps.model.controlcenter.OrganizationFieldView> createOrganizationFieldCombo​(ApplicationInstanceData applicationInstanceData)  
    static org.teamapps.data.extract.PropertyProvider<org.teamapps.model.controlcenter.OrganizationFieldView> createOrganizationFieldViewPropertyProvider​(ApplicationInstanceData applicationInstanceData)  
    static org.teamapps.ux.component.field.combobox.TagComboBox<org.teamapps.model.controlcenter.OrganizationUnitTypeView> createOrganizationUnitTypeTagComboBox​(int limit, ApplicationInstanceData applicationInstanceData)  
    static org.teamapps.data.extract.PropertyProvider<org.teamapps.model.controlcenter.OrganizationUnitTypeView> creatOrganizationUnitTypeViewPropertyProvider​(ApplicationInstanceData applicationInstanceData)  
    static org.teamapps.data.extract.PropertyProvider<org.teamapps.model.controlcenter.OrganizationUnitView> creatOrganizationUnitViewPropertyProvider​(ApplicationInstanceData applicationInstanceData)  
    static java.util.Set<org.teamapps.model.controlcenter.OrganizationUnitView> getAllUnits​(org.teamapps.model.controlcenter.OrganizationUnitView unit, java.util.Collection<org.teamapps.model.controlcenter.OrganizationUnitTypeView> unitTypesFilter)  
    static int getOrgLevel​(org.teamapps.model.controlcenter.OrganizationUnitView unit)  
    static org.teamapps.model.controlcenter.OrganizationUnitView getParentWithGeoType​(org.teamapps.model.controlcenter.OrganizationUnitView unit, org.teamapps.model.controlcenter.GeoLocationType type)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OrganizationViewUtils

      public OrganizationViewUtils()
  • Method Details

    • getAllUnits

      public static java.util.Set<org.teamapps.model.controlcenter.OrganizationUnitView> getAllUnits​(org.teamapps.model.controlcenter.OrganizationUnitView unit, java.util.Collection<org.teamapps.model.controlcenter.OrganizationUnitTypeView> unitTypesFilter)
    • createOrganizationFieldCombo

      public static org.teamapps.ux.component.field.combobox.ComboBox<org.teamapps.model.controlcenter.OrganizationFieldView> createOrganizationFieldCombo​(ApplicationInstanceData applicationInstanceData)
    • getOrgLevel

      public static int getOrgLevel​(org.teamapps.model.controlcenter.OrganizationUnitView unit)
    • getParentWithGeoType

      public static org.teamapps.model.controlcenter.OrganizationUnitView getParentWithGeoType​(org.teamapps.model.controlcenter.OrganizationUnitView unit, org.teamapps.model.controlcenter.GeoLocationType type)
    • createOrganizationComboBox

      public static org.teamapps.ux.component.field.combobox.ComboBox<org.teamapps.model.controlcenter.OrganizationUnitView> createOrganizationComboBox​(org.teamapps.ux.component.template.Template template, java.util.Collection<org.teamapps.model.controlcenter.OrganizationUnitView> allowedUnits, ApplicationInstanceData applicationInstanceData)
    • createOrganizationComboBox

      public static org.teamapps.ux.component.field.combobox.ComboBox<org.teamapps.model.controlcenter.OrganizationUnitView> createOrganizationComboBox​(org.teamapps.ux.component.template.Template template, java.util.function.Supplier<java.util.Collection<org.teamapps.model.controlcenter.OrganizationUnitView>> allowedUnitsSupplier, ApplicationInstanceData applicationInstanceData)
    • createOrganizationComboBox

      public static org.teamapps.ux.component.field.combobox.ComboBox<org.teamapps.model.controlcenter.OrganizationUnitView> createOrganizationComboBox​(org.teamapps.ux.component.template.Template template, java.util.function.Supplier<java.util.Collection<org.teamapps.model.controlcenter.OrganizationUnitView>> allowedUnitsSupplier, java.util.Set<org.teamapps.model.controlcenter.OrganizationUnitTypeView> selectableTypes, ApplicationInstanceData applicationInstanceData)
    • createLazyOrgUnitModel

      public static org.teamapps.ux.model.ComboBoxModel<org.teamapps.model.controlcenter.OrganizationUnitView> createLazyOrgUnitModel​(java.util.function.Supplier<java.util.Collection<org.teamapps.model.controlcenter.OrganizationUnitView>> allowedUnitsSupplier, java.util.Set<org.teamapps.model.controlcenter.OrganizationUnitTypeView> selectableTypes)
    • createOrganizationUnitTypeTagComboBox

      public static org.teamapps.ux.component.field.combobox.TagComboBox<org.teamapps.model.controlcenter.OrganizationUnitTypeView> createOrganizationUnitTypeTagComboBox​(int limit, ApplicationInstanceData applicationInstanceData)
    • creatOrganizationUnitViewPropertyProvider

      public static org.teamapps.data.extract.PropertyProvider<org.teamapps.model.controlcenter.OrganizationUnitView> creatOrganizationUnitViewPropertyProvider​(ApplicationInstanceData applicationInstanceData)
    • creatOrganizationUnitTypeViewPropertyProvider

      public static org.teamapps.data.extract.PropertyProvider<org.teamapps.model.controlcenter.OrganizationUnitTypeView> creatOrganizationUnitTypeViewPropertyProvider​(ApplicationInstanceData applicationInstanceData)
    • createOrganizationFieldViewPropertyProvider

      public static org.teamapps.data.extract.PropertyProvider<org.teamapps.model.controlcenter.OrganizationFieldView> createOrganizationFieldViewPropertyProvider​(ApplicationInstanceData applicationInstanceData)