Assets: Integrating with Liferay’s Framework

Liferay Portal’s asset framework transforms entities into a common format that can be published anywhere in your site. Web content articles, blog posts, wiki articles, and documents are some asset-enabled entities that come out-of-the-box. By asset-enabling your own applications, you can take advantage of Liferay Portal’s functionality for publishing your application’s data across your site in the form of asset publisher entries, notifications, social activities, and more.

Liferay Portal’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 Portal’s Asset Publisher portlet
  • Integration with Liferay Portal’s Search portlet
  • Integration with Liferay Portal’s Tags Navigation, Tag Cloud, and Categories Navigation portlets

In this section, you’ll asset-enable the guestbook and guestbook entry entities. You’ll implement tags, categories, and related assets for guestbooks and guestbook entries. You’ll implement comments and ratings in guestbook entries. You’ll also learn how asset-enabled guestbooks and guestbook entries integrate with Liferay Portal core portlets like the Asset Publisher, Tags Navigation, Tag Cloud, and Categories Navigation portlets. Ready to start?

Let’s Go!

Enabling Assets at the Service Layer

Enabling Assets at the Service Layer Step 1 of 3 Each row in the AssetEntry table represents an asset and has an entryId primary key, and classNameId and classPK foreign keys. The classNameId...

Read More

Implementing Asset Renderers

Assets are generic versions of entities, so they contain fields like title, description, and summary. Liferay Portal uses these fields to display assets. Asset Renderers translate an entity into an...

Read More

Adding Asset Features to Your User Interface

Adding Asset Features to Your UI Step 1 of 5 Now that your guestbook and guestbook entry entities are asset-enabled, you’re ready to use Liferay Portal’s asset functionality in your application....

Read More
0 (0 Votes)
Updating Your User Interface For Search Previous