protected Map<String, CmsXmlContentProperty> getDefaultPropertiesForType(String typeName) {

        Map<String, CmsXmlContentProperty> propertyConfig = new LinkedHashMap<String, CmsXmlContentProperty>();
        CmsExplorerTypeSettings explorerType = OpenCms.getWorkplaceManager().getExplorerTypeSetting(typeName);
        if (explorerType != null) {
            List<String> defaultProps = explorerType.getProperties();
            for (String propName : defaultProps) {
                CmsXmlContentProperty property = new CmsXmlContentProperty(
                    propName,
                    "string",
                    "string",
                    "",
                    "",
                    "",
                    "",
                    null,
                    "",
                    "",
                    "false");
                propertyConfig.put(propName, property);
            }
        }
        return propertyConfig;
    }
protected Map < String , CmsXmlContentProperty > getDefaultPropertiesForType ( String typeName ) { Map < String , CmsXmlContentProperty > propertyConfig = new LinkedHashMap < String , CmsXmlContentProperty > ( ) ; CmsExplorerTypeSettings explorerType = OpenCms . getWorkplaceManager ( ) . getExplorerTypeSetting ( typeName ) ; if ( explorerType != null ) { List < String > defaultProps = explorerType . getProperties ( ) ; for ( String propName : defaultProps ) { CmsXmlContentProperty property = new CmsXmlContentProperty ( propName , "string" , "string" , "" , "" , "" , "" , null , "" , "" , "false" ) ; propertyConfig . put ( propName , property ) ; } } return propertyConfig ; }
Helper method to get the default property configuration for the given resource type.<p>

@param typeName the name of the resource type

@return the default property configuration for the given type