Assets: Integrating with Liferay’s Framework

The 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.

The asset framework includes the following features:

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

Now 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 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. It has an entryId primary key along with classNameId and classPK foreign keys. The classNameId...

Read More

Implementing Asset Renderers

Assets are display 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 can add asset functionality to your application. You’ll start by...

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