Execute code with admin permissions in Liferay
Execute code with admin permissions in Liferay There will be business need to customize liferay behavior and to create admin portlets that mimic liferay functionalities such as create site and…
Execute code with admin permissions in Liferay There will be business need to customize liferay behavior and to create admin portlets that mimic liferay functionalities such as create site and…
Liferay Window States What is window state: window state indicate the amount of space taken by the portlet All java supported portlets have the below modes: Minimized: only portlet title…
Liferay Portlet modes What is Portlet mode? Portlet modes are used to indicate what functions are they are doing currently. The portlet modes are defined in portlet.xml file. Java Portlets…
Liferay Portlet Lifecycle What is Portlet? a portlet is fragment on a webpage as web application and is used with portlets on the same webpage. There are 2 JSR standards…
Java LDAP Authentication In this tutorial, we will see sample java program for LDAP authentication. Checking LDAP authentication requires two steps Check LDAP authentication against LDAP url, base directory and…
Liferay Portlet deployment error with build number When multiple developers working on portlet that uses servicebuilder will give below exception “Build namespace has build number which is newer than “.…
Liferay ServiceBuilder concepts and anatomy-part2 In the previous tutorial, we have gone through service builder and its component. In this we will talk about below generated classes and its relationships:…
Liferay Service Builder Liferay provides Service Builder tool for generating modal objects, Service layer and DAO layer. Let’s say we have to design leave system where end user will apply for…
Lifeary JDBC DataAccess API This tutorial will demonstrate about DataAccess API of Liferay and how to access simple JDBC connection object in liferay. some times, developers may need simple database…
Liferay custom sql example Liferay out of the box, provides below ways to access Database: Service Builder Finder methods Database Access API : It provides JDBC mechanism to write SQL…