C# 클래스 Carrotware.CMS.Core.ContentPageHelper

상속: IDisposable
파일 보기 프로젝트 열기: ninianne98/CarrotCakeCMS-MVC 1 사용 예제들

공개 메소드들

메소드 설명
BulkBlogFileNameUpdateFromDate ( System.Guid siteID ) : void
BulkUpdateTemplate ( System.Guid siteID, List lstUpd, string sTemplateFile ) : void
ContentPageHelper ( ) : System
CreateBlogDatePrefix ( System.Guid siteID, System.DateTime goLiveDate ) : string
CreateFileNameFromSlug ( System.Guid siteID, System.DateTime goLiveDate, string PageSlug ) : string
Dispose ( ) : void
ExistingPagesBeginWith ( System.Guid siteID, string sFolderPath ) : bool
ExistingPagesBeginWith ( SiteData site ) : bool
FindByFilename ( System.Guid siteID, string urlFileName ) : ContentPage
FindByPageSlug ( System.Guid siteID, System.DateTime datePublished, string urlPageSlug ) : ContentPage
FindContentByID ( System.Guid siteID, System.Guid rootContentID ) : ContentPage
FindHome ( System.Guid siteID ) : ContentPage
FindHome ( System.Guid siteID, bool bActiveOnly ) : ContentPage
FindPageByTitleAndDate ( System.Guid siteID, string sTitle, string sFileNameFrag, System.DateTime dateCreate ) : List
FindPagesBeginingWith ( System.Guid siteID, string sFolderPath ) : List
FixBlogNavOrder ( System.Guid siteID ) : void
GetAllLatestBlogList ( System.Guid siteID ) : List
GetAllLatestContentList ( System.Guid siteID ) : List
GetBlogHeadingFromURL ( SiteData currentSite, string sFilterPath ) : Carrotware.CMS.Core.PageViewType
GetChildNavigation ( System.Guid siteID, System.Guid ParentID, bool bActiveOnly ) : List
GetChildNavigation ( System.Guid siteID, string sParentPage, bool bActiveOnly ) : List
GetContentByDateRange ( System.Guid siteID, System.DateTime dateMidpoint, int iDayRange, ContentPageType pageType, bool bActive, bool bSiteMap, bool bSiteNav, bool bBlock ) : List
GetCurrentEditUser ( System.Guid rootContentID, System.Guid siteID ) : System.Guid
GetEmptyHome ( ) : ContentPage
GetFilteredContentPagedCount ( SiteData currentSite, string sFilterPath, bool bActiveOnly ) : int
GetFilteredContentPagedList ( SiteData currentSite, string sFilterPath, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir ) : List
GetLatest ( System.Guid siteID, int iUpdates, bool bActiveOnly ) : List
GetLatestBlogPagedList ( System.Guid siteID, bool bActiveOnly, int pageNumber ) : List
GetLatestBlogPagedList ( System.Guid siteID, bool bActiveOnly, int pageSize, int pageNumber ) : List
GetLatestBlogPagedList ( System.Guid siteID, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir ) : List
GetLatestBlogPagedList ( System.Guid siteID, bool bActiveOnly, int pageNumber, string sortField, string sortDir ) : List
GetLatestContentByURL ( System.Guid siteID, bool bActiveOnly, string sPage ) : ContentPage
GetLatestContentList ( System.Guid siteID, bool bActiveOnly ) : List
GetLatestContentPagedList ( System.Guid siteID, ContentPageType postType, bool bActiveOnly, int pageNumber ) : List
GetLatestContentPagedList ( System.Guid siteID, ContentPageType postType, bool bActiveOnly, int pageSize, int pageNumber ) : List
GetLatestContentPagedList ( System.Guid siteID, ContentPageType postType, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir ) : List
GetLatestContentPagedList ( System.Guid siteID, ContentPageType postType, bool bActiveOnly, int pageNumber, string sortField, string sortDir ) : List
GetLatestPosts ( System.Guid siteID, int iUpdates, bool bActiveOnly ) : List
GetMaxNavOrder ( System.Guid siteID ) : int
GetPageHierarchy ( System.Guid siteID, System.Guid rootContentID ) : List
GetPagedSortedContent ( System.Guid siteID, ContentPageType entryType, bool bActiveOnly, int pageSize, int pageNumber, string sSortParm ) : List
GetParentWithChildNavigation ( System.Guid siteID, System.Guid ParentID, bool bActiveOnly ) : List
GetPopularTemplateList ( System.Guid siteID, ContentPageType pageType ) : float>.Dictionary
GetPostsByDateRange ( System.Guid siteID, System.DateTime dateMidpoint, int iDayRange, bool bActiveOnly ) : List
GetSamplerView ( ) : ContentPage
GetSiteContentCount ( System.Guid siteID ) : int
GetSitePageCount ( System.Guid siteID, ContentPageType entryType ) : int
GetSitePageCount ( System.Guid siteID, ContentPageType entryType, bool bActiveOnly ) : int
GetSiteSnippetCount ( System.Guid siteID ) : int
GetTopNavigation ( System.Guid siteID, bool bActiveOnly ) : List
GetVersion ( System.Guid siteID, System.Guid contentID ) : ContentPage
GetVersionHistory ( System.Guid siteID, System.Guid rootContentID ) : List
IsPageLocked ( ContentPage cp ) : bool
IsPageLocked ( System.Guid rootContentID, System.Guid siteID ) : bool
IsPageLocked ( System.Guid rootContentID, System.Guid siteID, System.Guid currentUserID ) : bool
MarkSelectedPublished ( System.Guid siteID, List lstUpd, UpdateField selField ) : void
PerformDataPagingQueryableContent ( System.Guid siteID, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir, IQueryable QueryInput ) : List
RecordHeartbeatLock ( System.Guid rootContentID, System.Guid siteID, System.Guid currentUserID ) : bool
RecordPageLock ( System.Guid rootContentID, System.Guid siteID, System.Guid currentUserID ) : bool
RemoveContent ( System.Guid siteID, System.Guid rootContentID ) : void
RemoveVersions ( System.Guid siteID, List lstDel ) : void
ResetHeartbeatLock ( System.Guid rootContentID, System.Guid siteID, System.Guid currentUserID ) : void
ResolveDuplicateBlogURLs ( System.Guid siteID ) : void
ScrubFilename ( System.Guid rootContentID, string fileName ) : string
ScrubFilename ( string fileName ) : string
ScrubPath ( string filePath ) : string
ScrubSlug ( string slugValue ) : string
UpdateAllBlogTemplates ( System.Guid siteID, string sTemplateFile ) : void
UpdateAllContentTemplates ( System.Guid siteID, string sTemplateFile ) : void
UpdateAllPageTemplates ( System.Guid siteID, string sTemplateFile ) : void
UpdateSubPageTemplates ( System.Guid siteID, string sTemplateFile ) : void
UpdateTopPageTemplates ( System.Guid siteID, string sTemplateFile ) : void

비공개 메소드들

메소드 설명
GetPagesBeginingWith ( System.Guid siteID, string sFolderPath ) : IQueryable
GetPagesEquals ( System.Guid siteID, string sFolderPath ) : IQueryable
ScrubFilePath ( string filePath ) : string
ScrubSpecial ( string sInput ) : string

메소드 상세

BulkBlogFileNameUpdateFromDate() 공개 메소드

public BulkBlogFileNameUpdateFromDate ( System.Guid siteID ) : void
siteID System.Guid
리턴 void

BulkUpdateTemplate() 공개 메소드

public BulkUpdateTemplate ( System.Guid siteID, List lstUpd, string sTemplateFile ) : void
siteID System.Guid
lstUpd List
sTemplateFile string
리턴 void

ContentPageHelper() 공개 메소드

public ContentPageHelper ( ) : System
리턴 System

CreateBlogDatePrefix() 공개 정적인 메소드

public static CreateBlogDatePrefix ( System.Guid siteID, System.DateTime goLiveDate ) : string
siteID System.Guid
goLiveDate System.DateTime
리턴 string

CreateFileNameFromSlug() 공개 정적인 메소드

public static CreateFileNameFromSlug ( System.Guid siteID, System.DateTime goLiveDate, string PageSlug ) : string
siteID System.Guid
goLiveDate System.DateTime
PageSlug string
리턴 string

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

ExistingPagesBeginWith() 공개 메소드

public ExistingPagesBeginWith ( System.Guid siteID, string sFolderPath ) : bool
siteID System.Guid
sFolderPath string
리턴 bool

ExistingPagesBeginWith() 공개 메소드

public ExistingPagesBeginWith ( SiteData site ) : bool
site SiteData
리턴 bool

FindByFilename() 공개 메소드

public FindByFilename ( System.Guid siteID, string urlFileName ) : ContentPage
siteID System.Guid
urlFileName string
리턴 ContentPage

FindByPageSlug() 공개 메소드

public FindByPageSlug ( System.Guid siteID, System.DateTime datePublished, string urlPageSlug ) : ContentPage
siteID System.Guid
datePublished System.DateTime
urlPageSlug string
리턴 ContentPage

FindContentByID() 공개 메소드

public FindContentByID ( System.Guid siteID, System.Guid rootContentID ) : ContentPage
siteID System.Guid
rootContentID System.Guid
리턴 ContentPage

FindHome() 공개 메소드

public FindHome ( System.Guid siteID ) : ContentPage
siteID System.Guid
리턴 ContentPage

FindHome() 공개 메소드

public FindHome ( System.Guid siteID, bool bActiveOnly ) : ContentPage
siteID System.Guid
bActiveOnly bool
리턴 ContentPage

FindPageByTitleAndDate() 공개 메소드

public FindPageByTitleAndDate ( System.Guid siteID, string sTitle, string sFileNameFrag, System.DateTime dateCreate ) : List
siteID System.Guid
sTitle string
sFileNameFrag string
dateCreate System.DateTime
리턴 List

FindPagesBeginingWith() 공개 메소드

public FindPagesBeginingWith ( System.Guid siteID, string sFolderPath ) : List
siteID System.Guid
sFolderPath string
리턴 List

FixBlogNavOrder() 공개 메소드

public FixBlogNavOrder ( System.Guid siteID ) : void
siteID System.Guid
리턴 void

GetAllLatestBlogList() 공개 메소드

public GetAllLatestBlogList ( System.Guid siteID ) : List
siteID System.Guid
리턴 List

GetAllLatestContentList() 공개 메소드

public GetAllLatestContentList ( System.Guid siteID ) : List
siteID System.Guid
리턴 List

GetBlogHeadingFromURL() 공개 메소드

public GetBlogHeadingFromURL ( SiteData currentSite, string sFilterPath ) : Carrotware.CMS.Core.PageViewType
currentSite SiteData
sFilterPath string
리턴 Carrotware.CMS.Core.PageViewType

GetChildNavigation() 공개 메소드

public GetChildNavigation ( System.Guid siteID, System.Guid ParentID, bool bActiveOnly ) : List
siteID System.Guid
ParentID System.Guid
bActiveOnly bool
리턴 List

GetChildNavigation() 공개 메소드

public GetChildNavigation ( System.Guid siteID, string sParentPage, bool bActiveOnly ) : List
siteID System.Guid
sParentPage string
bActiveOnly bool
리턴 List

GetContentByDateRange() 공개 메소드

public GetContentByDateRange ( System.Guid siteID, System.DateTime dateMidpoint, int iDayRange, ContentPageType pageType, bool bActive, bool bSiteMap, bool bSiteNav, bool bBlock ) : List
siteID System.Guid
dateMidpoint System.DateTime
iDayRange int
pageType ContentPageType
bActive bool
bSiteMap bool
bSiteNav bool
bBlock bool
리턴 List

GetCurrentEditUser() 공개 메소드

public GetCurrentEditUser ( System.Guid rootContentID, System.Guid siteID ) : System.Guid
rootContentID System.Guid
siteID System.Guid
리턴 System.Guid

GetEmptyHome() 공개 정적인 메소드

public static GetEmptyHome ( ) : ContentPage
리턴 ContentPage

GetFilteredContentPagedCount() 공개 메소드

public GetFilteredContentPagedCount ( SiteData currentSite, string sFilterPath, bool bActiveOnly ) : int
currentSite SiteData
sFilterPath string
bActiveOnly bool
리턴 int

GetFilteredContentPagedList() 공개 메소드

public GetFilteredContentPagedList ( SiteData currentSite, string sFilterPath, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir ) : List
currentSite SiteData
sFilterPath string
bActiveOnly bool
pageSize int
pageNumber int
sortField string
sortDir string
리턴 List

GetLatest() 공개 메소드

public GetLatest ( System.Guid siteID, int iUpdates, bool bActiveOnly ) : List
siteID System.Guid
iUpdates int
bActiveOnly bool
리턴 List

GetLatestBlogPagedList() 공개 메소드

public GetLatestBlogPagedList ( System.Guid siteID, bool bActiveOnly, int pageNumber ) : List
siteID System.Guid
bActiveOnly bool
pageNumber int
리턴 List

GetLatestBlogPagedList() 공개 메소드

public GetLatestBlogPagedList ( System.Guid siteID, bool bActiveOnly, int pageSize, int pageNumber ) : List
siteID System.Guid
bActiveOnly bool
pageSize int
pageNumber int
리턴 List

GetLatestBlogPagedList() 공개 메소드

public GetLatestBlogPagedList ( System.Guid siteID, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir ) : List
siteID System.Guid
bActiveOnly bool
pageSize int
pageNumber int
sortField string
sortDir string
리턴 List

GetLatestBlogPagedList() 공개 메소드

public GetLatestBlogPagedList ( System.Guid siteID, bool bActiveOnly, int pageNumber, string sortField, string sortDir ) : List
siteID System.Guid
bActiveOnly bool
pageNumber int
sortField string
sortDir string
리턴 List

GetLatestContentByURL() 공개 메소드

public GetLatestContentByURL ( System.Guid siteID, bool bActiveOnly, string sPage ) : ContentPage
siteID System.Guid
bActiveOnly bool
sPage string
리턴 ContentPage

GetLatestContentList() 공개 메소드

public GetLatestContentList ( System.Guid siteID, bool bActiveOnly ) : List
siteID System.Guid
bActiveOnly bool
리턴 List

GetLatestContentPagedList() 공개 메소드

public GetLatestContentPagedList ( System.Guid siteID, ContentPageType postType, bool bActiveOnly, int pageNumber ) : List
siteID System.Guid
postType ContentPageType
bActiveOnly bool
pageNumber int
리턴 List

GetLatestContentPagedList() 공개 메소드

public GetLatestContentPagedList ( System.Guid siteID, ContentPageType postType, bool bActiveOnly, int pageSize, int pageNumber ) : List
siteID System.Guid
postType ContentPageType
bActiveOnly bool
pageSize int
pageNumber int
리턴 List

GetLatestContentPagedList() 공개 메소드

public GetLatestContentPagedList ( System.Guid siteID, ContentPageType postType, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir ) : List
siteID System.Guid
postType ContentPageType
bActiveOnly bool
pageSize int
pageNumber int
sortField string
sortDir string
리턴 List

GetLatestContentPagedList() 공개 메소드

public GetLatestContentPagedList ( System.Guid siteID, ContentPageType postType, bool bActiveOnly, int pageNumber, string sortField, string sortDir ) : List
siteID System.Guid
postType ContentPageType
bActiveOnly bool
pageNumber int
sortField string
sortDir string
리턴 List

GetLatestPosts() 공개 메소드

public GetLatestPosts ( System.Guid siteID, int iUpdates, bool bActiveOnly ) : List
siteID System.Guid
iUpdates int
bActiveOnly bool
리턴 List

GetMaxNavOrder() 공개 메소드

public GetMaxNavOrder ( System.Guid siteID ) : int
siteID System.Guid
리턴 int

GetPageHierarchy() 공개 메소드

public GetPageHierarchy ( System.Guid siteID, System.Guid rootContentID ) : List
siteID System.Guid
rootContentID System.Guid
리턴 List

GetPagedSortedContent() 공개 메소드

public GetPagedSortedContent ( System.Guid siteID, ContentPageType entryType, bool bActiveOnly, int pageSize, int pageNumber, string sSortParm ) : List
siteID System.Guid
entryType ContentPageType
bActiveOnly bool
pageSize int
pageNumber int
sSortParm string
리턴 List

GetParentWithChildNavigation() 공개 메소드

public GetParentWithChildNavigation ( System.Guid siteID, System.Guid ParentID, bool bActiveOnly ) : List
siteID System.Guid
ParentID System.Guid
bActiveOnly bool
리턴 List

GetPopularTemplateList() 공개 메소드

public GetPopularTemplateList ( System.Guid siteID, ContentPageType pageType ) : float>.Dictionary
siteID System.Guid
pageType ContentPageType
리턴 float>.Dictionary

GetPostsByDateRange() 공개 메소드

public GetPostsByDateRange ( System.Guid siteID, System.DateTime dateMidpoint, int iDayRange, bool bActiveOnly ) : List
siteID System.Guid
dateMidpoint System.DateTime
iDayRange int
bActiveOnly bool
리턴 List

GetSamplerView() 공개 정적인 메소드

public static GetSamplerView ( ) : ContentPage
리턴 ContentPage

GetSiteContentCount() 공개 메소드

public GetSiteContentCount ( System.Guid siteID ) : int
siteID System.Guid
리턴 int

GetSitePageCount() 공개 메소드

public GetSitePageCount ( System.Guid siteID, ContentPageType entryType ) : int
siteID System.Guid
entryType ContentPageType
리턴 int

GetSitePageCount() 공개 메소드

public GetSitePageCount ( System.Guid siteID, ContentPageType entryType, bool bActiveOnly ) : int
siteID System.Guid
entryType ContentPageType
bActiveOnly bool
리턴 int

GetSiteSnippetCount() 공개 메소드

public GetSiteSnippetCount ( System.Guid siteID ) : int
siteID System.Guid
리턴 int

GetTopNavigation() 공개 메소드

public GetTopNavigation ( System.Guid siteID, bool bActiveOnly ) : List
siteID System.Guid
bActiveOnly bool
리턴 List

GetVersion() 공개 메소드

public GetVersion ( System.Guid siteID, System.Guid contentID ) : ContentPage
siteID System.Guid
contentID System.Guid
리턴 ContentPage

GetVersionHistory() 공개 메소드

public GetVersionHistory ( System.Guid siteID, System.Guid rootContentID ) : List
siteID System.Guid
rootContentID System.Guid
리턴 List

IsPageLocked() 공개 메소드

public IsPageLocked ( ContentPage cp ) : bool
cp ContentPage
리턴 bool

IsPageLocked() 공개 메소드

public IsPageLocked ( System.Guid rootContentID, System.Guid siteID ) : bool
rootContentID System.Guid
siteID System.Guid
리턴 bool

IsPageLocked() 공개 메소드

public IsPageLocked ( System.Guid rootContentID, System.Guid siteID, System.Guid currentUserID ) : bool
rootContentID System.Guid
siteID System.Guid
currentUserID System.Guid
리턴 bool

MarkSelectedPublished() 공개 메소드

public MarkSelectedPublished ( System.Guid siteID, List lstUpd, UpdateField selField ) : void
siteID System.Guid
lstUpd List
selField UpdateField
리턴 void

PerformDataPagingQueryableContent() 공개 메소드

public PerformDataPagingQueryableContent ( System.Guid siteID, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir, IQueryable QueryInput ) : List
siteID System.Guid
bActiveOnly bool
pageSize int
pageNumber int
sortField string
sortDir string
QueryInput IQueryable
리턴 List

RecordHeartbeatLock() 공개 메소드

public RecordHeartbeatLock ( System.Guid rootContentID, System.Guid siteID, System.Guid currentUserID ) : bool
rootContentID System.Guid
siteID System.Guid
currentUserID System.Guid
리턴 bool

RecordPageLock() 공개 메소드

public RecordPageLock ( System.Guid rootContentID, System.Guid siteID, System.Guid currentUserID ) : bool
rootContentID System.Guid
siteID System.Guid
currentUserID System.Guid
리턴 bool

RemoveContent() 공개 메소드

public RemoveContent ( System.Guid siteID, System.Guid rootContentID ) : void
siteID System.Guid
rootContentID System.Guid
리턴 void

RemoveVersions() 공개 메소드

public RemoveVersions ( System.Guid siteID, List lstDel ) : void
siteID System.Guid
lstDel List
리턴 void

ResetHeartbeatLock() 공개 메소드

public ResetHeartbeatLock ( System.Guid rootContentID, System.Guid siteID, System.Guid currentUserID ) : void
rootContentID System.Guid
siteID System.Guid
currentUserID System.Guid
리턴 void

ResolveDuplicateBlogURLs() 공개 메소드

public ResolveDuplicateBlogURLs ( System.Guid siteID ) : void
siteID System.Guid
리턴 void

ScrubFilename() 공개 정적인 메소드

public static ScrubFilename ( System.Guid rootContentID, string fileName ) : string
rootContentID System.Guid
fileName string
리턴 string

ScrubFilename() 공개 정적인 메소드

public static ScrubFilename ( string fileName ) : string
fileName string
리턴 string

ScrubPath() 공개 정적인 메소드

public static ScrubPath ( string filePath ) : string
filePath string
리턴 string

ScrubSlug() 공개 정적인 메소드

public static ScrubSlug ( string slugValue ) : string
slugValue string
리턴 string

UpdateAllBlogTemplates() 공개 메소드

public UpdateAllBlogTemplates ( System.Guid siteID, string sTemplateFile ) : void
siteID System.Guid
sTemplateFile string
리턴 void

UpdateAllContentTemplates() 공개 메소드

public UpdateAllContentTemplates ( System.Guid siteID, string sTemplateFile ) : void
siteID System.Guid
sTemplateFile string
리턴 void

UpdateAllPageTemplates() 공개 메소드

public UpdateAllPageTemplates ( System.Guid siteID, string sTemplateFile ) : void
siteID System.Guid
sTemplateFile string
리턴 void

UpdateSubPageTemplates() 공개 메소드

public UpdateSubPageTemplates ( System.Guid siteID, string sTemplateFile ) : void
siteID System.Guid
sTemplateFile string
리턴 void

UpdateTopPageTemplates() 공개 메소드

public UpdateTopPageTemplates ( System.Guid siteID, string sTemplateFile ) : void
siteID System.Guid
sTemplateFile string
리턴 void