| File | Line | 
|---|
| org/deegree/console/featurestore/AppSchemaInfo.java | 101 | 
| org/deegree/console/featurestore/FeatureStoreConfig.java | 264 | 
    }
    private void appendFcInfo( FeatureType ft, StringBuffer sb, String indent )
                            throws IOException {
        if ( ft instanceof FeatureCollectionType ) {
            if ( ft.isAbstract() ) {
                sb.append( indent + "- <i>" + ft.getName().getPrefix() + ":" + ft.getName().getLocalPart()
                           + " (abstract)</i><br/>" );
            } else {
                sb.append( indent + "- " + ft.getName().getPrefix() + ":" + ft.getName().getLocalPart() + "<br/>" );
            }
        }
        FeatureType[] fts = ft.getSchema().getDirectSubtypes( ft );
        Arrays.sort( fts, new Comparator<FeatureType>() {
            public int compare( FeatureType a, FeatureType b ) {
                int order = a.getName().getNamespaceURI().compareTo( b.getName().getNamespaceURI() );
                if ( order == 0 ) {
                    order = a.getName().getLocalPart().compareTo( b.getName().getLocalPart() );
                }
                return order;
            }
        } );
        for ( FeatureType childType : fts ) { | 
| File | Line | 
|---|
| org/deegree/console/featurestore/FeatureStoreConfig.java | 175 | 
| org/deegree/console/featurestore/FeatureStoreConfig.java | 202 | 
    public String getFtInfo()
                            throws IOException {
        StringBuffer sb = new StringBuffer();
        FeatureStore fs = getFeatureStoreManager().get( getId() );
        AppSchema schema = fs.getSchema();
        FeatureType[] fts = schema.getRootFeatureTypes();
        // sort the types by name
        Arrays.sort( fts, new Comparator<FeatureType>() {
            public int compare( FeatureType a, FeatureType b ) {
                int order = a.getName().getNamespaceURI().compareTo( b.getName().getNamespaceURI() );
                if ( order == 0 ) {
                    order = a.getName().getLocalPart().compareTo( b.getName().getLocalPart() );
                }
                return order;
            }
        } );
        for ( FeatureType ft : fts ) { | 
| File | Line | 
|---|
| org/deegree/console/featurestore/AppSchemaInfo.java | 112 | 
| org/deegree/console/featurestore/AppSchemaInfo.java | 138 | 
        }
        FeatureType[] fts = ft.getSchema().getDirectSubtypes( ft );
        Arrays.sort( fts, new Comparator<FeatureType>() {
            public int compare( FeatureType a, FeatureType b ) {
                int order = a.getName().getNamespaceURI().compareTo( b.getName().getNamespaceURI() );
                if ( order == 0 ) {
                    order = a.getName().getLocalPart().compareTo( b.getName().getLocalPart() );
                }
                return order;
            }
        } );
        for ( FeatureType childType : fts ) {
            appendFtInfo( childType, sb, indent + "  " );
        }
    } | 
| File | Line | 
|---|
| org/deegree/console/featurestore/AppSchemaInfo.java | 58 | 
| org/deegree/console/featurestore/AppSchemaInfo.java | 81 | 
    public String getFtInfo()
                            throws IOException {
        StringBuffer sb = new StringBuffer();
        FeatureType[] fts = schema.getRootFeatureTypes();
        // sort the types by name
        Arrays.sort( fts, new Comparator<FeatureType>() {
            public int compare( FeatureType a, FeatureType b ) {
                int order = a.getName().getNamespaceURI().compareTo( b.getName().getNamespaceURI() );
                if ( order == 0 ) {
                    order = a.getName().getLocalPart().compareTo( b.getName().getLocalPart() );
                }
                return order;
            }
        } );
        for ( FeatureType ft : fts ) { | 
| File | Line | 
|---|
| org/deegree/console/featurestore/AppSchemaInfo.java | 110 | 
| org/deegree/console/featurestore/FeatureStoreConfig.java | 248 | 
                sb.append( indent + "- " + ft.getName().getPrefix() + ":" + ft.getName().getLocalPart() + "<br/>" );
            }
        }
        FeatureType[] fts = ft.getSchema().getDirectSubtypes( ft );
        Arrays.sort( fts, new Comparator<FeatureType>() {
            public int compare( FeatureType a, FeatureType b ) {
                int order = a.getName().getNamespaceURI().compareTo( b.getName().getNamespaceURI() );
                if ( order == 0 ) {
                    order = a.getName().getLocalPart().compareTo( b.getName().getLocalPart() );
                }
                return order;
            }
        } );
        for ( FeatureType childType : fts ) {
            appendFtInfo( childType, sb, indent + "  " ); | 
| File | Line | 
|---|
| org/deegree/console/featurestore/AppSchemaInfo.java | 83 | 
| org/deegree/console/featurestore/FeatureStoreConfig.java | 206 | 
        StringBuffer sb = new StringBuffer();
        FeatureType[] fts = schema.getRootFeatureTypes();
        // sort the types by name
        Arrays.sort( fts, new Comparator<FeatureType>() {
            public int compare( FeatureType a, FeatureType b ) {
                int order = a.getName().getNamespaceURI().compareTo( b.getName().getNamespaceURI() );
                if ( order == 0 ) {
                    order = a.getName().getLocalPart().compareTo( b.getName().getLocalPart() );
                }
                return order;
            }
        } );
        for ( FeatureType ft : fts ) {
            appendFcInfo( ft, sb, "" ); | 
| File | Line | 
|---|
| org/deegree/console/featurestore/AppSchemaInfo.java | 138 | 
| org/deegree/console/featurestore/FeatureStoreConfig.java | 250 | 
        }
        FeatureType[] fts = ft.getSchema().getDirectSubtypes( ft );
        Arrays.sort( fts, new Comparator<FeatureType>() {
            public int compare( FeatureType a, FeatureType b ) {
                int order = a.getName().getNamespaceURI().compareTo( b.getName().getNamespaceURI() );
                if ( order == 0 ) {
                    order = a.getName().getLocalPart().compareTo( b.getName().getLocalPart() );
                }
                return order;
            }
        } );
        for ( FeatureType childType : fts ) {
            appendFtInfo( childType, sb, indent + "  " ); | 
| File | Line | 
|---|
| org/deegree/console/featurestore/FeatureStoreConfig.java | 248 | 
| org/deegree/console/featurestore/FeatureStoreConfig.java | 273 | 
                           + " (not mapped)<br/>" );
            }
        }
        FeatureType[] fts = ft.getSchema().getDirectSubtypes( ft );
        Arrays.sort( fts, new Comparator<FeatureType>() {
            public int compare( FeatureType a, FeatureType b ) {
                int order = a.getName().getNamespaceURI().compareTo( b.getName().getNamespaceURI() );
                if ( order == 0 ) {
                    order = a.getName().getLocalPart().compareTo( b.getName().getLocalPart() );
                }
                return order;
            }
        } );
        for ( FeatureType childType : fts ) { | 
| File | Line | 
|---|
| org/deegree/console/featurestore/AppSchemaInfo.java | 138 | 
| org/deegree/console/featurestore/FeatureStoreConfig.java | 275 | 
        }
        FeatureType[] fts = ft.getSchema().getDirectSubtypes( ft );
        Arrays.sort( fts, new Comparator<FeatureType>() {
            public int compare( FeatureType a, FeatureType b ) {
                int order = a.getName().getNamespaceURI().compareTo( b.getName().getNamespaceURI() );
                if ( order == 0 ) {
                    order = a.getName().getLocalPart().compareTo( b.getName().getLocalPart() );
                }
                return order;
            }
        } );
        for ( FeatureType childType : fts ) { | 
| File | Line | 
|---|
| org/deegree/console/Config.java | 188 | 
| org/deegree/console/Config.java | 206 | 
            FacesMessage fm = new FacesMessage( SEVERITY_ERROR, "Unable to activate resource: " + t.getMessage(), null );
            FacesContext.getCurrentInstance().addMessage( null, fm );
            return;
        }
        state = resourceManager.getState( id );
        WorkspaceBean ws = (WorkspaceBean) FacesContext.getCurrentInstance().getExternalContext().getApplicationMap().get( "workspace" );
        ws.setModified();
        if ( state.getLastException() != null ) {
            String msg = state.getLastException().getMessage();
            FacesMessage fm = new FacesMessage( SEVERITY_ERROR, msg, null );
            FacesContext.getCurrentInstance().addMessage( null, fm );
        }
    }
    public void deactivate() { | 
| File | Line | 
|---|
| org/deegree/console/featurestore/AppSchemaInfo.java | 60 | 
| org/deegree/console/featurestore/AppSchemaInfo.java | 83 | 
| org/deegree/console/featurestore/FeatureStoreConfig.java | 179 | 
| org/deegree/console/featurestore/FeatureStoreConfig.java | 206 | 
        StringBuffer sb = new StringBuffer();
        FeatureType[] fts = schema.getRootFeatureTypes();
        // sort the types by name
        Arrays.sort( fts, new Comparator<FeatureType>() {
            public int compare( FeatureType a, FeatureType b ) {
                int order = a.getName().getNamespaceURI().compareTo( b.getName().getNamespaceURI() );
                if ( order == 0 ) {
                    order = a.getName().getLocalPart().compareTo( b.getName().getLocalPart() );
                }
                return order;
            }
        } );
        for ( FeatureType ft : fts ) { |