@Override
    @SuppressWarnings("unchecked")
    public void execute()
    {
        setExecutionStatus(UIStructurBrowser.ExecutionStatus.EXECUTE);
        final List<Return> ret;
        try {
            if (getTableUUID() == null) {
                final Map<Instance, Boolean> map = new LinkedHashMap<>();
                map.put(getInstance(), null);
                executeTree(map, false);
            } else {
                final Map<Instance, Boolean> map = new LinkedHashMap<>();
                if (!isCreateMode()) {
                    ret = getObject4Event().executeEvents(EventType.UI_TABLE_EVALUATE, ParameterValues.CLASS, this,
                                ParameterValues.INSTANCE, getInstance());
                    map.putAll((Map<Instance, Boolean>) ret.get(0).get(ReturnValues.VALUES));
                }
                executeTreeTable(map, false);
            }
        } catch (final EFapsException e) {
            throw new RestartResponseException(new ErrorPage(e));
        }
    }
@Override
    @SuppressWarnings("unchecked")
    public void execute()
    {
        setExecutionStatus(UIStructurBrowser.ExecutionStatus.EXECUTE);
        final List<Return> ret;
        try {
            if (getTableUUID() == null) {
                final Map<Instance, Boolean> map = new LinkedHashMap<>();
                map.put(getInstance(), null);
                executeTree(map, false);
            } else {
                final Map<Instance, Boolean> map = new LinkedHashMap<>();
                if (!isCreateMode()) {
                    ret = getObject4Event().executeEvents(EventType.UI_TABLE_EVALUATE, ParameterValues.CLASS, this,
                                ParameterValues.INSTANCE, getInstance());
                    map.putAll((Map<Instance, Boolean>) ret.get(0).get(ReturnValues.VALUES));
                }
                executeTreeTable(map, false);
            }
        } catch (final EFapsException e) {
            throw new RestartResponseException(new ErrorPage(e));
        }
    }
@ Override @ SuppressWarnings ( "unchecked" ) public void execute ( ) { setExecutionStatus ( UIStructurBrowser . ExecutionStatus . EXECUTE ) ; final List < Return > ret ; try { if ( getTableUUID ( ) == null ) { final Map < Instance , Boolean > map = new LinkedHashMap <> ( ) ; map . put ( getInstance ( ) , null ) ; executeTree ( map , false ) ; } else { final Map < Instance , Boolean > map = new LinkedHashMap <> ( ) ; if ( ! isCreateMode ( ) ) { ret = getObject4Event ( ) . executeEvents ( EventType . UI_TABLE_EVALUATE , ParameterValues . CLASS , this , ParameterValues . INSTANCE , getInstance ( ) ) ; map . putAll ( ( Map < Instance , Boolean > ) ret . get ( 0 ) . get ( ReturnValues . VALUES ) ) ; } executeTreeTable ( map , false ) ; } } catch ( final EFapsException e ) { throw new RestartResponseException ( new ErrorPage ( e ) ) ; } }
This method should be called to actually execute this
StructurBrowserModel, that means to retrieve the values from the
eFaps-DataBase, create the TreeModel etc. This method actually calls
depending if we have a Tree or a TreeTabel the Methodes
{@link #executeTree(List)} or {@link #executeTreeTable(List)}

@see #executeTree(List)
@see #executeTreeTable(List)
This method should be called to actually execute this StructurBrowserModel that means to retrieve the values from the eFaps - DataBase create the TreeModel etc . This method actually calls depending if we have a Tree or a TreeTabel the Methodes { @link #executeTree ( List ) } or { @link #executeTreeTable ( List ) }