Liferay’s asset framework provides a set of features that are common to many different types of content. Web content articles, blog posts, wiki articles, and documents are a few examples of Liferay assets. Developers can define custom asset types so that they don’t have to independently implement functionality that Liferay already provides. Liferay’s asset framework includes the following features:

  • Tags and categories
  • Comments and ratings
  • Related assets (a.k.a. asset links)
  • Faceted search
  • Integration with Liferay’s Asset Publisher portlet
  • Integration with Liferay’s Search portlet
  • Integration with Liferay’s Tags Navigation portlet, Tag Cloud portlet, and Categories Navigation portlets

For more information on Liferay’s asset framework, please refer to Liferay’s User Guide. In this learning path, you’ll integrate the guestbook and guestbook entry entities with Liferay’s asset framework. You’ll implement tags, categories, comments, ratings, and related assets for guestbooks and guestbook entries. You’ll also learn how asset-enabled guestbooks and guestbook entries integrate with Liferay core portlets including the Asset Publisher, Tags Navigation, Tag Cloud, and Categories Navigation portlets.

Enabling Assets at the Service Layer

Every Liferay asset is represented by a row in the AssetEntry table of Liferay’s database. Each row in this table has an entryId primary key and classNameId and classPK foreign keys (among many...

Read More

Implementing Asset Renderers

You need to create asset renderer classes for your guestbook and guestbook entry entities and register them with Liferay. Without these classes, Liferay’s Asset Renderer portlet is unable to...

Read More

Adding Asset Features to Your User Interface

Now that your guestbook and guestbook entry entities have been asset-enabled, you’re ready to use Liferay’s asset functionality in your application. You’ll start by implementing comments, ratings,...

Read More
+1 (1 Vote)
Enabling Search and Indexing for Guestbooks Previous