You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The action associated with saving a content item
4
+
/// The action associated with saving a content item.
5
5
/// </summary>
6
6
publicenumContentSaveAction
7
7
{
8
8
/// <summary>
9
-
/// Saves the content item, no publish
9
+
/// Saves the content item, no publish.
10
10
/// </summary>
11
11
Save=0,
12
12
13
13
/// <summary>
14
-
/// Creates a new content item
14
+
/// Creates a new content item.
15
15
/// </summary>
16
16
SaveNew=1,
17
17
18
18
/// <summary>
19
-
/// Saves and publishes the content item
19
+
/// Saves and publishes the content item.
20
20
/// </summary>
21
21
Publish=2,
22
22
23
23
/// <summary>
24
-
/// Creates and publishes a new content item
24
+
/// Creates and publishes a new content item.
25
25
/// </summary>
26
26
PublishNew=3,
27
27
28
28
/// <summary>
29
-
/// Saves and sends publish notification
29
+
/// Saves and sends publish notification.
30
30
/// </summary>
31
31
SendPublish=4,
32
32
33
33
/// <summary>
34
-
/// Creates and sends publish notification
34
+
/// Creates and sends publish notification.
35
35
/// </summary>
36
36
SendPublishNew=5,
37
37
38
38
/// <summary>
39
-
/// Saves and schedules publishing
39
+
/// Saves and schedules publishing.
40
40
/// </summary>
41
41
Schedule=6,
42
42
43
43
/// <summary>
44
-
/// Creates and schedules publishing
44
+
/// Creates and schedules publishing.
45
45
/// </summary>
46
46
ScheduleNew=7,
47
47
48
48
/// <summary>
49
-
/// Saves and publishes the content item including all descendants that have a published version
49
+
/// Saves and publishes the content item including all descendants that have a published version.
50
50
/// </summary>
51
51
PublishWithDescendants=8,
52
52
53
53
/// <summary>
54
-
/// Creates and publishes the content item including all descendants that have a published version
54
+
/// Creates and publishes the new content item including all descendants that have a published version.
55
55
/// </summary>
56
56
PublishWithDescendantsNew=9,
57
57
58
58
/// <summary>
59
59
/// Saves and publishes the content item including all descendants regardless of whether they have a published version
60
-
/// or not
60
+
/// or not.
61
61
/// </summary>
62
+
[Obsolete("This option is no longer used as the 'force' aspect has been extended into options for publishing unpublished and re-publishing changed content. Please use one of those options instead.")]
62
63
PublishWithDescendantsForce=10,
63
64
64
65
/// <summary>
65
-
/// Creates and publishes the content item including all descendants regardless of whether they have a published
66
-
/// version or not
66
+
/// Creates and publishes the new content item including all descendants regardless of whether they have a published
67
+
/// version or not.
67
68
/// </summary>
69
+
[Obsolete("This option is no longer used as the 'force' aspect has been extended into options for publishing unpublished and re-publishing changed content. Please use one of those options instead.")]
68
70
PublishWithDescendantsForceNew=11,
71
+
72
+
/// <summary>
73
+
/// Saves and publishes the content item including all descendants including publishing previously unpublished content.
74
+
/// </summary>
75
+
PublishWithDescendantsIncludeUnpublished=12,
76
+
77
+
/// <summary>
78
+
/// Saves and publishes the new content item including all descendants including publishing previously unpublished content.
79
+
/// </summary>
80
+
PublishWithDescendantsIncludeUnpublishedNew=13,
81
+
82
+
/// <summary>
83
+
/// Saves and publishes the content item including all descendants irrespective of whether there are any pending changes.
84
+
/// </summary>
85
+
PublishWithDescendantsForceRepublish=14,
86
+
87
+
/// <summary>
88
+
/// Saves and publishes the new content item including all descendants including publishing previously unpublished content.
89
+
/// </summary>
90
+
PublishWithDescendantsForceRepublishNew=15,
91
+
92
+
/// <summary>
93
+
/// Saves and publishes the content item including all descendants including publishing previously unpublished content and irrespective of whether there are any pending changes.
/// Saves and publishes the new content item including all descendants including publishing previously unpublished content and irrespective of whether there are any pending changes.
Copy file name to clipboardExpand all lines: src/Umbraco.Core/Services/IContentService.cs
+40Lines changed: 40 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -431,6 +431,7 @@ public interface IContentService : IContentServiceBase<IContent>
431
431
/// published. The root of the branch is always published, regardless of <paramref name="force" />.
432
432
/// </para>
433
433
/// </remarks>
434
+
[Obsolete("This method is not longer used as the 'force' parameter has been extended into options for publishing unpublished and re-publishing changed content. Please use the overload containing the parameter for those options instead.")]
@@ -447,8 +448,47 @@ public interface IContentService : IContentServiceBase<IContent>
447
448
/// published. The root of the branch is always published, regardless of <paramref name="force" />.
448
449
/// </para>
449
450
/// </remarks>
451
+
[Obsolete("This method is not longer used as the 'force' parameter has been extended into options for publishing unpublished and re-publishing changed content. Please use the overload containing the parameter for those options instead.")]
0 commit comments