C# 클래스 vwarDAL.FedoraCommonsRepo

상속: IDataRepository
파일 보기 프로젝트 열기: adlnet/3D-Repository

공개 메소드들

메소드 설명
AddMissingTexture ( vwarDAL.ContentObject co, string filename, string type, int UVset ) : bool

AddSupportingFile ( Stream data, vwarDAL.ContentObject co, string filename, string description ) : string

AddTextureReference ( vwarDAL.ContentObject co, string filename, string type, int UVset ) : bool

DeleteContentObject ( vwarDAL.ContentObject co ) : void

Dispose ( ) : void
GetAllContentObjects ( ) : IEnumerable

GetCachedContentObjectTransform ( vwarDAL.ContentObject co, string extension ) : Stream

GetContentFile ( string pid, string file ) : Stream

GetContentFileData ( string pid, string dsid ) : byte[]

GetContentObjectById ( string pid, bool updateViews, bool getReviews = true, int revision = -1 ) : vwarDAL.ContentObject

private Dictionary _Memory = new Dictionary();

GetContentObjectsByArtistName ( string artistName ) : IEnumerable

GetContentObjectsByDescription ( string description ) : IEnumerable

GetContentObjectsByDeveloperName ( string developerName ) : IEnumerable

GetContentObjectsByKeyWords ( string keyword ) : IEnumerable

GetContentObjectsBySponsorName ( string sponsorName ) : IEnumerable

GetContentObjectsBySubmitterEmail ( string email ) : IEnumerable

GetContentObjectsByTitle ( string title ) : IEnumerable

GetNewContentObject ( ) : vwarDAL.ContentObject

GetSupportingFile ( vwarDAL.ContentObject co, string dsid ) : Stream

IncrementDownloads ( string id ) : void

InsertContentObject ( vwarDAL.ContentObject co ) : void

InsertContentRevision ( vwarDAL.ContentObject co ) : void

InsertReview ( int rating, string text, string submitterEmail, string contentObjectId ) : void

RemoveFile ( string pid, string fileName ) : void

RemoveMissingTexture ( vwarDAL.ContentObject co, string filename ) : bool

RemoveSupportingFile ( vwarDAL.ContentObject co, string filename ) : bool

RemoveTextureReference ( vwarDAL.ContentObject co, string filename ) : bool

SearchContentObjects ( string searchTerm ) : IEnumerable

SetContentFile ( Stream data, vwarDAL.ContentObject co, string filename ) : string

SetContentFile ( Stream data, string pid, string filename ) : string

UpdateContentObject ( vwarDAL.ContentObject co ) : void

UpdateFile ( Stream data, string pid, string fileName, string newfileName = null ) : string

UpdateFile ( byte data, string pid, string fileName, string newFileName = null ) : string

비공개 메소드들

메소드 설명
FedoraCommonsRepo ( string url, string userName, string password, string access, string management, string connectionString, string fileNamespace, string identity = "" ) : System

SearchFunction ( vwarDAL.ContentObject co, string searchTerm ) : bool

메소드 상세

AddMissingTexture() 공개 메소드

public AddMissingTexture ( vwarDAL.ContentObject co, string filename, string type, int UVset ) : bool
co vwarDAL.ContentObject
filename string
type string
UVset int
리턴 bool

AddSupportingFile() 공개 메소드

public AddSupportingFile ( Stream data, vwarDAL.ContentObject co, string filename, string description ) : string
data Stream
co vwarDAL.ContentObject
filename string
description string
리턴 string

AddTextureReference() 공개 메소드

public AddTextureReference ( vwarDAL.ContentObject co, string filename, string type, int UVset ) : bool
co vwarDAL.ContentObject
filename string
type string
UVset int
리턴 bool

DeleteContentObject() 공개 메소드

public DeleteContentObject ( vwarDAL.ContentObject co ) : void
co vwarDAL.ContentObject
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetAllContentObjects() 공개 메소드

public GetAllContentObjects ( ) : IEnumerable
리턴 IEnumerable

GetCachedContentObjectTransform() 공개 메소드

public GetCachedContentObjectTransform ( vwarDAL.ContentObject co, string extension ) : Stream
co vwarDAL.ContentObject
extension string
리턴 Stream

GetContentFile() 공개 메소드

public GetContentFile ( string pid, string file ) : Stream
pid string
file string
리턴 Stream

GetContentFileData() 공개 메소드

public GetContentFileData ( string pid, string dsid ) : byte[]
pid string
dsid string
리턴 byte[]

GetContentObjectById() 공개 메소드

private Dictionary _Memory = new Dictionary();
public GetContentObjectById ( string pid, bool updateViews, bool getReviews = true, int revision = -1 ) : vwarDAL.ContentObject
pid string
updateViews bool
getReviews bool
revision int
리턴 vwarDAL.ContentObject

GetContentObjectsByArtistName() 공개 메소드

public GetContentObjectsByArtistName ( string artistName ) : IEnumerable
artistName string
리턴 IEnumerable

GetContentObjectsByDescription() 공개 메소드

public GetContentObjectsByDescription ( string description ) : IEnumerable
description string
리턴 IEnumerable

GetContentObjectsByDeveloperName() 공개 메소드

public GetContentObjectsByDeveloperName ( string developerName ) : IEnumerable
developerName string
리턴 IEnumerable

GetContentObjectsByKeyWords() 공개 메소드

public GetContentObjectsByKeyWords ( string keyword ) : IEnumerable
keyword string
리턴 IEnumerable

GetContentObjectsBySponsorName() 공개 메소드

public GetContentObjectsBySponsorName ( string sponsorName ) : IEnumerable
sponsorName string
리턴 IEnumerable

GetContentObjectsBySubmitterEmail() 공개 메소드

public GetContentObjectsBySubmitterEmail ( string email ) : IEnumerable
email string
리턴 IEnumerable

GetContentObjectsByTitle() 공개 메소드

public GetContentObjectsByTitle ( string title ) : IEnumerable
title string
리턴 IEnumerable

GetNewContentObject() 공개 메소드

public GetNewContentObject ( ) : vwarDAL.ContentObject
리턴 vwarDAL.ContentObject

GetSupportingFile() 공개 메소드

public GetSupportingFile ( vwarDAL.ContentObject co, string dsid ) : Stream
co vwarDAL.ContentObject
dsid string
리턴 Stream

IncrementDownloads() 공개 메소드

public IncrementDownloads ( string id ) : void
id string
리턴 void

InsertContentObject() 공개 메소드

public InsertContentObject ( vwarDAL.ContentObject co ) : void
co vwarDAL.ContentObject
리턴 void

InsertContentRevision() 공개 메소드

public InsertContentRevision ( vwarDAL.ContentObject co ) : void
co vwarDAL.ContentObject
리턴 void

InsertReview() 공개 메소드

public InsertReview ( int rating, string text, string submitterEmail, string contentObjectId ) : void
rating int
text string
submitterEmail string
contentObjectId string
리턴 void

RemoveFile() 공개 메소드

public RemoveFile ( string pid, string fileName ) : void
pid string
fileName string
리턴 void

RemoveMissingTexture() 공개 메소드

public RemoveMissingTexture ( vwarDAL.ContentObject co, string filename ) : bool
co vwarDAL.ContentObject
filename string
리턴 bool

RemoveSupportingFile() 공개 메소드

public RemoveSupportingFile ( vwarDAL.ContentObject co, string filename ) : bool
co vwarDAL.ContentObject
filename string
리턴 bool

RemoveTextureReference() 공개 메소드

public RemoveTextureReference ( vwarDAL.ContentObject co, string filename ) : bool
co vwarDAL.ContentObject
filename string
리턴 bool

SearchContentObjects() 공개 메소드

public SearchContentObjects ( string searchTerm ) : IEnumerable
searchTerm string
리턴 IEnumerable

SetContentFile() 공개 메소드

public SetContentFile ( Stream data, vwarDAL.ContentObject co, string filename ) : string
data Stream
co vwarDAL.ContentObject
filename string
리턴 string

SetContentFile() 공개 메소드

public SetContentFile ( Stream data, string pid, string filename ) : string
data Stream
pid string
filename string
리턴 string

UpdateContentObject() 공개 메소드

public UpdateContentObject ( vwarDAL.ContentObject co ) : void
co vwarDAL.ContentObject
리턴 void

UpdateFile() 공개 메소드

public UpdateFile ( Stream data, string pid, string fileName, string newfileName = null ) : string
data Stream
pid string
fileName string
newfileName string
리턴 string

UpdateFile() 공개 메소드

public UpdateFile ( byte data, string pid, string fileName, string newFileName = null ) : string
data byte
pid string
fileName string
newFileName string
리턴 string