C# 클래스 Omb.Domain.DKCoinMgr

상속: Omb.ObjectMgr
파일 보기 프로젝트 열기: dkcoin/dkCOIN-1.2

공개 프로퍼티들

프로퍼티 타입 설명
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