IContentUnit Methods |
The IContentUnit type exposes the following members.
Name | Description | |
---|---|---|
BuiltInView | Retrieves the Asset that contains the content of the "View" for rendering of this. If a Content Unit has a built-in View, it will not seek "View" file in Dynamic Site Server "Views" folder anymore. Built-in view gives Page Builder much more flexibility. Developers of the Content Unit can directly work on the "View", without ever leaving the CMS client. | |
CheckInBuiltInView |
Checks in the built-in View Asset, to specified
Publishing Targets.
The view is only effective on published content after check in.
This method will mark the View Asset for publish for the specified targets on its latest version.
| |
CreateBuiltInView |
Creates the built-in View Asset for this Content Unit
| |
RemoveBuiltInView |
Removes the built-in View Asset. This action move the Asset to recycle folder,
and unassociate the Content Unit with built-in View
| |
SetThumbnail |
Sets the content of thumbnail for this Content Unit
| |
Touch |
Updated the entity's LastModified value to the current time.
(Inherited from IEntity.) | |
UpdateBuildInView |
Updates content of the Built-in View.
| |
ValidateData |
Validates this entity's data. Implemented by concrete inheriting types.
(Inherited from IEntity.) | |
ValidateUserPermission |
Validates the user permission on the current entity. Implemented by concrete inheriting types.
It is called automatically upon saving an entity.
(Inherited from IEntity.) |