public StyleRow getStyle(long featureId, GeometryType geometryType) {

        StyleRow styleRow = featureStyleExtension.getStyle(tableName,
                featureId, geometryType, false);

        if (styleRow == null) {

            // Table Style
            Styles styles = getCachedTableStyles();
            if (styles != null) {
                styleRow = styles.getStyle(geometryType);
            }

        }

        return styleRow;
    }
public StyleRow getStyle(long featureId, GeometryType geometryType) {

        StyleRow styleRow = featureStyleExtension.getStyle(tableName,
                featureId, geometryType, false);

        if (styleRow == null) {

            
            Styles styles = getCachedTableStyles();
            if (styles != null) {
                styleRow = styles.getStyle(geometryType);
            }

        }

        return styleRow;
    }
public StyleRow getStyle ( long featureId , GeometryType geometryType ) { StyleRow styleRow = featureStyleExtension . getStyle ( tableName , featureId , geometryType , false ) ; if ( styleRow == null ) { // Table Style Styles styles = getCachedTableStyles ( ) ; if ( styles != null ) { styleRow = styles . getStyle ( geometryType ) ; } } return styleRow ; }
Get the style of the feature, searching in order: feature geometry type
style, feature default style, table geometry type style, table default
style

@param featureId    feature id
@param geometryType geometry type
@return style row
Get the style of the feature searching in order : feature geometry type style feature default style table geometry type style table default style