C# Класс Kartverket.MetadataEditor.Models.SimpleMetadataService

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetAllMetadata ( string searchString, int offset, int limit ) : MetadataIndexViewModel
GetMetadataModel ( string uuid ) : SimpleMetadataViewModel
GetMyMetadata ( string organizationName, int offset, int limit ) : MetadataIndexViewModel
SaveMetadataModel ( SimpleMetadataViewModel model, string username ) : void
SearchMetadata ( string organizationName, string searchString, int offset, int limit ) : MetadataIndexViewModel
SimpleMetadataService ( ) : System
SimpleMetadataService ( GeoNorgeAPI.GeoNorge geonorge ) : System

Приватные методы

Метод Описание
ConvertCoordinateWithCommaToPoint ( string input ) : string
CreateAdditionalHeadersWithUsername ( string username, string published = "" ) : string>.Dictionary
CreateDictionaryOfEnglishKeywords ( List keywords ) : string>.Dictionary
CreateListOfKeywords ( string selectedKeywords ) : List
CreateListOfKeywords ( List input ) : List
CreateMetadata ( MetadataCreateViewModel model, string username ) : string
CreateMetadataForFeature ( string uuid, List layers, string keywords, string username ) : List
CreateMetadataForLayers ( string uuid, List layers, string keywords, string username ) : List
DeleteMetadata ( string uuid, string username ) : void
LogEventsDebug ( string log ) : void
LogEventsError ( string log, Exception ex ) : void
ParseSearchResults ( int offset, int limit, SearchResultsType results ) : MetadataIndexViewModel
SetDefaultValuesOnMetadata ( SimpleMetadata metadata ) : void
UpdateMetadataFromModel ( SimpleMetadataViewModel model, SimpleMetadata metadata ) : void
createMetadataForFeature ( SimpleMetadata parentMetadata, List selectedKeywordsFromParent, WfsLayerViewModel layerModel ) : SimpleMetadata
createMetadataForLayer ( SimpleMetadata parentMetadata, List selectedKeywordsFromParent, WmsLayerViewModel layerModel ) : SimpleMetadata
stripPrefixFromKeyword ( string input ) : string

Описание методов

GetAllMetadata() публичный Метод

public GetAllMetadata ( string searchString, int offset, int limit ) : MetadataIndexViewModel
searchString string
offset int
limit int
Результат MetadataIndexViewModel

GetMetadataModel() публичный Метод

public GetMetadataModel ( string uuid ) : SimpleMetadataViewModel
uuid string
Результат SimpleMetadataViewModel

GetMyMetadata() публичный Метод

public GetMyMetadata ( string organizationName, int offset, int limit ) : MetadataIndexViewModel
organizationName string
offset int
limit int
Результат MetadataIndexViewModel

SaveMetadataModel() публичный Метод

public SaveMetadataModel ( SimpleMetadataViewModel model, string username ) : void
model SimpleMetadataViewModel
username string
Результат void

SearchMetadata() публичный Метод

public SearchMetadata ( string organizationName, string searchString, int offset, int limit ) : MetadataIndexViewModel
organizationName string
searchString string
offset int
limit int
Результат MetadataIndexViewModel

SimpleMetadataService() публичный Метод

public SimpleMetadataService ( ) : System
Результат System

SimpleMetadataService() публичный Метод

public SimpleMetadataService ( GeoNorgeAPI.GeoNorge geonorge ) : System
geonorge GeoNorgeAPI.GeoNorge
Результат System