src/main/java/org/efaps/ui/wicket/models/objects/UIClassification.java
public void execute(final Instance _instance)
        throws EFapsException
    {
        UIClassification clazz = this;
        while (!clazz.isRoot()) {
            clazz = clazz.getParent();
        }
        clazz.initialized = true;
        for (final UIClassification child : clazz.getChildren()) {
            final Classification type = (Classification) Type.get(child.getClassificationUUID());
            if (clazz.selectedUUID.contains(child.getClassificationUUID())) {
                child.setSelected(true);
            }
            child.addChildren(child, type.getChildClassifications(), clazz.selectedUUID, _instance);
            clazz.expand();
        }
    }
public void execute(final Instance _instance)
        throws EFapsException
    {
        UIClassification clazz = this;
        while (!clazz.isRoot()) {
            clazz = clazz.getParent();
        }
        clazz.initialized = true;
        for (final UIClassification child : clazz.getChildren()) {
            final Classification type = (Classification) Type.get(child.getClassificationUUID());
            if (clazz.selectedUUID.contains(child.getClassificationUUID())) {
                child.setSelected(true);
            }
            child.addChildren(child, type.getChildClassifications(), clazz.selectedUUID, _instance);
            clazz.expand();
        }
    }
Execute the model.
@param _instance Instance
@throws EFapsException on error