Click or drag to resize

IContentUnit Methods


The IContentUnit type exposes the following members.

Methods
  Name Description
Public method 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.

Public method 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.
Public method CreateBuiltInView Creates the built-in View Asset for this Content Unit
Public method RemoveBuiltInView Removes the built-in View Asset. This action move the Asset to recycle folder, and unassociate the Content Unit with built-in View
Public method SetThumbnail Sets the content of thumbnail for this Content Unit
Public method Touch Updated the entity's LastModified value to the current time.
(Inherited from IEntity)
Public method UpdateBuildInView Updates content of the Built-in View.
Public method ValidateData Validates this entity's data. Implemented by concrete inheriting types.
(Inherited from IEntity)
Public method 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)
Top
See Also