C# Class Profiles.Edit.Utilities.DataIO

Inheritance: Framework.Utilities.DataIO
Afficher le fichier Open project: ProfilesRNS/ProfilesRNS Class Usage Examples

Méthodes publiques

Méthode Description
AddAward ( System.Int64 subjectid, string label, string institution, string startdate, string enddate, XmlDocument PropertyListXML ) : bool
AddCustomPublication ( Hashtable parameters, int personid, long subjectID, XmlDocument PropertyListXML ) : void
AddEducationalTraining ( System.Int64 subjectid, string institution, string location, string degree, string enddate, string fieldOfStudy, XmlDocument PropertyListXML ) : bool
AddExistingEntity ( System.Int64 subjectid, System.Int64 predicateid, System.Int64 objectid ) : bool
AddLiteral ( System.Int64 subjectid, System.Int64 predicateid, System.Int64 objectid, XmlDocument PropertyListXML ) : bool
AddNewEntity ( string label, string classuri ) : System.Int64
AddPublication ( int personID, long subjectID, int pmid, XmlDocument PropertyListXML ) : void
AddPublication ( string mpid, string pubmedxml ) : void
AddUpdateFunding ( FundingState fs ) : void
CheckPublicationExists ( string mpid ) : bool
DeleteFunding ( System.Guid FundingRoleID, long subjectID ) : void
DeleteOnePublication ( int personid, long subjectID, string pubid, XmlDocument PropertyListXML ) : void
DeletePublications ( int personid, long subjectid, bool deletePMID, bool deleteMPID ) : void
DeleteTriple ( System.Int64 subjectid, System.Int64 predicateid, System.Int64 objectid ) : bool
EditCustomPublication ( Hashtable parameters, long subjectID, XmlDocument PropertyListXML ) : void
FundingUpdateOnePerson ( FundingState fs ) : void
GetCustomPub ( string mpid ) : System.Data.SqlClient.SqlDataReader
GetFunding ( int PersonID ) : List
GetFundingItem ( System.Guid FundingRoleID ) : FundingState
GetPersonID ( System.Int64 nodeid ) : int
GetPubs ( int personid ) : List
GetStoreNode ( string value ) : System.Int64
GetURIRelLink ( string URL, string &passeduri ) : XmlDocument
MoveTripleDown ( System.Int64 subjectid, System.Int64 predicateid, System.Int64 objectid ) : bool
MoveTripleUp ( System.Int64 subjectid, System.Int64 predicateid, System.Int64 objectid ) : bool
ResizeImageFile ( byte imageFile, int targetSize ) : byte[]
ResizeImageFile ( byte imageFile, int targetWidth, int targetHeight ) : byte[]
SaveImage ( long subjectID, byte image, XmlDocument PropertyListXML ) : bool
UpdateAward ( string subjecturi, string label, string institution, string startdate, string enddate, XmlDocument PropertyListXML ) : bool
UpdateEducationalTraining ( string existingTrainingURI, long subjectID, string institution, string location, string degree, string enddate, string fieldOfStudy ) : bool
UpdateEntityOnePerson ( int personid ) : void
UpdateLiteral ( Int64 subjectid, Int64 predicateid, Int64 oldobjectid, Int64 newobjectid, XmlDocument PropertyListXML ) : bool
UpdateSecuritySetting ( Int64 subjectid, Int64 predicateid, int securitygroup ) : bool
getAutoCompleteSuggestions ( string text ) : string

Méthodes protégées

Méthode Description
ActivityLog ( XmlDocument PropertyListXML, long subjectID ) : void
ActivityLog ( XmlDocument PropertyListXML, long subjectID, string param1, string param2 ) : void

Private Methods

Méthode Description
GetNodeId ( StoreNodeRequest snr ) : System.Int64
GetStoreTriple ( StoreTripleRequest str ) : bool
StoreAwardReceipt ( StoreAwardReceiptRequest sarr ) : bool
StoreEducationalTrainingReceipt ( EducationalTrainingRequest eatr ) : bool

Method Details

ActivityLog() protected méthode

protected ActivityLog ( XmlDocument PropertyListXML, long subjectID ) : void
PropertyListXML System.Xml.XmlDocument
subjectID long
Résultat void

ActivityLog() protected méthode

protected ActivityLog ( XmlDocument PropertyListXML, long subjectID, string param1, string param2 ) : void
PropertyListXML System.Xml.XmlDocument
subjectID long
param1 string
param2 string
Résultat void

AddAward() public méthode

public AddAward ( System.Int64 subjectid, string label, string institution, string startdate, string enddate, XmlDocument PropertyListXML ) : bool
subjectid System.Int64
label string
institution string
startdate string
enddate string
PropertyListXML System.Xml.XmlDocument
Résultat bool

AddCustomPublication() public méthode

public AddCustomPublication ( Hashtable parameters, int personid, long subjectID, XmlDocument PropertyListXML ) : void
parameters System.Collections.Hashtable
personid int
subjectID long
PropertyListXML System.Xml.XmlDocument
Résultat void

AddEducationalTraining() public méthode

public AddEducationalTraining ( System.Int64 subjectid, string institution, string location, string degree, string enddate, string fieldOfStudy, XmlDocument PropertyListXML ) : bool
subjectid System.Int64
institution string
location string
degree string
enddate string
fieldOfStudy string
PropertyListXML System.Xml.XmlDocument
Résultat bool

AddExistingEntity() public méthode

public AddExistingEntity ( System.Int64 subjectid, System.Int64 predicateid, System.Int64 objectid ) : bool
subjectid System.Int64
predicateid System.Int64
objectid System.Int64
Résultat bool

AddLiteral() public méthode

public AddLiteral ( System.Int64 subjectid, System.Int64 predicateid, System.Int64 objectid, XmlDocument PropertyListXML ) : bool
subjectid System.Int64
predicateid System.Int64
objectid System.Int64
PropertyListXML System.Xml.XmlDocument
Résultat bool

AddNewEntity() public méthode

public AddNewEntity ( string label, string classuri ) : System.Int64
label string
classuri string
Résultat System.Int64

AddPublication() public méthode

public AddPublication ( int personID, long subjectID, int pmid, XmlDocument PropertyListXML ) : void
personID int
subjectID long
pmid int
PropertyListXML System.Xml.XmlDocument
Résultat void

AddPublication() public méthode

public AddPublication ( string mpid, string pubmedxml ) : void
mpid string
pubmedxml string
Résultat void

AddUpdateFunding() public méthode

public AddUpdateFunding ( FundingState fs ) : void
fs FundingState
Résultat void

CheckPublicationExists() public méthode

public CheckPublicationExists ( string mpid ) : bool
mpid string
Résultat bool

DeleteFunding() public méthode

public DeleteFunding ( System.Guid FundingRoleID, long subjectID ) : void
FundingRoleID System.Guid
subjectID long
Résultat void

DeleteOnePublication() public méthode

public DeleteOnePublication ( int personid, long subjectID, string pubid, XmlDocument PropertyListXML ) : void
personid int
subjectID long
pubid string
PropertyListXML System.Xml.XmlDocument
Résultat void

DeletePublications() public méthode

public DeletePublications ( int personid, long subjectid, bool deletePMID, bool deleteMPID ) : void
personid int
subjectid long
deletePMID bool
deleteMPID bool
Résultat void

DeleteTriple() public méthode

public DeleteTriple ( System.Int64 subjectid, System.Int64 predicateid, System.Int64 objectid ) : bool
subjectid System.Int64
predicateid System.Int64
objectid System.Int64
Résultat bool

EditCustomPublication() public méthode

public EditCustomPublication ( Hashtable parameters, long subjectID, XmlDocument PropertyListXML ) : void
parameters System.Collections.Hashtable
subjectID long
PropertyListXML System.Xml.XmlDocument
Résultat void

FundingUpdateOnePerson() public méthode

public FundingUpdateOnePerson ( FundingState fs ) : void
fs FundingState
Résultat void

GetCustomPub() public méthode

public GetCustomPub ( string mpid ) : System.Data.SqlClient.SqlDataReader
mpid string
Résultat System.Data.SqlClient.SqlDataReader

GetFunding() public méthode

public GetFunding ( int PersonID ) : List
PersonID int
Résultat List

GetFundingItem() public méthode

public GetFundingItem ( System.Guid FundingRoleID ) : FundingState
FundingRoleID System.Guid
Résultat FundingState

GetPersonID() public méthode

public GetPersonID ( System.Int64 nodeid ) : int
nodeid System.Int64
Résultat int

GetPubs() public méthode

public GetPubs ( int personid ) : List
personid int
Résultat List

GetStoreNode() public méthode

public GetStoreNode ( string value ) : System.Int64
value string
Résultat System.Int64

GetURIRelLink() public méthode

public GetURIRelLink ( string URL, string &passeduri ) : XmlDocument
URL string
passeduri string
Résultat System.Xml.XmlDocument

MoveTripleDown() public méthode

public MoveTripleDown ( System.Int64 subjectid, System.Int64 predicateid, System.Int64 objectid ) : bool
subjectid System.Int64
predicateid System.Int64
objectid System.Int64
Résultat bool

MoveTripleUp() public méthode

public MoveTripleUp ( System.Int64 subjectid, System.Int64 predicateid, System.Int64 objectid ) : bool
subjectid System.Int64
predicateid System.Int64
objectid System.Int64
Résultat bool

ResizeImageFile() public méthode

public ResizeImageFile ( byte imageFile, int targetSize ) : byte[]
imageFile byte
targetSize int
Résultat byte[]

ResizeImageFile() public méthode

public ResizeImageFile ( byte imageFile, int targetWidth, int targetHeight ) : byte[]
imageFile byte
targetWidth int
targetHeight int
Résultat byte[]

SaveImage() public méthode

public SaveImage ( long subjectID, byte image, XmlDocument PropertyListXML ) : bool
subjectID long
image byte
PropertyListXML System.Xml.XmlDocument
Résultat bool

UpdateAward() public méthode

public UpdateAward ( string subjecturi, string label, string institution, string startdate, string enddate, XmlDocument PropertyListXML ) : bool
subjecturi string
label string
institution string
startdate string
enddate string
PropertyListXML XmlDocument
Résultat bool

UpdateEducationalTraining() public méthode

public UpdateEducationalTraining ( string existingTrainingURI, long subjectID, string institution, string location, string degree, string enddate, string fieldOfStudy ) : bool
existingTrainingURI string
subjectID long
institution string
location string
degree string
enddate string
fieldOfStudy string
Résultat bool

UpdateEntityOnePerson() public méthode

public UpdateEntityOnePerson ( int personid ) : void
personid int
Résultat void

UpdateLiteral() public méthode

public UpdateLiteral ( Int64 subjectid, Int64 predicateid, Int64 oldobjectid, Int64 newobjectid, XmlDocument PropertyListXML ) : bool
subjectid Int64
predicateid Int64
oldobjectid Int64
newobjectid Int64
PropertyListXML XmlDocument
Résultat bool

UpdateSecuritySetting() public méthode

public UpdateSecuritySetting ( Int64 subjectid, Int64 predicateid, int securitygroup ) : bool
subjectid Int64
predicateid Int64
securitygroup int
Résultat bool

getAutoCompleteSuggestions() public méthode

public getAutoCompleteSuggestions ( string text ) : string
text string
Résultat string