src/main/java/org/efaps/ui/wicket/models/objects/UIStructurBrowser.java
protected void sortModel()
    {
        setExecutionStatus(UIStructurBrowser.ExecutionStatus.SORT);
        try {
            getObject4Event().executeEvents(EventType.UI_TABLE_EVALUATE, ParameterValues.CLASS, this);

            if (getSortDirection() == SortDirection.DESCENDING) {
                Collections.reverse(this.children);
            }
        } catch (final EFapsException e) {
            throw new RestartResponseException(new ErrorPage(e));
        }
    }
protected void sortModel()
    {
        setExecutionStatus(UIStructurBrowser.ExecutionStatus.SORT);
        try {
            getObject4Event().executeEvents(EventType.UI_TABLE_EVALUATE, ParameterValues.CLASS, this);

            if (getSortDirection() == SortDirection.DESCENDING) {
                Collections.reverse(this.children);
            }
        } catch (final EFapsException e) {
            throw new RestartResponseException(new ErrorPage(e));
        }
    }
protected void sortModel ( ) { setExecutionStatus ( UIStructurBrowser . ExecutionStatus . SORT ) ; try { getObject4Event ( ) . executeEvents ( EventType . UI_TABLE_EVALUATE , ParameterValues . CLASS , this ) ; if ( getSortDirection ( ) == SortDirection . DESCENDING ) { Collections . reverse ( this . children ) ; } } catch ( final EFapsException e ) { throw new RestartResponseException ( new ErrorPage ( e ) ) ; } }
Method to sort the data of this model. It calls an esjp for sorting.
Method to sort the data of this model . It calls an esjp for sorting .