src/main/java/org/efaps/ui/wicket/models/objects/UITable.java
private List<Status> getStatus4Type(final Type _type)
        throws CacheReloadException
    {
        final List<Status> ret = new ArrayList<>();
        final StatusGroup grp = Status.get(_type.getUUID());
        if (grp != null) {
            ret.addAll(grp.values());
        } else {
            for (final Type type : _type.getChildTypes()) {
                ret.addAll(getStatus4Type(type));
            }
        }
        return ret;
    }
private List<Status> getStatus4Type(final Type _type)
        throws CacheReloadException
    {
        final List<Status> ret = new ArrayList<>();
        final StatusGroup grp = Status.get(_type.getUUID());
        if (grp != null) {
            ret.addAll(grp.values());
        } else {
            for (final Type type : _type.getChildTypes()) {
                ret.addAll(getStatus4Type(type));
            }
        }
        return ret;
    }
Recursive method to get all status for a Type representing a StatusGrp.
@param _type Type the status list is wanted for
@return list of status
@throws CacheReloadException on error