-
Notifications
You must be signed in to change notification settings - Fork 2
/
IHtmlTextModuleController.cs
31 lines (25 loc) · 1.26 KB
/
IHtmlTextModuleController.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// <copyright file="IHtmlTextModuleController.cs" company="Engage Software">
// Engage: F3
// Copyright (c) 2004-2013
// by Engage Software ( http://www.engagesoftware.com )
// </copyright>
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
// TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
// CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
namespace Engage.Dnn.F3
{
/// <summary>
/// Represents the behaviors required to create a new text/html version
/// </summary>
public interface IHtmlTextModuleController
{
int GetWorkflowId(int moduleId, int tabId, int portalId);
IHtmlTextInfo GetTopHtmlText(int moduleId, bool isPublished, int workflowId);
IHtmlTextInfo CreateNewHtmlTextInfo();
int GetFirstWorkflowStateId(int workflowId);
void UpdateHtmlText(IHtmlTextInfo htmlTextInfo, int maximumVersionHistory);
int GetMaximumVersionHistory(int portalId);
}
}