src/main/java/org/efaps/ui/wicket/components/gridx/filter/ClassificationFilter.java
protected CharSequence getDataLine(final Classification _clazz, final IClassificationFilter _filter)
        throws EFapsException
    {
        final StringBuilder js = new StringBuilder();
        if (_clazz.hasAccess(null, AccessTypeEnums.SHOW.getAccessType())) {
            js.append(",\n{id:'").append(_clazz.getUUID()).append("', name:'")
                .append(StringEscapeUtils.escapeEcmaScript(_clazz.getLabel())).append("', parent:'")
                .append(_clazz.isRoot() ? "root" : _clazz.getParentClassification().getUUID()).append("', selected:")
                .append(_filter.contains(_clazz.getUUID())).append("}");
            for (final Classification childClazz: _clazz.getChildClassifications()) {
                js.append(getDataLine(childClazz, _filter));
            }
        }
        return js;
    }
protected CharSequence getDataLine(final Classification _clazz, final IClassificationFilter _filter)
        throws EFapsException
    {
        final StringBuilder js = new StringBuilder();
        if (_clazz.hasAccess(null, AccessTypeEnums.SHOW.getAccessType())) {
            js.append(",\n{id:'").append(_clazz.getUUID()).append("', name:'")
                .append(StringEscapeUtils.escapeEcmaScript(_clazz.getLabel())).append("', parent:'")
                .append(_clazz.isRoot() ? "root" : _clazz.getParentClassification().getUUID()).append("', selected:")
                .append(_filter.contains(_clazz.getUUID())).append("}");
            for (final Classification childClazz: _clazz.getChildClassifications()) {
                js.append(getDataLine(childClazz, _filter));
            }
        }
        return js;
    }
Gets the data line.

@param _clazz the clazz
@param _filter the filter
@return the data line
@throws EFapsException the e faps exception