C# Класс Omb.Domain.DKCoinMgr

Наследование: Omb.ObjectMgr
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
webservice dkCOIN.dkcoin

Private Properties

Свойство Тип Описание

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

Метод Описание
DeleteResource ( string internal_id, string collection_name ) : void

Deletes a Resources

DeleteResource ( string source_id, string internal_id, string collection_name ) : void

Deletes a Resources

EmailErrorNotification ( string msg, string info ) : void

Quietly sends an email error report to [email protected] with additional information

EndSession ( ) : string

Ends Current Session

GetAcronym ( ) : string

Gets the Consortium's Acronym

GetDKResourceTypes ( ) : DKCoinResourceTypeList

Get ResourceTypes to be displayed

GetDomain ( ) : string

Get's the URL

GetEntities ( string keywords ) : DKCoinResourceList
GetGeneIDsFromStrain ( ID StrainID ) : string[]

returns a string array of gene_ids associated with a strain (transgenes, gene genotypes, genomic segments)

GetResourceTypes ( ) : DKCoinResourceTypeList

Get ResourceTypes

GetResourceTypesAsStringList ( ) : StringList

Get ResourceTypes

GetResources ( DKCoinSearch Search ) : DKCoinResourceList

Gets dkCOIN resources

GetResources ( dkCOIN parameters ) : DKCoinResourceList

Gets dkCOIN resources

GetResources ( string gene_ids ) : DKCoinResourceList

Gets dkCOIN resources

GetResources ( string resourceType, string resourceName, bool ignoreResourceType ) : DKCoinResourceList

Gets dkCOIN resources

GetSourceID ( ) : string

Returns the Source ID associated with the current consortium

GetSources ( ) : DKCoinSourceList

Gets dkCOIN Sources

GetSources ( bool ExcludeConsortium ) : DKCoinSourceList

Get Sources

GetUrl ( string ResourceType ) : string

Returned formatted Url for Specified Resource Type

ReadEntities ( dkCOIN entities ) : DKCoinResourceList

Reads dkCOIN resources into a DKCoinResourceList object

ReadResources ( dkCOIN resources ) : DKCoinResourceList

Reads dk COIN resources into a DKCoinResourceList object

ReadSources ( dkCOIN sources ) : DKCoinSourceList

Reads dk COIN sources into a DKCoinSourceList object

ResourceExists ( string resource_name ) : bool

Check if the resource is in the dkCOIN database

StartSession ( ) : string

Creates new Session for webservices

UpdateAll ( ) : void

Updates All Consortial Protocols, Strains and Histology Images

UpdateCollection ( string source_id, string name, string displayname, string urltemplate ) : string

Updates a Collection

UpdateDKCoinResourceType ( ID dkResourceTypeID, bool DisplayResource, SecurityContext sc ) : void

Updates dk COIN Resource Type displayed by default (Admins only)

UpdateHistology ( ) : void

Updates All Histology Images

UpdateHistology ( HistologyImage image ) : void

Update Single Histology Image

UpdateHistology ( HistologyImageList images ) : void

Updates Histology Images

UpdateProtocol ( Protocol protocol ) : void

Updates a single protocol

UpdateProtocols ( ) : void

Updates All Protocols

UpdateProtocols ( ProtocolList protocols ) : void

Updates Protocols

UpdatePublication ( Publication publication ) : void

Updates a single publication

UpdatePublications ( ) : void

Updates All Publications

UpdatePublications ( PublicationList publications ) : void

Updates Publications

UpdateResource ( DKCoinResource resource ) : string

Updates a Resource

UpdateResource ( string source_id, string name, string internal_id, string description, string internal_url, string resourceType, string collection_name, System.DateTime date_created ) : string

Update a Resource

UpdateResource ( string source_id, string name, string internal_id, string description, string internal_url, string resourceType, string collection_name, System.DateTime date_created, string ontologies ) : string

Update a Resource

UpdateResource ( string source_id, string name, string internal_id, string description, string internal_url, string resourceType, string collection_name, System.DateTime date_created, string gene_ids, string ontologies, string pubmedid ) : string

Update a Resource

UpdateStrain ( Strain strain ) : string

Updates a single strain

UpdateStrain ( Strain strain, string pubmedid ) : string

Updates Single Strain with an associated pubmedid

UpdateStrains ( ) : StringList

Updates All Strains

UpdateStrains ( StrainList strains ) : StringList

Updates Strains

Защищенные методы

Метод Описание
DKCoinMgr ( ) : System.Text.RegularExpressions

forces use of object factory

GetDatabase ( ) : Database

Returns the enum for Admin Database

ObjectToResource ( string source_id, string name, string internal_id, string description, string internal_url, string resourceType, string collection_name, System.DateTime date_created, string gene_ids, string ontologies, string pubmedid ) : DKCoinResource

Creates a DKCoinResource Object from supplied parameters

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

DKCoinMgr() защищенный Метод

forces use of object factory
protected DKCoinMgr ( ) : System.Text.RegularExpressions
Результат System.Text.RegularExpressions

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

Deletes a Resources
public DeleteResource ( string internal_id, string collection_name ) : void
internal_id string string object (Internal Resource ID)
collection_name string string object (Collection Name)
Результат void

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

Deletes a Resources
public DeleteResource ( string source_id, string internal_id, string collection_name ) : void
source_id string string object (Source ID)
internal_id string string object (Internal Resource ID)
collection_name string string object (Collection Name)
Результат void

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

Quietly sends an email error report to [email protected] with additional information
public EmailErrorNotification ( string msg, string info ) : void
msg string
info string
Результат void

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

Ends Current Session
public EndSession ( ) : string
Результат string

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

Gets the Consortium's Acronym
public GetAcronym ( ) : string
Результат string

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

Get ResourceTypes to be displayed
public GetDKResourceTypes ( ) : DKCoinResourceTypeList
Результат DKCoinResourceTypeList

GetDatabase() защищенный Метод

Returns the enum for Admin Database
protected GetDatabase ( ) : Database
Результат Database

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

Get's the URL
public GetDomain ( ) : string
Результат string

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

public GetEntities ( string keywords ) : DKCoinResourceList
keywords string
Результат DKCoinResourceList

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

returns a string array of gene_ids associated with a strain (transgenes, gene genotypes, genomic segments)
public GetGeneIDsFromStrain ( ID StrainID ) : string[]
StrainID ID ID Object
Результат string[]

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

Get ResourceTypes
public GetResourceTypes ( ) : DKCoinResourceTypeList
Результат DKCoinResourceTypeList

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

Get ResourceTypes
public GetResourceTypesAsStringList ( ) : StringList
Результат StringList

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

Gets dkCOIN resources
public GetResources ( DKCoinSearch Search ) : DKCoinResourceList
Search DKCoinSearch DKCoinSearch Object
Результат DKCoinResourceList

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

Gets dkCOIN resources
public GetResources ( dkCOIN parameters ) : DKCoinResourceList
parameters dkCOIN typeSearchParams object
Результат DKCoinResourceList

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

Gets dkCOIN resources
public GetResources ( string gene_ids ) : DKCoinResourceList
gene_ids string string object
Результат DKCoinResourceList

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

Gets dkCOIN resources
public GetResources ( string resourceType, string resourceName, bool ignoreResourceType ) : DKCoinResourceList
resourceType string resourceType object
resourceName string string object
ignoreResourceType bool bool object
Результат DKCoinResourceList

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

Returns the Source ID associated with the current consortium
public GetSourceID ( ) : string
Результат string

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

Gets dkCOIN Sources
public GetSources ( ) : DKCoinSourceList
Результат DKCoinSourceList

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

Get Sources
public GetSources ( bool ExcludeConsortium ) : DKCoinSourceList
ExcludeConsortium bool
Результат DKCoinSourceList

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

Returned formatted Url for Specified Resource Type
public GetUrl ( string ResourceType ) : string
ResourceType string string object
Результат string

ObjectToResource() защищенный Метод

Creates a DKCoinResource Object from supplied parameters
protected ObjectToResource ( string source_id, string name, string internal_id, string description, string internal_url, string resourceType, string collection_name, System.DateTime date_created, string gene_ids, string ontologies, string pubmedid ) : DKCoinResource
source_id string string object
name string string object
internal_id string string object
description string string object
internal_url string string object
resourceType string string object
collection_name string string object
date_created System.DateTime DateTime object
gene_ids string string array
ontologies string string array
pubmedid string string object
Результат DKCoinResource

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

Reads dkCOIN resources into a DKCoinResourceList object
public ReadEntities ( dkCOIN entities ) : DKCoinResourceList
entities dkCOIN typeSearchResultEntity[] object
Результат DKCoinResourceList

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

Reads dk COIN resources into a DKCoinResourceList object
public ReadResources ( dkCOIN resources ) : DKCoinResourceList
resources dkCOIN typeSearchResource[] object
Результат DKCoinResourceList

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

Reads dk COIN sources into a DKCoinSourceList object
public ReadSources ( dkCOIN sources ) : DKCoinSourceList
sources dkCOIN
Результат DKCoinSourceList

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

Check if the resource is in the dkCOIN database
public ResourceExists ( string resource_name ) : bool
resource_name string string object
Результат bool

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

Creates new Session for webservices
public StartSession ( ) : string
Результат string

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

Updates All Consortial Protocols, Strains and Histology Images
public UpdateAll ( ) : void
Результат void

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

Updates a Collection
public UpdateCollection ( string source_id, string name, string displayname, string urltemplate ) : string
source_id string string object
name string string object
displayname string string object
urltemplate string string object
Результат string

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

Updates dk COIN Resource Type displayed by default (Admins only)
public UpdateDKCoinResourceType ( ID dkResourceTypeID, bool DisplayResource, SecurityContext sc ) : void
dkResourceTypeID ID ID object
DisplayResource bool bool object
sc SecurityContext Security Context object
Результат void

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

Updates All Histology Images
public UpdateHistology ( ) : void
Результат void

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

Update Single Histology Image
public UpdateHistology ( HistologyImage image ) : void
image HistologyImage HistologyImage Object
Результат void

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

Updates Histology Images
public UpdateHistology ( HistologyImageList images ) : void
images HistologyImageList HistologyImageList object
Результат void

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

Updates a single protocol
public UpdateProtocol ( Protocol protocol ) : void
protocol Protocol Protocol Object
Результат void

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

Updates All Protocols
public UpdateProtocols ( ) : void
Результат void

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

Updates Protocols
public UpdateProtocols ( ProtocolList protocols ) : void
protocols ProtocolList ProtocolList object
Результат void

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

Updates a single publication
public UpdatePublication ( Publication publication ) : void
publication Publication Publication Object
Результат void

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

Updates All Publications
public UpdatePublications ( ) : void
Результат void

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

Updates Publications
public UpdatePublications ( PublicationList publications ) : void
publications PublicationList PublicationList object
Результат void

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

Updates a Resource
public UpdateResource ( DKCoinResource resource ) : string
resource DKCoinResource DKCoinResource Object
Результат string

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

Update a Resource
public UpdateResource ( string source_id, string name, string internal_id, string description, string internal_url, string resourceType, string collection_name, System.DateTime date_created ) : string
source_id string string object
name string string object
internal_id string string object
description string string object
internal_url string string object
resourceType string resourceType object
collection_name string string object
date_created System.DateTime DateTime object
Результат string

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

Update a Resource
public UpdateResource ( string source_id, string name, string internal_id, string description, string internal_url, string resourceType, string collection_name, System.DateTime date_created, string ontologies ) : string
source_id string string object
name string string object
internal_id string string object
description string string object
internal_url string string object
resourceType string resourceType object
collection_name string string object
date_created System.DateTime DateTime object
ontologies string string array
Результат string

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

Update a Resource
public UpdateResource ( string source_id, string name, string internal_id, string description, string internal_url, string resourceType, string collection_name, System.DateTime date_created, string gene_ids, string ontologies, string pubmedid ) : string
source_id string string object
name string
internal_id string string object
description string string object
internal_url string string object
resourceType string resourceType object
collection_name string string object
date_created System.DateTime DateTime object
gene_ids string string[] object
ontologies string string[] object
pubmedid string string object
Результат string

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

Updates a single strain
public UpdateStrain ( Strain strain ) : string
strain Strain
Результат string

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

Updates Single Strain with an associated pubmedid
public UpdateStrain ( Strain strain, string pubmedid ) : string
strain Strain
pubmedid string
Результат string

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

Updates All Strains
public UpdateStrains ( ) : StringList
Результат StringList

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

Updates Strains
public UpdateStrains ( StrainList strains ) : StringList
strains StrainList StrainList Object
Результат StringList

Описание свойств

webservice публичное свойство

dkCOIN web service
public dkCOIN.dkcoin webservice
Результат dkCOIN.dkcoin