Property | Type | Description | |
---|---|---|---|
DeleteItem | void | ||
GetAnyPublishModule | DotNetNuke.Entities.Modules.ModuleInfo | ||
GetApprovalStatusTypeName | string | ||
GetChildren | |||
GetItemTypes | |||
GetParentCategoryId | int | ||
MakeUrlAbsolute | string | ||
SendApprovalEmail | void | ||
SendStatusUpdateEmail | void | ||
SendTemplatedEmail | void |
Method | Description | |
---|---|---|
AddItem ( IDbTransaction trans, int itemTypeId, int portalId, int moduleId, System.Guid itemIdentifier ) : int | ||
AddItemVersion ( IDbTransaction trans, int itemId, int originalItemVersionId, string name, string description, string startDate, string endDate, int languageId, int authorUserId, string metaKeywords, string metaDescription, string metaTitle, int displayTabId, bool disabled, string thumbnail, System.Guid itemVersionIdentifier, string url, bool newWindow, int revisingUserId ) : int | ||
AddItemVersion ( int itemId, int originalItemVersionId, string name, string description, string startDate, string endDate, int languageId, int authorUserId, string metaKeywords, string metaDescription, string metaTitle, int displayTabId, bool disabled, string thumbnail, System.Guid itemVersionIdentifier, string url, bool newWindow, int revisingUserId ) : int | ||
AddView ( int userId, int tabId, string ipAddress, string userAgent, string httpReferrer, string siteUrl ) : void | ||
ClearItemsCommentCount ( int portalId ) : void |
Clears the comment count on the item table to 0 for all items within a portal
|
|
ClearItemsViewCount ( int portalId ) : void |
Clears the view count on the item table to 0 for all items within a portal
|
|
CorrectDates ( ) : void | ||
DeleteItem ( int itemId, int portalId ) : void | ||
DisplayOnCurrentPage ( ) : bool | ||
DoesItemExist ( string name, int authorUserId ) : bool | ||
DoesItemExist ( string name, int authorUserId, int categoryId ) : bool |
Checks to see if an item exists by a specific name, from a specific author, in a specific category.
|
|
ForceDisplayOnPage ( ) : bool |
Determines whether this Item should be forced to always display on its assigned DisplayTabId, or whether it can display on any tab.
|
|
GetAllChildren ( int parentItemId, int relationshipTypeId, int portalId ) : |
||
GetAllChildren ( int itemTypeId, int parentItemId, int relationshipTypeId, int portalId ) : |
||
GetAllChildren ( int itemTypeId, int parentItemId, int relationshipTypeId, int otherRelationshipTypeId, int portalId ) : |
||
GetAllChildrenAsDataReader ( int itemTypeId, int parentItemId, int relationshipTypeId, int otherRelationshipTypeId, int portalId ) : IDataReader | ||
GetItem ( int itemId, int portalId, int itemTypeId, bool isCurrent ) : Item | ||
GetItemIdFromVersion ( int itemVersionId ) : int | ||
GetItemIdFromVersion ( int itemVersionId, int portalId ) : int | ||
GetItemType ( int itemId ) : string | ||
GetItemType ( int itemId, int portalId ) : string | ||
GetItemTypeId ( int itemId ) : int | ||
GetItemTypeId ( int itemId, int portalId ) : int | ||
GetItemTypes ( int portalId ) : |
||
GetItemVersions ( int itemId, int portalId ) : |
||
GetItems ( int parentItemId, int portalId, int relationshipTypeId ) : |
||
GetItems ( int parentItemId, int portalId, int relationshipTypeId, int itemTypeId ) : |
||
GetItems ( int parentItemId, int portalId, int relationshipTypeId, int otherRelationshipTypeId, int itemTypeId ) : |
||
GetItems ( int itemTypeId, int portalId ) : IDataReader | ||
GetParentItems ( int itemId, int portalId, int relationshipTypeId ) : |
||
GetRelatedArticle ( int articlePortalId ) : |
this is a single article to be displayed as a sub section of a page.
|
|
GetRelatedArticles ( int articlePortalId ) : Engage.Dnn.Publish.Article[] |
Gets all articles related to this article
|
|
IsLinkable ( ) : bool |
This method currently verifies that the item is assigned to a display page. Future versions will eliminate this requirement all together but for now this is needed by ItemLink.aspx when linking occurs. This could be used to test other settings to be valid before displaying.
|
|
RunPublishStats ( ) : void |
Runs the stored procedure to calculate the views and comment counts for all items.
|
|
Save ( int revisingUserId ) : void | ||
UpdateApprovalStatus ( ) : void | ||
UpdateDescription ( ) : void | ||
UpdateItem ( IDbTransaction trans, int itemId, int moduleId ) : void | ||
UpdateItemVersion ( IDbTransaction trans, int itemId, int itemVersionId, int approvalStatusId, int userId, string approvalComments ) : void |
Method | Description | |
---|---|---|
Item ( ) : System | ||
LoadItemVersionSettings ( ) : void | ||
LoadRelationships ( ) : void |
Loads the ItemRelationships for this Item, clearing any _relationships already in the Item.Relationships collection.
|
|
LoadTags ( ) : void |
Loads the ItemTags for this Item, clearing any tags already in the Item.Tags collection.
|
|
ResolveIds ( int currentModuleId ) : void | ||
SaveInfo ( IDbTransaction trans, int revisingId ) : void | ||
SaveItemVersionSettings ( ) : void | ||
SaveItemVersionSettings ( IDbTransaction trans ) : void | ||
SaveRelationships ( IDbTransaction trans ) : void | ||
SaveTags ( ) : void | ||
SaveTags ( IDbTransaction trans ) : void |
if we remove a tag from a version we should decrement the TotalItems for a tag.
|
|
UpdateApprovalStatus ( IDbTransaction trans ) : void |
Method | Description | |
---|---|---|
DeleteItem ( int itemId ) : void | ||
GetAnyPublishModule ( ) : DotNetNuke.Entities.Modules.ModuleInfo |
Gets an instance of Engage: Publish within this item's portal.
|
|
GetApprovalStatusTypeName ( ) : string | ||
GetChildren ( int parentItemId, int relationshipTypeId, int portalId ) : |
||
GetItemTypes ( ) : |
||
GetParentCategoryId ( ) : int | ||
MakeUrlAbsolute ( string url ) : string |
Makes the URL absolute, based on the current request.
|
|
SendApprovalEmail ( ) : void |
Sends an email to the users in the Utility.PublishEmailNotificationRole indicating that an item was approved.
|
|
SendStatusUpdateEmail ( ) : void |
Sends an email to the author of an item's version indicating that the version's status changed.
|
|
SendTemplatedEmail ( DotNetNuke.Entities.Users.UserInfo revisingUser, IEnumerable |
Sends an email with a templated body to the given recipients' email.
|
public static AddItem ( IDbTransaction trans, int itemTypeId, int portalId, int moduleId, System.Guid itemIdentifier ) : int | ||
trans | IDbTransaction | |
itemTypeId | int | |
portalId | int | |
moduleId | int | |
itemIdentifier | System.Guid | |
return | int |
public static AddItemVersion ( IDbTransaction trans, int itemId, int originalItemVersionId, string name, string description, string startDate, string endDate, int languageId, int authorUserId, string metaKeywords, string metaDescription, string metaTitle, int displayTabId, bool disabled, string thumbnail, System.Guid itemVersionIdentifier, string url, bool newWindow, int revisingUserId ) : int | ||
trans | IDbTransaction | |
itemId | int | |
originalItemVersionId | int | |
name | string | |
description | string | |
startDate | string | |
endDate | string | |
languageId | int | |
authorUserId | int | |
metaKeywords | string | |
metaDescription | string | |
metaTitle | string | |
displayTabId | int | |
disabled | bool | |
thumbnail | string | |
itemVersionIdentifier | System.Guid | |
url | string | |
newWindow | bool | |
revisingUserId | int | |
return | int |
public static AddItemVersion ( int itemId, int originalItemVersionId, string name, string description, string startDate, string endDate, int languageId, int authorUserId, string metaKeywords, string metaDescription, string metaTitle, int displayTabId, bool disabled, string thumbnail, System.Guid itemVersionIdentifier, string url, bool newWindow, int revisingUserId ) : int | ||
itemId | int | |
originalItemVersionId | int | |
name | string | |
description | string | |
startDate | string | |
endDate | string | |
languageId | int | |
authorUserId | int | |
metaKeywords | string | |
metaDescription | string | |
metaTitle | string | |
displayTabId | int | |
disabled | bool | |
thumbnail | string | |
itemVersionIdentifier | System.Guid | |
url | string | |
newWindow | bool | |
revisingUserId | int | |
return | int |
public AddView ( int userId, int tabId, string ipAddress, string userAgent, string httpReferrer, string siteUrl ) : void | ||
userId | int | |
tabId | int | |
ipAddress | string | |
userAgent | string | |
httpReferrer | string | |
siteUrl | string | |
return | void |
public static ClearItemsCommentCount ( int portalId ) : void | ||
portalId | int | The Portal in which the items will be cleared |
return | void |
public static ClearItemsViewCount ( int portalId ) : void | ||
portalId | int | The Portal in which the items will be cleared |
return | void |
public static DeleteItem ( int itemId, int portalId ) : void | ||
itemId | int | |
portalId | int | |
return | void |
public static DoesItemExist ( string name, int authorUserId ) : bool | ||
name | string | |
authorUserId | int | |
return | bool |
public static DoesItemExist ( string name, int authorUserId, int categoryId ) : bool | ||
name | string | The name of the item |
authorUserId | int | The ID of the author |
categoryId | int | The ID of the category |
return | bool |
public static GetAllChildren ( int parentItemId, int relationshipTypeId, int portalId ) : |
||
parentItemId | int | |
relationshipTypeId | int | |
portalId | int | |
return |
public static GetAllChildren ( int itemTypeId, int parentItemId, int relationshipTypeId, int portalId ) : |
||
itemTypeId | int | |
parentItemId | int | |
relationshipTypeId | int | |
portalId | int | |
return |
public static GetAllChildren ( int itemTypeId, int parentItemId, int relationshipTypeId, int otherRelationshipTypeId, int portalId ) : |
||
itemTypeId | int | |
parentItemId | int | |
relationshipTypeId | int | |
otherRelationshipTypeId | int | |
portalId | int | |
return |
public static GetAllChildrenAsDataReader ( int itemTypeId, int parentItemId, int relationshipTypeId, int otherRelationshipTypeId, int portalId ) : IDataReader | ||
itemTypeId | int | |
parentItemId | int | |
relationshipTypeId | int | |
otherRelationshipTypeId | int | |
portalId | int | |
return | IDataReader |
public static GetItem ( int itemId, int portalId, int itemTypeId, bool isCurrent ) : Item | ||
itemId | int | |
portalId | int | |
itemTypeId | int | |
isCurrent | bool | |
return | Item |
public static GetItemIdFromVersion ( int itemVersionId ) : int | ||
itemVersionId | int | |
return | int |
public static GetItemIdFromVersion ( int itemVersionId, int portalId ) : int | ||
itemVersionId | int | |
portalId | int | |
return | int |
public static GetItemType ( int itemId ) : string | ||
itemId | int | |
return | string |
public static GetItemType ( int itemId, int portalId ) : string | ||
itemId | int | |
portalId | int | |
return | string |
public static GetItemTypeId ( int itemId ) : int | ||
itemId | int | |
return | int |
public static GetItemTypeId ( int itemId, int portalId ) : int | ||
itemId | int | |
portalId | int | |
return | int |
public static GetItemTypes ( int portalId ) : |
||
portalId | int | |
return |
public static GetItemVersions ( int itemId, int portalId ) : |
||
itemId | int | |
portalId | int | |
return |
public static GetItems ( int parentItemId, int portalId, int relationshipTypeId ) : |
||
parentItemId | int | |
portalId | int | |
relationshipTypeId | int | |
return |
public static GetItems ( int parentItemId, int portalId, int relationshipTypeId, int itemTypeId ) : |
||
parentItemId | int | |
portalId | int | |
relationshipTypeId | int | |
itemTypeId | int | |
return |
public static GetItems ( int parentItemId, int portalId, int relationshipTypeId, int otherRelationshipTypeId, int itemTypeId ) : |
||
parentItemId | int | |
portalId | int | |
relationshipTypeId | int | |
otherRelationshipTypeId | int | |
itemTypeId | int | |
return |
public static GetItems ( int itemTypeId, int portalId ) : IDataReader | ||
itemTypeId | int | |
portalId | int | |
return | IDataReader |
public static GetParentItems ( int itemId, int portalId, int relationshipTypeId ) : |
||
itemId | int | |
portalId | int | |
relationshipTypeId | int | |
return |
public GetRelatedArticle ( int articlePortalId ) : |
||
articlePortalId | int | Portal in which the related article lives |
return |
public GetRelatedArticles ( int articlePortalId ) : Engage.Dnn.Publish.Article[] | ||
articlePortalId | int | The Portal in which the related articles live |
return | Engage.Dnn.Publish.Article[] |
protected ResolveIds ( int currentModuleId ) : void | ||
currentModuleId | int | |
return | void |
public abstract Save ( int revisingUserId ) : void | ||
revisingUserId | int | |
return | void |
protected SaveInfo ( IDbTransaction trans, int revisingId ) : void | ||
trans | IDbTransaction | |
revisingId | int | |
return | void |
protected SaveItemVersionSettings ( IDbTransaction trans ) : void | ||
trans | IDbTransaction | |
return | void |
protected SaveRelationships ( IDbTransaction trans ) : void | ||
trans | IDbTransaction | |
return | void |
protected SaveTags ( IDbTransaction trans ) : void | ||
trans | IDbTransaction | |
return | void |
public abstract UpdateApprovalStatus ( ) : void | ||
return | void |
protected UpdateApprovalStatus ( IDbTransaction trans ) : void | ||
trans | IDbTransaction | |
return | void |
public static UpdateItem ( IDbTransaction trans, int itemId, int moduleId ) : void | ||
trans | IDbTransaction | |
itemId | int | |
moduleId | int | |
return | void |
public static UpdateItemVersion ( IDbTransaction trans, int itemId, int itemVersionId, int approvalStatusId, int userId, string approvalComments ) : void | ||
trans | IDbTransaction | |
itemId | int | |
itemVersionId | int | |
approvalStatusId | int | |
userId | int | |
approvalComments | string | |
return | void |