Meet The Author

I'm Jitendra Rajput (Senior Consultant @ CIGNEX Datamatics) , A Programmer , Blogger ,Liferay Top Contributor for Year 2014 Q4, Liferay 6.1 Certified Professional , Technology Enthusiast and apart from this interested in making new friends , love music and love to play CHESS. Expressing my thoughts using blog.


Liferay Portlet Session

Leave a Comment
Portlet session is similar to HttpSession but both has different implementation.

HttpSession created once for unique visitor in your web application while in Liferay PortletSession is getting created for each portlet placed on page. If there are 4 portlet placed on page then 4 PortletSession would be created for each request.

In Liferay PortletSessionImpl class has implementation for javax.portlet.PortletSession interface. PortletSession internally uses HttpSession to get and set attribute.

Read more »

Useful Oracle Queries and Commands

Leave a Comment
In this blog post i would try to cover few of the import queries or commands of oracle.

Export/Import database

If you want to export/import database then you can use below commands from sql command line.

To start sql command from command prompt hit sqlplus command. You need to login with valid credentials before you execute any commands.

Read more »

Popular Asset Portlet Liferay

1 comment
As name suggest this app will help users to find out popular assets of Liferay. This app supports Journal Article , Blogs , Document and Media .
User can configure any of the asset listed above and they can find out most viewed , most rated , most commented and recently added asset in Liferay.

For asset like Journal article user can also track where Journal Article is configured. User can check preview of Journal Article as well.

Read more »

Liferay Search Container

I have posted couple of articles related to sort search container results in Liferay.

You can refer to my blog post Orderable Search Container In Liferay to sort database results using Liferay search container.

Read more »

Read Portlet Preferences in Liferay

We know how to get preferences of current portlet from request object (renderRequest.getPreferences()) but some time we have requirement to read preferences of remote portlet placed on some other page.

Using PortletPreferenceLocalServiceUtil we can read preference of any portlet. We just need to take care while passing parameter like OWNER_ID ,OWNER_TYPE , Plid , and Default Preferences.

If the preferences are unique per group 


OWNER_TYPE : If the preferences are unique per group (Shared preferences between portlet placed on multiple page within same group) then pass groupId as OWNER_TYPE.

Plid : 0  (PortletKeys.PREFS_PLID_SHARED).

PortletId : PortletId of remote portlet.

Read more »
Previous PostOlder Posts Home