Package org.lightadmin.core.config.domain.unit

Examples of org.lightadmin.core.config.domain.unit.HierarchicalConfigurationUnit


    public ConfigurationUnit postProcess(ConfigurationUnit configurationUnit, ConfigurationUnits allUnits) {
        if (!(configurationUnit instanceof HierarchicalConfigurationUnit)) {
            return configurationUnit;
        }

        HierarchicalConfigurationUnit hierarchicalUnit = (HierarchicalConfigurationUnit) configurationUnit;
        if (hierarchicalUnit.getParentUnitType() != null) {
            ConfigurationUnit parentUnit = allUnits.forDomainUnitType(hierarchicalUnit.getParentUnitType());

            hierarchicalConfigurationUnitVisitor(parentUnit).visit(hierarchicalUnit);
        }
        return configurationUnit;
    }
View Full Code Here

TOP

Related Classes of org.lightadmin.core.config.domain.unit.HierarchicalConfigurationUnit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.