Examples of fieldsForUnit()


Examples of org.lightadmin.core.config.domain.DomainTypeAdministrationConfiguration.fieldsForUnit()

        DomainTypeAdministrationConfiguration configuration = globalAdministrationConfiguration.forManagedDomainType(persistentEntity.getType());

        List<DomainConfigurationUnitType> unitTypes = newArrayList(LIST_VIEW, FORM_VIEW, SHOW_VIEW, QUICK_VIEW);

        for (DomainConfigurationUnitType unitType : unitTypes) {
            Set<FieldMetadata> fieldForUnit = configuration.fieldsForUnit(unitType);

            for (FieldMetadata field : fieldForUnit) {
                if (persistentFieldMetadataPredicate().apply(field)) {
                    addPersistentProperty((PersistentFieldMetadata) field, unitType, jsonConfigurationMetadata);
                }
View Full Code Here

Examples of org.lightadmin.core.config.domain.DomainTypeAdministrationConfiguration.fieldsForUnit()

                dynamicProperties.put(persistentProperty.getName(), filePropertyValue(persistentProperty, value));
            }
            for (Association association : associations) {
                dynamicProperties.put(association.getInverse().getName(), associationPropertyValue(association, value));
            }
            for (FieldMetadata customField : customFields(managedDomainTypeConfiguration.fieldsForUnit(unit))) {
                dynamicProperties.put(customField.getUuid(), customField.getValue(value));
            }
            for (FieldMetadata transientField : transientFields(managedDomainTypeConfiguration.fieldsForUnit(unit))) {
                dynamicProperties.put(transientField.getUuid(), transientField.getValue(value));
            }
View Full Code Here

Examples of org.lightadmin.core.config.domain.DomainTypeAdministrationConfiguration.fieldsForUnit()

                dynamicProperties.put(association.getInverse().getName(), associationPropertyValue(association, value));
            }
            for (FieldMetadata customField : customFields(managedDomainTypeConfiguration.fieldsForUnit(unit))) {
                dynamicProperties.put(customField.getUuid(), customField.getValue(value));
            }
            for (FieldMetadata transientField : transientFields(managedDomainTypeConfiguration.fieldsForUnit(unit))) {
                dynamicProperties.put(transientField.getUuid(), transientField.getValue(value));
            }
            dynamicPropertiesPerUnit.put(unit, dynamicProperties);
        }
        return dynamicPropertiesPerUnit;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.