C# 클래스 Engage.Dnn.Jackrabbit.ContentItemRepository

A repository backed by the DNN content item store
상속: IRepository
파일 보기 프로젝트 열기: EngageSoftware/Engage-Jackrabbit

Private Properties

프로퍼티 타입 설명
FillContentItem void
FillContentItem void
GetLibraryPath string
InitializeContentType DotNetNuke.Entities.Content.ContentType
ParseFileType FileType

공개 메소드들

메소드 설명
AddFile ( int moduleId, JackrabbitFile file ) : void

Adds the file.

AddLibrary ( int moduleId, JackrabbitLibrary library ) : void
ContentItemRepository ( ) : System

Initializes a new instance of the ContentItemRepository class.

DeleteItem ( int fileId ) : void

Deletes the file.

GetFiles ( int moduleId ) : IEnumerable

Gets the files.

GetLibraries ( int moduleId ) : IEnumerable
GetLibraryInfo ( JackrabbitLibrary library ) : JackrabbitLibraryInfo
UndeleteItem ( int fileId ) : void

Undeletes the file.

UpdateFile ( JackrabbitFile file ) : void

Updates the file.

UpdateLibrary ( JackrabbitLibrary library ) : void

비공개 메소드들

메소드 설명
FillContentItem ( JackrabbitFile file, DotNetNuke.Entities.Content.ContentItem contentItem ) : void

Fills the contentItem with the properties from the file.

FillContentItem ( JackrabbitLibrary library, DotNetNuke.Entities.Content.ContentItem contentItem ) : void
GetLibraryPath ( DotNetNuke.Framework.JavaScriptLibraries.JavaScriptLibrary library ) : string
InitializeContentType ( ) : DotNetNuke.Entities.Content.ContentType

Initializes the content type.

ParseFileType ( DotNetNuke.Entities.Content.ContentItem ci ) : FileType

메소드 상세

AddFile() 공개 메소드

Adds the file.
public AddFile ( int moduleId, JackrabbitFile file ) : void
moduleId int The module ID.
file JackrabbitFile The file.
리턴 void

AddLibrary() 공개 메소드

public AddLibrary ( int moduleId, JackrabbitLibrary library ) : void
moduleId int
library JackrabbitLibrary
리턴 void

ContentItemRepository() 공개 메소드

Initializes a new instance of the ContentItemRepository class.
public ContentItemRepository ( ) : System
리턴 System

DeleteItem() 공개 메소드

Deletes the file.
public DeleteItem ( int fileId ) : void
fileId int The file's ID.
리턴 void

GetFiles() 공개 메소드

Gets the files.
public GetFiles ( int moduleId ) : IEnumerable
moduleId int The module ID.
리턴 IEnumerable

GetLibraries() 공개 메소드

public GetLibraries ( int moduleId ) : IEnumerable
moduleId int
리턴 IEnumerable

GetLibraryInfo() 공개 메소드

public GetLibraryInfo ( JackrabbitLibrary library ) : JackrabbitLibraryInfo
library JackrabbitLibrary
리턴 JackrabbitLibraryInfo

UndeleteItem() 공개 메소드

Undeletes the file.
public UndeleteItem ( int fileId ) : void
fileId int The file's ID.
리턴 void

UpdateFile() 공개 메소드

Updates the file.
public UpdateFile ( JackrabbitFile file ) : void
file JackrabbitFile The file.
리턴 void

UpdateLibrary() 공개 메소드

public UpdateLibrary ( JackrabbitLibrary library ) : void
library JackrabbitLibrary
리턴 void