Interface IJournalDataService
Assembly: DotNetNuke.dll
Syntax
public interface IJournalDataService
Methods
|
Improve this Doc
View Source
Declaration
void Journal_Comment_Delete(int journalId, int commentId)
Parameters
Type |
Name |
Description |
System.Int32 |
journalId |
|
System.Int32 |
commentId |
|
|
Improve this Doc
View Source
Declaration
IDataReader Journal_Comment_Get(int commentId)
Parameters
Type |
Name |
Description |
System.Int32 |
commentId |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Declaration
void Journal_Comment_Like(int journalId, int commentId, int userId, string displayName)
Parameters
Type |
Name |
Description |
System.Int32 |
journalId |
|
System.Int32 |
commentId |
|
System.Int32 |
userId |
|
System.String |
displayName |
|
|
Improve this Doc
View Source
Declaration
IDataReader Journal_Comment_LikeList(int portalId, int journalId, int commentId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
journalId |
|
System.Int32 |
commentId |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Declaration
IDataReader Journal_Comment_List(int journalId)
Parameters
Type |
Name |
Description |
System.Int32 |
journalId |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Declaration
IDataReader Journal_Comment_ListByJournalIds(string journalIds)
Parameters
Type |
Name |
Description |
System.String |
journalIds |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Declaration
int Journal_Comment_Save(int journalId, int commentId, int userId, string comment, string xml, DateTime dateUpdated)
Parameters
Type |
Name |
Description |
System.Int32 |
journalId |
|
System.Int32 |
commentId |
|
System.Int32 |
userId |
|
System.String |
comment |
|
System.String |
xml |
|
DateTime |
dateUpdated |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
void Journal_Comments_ToggleDisable(int portalId, int journalId, bool disable)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
journalId |
|
System.Boolean |
disable |
|
|
Improve this Doc
View Source
Declaration
void Journal_Comments_ToggleHidden(int portalId, int journalId, bool hidden)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
journalId |
|
System.Boolean |
hidden |
|
|
Improve this Doc
View Source
Journal_Delete(Int32)
Declaration
void Journal_Delete(int journalId)
Parameters
Type |
Name |
Description |
System.Int32 |
journalId |
|
|
Improve this Doc
View Source
Journal_DeleteByGroupId(Int32, Int32)
Declaration
void Journal_DeleteByGroupId(int portalId, int groupId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
groupId |
|
|
Improve this Doc
View Source
Journal_DeleteByKey(Int32, String)
Declaration
void Journal_DeleteByKey(int portalId, string objectKey)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.String |
objectKey |
|
|
Improve this Doc
View Source
Journal_Get(Int32, Int32, Int32, Boolean, Boolean, Boolean)
Declaration
IDataReader Journal_Get(int portalId, int currentUserId, int journalId, bool includeAllItems, bool isDeleted, bool securityCheck)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
currentUserId |
|
System.Int32 |
journalId |
|
System.Boolean |
includeAllItems |
|
System.Boolean |
isDeleted |
|
System.Boolean |
securityCheck |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Journal_Get(Int32, Int32, Int32)
Declaration
IDataReader Journal_Get(int portalId, int currentUserId, int journalId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
currentUserId |
|
System.Int32 |
journalId |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Journal_GetByKey(Int32, String, Boolean, Boolean)
Declaration
IDataReader Journal_GetByKey(int portalId, string objectKey, bool includeAllItems, bool isDeleted)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.String |
objectKey |
|
System.Boolean |
includeAllItems |
|
System.Boolean |
isDeleted |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Journal_GetByKey(Int32, String)
Declaration
IDataReader Journal_GetByKey(int portalId, string objectKey)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.String |
objectKey |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Journal_GetStatsForGroup(Int32, Int32)
Declaration
IDataReader Journal_GetStatsForGroup(int portalId, int groupId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
groupId |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Journal_Like(Int32, Int32, String)
Declaration
void Journal_Like(int journalId, int userId, string displayName)
Parameters
Type |
Name |
Description |
System.Int32 |
journalId |
|
System.Int32 |
userId |
|
System.String |
displayName |
|
|
Improve this Doc
View Source
Journal_LikeList(Int32, Int32)
Declaration
IDataReader Journal_LikeList(int portalId, int journalId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
journalId |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Journal_ListForGroup(Int32, Int32, Int32, Int32, Int32, Int32)
Declaration
IDataReader Journal_ListForGroup(int portalId, int moduleId, int currentUserId, int groupId, int rowIndex, int maxRows)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
moduleId |
|
System.Int32 |
currentUserId |
|
System.Int32 |
groupId |
|
System.Int32 |
rowIndex |
|
System.Int32 |
maxRows |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Journal_ListForProfile(Int32, Int32, Int32, Int32, Int32, Int32)
Declaration
IDataReader Journal_ListForProfile(int portalId, int moduleId, int currentUserId, int profileId, int rowIndex, int maxRows)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
moduleId |
|
System.Int32 |
currentUserId |
|
System.Int32 |
profileId |
|
System.Int32 |
rowIndex |
|
System.Int32 |
maxRows |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Journal_ListForSummary(Int32, Int32, Int32, Int32, Int32)
Declaration
IDataReader Journal_ListForSummary(int portalId, int moduleId, int currentUserId, int rowIndex, int maxRows)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
moduleId |
|
System.Int32 |
currentUserId |
|
System.Int32 |
rowIndex |
|
System.Int32 |
maxRows |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Journal_Save(Int32, Int32, Int32, Int32, Int32, Int32, String, String, String, String, String, String, Guid, String, Boolean, Boolean)
Declaration
int Journal_Save(int portalId, int currentUserId, int profileId, int groupId, int journalId, int journalTypeId, string title, string summary, string body, string itemData, string xml, string objectKey, Guid accessKey, string securitySet, bool commentsHidden, bool commentsDisabled)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
currentUserId |
|
System.Int32 |
profileId |
|
System.Int32 |
groupId |
|
System.Int32 |
journalId |
|
System.Int32 |
journalTypeId |
|
System.String |
title |
|
System.String |
summary |
|
System.String |
body |
|
System.String |
itemData |
|
System.String |
xml |
|
System.String |
objectKey |
|
Guid |
accessKey |
|
System.String |
securitySet |
|
System.Boolean |
commentsHidden |
|
System.Boolean |
commentsDisabled |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Journal_Save(Int32, Int32, Int32, Int32, Int32, Int32, String, String, String, String, String, String, Guid, String)
Declaration
int Journal_Save(int portalId, int currentUserId, int profileId, int groupId, int journalId, int journalTypeId, string title, string summary, string body, string itemData, string xml, string objectKey, Guid accessKey, string securitySet)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
currentUserId |
|
System.Int32 |
profileId |
|
System.Int32 |
groupId |
|
System.Int32 |
journalId |
|
System.Int32 |
journalTypeId |
|
System.String |
title |
|
System.String |
summary |
|
System.String |
body |
|
System.String |
itemData |
|
System.String |
xml |
|
System.String |
objectKey |
|
Guid |
accessKey |
|
System.String |
securitySet |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Journal_SoftDelete(Int32)
Declaration
void Journal_SoftDelete(int journalId)
Parameters
Type |
Name |
Description |
System.Int32 |
journalId |
|
|
Improve this Doc
View Source
Journal_SoftDeleteByGroupId(Int32, Int32)
Declaration
void Journal_SoftDeleteByGroupId(int portalId, int groupId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
groupId |
|
|
Improve this Doc
View Source
Journal_SoftDeleteByKey(Int32, String)
Declaration
void Journal_SoftDeleteByKey(int portalId, string objectKey)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.String |
objectKey |
|
|
Improve this Doc
View Source
Journal_TypeFilters_Delete(Int32, Int32)
Declaration
void Journal_TypeFilters_Delete(int portalId, int moduleId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
moduleId |
|
|
Improve this Doc
View Source
Journal_TypeFilters_List(Int32, Int32)
Declaration
IDataReader Journal_TypeFilters_List(int portalId, int moduleId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
moduleId |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Journal_TypeFilters_Save(Int32, Int32, Int32)
Declaration
void Journal_TypeFilters_Save(int portalId, int moduleId, int journalTypeId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
moduleId |
|
System.Int32 |
journalTypeId |
|
|
Improve this Doc
View Source
Journal_Types_Delete(Int32, Int32)
Declaration
void Journal_Types_Delete(int journalTypeId, int portalId)
Parameters
Type |
Name |
Description |
System.Int32 |
journalTypeId |
|
System.Int32 |
portalId |
|
|
Improve this Doc
View Source
Journal_Types_Get(String)
Declaration
IDataReader Journal_Types_Get(string journalType)
Parameters
Type |
Name |
Description |
System.String |
journalType |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Journal_Types_GetById(Int32)
Declaration
IDataReader Journal_Types_GetById(int journalTypeId)
Parameters
Type |
Name |
Description |
System.Int32 |
journalTypeId |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Journal_Types_List(Int32)
Declaration
IDataReader Journal_Types_List(int portalId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
Returns
Type |
Description |
IDataReader |
|
|
Improve this Doc
View Source
Journal_Types_Save(Int32, String, String, Int32, Boolean, Boolean, Boolean, Boolean, String, Boolean)
Declaration
int Journal_Types_Save(int journalTypeId, string journalType, string icon, int portalId, bool isEnabled, bool appliesToProfile, bool appliesToGroup, bool appliesToStream, string options, bool supportsNotify)
Parameters
Type |
Name |
Description |
System.Int32 |
journalTypeId |
|
System.String |
journalType |
|
System.String |
icon |
|
System.Int32 |
portalId |
|
System.Boolean |
isEnabled |
|
System.Boolean |
appliesToProfile |
|
System.Boolean |
appliesToGroup |
|
System.Boolean |
appliesToStream |
|
System.String |
options |
|
System.Boolean |
supportsNotify |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Journal_Update(Int32, Int32, Int32, Int32, Int32, Int32, String, String, String, String, String, String, Guid, String, Boolean, Boolean)
Declaration
int Journal_Update(int portalId, int currentUserId, int profileId, int groupId, int journalId, int journalTypeId, string title, string summary, string body, string itemData, string xml, string objectKey, Guid accessKey, string securitySet, bool commentsHidden, bool commentsDisabled)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
currentUserId |
|
System.Int32 |
profileId |
|
System.Int32 |
groupId |
|
System.Int32 |
journalId |
|
System.Int32 |
journalTypeId |
|
System.String |
title |
|
System.String |
summary |
|
System.String |
body |
|
System.String |
itemData |
|
System.String |
xml |
|
System.String |
objectKey |
|
Guid |
accessKey |
|
System.String |
securitySet |
|
System.Boolean |
commentsHidden |
|
System.Boolean |
commentsDisabled |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Journal_Update(Int32, Int32, Int32, Int32, Int32, Int32, String, String, String, String, String, String, Guid, String)
Declaration
int Journal_Update(int portalId, int currentUserId, int profileId, int groupId, int journalId, int journalTypeId, string title, string summary, string body, string itemData, string xml, string objectKey, Guid accessKey, string securitySet)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
System.Int32 |
currentUserId |
|
System.Int32 |
profileId |
|
System.Int32 |
groupId |
|
System.Int32 |
journalId |
|
System.Int32 |
journalTypeId |
|
System.String |
title |
|
System.String |
summary |
|
System.String |
body |
|
System.String |
itemData |
|
System.String |
xml |
|
System.String |
objectKey |
|
Guid |
accessKey |
|
System.String |
securitySet |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Journal_UpdateContentItemId(Int32, Int32)
Declaration
void Journal_UpdateContentItemId(int journalId, int contentItemId)
Parameters
Type |
Name |
Description |
System.Int32 |
journalId |
|
System.Int32 |
contentItemId |
|
Extension Methods