Interface IJournalController
Assembly: DotNetNuke.dll
Syntax
public interface IJournalController
Methods
Declaration
void DeleteComment(int journalId, int commentId)
Parameters
| Type |
Name |
Description |
| int |
journalId |
|
| int |
commentId |
|
DeleteJournalItem(int, int, int)
Declaration
void DeleteJournalItem(int portalId, int userId, int journalId)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| int |
userId |
|
| int |
journalId |
|
DeleteJournalItemByGroupId(int, int)
Declaration
void DeleteJournalItemByGroupId(int portalId, int groupId)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| int |
groupId |
|
DeleteJournalItemByKey(int, string)
Declaration
void DeleteJournalItemByKey(int portalId, string objectKey)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| string |
objectKey |
|
Declaration
void DisableComments(int portalId, int journalId)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| int |
journalId |
|
Declaration
void EnableComments(int portalId, int journalId)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| int |
journalId |
|
Declaration
CommentInfo GetComment(int commentId)
Parameters
| Type |
Name |
Description |
| int |
commentId |
|
Returns
Declaration
IList<CommentInfo> GetCommentsByJournalIds(List<int> journalIdList)
Parameters
| Type |
Name |
Description |
| List<int> |
journalIdList |
|
Returns
GetJournalItem(int, int, int)
Declaration
JournalItem GetJournalItem(int portalId, int userId, int journalId)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| int |
userId |
|
| int |
journalId |
|
Returns
GetJournalItem(int, int, int, bool)
Declaration
JournalItem GetJournalItem(int portalId, int userId, int journalId, bool includeAllItems)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| int |
userId |
|
| int |
journalId |
|
| bool |
includeAllItems |
|
Returns
GetJournalItem(int, int, int, bool, bool)
Declaration
JournalItem GetJournalItem(int portalId, int userId, int journalId, bool includeAllItems, bool isDeleted)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| int |
userId |
|
| int |
journalId |
|
| bool |
includeAllItems |
|
| bool |
isDeleted |
|
Returns
GetJournalItem(int, int, int, bool, bool, bool)
Declaration
JournalItem GetJournalItem(int portalId, int userId, int journalId, bool includeAllItems, bool isDeleted, bool securityCheck)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| int |
userId |
|
| int |
journalId |
|
| bool |
includeAllItems |
|
| bool |
isDeleted |
|
| bool |
securityCheck |
|
Returns
GetJournalItemByKey(int, string)
Declaration
JournalItem GetJournalItemByKey(int portalId, string objectKey)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| string |
objectKey |
|
Returns
GetJournalItemByKey(int, string, bool)
Declaration
JournalItem GetJournalItemByKey(int portalId, string objectKey, bool includeAllItems)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| string |
objectKey |
|
| bool |
includeAllItems |
|
Returns
GetJournalItemByKey(int, string, bool, bool)
Declaration
JournalItem GetJournalItemByKey(int portalId, string objectKey, bool includeAllItems, bool isDeleted)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| string |
objectKey |
|
| bool |
includeAllItems |
|
| bool |
isDeleted |
|
Returns
GetJournalType(string)
Declaration
JournalTypeInfo GetJournalType(string journalType)
Parameters
| Type |
Name |
Description |
| string |
journalType |
|
Returns
GetJournalTypeById(int)
Declaration
JournalTypeInfo GetJournalTypeById(int journalTypeId)
Parameters
| Type |
Name |
Description |
| int |
journalTypeId |
|
Returns
GetJournalTypes(int)
Declaration
IEnumerable<JournalTypeInfo> GetJournalTypes(int portalId)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
Returns
Declaration
void HideComments(int portalId, int journalId)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| int |
journalId |
|
Declaration
void LikeComment(int journalId, int commentId, int userId, string displayName)
Parameters
| Type |
Name |
Description |
| int |
journalId |
|
| int |
commentId |
|
| int |
userId |
|
| string |
displayName |
|
LikeJournalItem(int, int, string)
Declaration
void LikeJournalItem(int journalId, int userId, string displayName)
Parameters
| Type |
Name |
Description |
| int |
journalId |
|
| int |
userId |
|
| string |
displayName |
|
Declaration
void SaveComment(CommentInfo ci)
Parameters
SaveJourmalFile(ModuleInfo, UserInfo, string, Stream)
Declaration
IFileInfo SaveJourmalFile(ModuleInfo module, UserInfo userInfo, string fileName, Stream fileContent)
Parameters
Returns
SaveJournalItem(JournalItem, ModuleInfo)
Declaration
void SaveJournalItem(JournalItem journalItem, ModuleInfo module)
Parameters
Declaration
void ShowComments(int portalId, int journalId)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| int |
journalId |
|
SoftDeleteJournalItem(int, int, int)
Declaration
void SoftDeleteJournalItem(int portalId, int userId, int journalId)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| int |
userId |
|
| int |
journalId |
|
SoftDeleteJournalItemByGroupId(int, int)
Declaration
void SoftDeleteJournalItemByGroupId(int portalId, int groupId)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| int |
groupId |
|
SoftDeleteJournalItemByKey(int, string)
Declaration
void SoftDeleteJournalItemByKey(int portalId, string objectKey)
Parameters
| Type |
Name |
Description |
| int |
portalId |
|
| string |
objectKey |
|
UpdateJournalItem(JournalItem, ModuleInfo)
Declaration
void UpdateJournalItem(JournalItem journalItem, ModuleInfo module)
Parameters
Extension Methods