C# Class Kartverket.MetadataEditor.Models.MetadataService

Afficher le fichier Open project: kartverket/MetadataEditor Class Usage Examples

Méthodes publiques

Méthode Description
GetAllMetadata ( string searchString, int offset, int limit ) : MetadataIndexViewModel
GetMetadataModel ( string uuid ) : MetadataViewModel
GetMyMetadata ( string organizationName, int offset, int limit ) : MetadataIndexViewModel
MetadataService ( ) : System
MetadataService ( GeoNorgeAPI.GeoNorge geonorge ) : System
SaveMetadataAsXml ( MetadataViewModel model ) : System.Stream
SaveMetadataModel ( MetadataViewModel model, string username ) : void
SearchMetadata ( string organizationName, string searchString, int offset, int limit ) : MetadataIndexViewModel

Private Methods

Méthode Description
AddKeywordForService ( string distributionProtocol, List keywordsOther ) : List
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
GetServiceKeyword ( string distributionProtocol ) : string
GetServiceType ( string distributionProtocol ) : string
LogEventsDebug ( string log ) : void
LogEventsError ( string log, Exception ex ) : void
ParseSearchResults ( int offset, int limit, SearchResultsType results ) : MetadataIndexViewModel
ReIndexOperatesOn ( MetadataViewModel metadata ) : void
RemoveCache ( MetadataViewModel metadata ) : void
SetDefaultValuesOnMetadata ( SimpleMetadata metadata ) : void
UpdateMetadataFromModel ( MetadataViewModel model, SimpleMetadata metadata ) : void
createMetadataForFeature ( SimpleMetadata parentMetadata, List selectedKeywordsFromParent, WfsLayerViewModel layerModel ) : SimpleMetadata
createMetadataForLayer ( SimpleMetadata parentMetadata, List selectedKeywordsFromParent, WmsLayerViewModel layerModel ) : SimpleMetadata
getQualitySpecifications ( MetadataViewModel model, SimpleMetadata metadata ) : void
stripPrefixFromKeyword ( string input ) : string

Method Details

GetAllMetadata() public méthode

public GetAllMetadata ( string searchString, int offset, int limit ) : MetadataIndexViewModel
searchString string
offset int
limit int
Résultat MetadataIndexViewModel

GetMetadataModel() public méthode

public GetMetadataModel ( string uuid ) : MetadataViewModel
uuid string
Résultat MetadataViewModel

GetMyMetadata() public méthode

public GetMyMetadata ( string organizationName, int offset, int limit ) : MetadataIndexViewModel
organizationName string
offset int
limit int
Résultat MetadataIndexViewModel

MetadataService() public méthode

public MetadataService ( ) : System
Résultat System

MetadataService() public méthode

public MetadataService ( GeoNorgeAPI.GeoNorge geonorge ) : System
geonorge GeoNorgeAPI.GeoNorge
Résultat System

SaveMetadataAsXml() public méthode

public SaveMetadataAsXml ( MetadataViewModel model ) : System.Stream
model MetadataViewModel
Résultat System.Stream

SaveMetadataModel() public méthode

public SaveMetadataModel ( MetadataViewModel model, string username ) : void
model MetadataViewModel
username string
Résultat void

SearchMetadata() public méthode

public SearchMetadata ( string organizationName, string searchString, int offset, int limit ) : MetadataIndexViewModel
organizationName string
searchString string
offset int
limit int
Résultat MetadataIndexViewModel