<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-125323660387261706</atom:id><lastBuildDate>Fri, 22 Sep 2017 04:30:12 +0000</lastBuildDate><category>Liferay</category><category>Layout</category><category>Service Builder</category><category>Ant</category><category>Hook</category><category>JSP Hook</category><category>Maven</category><category>SQL</category><category>Search Container</category><category>Service</category><title>Liferay Artical</title><description></description><link>http://liferay-artical.blogspot.com/</link><managingEditor>noreply@blogger.com (Seema Pavar)</managingEditor><generator>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-125323660387261706.post-3137678483934726640</guid><pubDate>Fri, 22 Sep 2017 04:30:00 +0000</pubDate><atom:updated>2017-09-22T10:00:12.138+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ant</category><category domain="http://www.blogger.com/atom/ns#">Liferay</category><title>How To Install Ant</title><description>&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;How to install Ant?&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-5558478395458855255&quot; itemprop=&quot;articleBody&quot; style=&quot;width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;div&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: Lora, serif;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Ant is a Apache project.It is open source software used to compile , assemble and run java application .Before installing Ant it is compulsory to install Java as mention in my previous article&amp;nbsp;&lt;/span&gt;How to install Maven&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;step 1.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;Lets Start this step by step:-&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot; /&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot; style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;/a&gt;&lt;br style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot; /&gt;&lt;u style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 1:-Down load Apache Ant&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;br style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;First download Apache ant from&amp;nbsp;&lt;a href=&quot;http://ant.apache.org/&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;Here&lt;/a&gt;&amp;nbsp;and extract it in c drive. After extracting set the two environment variable as:-&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot; /&gt;&lt;ul style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px; line-height: 1.4; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;ANT_Home &amp;nbsp;=&amp;nbsp;C:\apache-ant-1.9.4&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;PATH =&amp;nbsp;C:\apache-ant-1.9.4\bin&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;PATH is seperated by ;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;div&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 2:-Test Apache Ant&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;For Checking that Ant install successfully you can open command prompt(win+r then type cmd) and type ant -version this will give you detail as:-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-rR37C0XoGhA/VOsAnrGQMBI/AAAAAAAAB-o/BKU7lZ0Y1r0/s1600/Ant.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://1.bp.blogspot.com/-rR37C0XoGhA/VOsAnrGQMBI/AAAAAAAAB-o/BKU7lZ0Y1r0/s1600/Ant.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://liferay-artical.blogspot.com/2017/09/how-to-install-ant.html</link><author>noreply@blogger.com (Seema Pavar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-rR37C0XoGhA/VOsAnrGQMBI/AAAAAAAAB-o/BKU7lZ0Y1r0/s72-c/Ant.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-125323660387261706.post-6202524599409833353</guid><pubDate>Thu, 21 Sep 2017 23:30:00 +0000</pubDate><atom:updated>2017-09-22T05:00:06.343+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Liferay</category><category domain="http://www.blogger.com/atom/ns#">Maven</category><title>How to install Maven</title><description>&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;How to install Maven ?&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-872276713244437912&quot; itemprop=&quot;articleBody&quot; style=&quot;background-color: white; color: #666666; font-family: Lora, serif; width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;div&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Defining Maven in a single line is not possible .Maven do many things for us like resolving dependencies, create project structure, build &amp;nbsp;a project, creating war/jar etc. By using Maven you can also create portlet, theme, services without any need of sdk. So lets install maven.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Lets Start this step by step:-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;u style=&quot;font-size: 14px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 1:-Install Java(jdk)&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;For installing Maven first we need to download jdk from &amp;nbsp;&lt;a href=&quot;http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;Here&lt;/a&gt;&amp;nbsp;and install.Then set the environment variable(User Variable).For setting environment variable in window 7 .&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Click start--&amp;gt;right click on computer--&amp;gt;properties--&amp;gt;Advanced system setting--&amp;gt;Advanced--&amp;gt;Environment variable--&amp;gt;New&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;The two important variables are:-&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;1)PATH&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp; This environment variable is provide the path of &amp;nbsp;javac otherwise you have to copy paste your java file into bin and then compile your file from inside the bin folder of jdk. Ex-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp; PATH =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;C:\Program Files\Java\&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;jdk1.8.0_31&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;\bin&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;2)JAVA_HOME&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp; This variable is need to run many other software like tomcat and maven.This takes the path till jdk. Ex-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp; JAVA_HOME =&amp;nbsp;C:\Program Files\Java\jdk1.8.0_31&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 14px; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-mbQ0i1sVkWA/VOXy2BnGT5I/AAAAAAAAB-I/U6AC9mjP4YI/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://2.bp.blogspot.com/-mbQ0i1sVkWA/VOXy2BnGT5I/AAAAAAAAB-I/U6AC9mjP4YI/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 14px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 14px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;For Checking that java install successfully you can open command prompt(win+r then type cmd) and type java -version this will give you detail as:-&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 14px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 14px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 14px; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-6H4Ui12WW0M/VOXzboWW8cI/AAAAAAAAB-Q/WNGnwvS3MLc/s1600/1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://2.bp.blogspot.com/-6H4Ui12WW0M/VOXzboWW8cI/AAAAAAAAB-Q/WNGnwvS3MLc/s1600/1.PNG&quot; style=&quot;border: none; position: relative;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 2:-Install Maven&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul style=&quot;line-height: 1.4; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;For installing Maven first we need to download maven from&amp;nbsp;&lt;a href=&quot;http://maven.apache.org/download.cgi&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;here&lt;/a&gt;&amp;nbsp;and extract in C drive .&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Then set &amp;nbsp;M2_HOME =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;C:\apache-maven-3.2.3&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Then set PATH =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;C:\apache-maven-3.2.3\bin&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Now your path become:-&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;PATH =&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;C:\Program Files\Java\&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;jdk1.8.0_31&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;\bin;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;C:\apache-maven-3.2.3\bin&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Seperated by ;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 3:-Check Maven&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;For Checking that Maven install successfully you can open command prompt(win+r then type cmd) and type mvn -version this will give you detail as:-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-2m0yu-756M4/VOX0UE4CtTI/AAAAAAAAB-Y/akL5ThecM38/s1600/2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;152&quot; src=&quot;https://1.bp.blogspot.com/-2m0yu-756M4/VOX0UE4CtTI/AAAAAAAAB-Y/akL5ThecM38/s400/2.PNG&quot; style=&quot;border: none; position: relative;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://liferay-artical.blogspot.com/2017/09/how-to-install-maven.html</link><author>noreply@blogger.com (Seema Pavar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://2.bp.blogspot.com/-mbQ0i1sVkWA/VOXy2BnGT5I/AAAAAAAAB-I/U6AC9mjP4YI/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-125323660387261706.post-4323579312303995958</guid><pubDate>Thu, 21 Sep 2017 18:16:00 +0000</pubDate><atom:updated>2017-09-21T23:46:26.148+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Layout</category><category domain="http://www.blogger.com/atom/ns#">Service</category><title>Many To Many Relationship in Liferay Services</title><description>&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Today we will discuss Many To Many relationship in Liferay&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-1392214303248564849&quot; itemprop=&quot;articleBody&quot; style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px; width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;As discuss earlier Liferay Service Builder create tables with service.xml. But is there any way to provide&amp;nbsp;&lt;b&gt;Many To Many&lt;/b&gt;&amp;nbsp;relationship between entities. Yes there is today we will discuss &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Many To Many relationship in liferay.&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Before Reading this blog it is highly recommended to read my previous blog on &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Service Builder in Detail.&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Lets Start this step by step:-&lt;/span&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 1:-Create service.xml&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;You can create service as mention in my previous article&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Service Builder in Detail&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;service.xml&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19447753&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-service-xml&quot;&gt;&lt;div class=&quot;blob-wrapper data type-xml&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-service-xml-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;?&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;xml&lt;/span&gt;&lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt; version&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;1.0&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt; encoding&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;UTF-8&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;?&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-service-xml-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;!&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;DOCTYPE&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;service-builder&lt;/span&gt; PUBLIC &quot;-//Liferay//DTD Service Builder 6.2.0//EN&quot; &quot;&lt;a class=&quot;vglnk&quot; href=&quot;http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd&lt;/a&gt;&quot;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-service-xml-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;service-builder&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;package-path&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.aditya&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;auto-namespace-tables&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;false&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-service-xml-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;author&lt;/span&gt;&amp;gt;aditya.bhardwaj&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;author&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-service-xml-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;namespace&lt;/span&gt;&amp;gt;emplo&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;namespace&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-service-xml-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-service-xml-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;entity&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Employee&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;local-service&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;true&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;remote-service&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;false&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;table&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Employee&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-service-xml-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;eid&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;long&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;primary&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;true&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-service-xml-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;name&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;String&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-service-xml-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;address&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;String&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-service-xml-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;deptid&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Collection&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;entity&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Department&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;mapping-table&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Employee_department&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;/&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-service-xml-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;entity&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-service-xml-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-service-xml-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;entity&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Department&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;local-service&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;true&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;remote-service&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;false&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;table&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Department&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-service-xml-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;deptid&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;long&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;primary&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;true&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-service-xml-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;department&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;String&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;17&quot; id=&quot;file-service-xml-L17&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC17&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;eid&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Collection&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;entity&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Employee&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;mapping-table&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Employee_department&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;/&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;18&quot; id=&quot;file-service-xml-L18&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC18&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;entity&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;19&quot; id=&quot;file-service-xml-L19&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC19&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;service-builder&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/9a5a4c522092fa2dac58/raw/4a71f7384f4ec6c5a1468ec6ae082b2382ef82ae/service.xml&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/9a5a4c522092fa2dac58#file-service-xml&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;service.xml&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;Just focus on line no 11 and 17:-&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19447948&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-service-xml&quot;&gt;&lt;div class=&quot;blob-wrapper data type-xml&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-service-xml-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;deptid&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Collection&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;entity&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Department&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;mapping-table&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Employee_department&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;/&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-service-xml-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;eid&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Collection&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;entity&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Employee&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;mapping-table&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Employee_department&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;/&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/f299149dfcc747c31ffe/raw/cc119f3596f4fae435574629ddae3310c792f5fe/service.xml&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/f299149dfcc747c31ffe#file-service-xml&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;service.xml&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;&lt;u&gt;Explanation:-&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Here we create a third entity(table)&amp;nbsp;&lt;b&gt;Employee_department&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Which contain the primary key of both tables.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 2:-Check point&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Now build the service.xml and open&amp;nbsp;&lt;b&gt;tables.sql&lt;/b&gt;&amp;nbsp;inside sql folder. &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;u style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;&lt;u style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;tables.sql&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19450906&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-tables-sql&quot;&gt;&lt;div class=&quot;blob-wrapper data type-sql&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-tables-sql-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;create&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;table&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;Department&lt;/span&gt; (&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-tables-sql-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; deptid LONG &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;not null&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;primary key&lt;/span&gt;,&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-tables-sql-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; department &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;75&lt;/span&gt;) &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;null&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-tables-sql-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-tables-sql-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-tables-sql-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;create&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;table&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;Employee&lt;/span&gt; (&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-tables-sql-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; eid LONG &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;not null&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;primary key&lt;/span&gt;,&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-tables-sql-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; name &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;75&lt;/span&gt;) &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;null&lt;/span&gt;,&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-tables-sql-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; address &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;VARCHAR&lt;/span&gt;(&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;75&lt;/span&gt;) &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;null&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-tables-sql-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-tables-sql-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-tables-sql-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;create&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;table&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;Employee_department&lt;/span&gt; (&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-tables-sql-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; deptid LONG &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;not null&lt;/span&gt;,&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-tables-sql-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; eid LONG &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;not null&lt;/span&gt;,&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-tables-sql-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;primary key&lt;/span&gt; (deptid, eid)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-tables-sql-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-tables-sql-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/616c8c2da564b8133b9c/raw/2d736682d7fe1c5047bd3c66db8d643aa72dbb17/tables.sql&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/616c8c2da564b8133b9c#file-tables-sql&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;tables.sql&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;As you can see 3 tables are created two for entities and one for mapping.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 3:-Calling Services&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Just create a doView() method and add data to the tables here we consider a scenario where one employee belong to two department.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19451075&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-testing-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-testing-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;void&lt;/span&gt; doView(&lt;span class=&quot;pl-smi&quot;&gt;RenderRequest&lt;/span&gt; renderRequest, &lt;span class=&quot;pl-smi&quot;&gt;RenderResponse&lt;/span&gt; renderResponse) throws &lt;span class=&quot;pl-smi&quot;&gt;IOException&lt;/span&gt;, &lt;span class=&quot;pl-smi&quot;&gt;PortletException&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-testing-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;try&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-testing-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-smi&quot;&gt;Employee&lt;/span&gt; employee;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-testing-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  employee &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;EmployeeLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;createEmployee(&lt;span class=&quot;pl-smi&quot;&gt;CounterLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;increment());&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-testing-java-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  employee&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;setAddress(&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Delhi&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-testing-java-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  employee&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;setName(&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Ramesh&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-testing-java-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  employee &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;EmployeeLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;addEmployee(employee);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-testing-java-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-testing-java-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-testing-java-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-smi&quot;&gt;Department&lt;/span&gt; department1,department2;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-testing-java-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  department1 &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;DepartmentLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;createDepartment(&lt;span class=&quot;pl-smi&quot;&gt;CounterLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;increment());&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-testing-java-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  department1&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;setDepartment(&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;IT&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-testing-java-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  department1 &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-smi&quot;&gt;DepartmentLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;addDepartment(department1);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-testing-java-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-testing-java-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  department2 &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;DepartmentLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;createDepartment(&lt;span class=&quot;pl-smi&quot;&gt;CounterLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;increment());&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-testing-java-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  department2&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;setDepartment(&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Research&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;17&quot; id=&quot;file-testing-java-L17&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC17&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  department2 &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-smi&quot;&gt;DepartmentLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;addDepartment(department2);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;18&quot; id=&quot;file-testing-java-L18&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC18&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-smi&quot;&gt;DepartmentLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;addEmployeeDepartments(employee&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getEid(), &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;long&lt;/span&gt;[]{department1&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getDeptid(),department2&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getDeptid()});&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;19&quot; id=&quot;file-testing-java-L19&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC19&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; } &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;20&quot; id=&quot;file-testing-java-L20&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC20&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;catch&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;SystemException&lt;/span&gt; e) {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;21&quot; id=&quot;file-testing-java-L21&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC21&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  e&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;printStackTrace();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;22&quot; id=&quot;file-testing-java-L22&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC22&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; }&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;23&quot; id=&quot;file-testing-java-L23&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-testing-java-LC23&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/7fc4c7afa3aa41c69c41/raw/a9c7debc6242d1f01d0bb635a9ff3a6c5973b580/Testing.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/7fc4c7afa3aa41c69c41#file-testing-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;Testing.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Thats it just see the tables in database:-&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center; width: 336px;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-OYARGqe9UNk/VOHujTVJRzI/AAAAAAAAB8E/j-hAAXHb268/s1600/employee.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://2.bp.blogspot.com/-OYARGqe9UNk/VOHujTVJRzI/AAAAAAAAB8E/j-hAAXHb268/s1600/employee.JPG&quot; style=&quot;border: none; position: relative; width: 315.828px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center; width: 336px;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-345ZBwIPJ1s/VOHunH3WUFI/AAAAAAAAB8M/9tCwqfqb7fA/s1600/department.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://4.bp.blogspot.com/-345ZBwIPJ1s/VOHunH3WUFI/AAAAAAAAB8M/9tCwqfqb7fA/s1600/department.JPG&quot; style=&quot;border: none; position: relative; width: 315.828px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center; width: 336px;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-pl5A7cL5vcw/VOHuqtwVzYI/AAAAAAAAB8U/oeMINBALpWw/s1600/employee_dept.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://2.bp.blogspot.com/-pl5A7cL5vcw/VOHuqtwVzYI/AAAAAAAAB8U/oeMINBALpWw/s1600/employee_dept.JPG&quot; style=&quot;border: none; position: relative; width: 315.828px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;You can Download source code from&amp;nbsp;&lt;a href=&quot;https://drive.google.com/file/d/0B_RS44cnsXW9ei1xUml6ME9heTQ/view?usp=sharing&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;Many To Many mapping in Liferay&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://liferay-artical.blogspot.com/2017/09/many-to-many-relationship-in-liferay.html</link><author>noreply@blogger.com (Seema Pavar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://2.bp.blogspot.com/-OYARGqe9UNk/VOHujTVJRzI/AAAAAAAAB8E/j-hAAXHb268/s72-c/employee.JPG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-125323660387261706.post-3394738793977971371</guid><pubDate>Wed, 20 Sep 2017 19:49:00 +0000</pubDate><atom:updated>2017-09-21T01:19:16.608+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Liferay</category><category domain="http://www.blogger.com/atom/ns#">SQL</category><title>Custom Sql in Liferay</title><description>&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Today we will discuss&amp;nbsp;Custom Sql/Sql query in Liferay&lt;/span&gt;&lt;/h2&gt;&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-4497753039905698140&quot; itemprop=&quot;articleBody&quot; style=&quot;width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;font-size: 24px;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;Liferay Service Builder create basic CRUD method but there are some scenarios when we have to write SQL query. For writing native SQL query we use the concept of&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;Custom Query&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;&amp;nbsp;in Liferay.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;Before Reading this blog it is highly recommended to read my previous blog on &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;Service Builder in Detail.&lt;/span&gt;&lt;/div&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br style=&quot;color: #666666; font-family: Lora, serif;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;Lets Start this step by step:-&lt;/span&gt;&lt;br style=&quot;color: #666666; font-family: Lora, serif; font-size: 14px;&quot; /&gt;&lt;span style=&quot;color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;u style=&quot;color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 1:-Create service.xml&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;br style=&quot;color: #666666; font-family: Lora, serif; font-size: 14px;&quot; /&gt;&lt;span style=&quot;color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;You can create service as mention in my previous article&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Service Builder in Detail&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;&amp;nbsp;.&lt;/span&gt;&lt;br style=&quot;color: #666666; font-family: Lora, serif; font-size: 14px;&quot; /&gt;&lt;span style=&quot;color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;service.xml&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;color: #666666; font-family: Lora, serif; font-size: 14px;&quot; /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19106013&quot; style=&quot;direction: ltr; font-family: Lora, serif; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-service-xml&quot;&gt;&lt;div class=&quot;blob-wrapper data type-xml&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-service-xml-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;?&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;xml&lt;/span&gt;&lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt; version&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;1.0&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt; encoding&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;UTF-8&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;?&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-service-xml-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;!&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;DOCTYPE&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;service-builder&lt;/span&gt; PUBLIC &quot;-//Liferay//DTD Service Builder 6.2.0//EN&quot; &quot;&lt;a class=&quot;vglnk&quot; href=&quot;http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd&lt;/a&gt;&quot;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-service-xml-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;service-builder&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;package-path&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.aditya&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-service-xml-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;author&lt;/span&gt;&amp;gt;Aditya&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;author&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-service-xml-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;namespace&lt;/span&gt;&amp;gt;pm&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;namespace&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-service-xml-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;entity&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Student&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;local-service&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;true&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;remote-service&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;false&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-service-xml-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;sid&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;long&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;primary&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;true&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-service-xml-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;name&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;String&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-service-xml-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;rollno&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;int&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-service-xml-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;mobileno&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;long&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-service-xml-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;order&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;by&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;asc&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-service-xml-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;            &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;order-column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;mobileno&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;order-column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-service-xml-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;order&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-service-xml-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;finder&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Mobile&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;return-type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Collection&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-service-xml-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;            &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;finder-column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;mobileno&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;finder-column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-service-xml-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;finder&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;17&quot; id=&quot;file-service-xml-L17&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC17&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;entity&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;18&quot; id=&quot;file-service-xml-L18&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC18&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;service-builder&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/7e0a98d5160e1b0154c1/raw/92748eab7f7f76d2fb7b3d7d2cd94194a17b7f19/service.xml&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/7e0a98d5160e1b0154c1#file-service-xml&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;service.xml&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;color: #666666; font-family: Lora, serif; font-size: medium;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/h2&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-4497753039905698140&quot; itemprop=&quot;articleBody&quot; style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px; width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;div&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 2:-Create xml files for sql Query&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Now create a folder custom-sql inside src and create default.xml in it.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;default.xml(&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;/WEB-INF/src/custom-sql/default.xml&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;)&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19274903&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-default-xml&quot;&gt;&lt;div class=&quot;blob-wrapper data type-xml&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-default-xml-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-default-xml-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;?&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;xml&lt;/span&gt;&lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt; version&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;1.0&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt; encoding&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;UTF-8&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;?&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-default-xml-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-default-xml-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;custom-sql&lt;/span&gt; &amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-default-xml-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-default-xml-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;sql&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;file&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;custom-sql/student-custom-sql.xml&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;/&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-default-xml-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-default-xml-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;custom-sql&lt;/span&gt; &amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/280f014899a8caf1d83e/raw/d685cf7fa1bfcf070b436c3835ee04f2161332a5/default.xml&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/280f014899a8caf1d83e#file-default-xml&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;default.xml&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;here we can write our sql query but for good maintanability we create seperate file&amp;nbsp;&lt;b&gt;student-custom-sql.xml&amp;nbsp;&lt;/b&gt;and include in default.xml.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;student-custom-sql.xml&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19275093&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-student-custom-sql-xml&quot;&gt;&lt;div class=&quot;blob-wrapper data type-xml&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-student-custom-sql-xml-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student-custom-sql-xml-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;?&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;xml&lt;/span&gt;&lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt; version&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;1.0&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt; encoding&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;UTF-8&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;?&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-student-custom-sql-xml-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student-custom-sql-xml-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;custom-sql&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-student-custom-sql-xml-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student-custom-sql-xml-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;sql&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;id&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;studentBetweenQuery&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-student-custom-sql-xml-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student-custom-sql-xml-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&amp;lt;![CDATA[&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-student-custom-sql-xml-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student-custom-sql-xml-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;SELECT * from pm_student st WHERE st.sid BETWEEN ? AND ?&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-student-custom-sql-xml-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student-custom-sql-xml-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;]]&amp;gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-student-custom-sql-xml-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student-custom-sql-xml-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;sql&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-student-custom-sql-xml-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student-custom-sql-xml-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;custom-sql&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/8a4225e2358f9a7b63e6/raw/bfc1c4521463eefe418ff500b40efe49fdc4a13d/student-custom-sql.xml&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/8a4225e2358f9a7b63e6#file-student-custom-sql-xml&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;student-custom-sql.xml&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;ul style=&quot;line-height: 1.4; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Here we use&amp;nbsp;&lt;b&gt;sql id&lt;/b&gt;&amp;nbsp;this is unique for each query.This id is used to fetch the query in method.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;No need to write semicolon(;).&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;You can create one xml file for one entity and then include in default.xml.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 3:-Create xxxFinderImpl Class&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Now create xxxFinderImpl class inside persistence&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;in our case create&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;StudentFinderImpl that extends&amp;nbsp;BasePersistenceImpl and implements&amp;nbsp;StudentFinder&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;StudentFinderImpl.java&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19275544&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-studentfinderimpl-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-studentfinderimpl-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;package&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.aditya.service.persistence&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-studentfinderimpl-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-studentfinderimpl-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.aditya.model.Student&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-studentfinderimpl-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.service.persistence.impl.BasePersistenceImpl&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-studentfinderimpl-java-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-studentfinderimpl-java-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;StudentFinderImpl&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;extends&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;BasePersistenceImpl&amp;lt;&lt;span class=&quot;pl-smi&quot; style=&quot;color: #24292e;&quot;&gt;Student&lt;/span&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;implements&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;StudentFinder&lt;/span&gt;{&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-studentfinderimpl-java-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-studentfinderimpl-java-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/9ce8483bf62d09f3c417/raw/c0e79cba304013fe4c159ba7c5e3cb87d087ac69/StudentFinderImpl.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/9ce8483bf62d09f3c417#file-studentfinderimpl-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;StudentFinderImpl.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Initally it shows error because there is no StudentFinder interface.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b style=&quot;font-size: xx-large;&quot;&gt;Run Service builder&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;After this error is gone and StudentFinder interface is created which is blank.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;StudentFinder.java&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19276430&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-studentfinder-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-studentfinder-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinder-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-studentfinder-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinder-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;package&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.aditya.service.persistence&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-studentfinder-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinder-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-studentfinder-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinder-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;interface&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;StudentFinder&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-studentfinder-java-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinder-java-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/be26f9f77d5e5183ac26/raw/d52d4a7ac3877c325e641ea21496327bb9d817c6/StudentFinder.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/be26f9f77d5e5183ac26#file-studentfinder-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;StudentFinder.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;One more class&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;StudentFinderUtil&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;is also created .&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;StudentFinderUtil.java&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19276475&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-studentfinderutil-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-studentfinderutil-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-studentfinderutil-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;package&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.aditya.service.persistence&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-studentfinderutil-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-studentfinderutil-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.bean.PortletBeanLocatorUtil&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-studentfinderutil-java-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.util.ReferenceRegistry&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-studentfinderutil-java-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-studentfinderutil-java-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;color: #6a737d;&quot;&gt;&lt;span class=&quot;pl-c&quot;&gt;/*&lt;/span&gt;*&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-studentfinderutil-java-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;color: #6a737d;&quot;&gt; * @author Aditya&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-studentfinderutil-java-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;color: #6a737d;&quot;&gt; &lt;span class=&quot;pl-c&quot;&gt;*/&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-studentfinderutil-java-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;StudentFinderUtil&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-studentfinderutil-java-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;StudentFinder&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;getFinder&lt;/span&gt;() {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-studentfinderutil-java-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;if&lt;/span&gt; (_finder &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;null&lt;/span&gt;) {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-studentfinderutil-java-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   _finder &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;StudentFinder&lt;/span&gt;)&lt;span class=&quot;pl-smi&quot;&gt;PortletBeanLocatorUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;locate(&lt;span class=&quot;pl-smi&quot;&gt;com.aditya.service&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;ClpSerializer&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getServletContextName(),&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-studentfinderutil-java-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     &lt;span class=&quot;pl-smi&quot;&gt;StudentFinder&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;class&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getName());&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-studentfinderutil-java-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-studentfinderutil-java-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;span class=&quot;pl-smi&quot;&gt;ReferenceRegistry&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;registerReference(&lt;span class=&quot;pl-smi&quot;&gt;StudentFinderUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;class,&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;17&quot; id=&quot;file-studentfinderutil-java-L17&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC17&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;_finder&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;18&quot; id=&quot;file-studentfinderutil-java-L18&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC18&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  }&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;19&quot; id=&quot;file-studentfinderutil-java-L19&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC19&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;20&quot; id=&quot;file-studentfinderutil-java-L20&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC20&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;return&lt;/span&gt; _finder;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;21&quot; id=&quot;file-studentfinderutil-java-L21&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC21&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; }&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;22&quot; id=&quot;file-studentfinderutil-java-L22&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC22&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;23&quot; id=&quot;file-studentfinderutil-java-L23&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC23&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;setFinder&lt;/span&gt;(&lt;span class=&quot;pl-smi&quot;&gt;StudentFinder&lt;/span&gt; &lt;span class=&quot;pl-v&quot; style=&quot;color: #e36209;&quot;&gt;finder&lt;/span&gt;) {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;24&quot; id=&quot;file-studentfinderutil-java-L24&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC24&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  _finder &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; finder;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;25&quot; id=&quot;file-studentfinderutil-java-L25&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC25&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;26&quot; id=&quot;file-studentfinderutil-java-L26&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC26&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-smi&quot;&gt;ReferenceRegistry&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;registerReference(&lt;span class=&quot;pl-smi&quot;&gt;StudentFinderUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;class, &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;_finder&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;27&quot; id=&quot;file-studentfinderutil-java-L27&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC27&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; }&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;28&quot; id=&quot;file-studentfinderutil-java-L28&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC28&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;29&quot; id=&quot;file-studentfinderutil-java-L29&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC29&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;StudentFinder&lt;/span&gt; _finder;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;30&quot; id=&quot;file-studentfinderutil-java-L30&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC30&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/7f0bfe1bd786435329e4/raw/62b8af038bd4a684dacee39ba973aaff94541539/StudentFinderUtil.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/7f0bfe1bd786435329e4#file-studentfinderutil-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;StudentFinderUtil.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 4:-Create method in xxxFinderImpl Class&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Create method in this class and provide implementation.This is the main task where we fire query and get the result.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;StudentFinderImpl.java&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19276684&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-studentfinderimpl-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-studentfinderimpl-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;package&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.aditya.service.persistence&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-studentfinderimpl-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-studentfinderimpl-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;java.util.List&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-studentfinderimpl-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-studentfinderimpl-java-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.aditya.model.Student&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-studentfinderimpl-java-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.aditya.model.impl.StudentImpl&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-studentfinderimpl-java-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.dao.orm.QueryPos&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-studentfinderimpl-java-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.dao.orm.QueryUtil&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-studentfinderimpl-java-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.dao.orm.SQLQuery&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-studentfinderimpl-java-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.dao.orm.Session&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-studentfinderimpl-java-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.service.persistence.impl.BasePersistenceImpl&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-studentfinderimpl-java-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.util.dao.orm.CustomSQLUtil&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-studentfinderimpl-java-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-studentfinderimpl-java-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;StudentFinderImpl&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;extends&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;BasePersistenceImpl&amp;lt;&lt;span class=&quot;pl-smi&quot; style=&quot;color: #24292e;&quot;&gt;Student&lt;/span&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;implements&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;StudentFinder&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-studentfinderimpl-java-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;List&amp;lt;&lt;span class=&quot;pl-smi&quot; style=&quot;color: #24292e;&quot;&gt;Student&lt;/span&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;getStudentBetweenStudentId&lt;/span&gt;(&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;pl-v&quot; style=&quot;color: #e36209;&quot;&gt;start&lt;/span&gt;, &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;pl-v&quot; style=&quot;color: #e36209;&quot;&gt;end&lt;/span&gt;) {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-studentfinderimpl-java-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-smi&quot;&gt;Session&lt;/span&gt; session &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;null&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;17&quot; id=&quot;file-studentfinderimpl-java-L17&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC17&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;try&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;18&quot; id=&quot;file-studentfinderimpl-java-L18&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC18&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   session &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; openSession();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;19&quot; id=&quot;file-studentfinderimpl-java-L19&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC19&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;span class=&quot;pl-smi&quot;&gt;String&lt;/span&gt; sql &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;CustomSQLUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;get(&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;studentBetweenQuery&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;20&quot; id=&quot;file-studentfinderimpl-java-L20&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC20&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;span class=&quot;pl-smi&quot;&gt;SQLQuery&lt;/span&gt; queryObject &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; session&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;createSQLQuery(sql);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;21&quot; id=&quot;file-studentfinderimpl-java-L21&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC21&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   queryObject&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;setCacheable(&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;false&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;22&quot; id=&quot;file-studentfinderimpl-java-L22&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC22&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   queryObject&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;addEntity(&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Student&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;, &lt;span class=&quot;pl-smi&quot;&gt;StudentImpl&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;class);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;23&quot; id=&quot;file-studentfinderimpl-java-L23&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC23&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;span class=&quot;pl-smi&quot;&gt;QueryPos&lt;/span&gt; qPos &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;QueryPos&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getInstance(queryObject);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;24&quot; id=&quot;file-studentfinderimpl-java-L24&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC24&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   qPos&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;add(start);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;25&quot; id=&quot;file-studentfinderimpl-java-L25&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC25&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   qPos&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;add(end);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;26&quot; id=&quot;file-studentfinderimpl-java-L26&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC26&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;return&lt;/span&gt; (&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;List&amp;lt;&lt;span class=&quot;pl-smi&quot; style=&quot;color: #24292e;&quot;&gt;Student&lt;/span&gt;&amp;gt;&lt;/span&gt;) queryObject&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;list();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;27&quot; id=&quot;file-studentfinderimpl-java-L27&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC27&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;28&quot; id=&quot;file-studentfinderimpl-java-L28&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC28&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;span class=&quot;pl-c&quot; style=&quot;color: #6a737d;&quot;&gt;&lt;span class=&quot;pl-c&quot;&gt;//&lt;/span&gt;return  (List&amp;lt;Student&amp;gt;) QueryUtil.list(queryObject,getDialect(),start, end);// for pagination feature&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;29&quot; id=&quot;file-studentfinderimpl-java-L29&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC29&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  } &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;catch&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;Exception&lt;/span&gt; e) {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;30&quot; id=&quot;file-studentfinderimpl-java-L30&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC30&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   e&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;printStackTrace();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;31&quot; id=&quot;file-studentfinderimpl-java-L31&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC31&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  } &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;finally&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;32&quot; id=&quot;file-studentfinderimpl-java-L32&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC32&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   closeSession(session);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;33&quot; id=&quot;file-studentfinderimpl-java-L33&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC33&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  }&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;34&quot; id=&quot;file-studentfinderimpl-java-L34&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC34&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;null&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;35&quot; id=&quot;file-studentfinderimpl-java-L35&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC35&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; }&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;36&quot; id=&quot;file-studentfinderimpl-java-L36&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC36&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;37&quot; id=&quot;file-studentfinderimpl-java-L37&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderimpl-java-LC37&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/070c4050f834983d2cbb/raw/6f2a9a8c0745598df6ae0fa11bef959b9dd7af4c/StudentFinderImpl.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/070c4050f834983d2cbb#file-studentfinderimpl-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;StudentFinderImpl.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Explanation:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;1)CustomSQLUtil.get(&quot;studentBetweenQuery&quot;);&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Here we fetch the sql query from xml file with the help of sql id. For different queries different id and method in this class.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;&lt;u&gt;2)&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;queryObject.addEntity(&quot;Student&quot;, StudentImpl.class);&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Here we add our entity to queryObject. If sql query belong to multiple tables than we have to add all the entities to query object.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;&lt;u&gt;3)&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;return (List&amp;lt;Student&amp;gt;) queryObject.list();&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Here we return List&amp;lt;Student&amp;gt; because our query return all records belong to Student table but if our query contain two or more table like in case of join then we return List&amp;lt;Object[]&amp;gt;.&lt;/span&gt;&lt;br /&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 5:-Expose method to LocalServiceUtil Class&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;We can&#39;t directly call method from StudentFinderImpl or StudentFinderUtil . All method are call from xxxLocalServiceUtil&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Cl&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;ass so first we create method in xxxLocalServiceImpl&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;StudentLocalServiceImpl.java&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19277559&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-studentlocalserviceimpl-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-studentlocalserviceimpl-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentlocalserviceimpl-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;StudentLocalServiceImpl&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;extends&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;StudentLocalServiceBaseImpl&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-studentlocalserviceimpl-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentlocalserviceimpl-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-studentlocalserviceimpl-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentlocalserviceimpl-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;List&amp;lt;&lt;span class=&quot;pl-smi&quot; style=&quot;color: #24292e;&quot;&gt;Student&lt;/span&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;getStudentBetweenStudentId&lt;/span&gt;(&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;pl-v&quot; style=&quot;color: #e36209;&quot;&gt;start&lt;/span&gt;, &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;pl-v&quot; style=&quot;color: #e36209;&quot;&gt;end&lt;/span&gt;) {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-studentlocalserviceimpl-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentlocalserviceimpl-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;StudentFinderUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getStudentBetweenStudentId(start, end);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-studentlocalserviceimpl-java-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentlocalserviceimpl-java-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; }&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-studentlocalserviceimpl-java-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentlocalserviceimpl-java-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/0fa392f4f41ec7222277/raw/cc1efbef7f57cc4cd358fe7b6a31743189510abd/StudentLocalServiceImpl.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/0fa392f4f41ec7222277#file-studentlocalserviceimpl-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;StudentLocalServiceImpl.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Here this show error because StudentFinderUtil has not contain&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;getStudentBetweenStudentId(start, end).&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium; font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;font-size: xx-large;&quot;&gt;Run Service builder&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Now error is gone coz this will create method in StudentFinder interface and&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;StudentFinderUtil&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp; Class also.Now StudentFinder and StudentFinderUtil become:-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;StudentFinder.java&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19278076&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-studentfinder-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-studentfinder-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinder-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;interface&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;StudentFinder&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-studentfinder-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinder-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;java.util.List&amp;lt;&lt;span class=&quot;pl-smi&quot; style=&quot;color: #24292e;&quot;&gt;com.aditya.model&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;Student&lt;/span&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;getStudentBetweenStudentId&lt;/span&gt;(&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-studentfinder-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinder-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;pl-v&quot; style=&quot;color: #e36209;&quot;&gt;start&lt;/span&gt;, &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;pl-v&quot; style=&quot;color: #e36209;&quot;&gt;end&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-studentfinder-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinder-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/f0e92db0e28fd883c88c/raw/d7fcaed99b5ccc62e33acff0bcb09166efe9d2f7/StudentFinder.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/f0e92db0e28fd883c88c#file-studentfinder-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;StudentFinder.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;StudentFinderUtil.java&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19278141&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-studentfinderutil-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-studentfinderutil-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;StudentFinderUtil&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-studentfinderutil-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;java.util.List&amp;lt;&lt;span class=&quot;pl-smi&quot; style=&quot;color: #24292e;&quot;&gt;com.aditya.model&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;Student&lt;/span&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;getStudentBetweenStudentId&lt;/span&gt;(&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-studentfinderutil-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;pl-v&quot; style=&quot;color: #e36209;&quot;&gt;start&lt;/span&gt;, &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;pl-v&quot; style=&quot;color: #e36209;&quot;&gt;end&lt;/span&gt;) {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-studentfinderutil-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;return&lt;/span&gt; getFinder()&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getStudentBetweenStudentId(start, end);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-studentfinderutil-java-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; }&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-studentfinderutil-java-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-studentfinderutil-java-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;StudentFinder&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;getFinder&lt;/span&gt;() {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-studentfinderutil-java-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;if&lt;/span&gt; (_finder &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;==&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;null&lt;/span&gt;) {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-studentfinderutil-java-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   _finder &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;StudentFinder&lt;/span&gt;)&lt;span class=&quot;pl-smi&quot;&gt;PortletBeanLocatorUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;locate(&lt;span class=&quot;pl-smi&quot;&gt;com.aditya.service&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;ClpSerializer&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getServletContextName(),&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-studentfinderutil-java-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     &lt;span class=&quot;pl-smi&quot;&gt;StudentFinder&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;class&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getName());&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-studentfinderutil-java-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-studentfinderutil-java-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;span class=&quot;pl-smi&quot;&gt;ReferenceRegistry&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;registerReference(&lt;span class=&quot;pl-smi&quot;&gt;StudentFinderUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;class,&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-studentfinderutil-java-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;_finder&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-studentfinderutil-java-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  }&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-studentfinderutil-java-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-studentfinderutil-java-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;return&lt;/span&gt; _finder;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;17&quot; id=&quot;file-studentfinderutil-java-L17&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC17&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; }&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;18&quot; id=&quot;file-studentfinderutil-java-L18&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC18&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;19&quot; id=&quot;file-studentfinderutil-java-L19&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC19&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;setFinder&lt;/span&gt;(&lt;span class=&quot;pl-smi&quot;&gt;StudentFinder&lt;/span&gt; &lt;span class=&quot;pl-v&quot; style=&quot;color: #e36209;&quot;&gt;finder&lt;/span&gt;) {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;20&quot; id=&quot;file-studentfinderutil-java-L20&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC20&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  _finder &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; finder;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;21&quot; id=&quot;file-studentfinderutil-java-L21&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC21&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;22&quot; id=&quot;file-studentfinderutil-java-L22&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC22&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-smi&quot;&gt;ReferenceRegistry&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;registerReference(&lt;span class=&quot;pl-smi&quot;&gt;StudentFinderUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;class, &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;_finder&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;23&quot; id=&quot;file-studentfinderutil-java-L23&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC23&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; }&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;24&quot; id=&quot;file-studentfinderutil-java-L24&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC24&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;25&quot; id=&quot;file-studentfinderutil-java-L25&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC25&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;StudentFinder&lt;/span&gt; _finder;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;26&quot; id=&quot;file-studentfinderutil-java-L26&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentfinderutil-java-LC26&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/73c5d094698f3be519f2/raw/4da5830d0d92ae28f530c1ba1a2c363666c22c2b/StudentFinderUtil.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/73c5d094698f3be519f2#file-studentfinderutil-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;StudentFinderUtil.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Now Both Contain &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;getStudentBetweenStudentId(&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;int start, int end).&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;Note:-&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Normally we first create method in interface then provide implementation in Impl class but in Liferay we provide implementation in xxxLocalServiceImpl first and Run service builder which create method in Inteface.&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;&lt;/u&gt;&lt;u&gt;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 6:-Call method from LocalServiceUtil Class&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Now from your doView() or from jsp call your method as:-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19278405&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-test-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-test-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-test-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;void&lt;/span&gt; doView(&lt;span class=&quot;pl-smi&quot;&gt;RenderRequest&lt;/span&gt; renderRequest, &lt;span class=&quot;pl-smi&quot;&gt;RenderResponse&lt;/span&gt; renderResponse) throws &lt;span class=&quot;pl-smi&quot;&gt;IOException&lt;/span&gt;, &lt;span class=&quot;pl-smi&quot;&gt;PortletException&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-test-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-test-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;try&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-test-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-test-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-smi&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;out&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;println(&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Student==&amp;gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pl-smi&quot;&gt;StudentLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getStudentBetweenStudentId(&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;101&lt;/span&gt;, &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;104&lt;/span&gt;)&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;size());&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-test-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-test-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     } &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-test-java-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-test-java-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;catch&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;SystemException&lt;/span&gt; e) {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-test-java-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-test-java-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  e&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;printStackTrace();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-test-java-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-test-java-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; }&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-test-java-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-test-java-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;super&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;doView(renderRequest, renderResponse);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-test-java-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-test-java-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/4e059fb598b966d94307/raw/d288f210e10fcf685fcba5a50a6feddd158dcd18/Test.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/4e059fb598b966d94307#file-test-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;Test.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;You can download source code from&amp;nbsp;&lt;a href=&quot;https://drive.google.com/file/d/0B_RS44cnsXW9ZlJwQWRUc2JTOWc/view?usp=sharing&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;Custom Sql in Liferay&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://liferay-artical.blogspot.com/2017/09/custom-sql-in-liferay.html</link><author>noreply@blogger.com (Seema Pavar)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-125323660387261706.post-3830889696546009856</guid><pubDate>Tue, 19 Sep 2017 21:30:00 +0000</pubDate><atom:updated>2017-09-20T03:00:01.603+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Layout</category><category domain="http://www.blogger.com/atom/ns#">Liferay</category><title>Adding a Page ,Change Layout, Adding a Portlet on a page Programmatically(via Code) in Liferay.</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-size: 24px; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;br /&gt;&lt;/h2&gt;&lt;div class=&quot;post-header&quot; style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px; line-height: 1.6;&quot;&gt;&lt;div class=&quot;post-header-line-1&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-3373594502572678586&quot; itemprop=&quot;articleBody&quot; style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px; width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif; font-size: medium;&quot;&gt;Normally we add a page, change layout adding a portlet on a particular page by using drag and drop or by clicking our mouse.Today we will add a page,Change Layout from 2 to 3 and than finally add a portlet on newly created page&amp;nbsp;Programmatically.&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;b style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;b style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Introduction&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;For doing this we basically focus on two classes:-&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;1)&lt;u&gt;LayoutLocalServiceUtil&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul style=&quot;line-height: 1.4; margin: 0.5em 0px; padding: 0px 2.5em;&quot;&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif; font-size: medium;&quot;&gt;Because page means layout in liferay thats why we use LayoutLocalServiceUtil&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin: 0px 0px 0.25em; padding: 0px;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;For using method of&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;LayoutLocalServiceUtil&amp;nbsp;we need userID , groupID so we also need ThemeDisplay Object.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;2)&lt;u&gt;LayoutTypePortlet&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif; font-size: medium;&quot;&gt;Object of this Class is used to programmatically add or remove a portlets from a page.This object can be get in jsp by&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;lt;liferay-theme:defineObjects /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif; font-size: medium;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;Ok Lets discuss step by Step&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif; font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif; font-size: large;&quot;&gt;&lt;b&gt;Step 1 :-&amp;nbsp;&lt;u&gt;Create Liferay project and Generic Portlet in it.&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Create a liferay project then create a generic portlet in it . Copy this code inside your view.jsp&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;b&gt;view.jsp&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;gist&quot; id=&quot;gist18954498&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-view-jsp&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java-server-pages&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-view-jsp-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@ &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;taglib&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;uri&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;a class=&quot;vglnk&quot; href=&quot;http://java.sun.com/portlet_2_0&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://java.sun.com/portlet_2_0&lt;/a&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;prefix&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;portlet&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; %&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-view-jsp-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;portlet:defineObjects&lt;/span&gt; /&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-view-jsp-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;portlet:actionURL&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;var&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;addPage&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;addPageAction&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;portlet:actionURL&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-view-jsp-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;portlet:actionURL&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;var&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;updatePageLayout&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;updatePageLayout&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;portlet:actionURL&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-view-jsp-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;portlet:actionURL&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;var&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;addPortlet&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;addPortlet&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;portlet:actionURL&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-view-jsp-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-view-jsp-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;a&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;href&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;addPage &lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;%&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;Adding Page&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;a&lt;/span&gt;&amp;gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;br&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-view-jsp-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;a&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;href&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;updatePageLayout &lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;%&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;Update Page Layout&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;a&lt;/span&gt;&amp;gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;br&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-view-jsp-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;a&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;href&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;addPortlet &lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;%&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;Add Loan Calculator&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;a&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/f280f3ff70b1ba86264e/raw/38842e3d6fa25522b4f670a9461d5b610c111162/view.jsp&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/f280f3ff70b1ba86264e#file-view-jsp&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;view.jsp&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;&lt;u&gt;Explanation:-&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Here we create just 3 action URL that hit 3 different methods on click.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 2 :-&lt;u&gt;&amp;nbsp;Adding a Page.&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;On Clicking&amp;nbsp;&lt;u style=&quot;font-weight: bold;&quot;&gt;Adding Page&lt;/u&gt;&amp;nbsp;addPage method is called which is responsible for adding a page in Liferay.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div class=&quot;gist&quot; id=&quot;gist18954554&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-addpageaction-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-addpageaction-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;@ProcessAction&lt;/span&gt;(&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;addPageAction&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-addpageaction-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;void&lt;/span&gt; addPageAction(&lt;span class=&quot;pl-smi&quot;&gt;ActionRequest&lt;/span&gt; request, &lt;span class=&quot;pl-smi&quot;&gt;ActionResponse&lt;/span&gt; response)throws &lt;span class=&quot;pl-smi&quot;&gt;PortletException&lt;/span&gt;{&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-addpageaction-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-smi&quot;&gt;ThemeDisplay&lt;/span&gt; themeDisplay &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;ThemeDisplay&lt;/span&gt;)request&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getAttribute(&lt;span class=&quot;pl-smi&quot;&gt;WebKeys&lt;/span&gt;&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;THEME_DISPLAY&lt;/span&gt;)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-addpageaction-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;long&lt;/span&gt; userId &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; themeDisplay&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getUserId();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-addpageaction-java-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;long&lt;/span&gt; groupId &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; themeDisplay&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getScopeGroupId();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-addpageaction-java-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;boolean&lt;/span&gt; privateLayout &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;false&lt;/span&gt;;&lt;span class=&quot;pl-c&quot; style=&quot;color: #6a737d;&quot;&gt;&lt;span class=&quot;pl-c&quot;&gt;//&lt;/span&gt; private page or public page&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-addpageaction-java-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;long&lt;/span&gt; parentLayoutId &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;0&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-addpageaction-java-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-smi&quot;&gt;String&lt;/span&gt; name &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Dynamic&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-addpageaction-java-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-smi&quot;&gt;String&lt;/span&gt; title &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Inside SEO HTML Title&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-addpageaction-java-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-smi&quot;&gt;String&lt;/span&gt; description &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Inside SEO Description&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-addpageaction-java-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-smi&quot;&gt;String&lt;/span&gt; type &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;LayoutConstants&lt;/span&gt;&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;TYPE_PORTLET&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-addpageaction-java-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;boolean&lt;/span&gt; hidden &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;false&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-addpageaction-java-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-smi&quot;&gt;String&lt;/span&gt; friendlyURL &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;/dynamic&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-addpageaction-java-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-smi&quot;&gt;ServiceContext&lt;/span&gt; serviceContext &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;ServiceContext&lt;/span&gt;();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-addpageaction-java-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;try&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-addpageaction-java-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        { &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;17&quot; id=&quot;file-addpageaction-java-L17&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC17&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;            &lt;span class=&quot;pl-smi&quot;&gt;LayoutLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;addLayout(userId, groupId, privateLayout, parentLayoutId,name,title,description, type, hidde,friendRL,serviceContext);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;18&quot; id=&quot;file-addpageaction-java-L18&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC18&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        } &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;19&quot; id=&quot;file-addpageaction-java-L19&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC19&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;catch&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;PortalException&lt;/span&gt; e) &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;20&quot; id=&quot;file-addpageaction-java-L20&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC20&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;      {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;21&quot; id=&quot;file-addpageaction-java-L21&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC21&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;      e&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;printStackTrace();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;22&quot; id=&quot;file-addpageaction-java-L22&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC22&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;      }&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;23&quot; id=&quot;file-addpageaction-java-L23&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addpageaction-java-LC23&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  }&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/e8a9a9962a915bcd6652/raw/e5f933efb8df491babebac44769609744ef6deb3/AddPageAction.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/e8a9a9962a915bcd6652#file-addpageaction-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;AddPageAction.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;Explanation:-&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Here we use addLayout method of LayoutLocalServiceUtil Class which take parameters as:-&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;a)UserId:-&amp;nbsp;&lt;/b&gt;Current User Id .&lt;/div&gt;&lt;div&gt;&lt;b&gt;b)GroupId:-&amp;nbsp;&lt;/b&gt;Group id from which user is belong.&lt;/div&gt;&lt;div&gt;&lt;b&gt;c)Private Layout:-&amp;nbsp;&lt;/b&gt;The page added as a public(false) page or private(true) page.&lt;/div&gt;&lt;div&gt;&lt;b&gt;d)name:-&amp;nbsp;&lt;/b&gt;Name of the page appears in menu.&lt;/div&gt;&lt;div&gt;&lt;b&gt;e)title:-&lt;/b&gt;That is show on tabs of browser.&lt;/div&gt;&lt;div&gt;&lt;b&gt;f)description:-&amp;nbsp;&lt;/b&gt;description about the page.&lt;/div&gt;&lt;div&gt;&lt;b&gt;g)type:-&amp;nbsp;&lt;/b&gt;type of page .ex- Panel ,embedded etc.&lt;/div&gt;&lt;div&gt;&lt;b&gt;i)hidden:-&lt;/b&gt;&amp;nbsp;page is shown in menu bar or not.&lt;/div&gt;&lt;div&gt;&lt;b&gt;j)friendlyUrl:-&amp;nbsp;&lt;/b&gt;the friendly Url for the page.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;After Clicking the link just Reload the page will appear in menu bar.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 3&amp;nbsp;:-&lt;u&gt;Change Page Layout&lt;/u&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;By default the page is added with 2 column .If you want to change from 2 column layout to 3 column layout click on&amp;nbsp;&lt;b&gt;update page Layout&lt;/b&gt;&amp;nbsp;link.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div class=&quot;gist&quot; id=&quot;gist18954572&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-changelayout-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-changelayout-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;@ProcessAction&lt;/span&gt;(&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;updatePageLayout&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-changelayout-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;void&lt;/span&gt; updatePageLayout(&lt;span class=&quot;pl-smi&quot;&gt;ActionRequest&lt;/span&gt; request, &lt;span class=&quot;pl-smi&quot;&gt;ActionResponse&lt;/span&gt; response)throws &lt;span class=&quot;pl-smi&quot;&gt;PortletException&lt;/span&gt;{&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-changelayout-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     &lt;span class=&quot;pl-smi&quot;&gt;ThemeDisplay&lt;/span&gt; themeDisplay &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;ThemeDisplay&lt;/span&gt;)request&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getAttribute(&lt;span class=&quot;pl-smi&quot;&gt;WebKeys&lt;/span&gt;&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;THEME_DISPLAY&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-changelayout-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;long&lt;/span&gt; groupId &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; themeDisplay&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getScopeGroupId();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-changelayout-java-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     &lt;span class=&quot;pl-smi&quot;&gt;String&lt;/span&gt; friendlyURL &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;/dynamic&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-changelayout-java-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;boolean&lt;/span&gt; privateLayout &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;false&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-changelayout-java-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;long&lt;/span&gt; userId &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; themeDisplay&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getUserId();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-changelayout-java-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;try&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-changelayout-java-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;              &lt;span class=&quot;pl-smi&quot;&gt;Layout&lt;/span&gt; layout &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-smi&quot;&gt;LayoutLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getFriendlyURLLayout(groupId, privateLayout, friendlyURL);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-changelayout-java-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;              &lt;span class=&quot;pl-smi&quot;&gt;LayoutTypePortlet&lt;/span&gt; layoutTypePortlet &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;LayoutTypePortlet&lt;/span&gt;) layout&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getLayoutType();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-changelayout-java-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;              layoutTypePortlet&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;setLayoutTemplateId(userId, &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;3_columns&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-changelayout-java-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;              &lt;span class=&quot;pl-smi&quot;&gt;LayoutLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;updateLayout(layout&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getGroupId(), layout&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getPrivateLayout(),layout&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getLayoutId(), layout&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getTypeSettings());&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-changelayout-java-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;         } &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;catch&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;Exception&lt;/span&gt; e) {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-changelayout-java-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;               e&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;printStackTrace();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-changelayout-java-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;         } &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-changelayout-java-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-changelayout-java-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     }&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/295f38d0c1362315f5a5/raw/866b0f338f0b1726e539447d8005f06dbee015be/ChangeLayout.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/295f38d0c1362315f5a5#file-changelayout-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;ChangeLayout.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;Explanation:-&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;Here first we get the Layout(ie page) Object for which we have to change the layout by providing friendlyUrl and other values.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;Then we get the LayoutTypePortlet Object and then use setLayoutTempelateId method.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&amp;gt;&lt;/b&gt;Other values rather than&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;3_columns&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;can be found (\ROOT\layouttpl\custom)&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 4:-&lt;u&gt;&amp;nbsp;Adding Portlet on Page&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Now we have a page with 3 Column layout.Now we add Loan Calculator portlet on the page. Just Click the link&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Add Loan Calculator&amp;nbsp;&lt;/b&gt;this will call the addPortlet method.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;gist&quot; id=&quot;gist18954611&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-addportlet-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-addportlet-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-addportlet-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;@ProcessAction&lt;/span&gt;(&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;addPortlet&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-addportlet-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;void&lt;/span&gt; addPortlet(&lt;span class=&quot;pl-smi&quot;&gt;ActionRequest&lt;/span&gt; request, &lt;span class=&quot;pl-smi&quot;&gt;ActionResponse&lt;/span&gt; response)throws &lt;span class=&quot;pl-smi&quot;&gt;PortletException&lt;/span&gt;{&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-addportlet-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;span class=&quot;pl-smi&quot;&gt;ThemeDisplay&lt;/span&gt; themeDisplay &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;ThemeDisplay&lt;/span&gt;)request&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getAttribute(&lt;span class=&quot;pl-smi&quot;&gt;WebKeys&lt;/span&gt;&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;THEME_DISPLAY&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-addportlet-java-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;long&lt;/span&gt; groupId &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; themeDisplay&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getScopeGroupId();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-addportlet-java-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;span class=&quot;pl-smi&quot;&gt;String&lt;/span&gt; friendlyURL &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;/dynamic&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-addportlet-java-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;boolean&lt;/span&gt; privateLayout &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;false&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-addportlet-java-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;long&lt;/span&gt; userId &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; themeDisplay&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getUserId();   &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-addportlet-java-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;try&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-addportlet-java-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;         &lt;span class=&quot;pl-smi&quot;&gt;Layout&lt;/span&gt; layout &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-smi&quot;&gt;LayoutLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getFriendlyURLLayout(groupId, privateLayout, friendlyURL);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-addportlet-java-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;         &lt;span class=&quot;pl-smi&quot;&gt;LayoutTypePortlet&lt;/span&gt; layoutTypePortlet &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;LayoutTypePortlet&lt;/span&gt;) layout&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getLayoutType();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-addportlet-java-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;         layoutTypePortlet&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;addPortletId(userId, &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;61&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;, &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;column-1&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;, &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;1&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-addportlet-java-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;         &lt;span class=&quot;pl-smi&quot;&gt;LayoutLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;updateLayout(layout&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getGroupId(), layout&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getPrivateLayout() ,layout&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getLayoutId() , layout&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getTypeSettings());&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-addportlet-java-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;       } &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-addportlet-java-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;catch&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;Exception&lt;/span&gt; e) &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-addportlet-java-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;17&quot; id=&quot;file-addportlet-java-L17&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC17&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        e&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;printStackTrace();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;18&quot; id=&quot;file-addportlet-java-L18&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC18&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     } &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;19&quot; id=&quot;file-addportlet-java-L19&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-addportlet-java-LC19&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; }&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/6e30865e28ba77cf2f48/raw/f184459b507f4a75908488bb9ebc85dcb14f1954/AddPortlet.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/6e30865e28ba77cf2f48#file-addportlet-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;AddPortlet.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;&lt;u&gt;Explanation:-&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;d b=&quot;&quot; style=&quot;font-size: x-large;&quot;&gt;&amp;gt;&lt;/d&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Here first we again get the Layout(ie page) Object on which we have to add the portlet by providing friendlyUrl and other values.&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;gt;Then we use the method addPortletId which take 4 parameters as:-&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;a)UserId:-&amp;nbsp;&lt;/b&gt;Current User Id .&lt;/div&gt;&lt;div&gt;&lt;b&gt;b)PortletId:-&amp;nbsp;&lt;/b&gt;id of the portlet which is to be added on page.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;c)ColoumnId:-In which column you want to add your portlet. Ex-&amp;nbsp;&lt;/b&gt;column-1 hence portlet added at LHS if column-1 then portlet added at centre and if column-3 portlet added at RHS.&lt;/div&gt;&lt;div&gt;&lt;b&gt;d)Column Position:-&amp;nbsp;&lt;/b&gt;Consider if there is already any other portlet in particular column.&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&amp;gt;=:-Our portlet is added at the top of existing portlet.&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -1 :-Our portlet is added at the bottom of existing portlet.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;gt;Finally we update the layout&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;you can download source code from&amp;nbsp;&lt;a href=&quot;https://drive.google.com/file/d/0B_RS44cnsXW9MlRrQ3F6Q3NhRGM/view?usp=sharing&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;Here&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://liferay-artical.blogspot.com/2017/09/adding-page-change-layout-adding.html</link><author>noreply@blogger.com (Seema Pavar)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-125323660387261706.post-926449231892441363</guid><pubDate>Tue, 19 Sep 2017 19:01:00 +0000</pubDate><atom:updated>2017-09-20T00:31:40.259+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Liferay</category><category domain="http://www.blogger.com/atom/ns#">Service Builder</category><title>Finder method for Service Builder in Liferay</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Today we will Discuss Finder method for Service Builder in Liferay&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-6637227681409871266&quot; itemprop=&quot;articleBody&quot; style=&quot;background-color: white; color: #666666; font-family: Lora, serif; width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;In my Previous article&amp;nbsp;&lt;span style=&quot;color: #c4a549;&quot;&gt;Service Builder in Detail&lt;/span&gt;&amp;nbsp;we see that&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;liferay created basic CRUD method automatically but what if we want to add our custom method in Liferay services . There are many ways but creating Finder method is the simplest one.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Lets Start this step by step:-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 1:-Create service.xml&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;You can create service as mention in my previous article&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #c4a549; font-size: medium; text-decoration-line: none;&quot;&gt;Service Builder in Detail&lt;/span&gt;&lt;span style=&quot;color: #c4a549; font-size: medium; text-decoration-line: none;&quot;&gt;&amp;nbsp;.Today we add finder method in my Services:-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c4a549; font-size: medium; text-decoration-line: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #c4a549; font-size: medium; text-decoration-line: none;&quot;&gt;&lt;b&gt;&lt;u&gt;Service.xml&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c4a549; font-size: medium; text-decoration-line: none;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19106013&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px; text-decoration-line: none;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-service-xml&quot;&gt;&lt;div class=&quot;blob-wrapper data type-xml&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-service-xml-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;?&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;xml&lt;/span&gt;&lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt; version&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;1.0&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt; encoding&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;UTF-8&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;?&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-service-xml-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;!&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;DOCTYPE&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;service-builder&lt;/span&gt; PUBLIC &quot;-//Liferay//DTD Service Builder 6.2.0//EN&quot; &quot;&lt;a class=&quot;vglnk&quot; href=&quot;http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd&lt;/a&gt;&quot;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-service-xml-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;service-builder&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;package-path&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.aditya&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-service-xml-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;author&lt;/span&gt;&amp;gt;Aditya&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;author&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-service-xml-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;namespace&lt;/span&gt;&amp;gt;pm&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;namespace&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-service-xml-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;entity&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Student&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;local-service&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;true&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;remote-service&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;false&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-service-xml-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;sid&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;long&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;primary&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;true&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-service-xml-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;name&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;String&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-service-xml-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;rollno&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;int&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-service-xml-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;mobileno&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;long&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-service-xml-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;order&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;by&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;asc&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-service-xml-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;            &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;order-column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;mobileno&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;order-column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-service-xml-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;order&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-service-xml-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;finder&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Mobile&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;return-type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Collection&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-service-xml-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;            &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;finder-column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;mobileno&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;finder-column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-service-xml-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;finder&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;17&quot; id=&quot;file-service-xml-L17&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC17&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;entity&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;18&quot; id=&quot;file-service-xml-L18&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC18&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;service-builder&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/7e0a98d5160e1b0154c1/raw/92748eab7f7f76d2fb7b3d7d2cd94194a17b7f19/service.xml&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/7e0a98d5160e1b0154c1#file-service-xml&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;service.xml&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;color: #c4a549; font-size: medium; text-decoration-line: none;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #c4a549; font-size: medium; text-decoration-line: none;&quot;&gt;Just Focus on these li&lt;span style=&quot;font-family: inherit;&quot;&gt;nes:-&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19106097&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px; text-decoration-line: none;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-finder-xml&quot;&gt;&lt;div class=&quot;blob-wrapper data type-xml&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-finder-xml-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-finder-xml-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;finder&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Mobile&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;return-type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Collection&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-finder-xml-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-finder-xml-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;            &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;finder-column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;mobileno&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;finder-column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-finder-xml-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-finder-xml-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;finder&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/acaa39eda483a60156ea/raw/31f096f437b0c13419335199010c4fc9d4184540/finder.xml&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/acaa39eda483a60156ea#file-finder-xml&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;finder.xml&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;color: #c4a549; font-size: medium; text-decoration-line: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #c4a549; font-size: medium; text-decoration-line: none;&quot;&gt;&lt;b&gt;&lt;u&gt;Explanation:-&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;1) &amp;lt;&lt;/span&gt;&lt;span class=&quot;pl-ent&quot; style=&quot;box-sizing: border-box; color: #63a35c; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;finder&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pl-e&quot; style=&quot;box-sizing: border-box; color: #795da3; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;box-sizing: border-box; color: #df5000; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box;&quot;&gt;&quot;&lt;/span&gt;Mobile&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pl-e&quot; style=&quot;box-sizing: border-box; color: #795da3; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;return-type&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;box-sizing: border-box; color: #df5000; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box;&quot;&gt;&quot;&lt;/span&gt;Collection&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;&lt;span style=&quot;color: #333333; line-height: 16.8px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;      a) name=&quot;Mobile&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: inherit; line-height: 16.8px; white-space: pre;&quot;&gt;      This is the name by which method is Created. Our method is Created by name&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;&lt;span style=&quot;color: #333333; line-height: 16.8px; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;      findByMobile().&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: inherit; line-height: 16.8px; white-space: pre;&quot;&gt;findBy is automatically prepended by liferay.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #333333; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;      &lt;u&gt;Note&lt;/u&gt;=&amp;gt; The name must be Capital otherwise method is created as findBymobile()&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;      which is &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;color: #333333; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;not follow java camel case convention.&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b style=&quot;color: #333333; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;     b) return-type=&quot;Collection&quot;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;     return type of our method Collection represent List&amp;lt;T&amp;gt; in this case List&amp;lt;Student&amp;gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;2)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pl-ent&quot; style=&quot;box-sizing: border-box; color: #63a35c; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;finder-column&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pl-e&quot; style=&quot;box-sizing: border-box; color: #795da3; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;box-sizing: border-box; color: #df5000; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box;&quot;&gt;&quot;&lt;/span&gt;mobileno&lt;span class=&quot;pl-pds&quot; style=&quot;box-sizing: border-box;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;pl-ent&quot; style=&quot;box-sizing: border-box; color: #63a35c; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;finder-column&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;    Column-name represent on which column you want to apply conditions.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: consolas, &amp;quot;liberation mono&amp;quot;, menlo, courier, monospace; line-height: 16.8px; text-decoration-line: none; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #c4a549; font-size: medium; text-decoration-line: none;&quot;&gt;After doing this just build your service and refresh your project.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;color: #c4a549; font-size: medium; text-decoration-line: none;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 2:-Check Point&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;At this point liferay create our method in two places:-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;1)StudentPersistence (Interface)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;(under web-inf/services/com/aditya/services/persistence)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;This interface contain many overloaded method of same name like:-&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19107574&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-studentpersistence-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-studentpersistence-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;java.util.List&amp;lt;&lt;span class=&quot;pl-smi&quot; style=&quot;color: #24292e;&quot;&gt;com.aditya.model&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;Student&lt;/span&gt;&amp;gt;&lt;/span&gt; findByMobile(&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;long&lt;/span&gt; mobileno)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-studentpersistence-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  throws &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.exception&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;SystemException&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-studentpersistence-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-studentpersistence-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;java.util.List&amp;lt;&lt;span class=&quot;pl-smi&quot; style=&quot;color: #24292e;&quot;&gt;com.aditya.model&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;Student&lt;/span&gt;&amp;gt;&lt;/span&gt; findByMobile(&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-studentpersistence-java-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;long&lt;/span&gt; mobileno, &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; start, &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; end)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-studentpersistence-java-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  throws &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.exception&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;SystemException&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-studentpersistence-java-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-studentpersistence-java-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;java.util.List&amp;lt;&lt;span class=&quot;pl-smi&quot; style=&quot;color: #24292e;&quot;&gt;com.aditya.model&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;Student&lt;/span&gt;&amp;gt;&lt;/span&gt; findByMobile(&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-studentpersistence-java-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;long&lt;/span&gt; mobileno, &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; start, &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; end,&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-studentpersistence-java-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.util&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;OrderByComparator&lt;/span&gt; orderByComparator)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-studentpersistence-java-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  throws &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.exception&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;SystemException&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-studentpersistence-java-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-studentpersistence-java-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.aditya.model&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;Student&lt;/span&gt; findByMobile_First(&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;long&lt;/span&gt; mobileno,&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-studentpersistence-java-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.util&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;OrderByComparator&lt;/span&gt; orderByComparator)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-studentpersistence-java-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  throws &lt;span class=&quot;pl-smi&quot;&gt;com.aditya&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;NoSuchStudentException&lt;/span&gt;,&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-studentpersistence-java-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentpersistence-java-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.exception&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;SystemException&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/0272ff35093389442bb2/raw/0c17de1f3e5a40bc3c2b3037173efe869e61c01d/StudentPersistence.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/0272ff35093389442bb2#file-studentpersistence-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;StudentPersistence.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Their are other method also like&amp;nbsp;removeByMobile, countByMobile&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;etc.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4 style=&quot;border: 0px; font-family: oswald; font-size: 21px; font-weight: 400; line-height: 23px; margin: 0px; padding-bottom: 10px; position: relative;&quot;&gt;&lt;/h4&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;2)StudentPersistenceImpl (Class)&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;(under web-inf/src/com/aditya/services/persistence)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;This contain the implementation of&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;StudentPersistence interface.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;u style=&quot;text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 3:-Expose method to Util Classes&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Till now our method is not available to LocalServiceUtil Class.We have to expose it.&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Open&amp;nbsp;&lt;b&gt;StudentLocalServiceImpl&amp;nbsp;&lt;/b&gt;Class. This class is just blank provide implementation of your method here so that it can be available by Util Class.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;gist&quot; id=&quot;gist19108415&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-studentlocalserviceimpl-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-studentlocalserviceimpl-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentlocalserviceimpl-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;List&amp;lt;&lt;span class=&quot;pl-smi&quot; style=&quot;color: #24292e;&quot;&gt;Student&lt;/span&gt;&amp;gt;&lt;/span&gt; findByMobile(&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; mobileno) throws &lt;span class=&quot;pl-smi&quot;&gt;SystemException&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-studentlocalserviceimpl-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentlocalserviceimpl-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;{&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-studentlocalserviceimpl-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentlocalserviceimpl-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;studentPersistence&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;findByMobile(mobileno);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-studentlocalserviceimpl-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-studentlocalserviceimpl-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/514c496b605baa931e5f/raw/2d50f1e8b02c8caa2ca851d510f43725f35299f6/StudentLocalServiceImpl.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/514c496b605baa931e5f#file-studentlocalserviceimpl-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;StudentLocalServiceImpl.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;As you see in implementation we just call the method from interface thats it.&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Now again build services and that it .Your method is now available to StudentLocalServiceUtil Class.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;You can download source code from&amp;nbsp;&lt;a href=&quot;https://drive.google.com/open?id=0B_RS44cnsXW9RUx3emhpX3FSTWs&amp;amp;authuser=0&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;Finder method for service builder in lifeary&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://liferay-artical.blogspot.com/2017/09/finder-method-for-service-builder-in.html</link><author>noreply@blogger.com (Seema Pavar)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-125323660387261706.post-4201702232519506745</guid><pubDate>Tue, 19 Sep 2017 16:30:00 +0000</pubDate><atom:updated>2017-09-19T22:00:16.300+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Liferay</category><category domain="http://www.blogger.com/atom/ns#">Search Container</category><title>Search Container in Liferay 6.2</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Liferay Provide a simple and easy way to show list of Objects in proper tabular format with pagination by using Search Container&amp;nbsp;tag of liferay.&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-4211504452394847940&quot; itemprop=&quot;articleBody&quot; style=&quot;background-color: white; color: #666666; font-family: Lora, serif; width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Our goal is to show a list of Student in which:-&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;1)Column show student name,last name,Class etc.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;2)In one column we show address of Student that comes from &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;another jsp.&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;3)In one column we provide a link .When user click on that link it &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;will go to another jsp that show complete detail of Student.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;4)In one column we provide delete row feature.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;5)Also we provide pagination among the list.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 1:-Create&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;Liferay Portlet and Services&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;First we create a liferay plugin project than create a portlet in this project. Then create sevice.xml and build services. For details of services you can read my Previous Blog.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Project Structure look like :-&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://4.bp.blogspot.com/-5LDXjVR6Lbw/WCqX0bZbMNI/AAAAAAAADZY/7ZRFxs3vbSYKD4FY-EmUwnuNKoWIjuGXgCLcB/s1600/search%2Bcontainer%2Bin%2Bliferay%2Bproject%2Bstructure.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://4.bp.blogspot.com/-5LDXjVR6Lbw/WCqX0bZbMNI/AAAAAAAADZY/7ZRFxs3vbSYKD4FY-EmUwnuNKoWIjuGXgCLcB/s1600/search%2Bcontainer%2Bin%2Bliferay%2Bproject%2Bstructure.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;This is my service.xml&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;service.xml&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist41914861&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-service-xml&quot;&gt;&lt;div class=&quot;blob-wrapper data type-xml&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-service-xml-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;?&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;xml&lt;/span&gt;&lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt; version&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;1.0&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt; encoding&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;UTF-8&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;?&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-service-xml-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;!&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;DOCTYPE&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;service-builder&lt;/span&gt; PUBLIC &quot;-//Liferay//DTD Service Builder 6.2.0//EN&quot; &quot;&lt;a class=&quot;vglnk&quot; href=&quot;http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd&lt;/a&gt;&quot;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-service-xml-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;service-builder&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;package-path&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.student.services&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;auto-namespace-tables&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;true&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-service-xml-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;author&lt;/span&gt;&amp;gt;Aditya&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;author&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-service-xml-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;namespace&lt;/span&gt;&amp;gt;search&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;namespace&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-service-xml-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;entity&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Student&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;local-service&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;true&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;cache-enabled&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;false&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;table&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;student&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-service-xml-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;primary&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;true&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;studentId&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;int&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;id-type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;increment&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-service-xml-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;name&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;String&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-service-xml-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;lastname&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;String&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-service-xml-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;std&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;String&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-service-xml-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;address&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;String&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-service-xml-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;phone&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;String&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-service-xml-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;gender&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;type&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;String&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;column&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-service-xml-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;    &amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;entity&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-service-xml-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-service-xml-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;service-builder&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/211347293750e5b5be9a4a03a63f26a8/raw/21471943e183dd137f5f333f8c54687de954955d/service.xml&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/211347293750e5b5be9a4a03a63f26a8#file-service-xml&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;service.xml&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;This is my database table:-&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 14px; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-G3j-0IrldMQ/WCqjuTNJOZI/AAAAAAAADZo/r75fzdJ5-U4ny-cNJzx9yndUGi0h8TnAQCLcB/s1600/search%2Bcontainer%2Bin%2Bliferay%2Bdb.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://1.bp.blogspot.com/-G3j-0IrldMQ/WCqjuTNJOZI/AAAAAAAADZo/r75fzdJ5-U4ny-cNJzx9yndUGi0h8TnAQCLcB/s1600/search%2Bcontainer%2Bin%2Bliferay%2Bdb.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 14px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: 14px; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large; text-decoration-line: underline;&quot;&gt;Step 2:-Change view.jsp&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Open view.jsp and paste this :-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: large; text-decoration-line: underline;&quot;&gt;view.jsp&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;div class=&quot;gist&quot; id=&quot;gist18925269&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-view-jsp&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java-server-pages&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-view-jsp-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;page&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;import&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.liferay.portal.kernel.language.LanguageUtil&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;%&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-view-jsp-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;page&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;import&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.student.services.model.Student&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;%&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-view-jsp-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;page&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;import&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;java.util.List&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;%&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-view-jsp-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;page&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;import&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.liferay.portal.util.PortalUtil&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;%&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-view-jsp-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;page&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;import&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.student.services.service.StudentLocalServiceUtil&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;%&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-view-jsp-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@ &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;taglib&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;uri&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;a class=&quot;vglnk&quot; href=&quot;http://java.sun.com/portlet_2_0&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://java.sun.com/portlet_2_0&lt;/a&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;prefix&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;portlet&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; %&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-view-jsp-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@ &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;taglib&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;uri&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;a class=&quot;vglnk&quot; href=&quot;http://liferay.com/tld/ui&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://liferay.com/tld/ui&lt;/a&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;prefix&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;liferay-ui&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;%&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-view-jsp-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@ &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;page&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;import&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.liferay.portal.kernel.util.ListUtil&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; %&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-view-jsp-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@ &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;taglib&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;uri&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;a class=&quot;vglnk&quot; href=&quot;http://java.sun.com/jsp/jstl/core&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://java.sun.com/jsp/jstl/core&lt;/a&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;prefix&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;c&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; %&amp;gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-view-jsp-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@ &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;taglib&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;uri&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;a class=&quot;vglnk&quot; href=&quot;http://liferay.com/tld/portlet&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://liferay.com/tld/portlet&lt;/a&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;prefix&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;liferay-portlet&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; %&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-view-jsp-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;portlet:defineObjects&lt;/span&gt; /&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-view-jsp-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-pse&quot;&gt;&amp;lt;%&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-view-jsp-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;&lt;span class=&quot;pl-smi&quot;&gt;String&lt;/span&gt; currentURL &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;PortalUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getCurrentURL(request);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-view-jsp-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;List&amp;lt;&lt;span class=&quot;pl-smi&quot; style=&quot;color: #24292e;&quot;&gt;Student&lt;/span&gt;&amp;gt;&lt;/span&gt;studentList &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;StudentLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getStudents(&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;0&lt;/span&gt;, &lt;span class=&quot;pl-smi&quot;&gt;StudentLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getStudentsCount());&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-view-jsp-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;%&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-view-jsp-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;h3&lt;/span&gt;&amp;gt;Search Container in Liferay&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;h3&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;17&quot; id=&quot;file-view-jsp-L17&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC17&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;18&quot; id=&quot;file-view-jsp-L18&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC18&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;liferay-portlet:renderURL&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;varImpl&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;iteratorURL&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;19&quot; id=&quot;file-view-jsp-L19&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC19&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;       &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;portlet:param&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;mvcPath&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;/html/searchcontainer/view.jsp&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; /&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;20&quot; id=&quot;file-view-jsp-L20&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC20&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;liferay-portlet:renderURL&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;21&quot; id=&quot;file-view-jsp-L21&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC21&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;22&quot; id=&quot;file-view-jsp-L22&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC22&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;liferay-ui:search-container&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;var&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;searchContainer&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;delta&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;5&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;deltaConfigurable&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;true&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;emptyResultsMessage&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Sorry. There are no record to display.&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;iteratorURL&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;iteratorURL &lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;%&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;23&quot; id=&quot;file-view-jsp-L23&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC23&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;24&quot; id=&quot;file-view-jsp-L24&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC24&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;liferay-ui:search-container-results&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;results&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt; &lt;span class=&quot;pl-smi&quot;&gt;ListUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;subList(studentList, searchContainer&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getStart(), searchContainer&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getEnd()) &lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;%&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;total&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt; studentList&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;size() &lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;%&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;/&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;25&quot; id=&quot;file-view-jsp-L25&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC25&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;26&quot; id=&quot;file-view-jsp-L26&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC26&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &lt;span class=&quot;pl-c&quot; style=&quot;color: #6a737d;&quot;&gt;&lt;span class=&quot;pl-c&quot;&gt;&amp;lt;%--&lt;/span&gt;  OR&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;27&quot; id=&quot;file-view-jsp-L27&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC27&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;color: #6a737d;&quot;&gt;               &amp;lt;liferay-ui:search-container-results&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;28&quot; id=&quot;file-view-jsp-L28&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC28&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;color: #6a737d;&quot;&gt;  results=&quot;&amp;lt;%= StudentLocalServiceUtil.getStudents(searchContainer.getStart(), searchContainer.getEnd()) %&amp;gt;&quot;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;29&quot; id=&quot;file-view-jsp-L29&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC29&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;color: #6a737d;&quot;&gt;  total=&quot;&amp;lt;%= StudentLocalServiceUtil.getStudentsCount() %&amp;gt;&quot;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;30&quot; id=&quot;file-view-jsp-L30&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC30&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-c&quot; style=&quot;color: #6a737d;&quot;&gt; /&amp;gt; &lt;span class=&quot;pl-c&quot; style=&quot;color: #6a737d;&quot;&gt;--%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;31&quot; id=&quot;file-view-jsp-L31&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC31&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;32&quot; id=&quot;file-view-jsp-L32&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC32&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;liferay-ui:search-container-row&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;className&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.student.services.model.Student&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;modelVar&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;student&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;keyProperty&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;studentId&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;33&quot; id=&quot;file-view-jsp-L33&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC33&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;34&quot; id=&quot;file-view-jsp-L34&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC34&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;portlet:renderURL&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;var&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;rowURL&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;35&quot; id=&quot;file-view-jsp-L35&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC35&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;      &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;portlet:param&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;backURL&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;currentURL &lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;%&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; /&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;36&quot; id=&quot;file-view-jsp-L36&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC36&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;      &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;portlet:param&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;studentId&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;student&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;studentId&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; /&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;37&quot; id=&quot;file-view-jsp-L37&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC37&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;      &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;portlet:param&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;mvcPath&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;/html/searchcontainer/student_detail.jsp&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;/&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;38&quot; id=&quot;file-view-jsp-L38&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC38&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;        &amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;portlet:renderURL&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;39&quot; id=&quot;file-view-jsp-L39&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC39&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;40&quot; id=&quot;file-view-jsp-L40&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC40&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;     &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;liferay-ui:search-container-column-text&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;property&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;name&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Student Name&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;href&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;rowURL&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;/&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;41&quot; id=&quot;file-view-jsp-L41&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC41&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;liferay-ui:search-container-column-text&lt;/span&gt;  &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Sir Name&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;Mr. &lt;span class=&quot;pl-pse&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;student&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;lastname&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;}&lt;/span&gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;liferay-ui:search-container-column-text&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;42&quot; id=&quot;file-view-jsp-L42&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC42&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;liferay-ui:search-container-column-text&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;property&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;phone&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;name&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;&lt;span class=&quot;pl-smi&quot;&gt;LanguageUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;get(pageContext, \&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;phone&lt;span class=&quot;pl-cce&quot;&gt;\&quot;&lt;/span&gt;) %&amp;gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;43&quot; id=&quot;file-view-jsp-L43&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC43&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;44&quot; id=&quot;file-view-jsp-L44&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC44&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;     &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;c&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;choose&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;45&quot; id=&quot;file-view-jsp-L45&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC45&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;      &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;c&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;when test&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;student&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;studentId &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;=&lt;/span&gt; &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&#39;&lt;/span&gt;4&lt;span class=&quot;pl-pds&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #032f62;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;46&quot; id=&quot;file-view-jsp-L46&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC46&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;         &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;liferay&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;ui&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;search&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;container&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;column&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;text cssClass&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;blue&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; property&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;std&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; name &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;Class&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;47&quot; id=&quot;file-view-jsp-L47&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC47&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;      &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;c&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;when&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;48&quot; id=&quot;file-view-jsp-L48&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC48&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;      &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;c&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;otherwise&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;49&quot; id=&quot;file-view-jsp-L49&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC49&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;         &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;liferay&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;ui&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;search&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;container&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;column&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;text cssClass&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;green&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; property&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;std&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; name &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;Class&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;50&quot; id=&quot;file-view-jsp-L50&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC50&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;      &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;c&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;otherwise&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;51&quot; id=&quot;file-view-jsp-L51&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC51&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;                &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;c&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;choose&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;52&quot; id=&quot;file-view-jsp-L52&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC52&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;53&quot; id=&quot;file-view-jsp-L53&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC53&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;     &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;liferay&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;ui&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;search&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;container&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;column&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;text name&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;Gender&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; value&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;(student&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getGender()&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;equalsIgnoreCase(&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;M&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;))&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Male&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Female&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #032f62;&quot;&gt;%&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;54&quot; id=&quot;file-view-jsp-L54&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC54&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;     &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;liferay&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;ui&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;search&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;container&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;column&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;jsp name&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;Address&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; align&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;left&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; path&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;/html/searchcontainer/address.jsp&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;55&quot; id=&quot;file-view-jsp-L55&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC55&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;     &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;liferay&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;ui&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;search&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;container&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;column&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;text href&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;rowURL&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #032f62;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; name&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;Detail&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; value&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;Click Here For Detail&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;56&quot; id=&quot;file-view-jsp-L56&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC56&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;57&quot; id=&quot;file-view-jsp-L57&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC57&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;     &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;--&lt;/span&gt; &lt;span class=&quot;pl-smi&quot; style=&quot;color: #24292e;&quot;&gt;For&lt;/span&gt; &lt;span class=&quot;pl-smi&quot; style=&quot;color: #24292e;&quot;&gt;Delete&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;URL&lt;/span&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;58&quot; id=&quot;file-view-jsp-L58&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC58&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;portlet&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;actionURL var&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;deleteStudent&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; name&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;deleteStudent&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;59&quot; id=&quot;file-view-jsp-L59&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC59&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;       &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;portlet&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;param name&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;backURL&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; value&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;currentURL &lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #032f62;&quot;&gt;%&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;60&quot; id=&quot;file-view-jsp-L60&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC60&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;       &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;portlet&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;param name&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;studentId&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; value&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;student&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;studentId&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #032f62;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;61&quot; id=&quot;file-view-jsp-L61&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC61&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;portlet&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;actionURL&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;62&quot; id=&quot;file-view-jsp-L62&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC62&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;    &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;liferay&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;ui&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;search&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;container&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;column&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;text name&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;Delete Student&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; value&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;Delete&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;  href&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pl-s&quot;&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;deleteStudent&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #032f62;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot; style=&quot;color: #032f62;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;63&quot; id=&quot;file-view-jsp-L63&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC63&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;64&quot; id=&quot;file-view-jsp-L64&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC64&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;liferay&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;ui&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;search&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;container&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;row&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;65&quot; id=&quot;file-view-jsp-L65&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC65&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;liferay&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;ui&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;search&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;iterator &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;66&quot; id=&quot;file-view-jsp-L66&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-view-jsp-LC66&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;/&lt;/span&gt;liferay&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;ui&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;:&lt;/span&gt;search&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;-&lt;/span&gt;container&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/0e278ed41dced3f9e19d/raw/6d465f2deacbb6f5c61c312369f251c4188c8714/view.jsp&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/0e278ed41dced3f9e19d#file-view-jsp&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;view.jsp&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;Explaination of view.jsp:-&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;a)&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;String currentURL = PortalUtil.getCurrentURL(request);&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;By using getCurrentURL we can get the URL of Current Page this url is helpful when we get back from detail page to our current list page.&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;b)&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&amp;lt;liferay-ui:search-container &amp;gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;This tag contain the following attributes:-&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;-delta:-&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/b&gt;This attribute is used to set by default how many records per page is shown.&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;-deltaConfigurable:-&lt;/b&gt;&amp;nbsp;&lt;/span&gt;This attribute is used so that end user can change no of records per page.&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;-emptyResultsMessage:-&lt;/span&gt;&amp;nbsp;&lt;/b&gt;If there is no record then this message is displayed.&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;-iteratorURL&lt;/b&gt;:-&lt;/span&gt;&amp;nbsp;If there are multiple tabs and each tab contain a search container then this iteratorURL maintain pagination&amp;nbsp;otherwise after pagination it will go portlet default page irrespective of where your search container.&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;C)&lt;/span&gt;&lt;u&gt;&amp;lt;liferay-ui:search-container-results results=&quot; &quot;&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;u&gt;&lt;b&gt;total=&quot;&quot;&lt;/b&gt;&lt;b&gt;/&amp;gt;&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;This result tag has two main attribute like:-&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;-results:-&lt;/span&gt;&amp;nbsp;&lt;/b&gt;This attribute contain records with start index and end index . The start index and end index can be get with the help of&amp;nbsp;&lt;b&gt;searchContainer&lt;/b&gt;&amp;nbsp;Object.The object of&amp;nbsp;&lt;b&gt;searchContainer&lt;/b&gt;&amp;nbsp;is &amp;nbsp;available as soon as we include the import statement:-&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;b&gt;&amp;lt;%@ taglib uri=&quot;&lt;a class=&quot;vglnk&quot; href=&quot;http://liferay.com/tld/ui&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://liferay.com/tld/ui&lt;/a&gt;&quot; prefix=&quot;liferay-ui&quot;%&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;Example:-&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;StudentLocalServiceUtil.getStudents(searchContainer.getStart(), searchContainer.getEnd()) %&amp;gt;&quot;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;-total:-&lt;/span&gt;&amp;nbsp;&lt;/b&gt;This attribute contain total number of records.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;d)&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&amp;lt;liferay-ui:search-container-row className=&quot; &quot; modelVar=&quot;&quot; keyProperty=&quot;&quot;&amp;gt;&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;This search container row tag contain attribute:-&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;-className:-&lt;/span&gt;&lt;/b&gt;This contain the full path of your model Class like Student in this case.&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;-modelVar:&lt;/span&gt;-&amp;nbsp;&lt;/b&gt;This contain the current object that is available in the row .You can use this to get values and provide in Urls etc.&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;-keyProperty:-&lt;/span&gt;&amp;nbsp;&lt;/b&gt;Primary key of Model Object.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;e)&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&amp;lt;liferay-ui:search-container-column-text property=&quot;&quot; name=&quot;&quot; href=&quot;&quot; &amp;nbsp;value=&quot;&quot; cssClass=&quot;&quot;/&amp;gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;This search container&amp;nbsp;column-text property&amp;nbsp;tag is used to set the value in column.For&lt;b&gt;&amp;nbsp;each column their is one tag&lt;/b&gt;.This contain attribute:-&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;-property:-&lt;/span&gt;&amp;nbsp;&lt;/b&gt;This must be the same as fields mention in Model Class whose getter and setters are available.If this match with instance variables of Model Class(Student) then it get value automatically from current object&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;-name:-&lt;/span&gt;&amp;nbsp;&lt;/b&gt;Header name of your column.You can also get this name from Language.properties file.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Example:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&amp;lt;liferay-ui:search-container-column-text property=&quot;phone&quot; name=&quot;&amp;lt;%=LanguageUtil.get(pageContext, \&quot;phone\&quot;) %&amp;gt;&quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;For this just create a folder(content) inside src and then create a Language.properties inside this:-&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;Language.properties&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;phone = Telephone Number&lt;br /&gt;&lt;br /&gt;And then provide the entry of Language.properties inside portlet.xml like this:-&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;portlet.xml&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&amp;lt;resource-bundle&amp;gt;content.Language&amp;lt;/resource-bundle&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;-href:-&lt;/span&gt;&amp;nbsp;&lt;/b&gt;If you want any action is perform on Clicking of this field then pass Url &amp;nbsp;here.&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;-Value:-&lt;/span&gt;&amp;nbsp;&lt;/b&gt;Any specific value you want to show &amp;nbsp;on the basis of value of database or any hardcoded value.Otherwise by property tag it will automatically take from current object.&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Example:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&amp;lt;liferay-ui:search-container-column-text name=&quot;Gender&quot; value=&#39;&amp;lt;%=(student.getGender().equalsIgnoreCase(&quot;M&quot;))?&quot;Male&quot;:&quot;Female&quot;%&amp;gt;&#39;/&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Here value is by default is M or F but we use Current Object and get Gender and on the basis of result we change the value to Male or Female.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;-cssClass:-&lt;/b&gt;&amp;nbsp;&lt;/span&gt;You can provide any css and mention in main.css&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Example:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&lt;b&gt;&amp;lt;liferay-ui:search-container-column-text cssClass=&quot;blue&quot; property=&quot;std&quot; name = &quot;Class&quot; /&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;paste this inside main.css:-&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;.blue {&lt;br /&gt;&amp;nbsp; &amp;nbsp; color: blue;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;f)&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&amp;lt;liferay-ui:search-container-column-jsp name=&quot;&quot; align=&quot;left&quot; path=&quot;&quot;/&amp;gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;If you want to show a particular jsp in some column then you can use this tag by providing complete path of your jsp.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;g)&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&amp;lt;liferay-ui:search-iterator /&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;This is iterator this tag must come after row tag this iterate the list and create rows.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: large; text-decoration-line: underline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: large; text-decoration-line: underline;&quot;&gt;For Detail Explanation watch the video&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;font-size: large; text-decoration-line: underline;&quot;&gt;Step 3:- Create the jsps&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Create display_student.jsp inside&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;html/searchcontainer&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;&lt;u&gt;display_student.jsp&lt;/u&gt;&lt;/b&gt;&amp;nbsp;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;div class=&quot;gist&quot; id=&quot;gist18925309&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-student_detail-jsp&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java-server-pages&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-student_detail-jsp-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;page&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;import&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.student.services.model.Student&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;%&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-student_detail-jsp-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;page&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;import&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.student.services.service.StudentLocalServiceUtil&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;%&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-student_detail-jsp-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;page&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;import&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.liferay.portal.kernel.util.ParamUtil&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;%&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-student_detail-jsp-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-student_detail-jsp-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-pse&quot;&gt;&amp;lt;%&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-student_detail-jsp-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;&lt;span class=&quot;pl-smi&quot;&gt;String&lt;/span&gt; redirect &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;ParamUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getString(request, &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;backURL&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-student_detail-jsp-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; studentId &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;ParamUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getInteger(request, &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;studentId&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-student_detail-jsp-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;&lt;span class=&quot;pl-smi&quot;&gt;Student&lt;/span&gt; student &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;StudentLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getStudent(studentId);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-student_detail-jsp-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;request&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;setAttribute(&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;student&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;, student);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-student_detail-jsp-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;%&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-student_detail-jsp-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-student_detail-jsp-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;h1&lt;/span&gt;&amp;gt;Student Information&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;h1&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-student_detail-jsp-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;h3&lt;/span&gt;&amp;gt;Name : &lt;span class=&quot;pl-pse&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;student&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;name&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;}&lt;/span&gt;  &lt;span class=&quot;pl-pse&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;student&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;lastname&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;}&lt;/span&gt; &amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;h3&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-student_detail-jsp-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;h3&lt;/span&gt;&amp;gt;Phone :&lt;span class=&quot;pl-pse&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;student&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;phone&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;}&lt;/span&gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;h3&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-student_detail-jsp-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;h3&lt;/span&gt;&amp;gt;Class :&lt;span class=&quot;pl-pse&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;student&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;std&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;}&lt;/span&gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;h3&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-student_detail-jsp-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;h3&lt;/span&gt;&amp;gt;Address :&lt;span class=&quot;pl-pse&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;student&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;address&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;}&lt;/span&gt;&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;h3&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;17&quot; id=&quot;file-student_detail-jsp-L17&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC17&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;br&lt;/span&gt;&amp;gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;br&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;18&quot; id=&quot;file-student_detail-jsp-L18&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-student_detail-jsp-LC18&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;a&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;href&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;pl-s1&quot; style=&quot;color: #24292e;&quot;&gt; redirect &lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;%&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&amp;gt;Back to All&amp;lt;/&lt;span class=&quot;pl-ent&quot; style=&quot;color: #22863a;&quot;&gt;a&lt;/span&gt;&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/1532ce5124c0b85f61a1/raw/3ed49e2655924572d2e66ce3a9d780ed7fa6fccf/student_detail.jsp&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/1532ce5124c0b85f61a1#file-student_detail-jsp&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;student_detail.jsp&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;&lt;b&gt;Note:-&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;The back to all link use the URL that is captured by PortalUtil.getCurrentURL(request) in view.jsp and send with renderUrl. So that we can go back to view.jsp again.&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Now Create address.jsp inside&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;html/searchcontainer:-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;&lt;u&gt;address.jsp&lt;/u&gt;&lt;/b&gt;&amp;nbsp;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;div class=&quot;gist&quot; id=&quot;gist18925321&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-address-jsp&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java-server-pages&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-address-jsp-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-address-jsp-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;page&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;import&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.student.services.model.Student&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;%&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-address-jsp-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-address-jsp-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;page&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;import&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.liferay.portal.kernel.util.WebKeys&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;%&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-address-jsp-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-address-jsp-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&amp;lt;%@&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;page&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;import&lt;/span&gt;=&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;com.liferay.portal.kernel.dao.search.ResultRow&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;%&amp;gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-address-jsp-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-address-jsp-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-pse&quot;&gt;&amp;lt;%&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-address-jsp-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-address-jsp-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;&lt;span class=&quot;pl-smi&quot;&gt;ResultRow&lt;/span&gt; row &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;ResultRow&lt;/span&gt;)request&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getAttribute(&lt;span class=&quot;pl-smi&quot;&gt;WebKeys&lt;/span&gt;&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;SEARCH_CONTAINER_RESULT_ROW&lt;/span&gt;);&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-address-jsp-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-address-jsp-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;&lt;span class=&quot;pl-smi&quot;&gt;Student&lt;/span&gt; student &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;Student&lt;/span&gt;)row&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getObject();&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-address-jsp-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-address-jsp-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;%&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-address-jsp-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 7px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-address-jsp-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-pse&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span class=&quot;pl-s1&quot;&gt;student&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getAddress()&lt;/span&gt;&lt;span class=&quot;pl-pse&quot;&gt;&lt;span class=&quot;pl-s1&quot;&gt;%&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/185600c7d10024358408/raw/297d79f0a8c9cf2cf1f17461d0089b3b74865dee/address.jsp&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/185600c7d10024358408#file-address-jsp&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;address.jsp&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;&lt;b&gt;Note:-&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;This Complete jsp is directly put in column(search-container-column-jsp tag)&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: large; text-decoration-line: underline;&quot;&gt;Step 4:- Change the Controller&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;SearchContainer.java&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist18926156&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-searchcontainer-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-searchcontainer-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;package&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.search&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-searchcontainer-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-searchcontainer-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;java.io.IOException&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-searchcontainer-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;javax.portlet.ActionRequest&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-searchcontainer-java-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;javax.portlet.ActionResponse&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-searchcontainer-java-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;javax.portlet.PortletException&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-searchcontainer-java-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.exception.PortalException&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-searchcontainer-java-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.exception.SystemException&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-searchcontainer-java-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.util.ParamUtil&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-searchcontainer-java-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.util.bridges.mvc.MVCPortlet&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-searchcontainer-java-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.student.services.service.StudentLocalServiceUtil&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-searchcontainer-java-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-searchcontainer-java-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;SearchContainer&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;extends&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;MVCPortlet&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-searchcontainer-java-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-searchcontainer-java-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;void&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;deleteStudent&lt;/span&gt;(&lt;span class=&quot;pl-smi&quot;&gt;ActionRequest&lt;/span&gt; &lt;span class=&quot;pl-v&quot; style=&quot;color: #e36209;&quot;&gt;actionRequest&lt;/span&gt;,&lt;span class=&quot;pl-smi&quot;&gt;ActionResponse&lt;/span&gt; &lt;span class=&quot;pl-v&quot; style=&quot;color: #e36209;&quot;&gt;actionResponse&lt;/span&gt;) &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;throws&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;IOException&lt;/span&gt;, &lt;span class=&quot;pl-smi&quot;&gt;PortletException&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-searchcontainer-java-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-smi&quot;&gt;String&lt;/span&gt; backURL  &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;ParamUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getString(actionRequest, &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;backURL&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;17&quot; id=&quot;file-searchcontainer-java-L17&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC17&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; studentId &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;ParamUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getInteger(actionRequest, &lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;studentId&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;18&quot; id=&quot;file-searchcontainer-java-L18&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC18&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;      &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;try&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;19&quot; id=&quot;file-searchcontainer-java-L19&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC19&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-smi&quot;&gt;StudentLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;deleteStudent(studentId);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;20&quot; id=&quot;file-searchcontainer-java-L20&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC20&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  &lt;span class=&quot;pl-smi&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;out&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;println(&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;Successfully Deleted Student of Id =&amp;gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;+&lt;/span&gt;studentId);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;21&quot; id=&quot;file-searchcontainer-java-L21&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC21&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  actionResponse&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;sendRedirect(backURL); &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;22&quot; id=&quot;file-searchcontainer-java-L22&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC22&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;   } &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;catch&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;PortalException&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;SystemException&lt;/span&gt; e) {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;23&quot; id=&quot;file-searchcontainer-java-L23&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC23&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  e&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;printStackTrace();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;24&quot; id=&quot;file-searchcontainer-java-L24&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC24&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt; }&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;25&quot; id=&quot;file-searchcontainer-java-L25&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC25&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;      &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;26&quot; id=&quot;file-searchcontainer-java-L26&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC26&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;  }&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;27&quot; id=&quot;file-searchcontainer-java-L27&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-searchcontainer-java-LC27&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/13ab31115fbcf173c5b3/raw/cc9215843d3cf3335d793d5d51c3baa8ac92c19f/SearchContainer.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/13ab31115fbcf173c5b3#file-searchcontainer-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;SearchContainer.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;u&gt;Explanation:-&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Here we just delete the student on the basis of studentId and after that send to that particular page by using backurl.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: large; text-decoration-line: underline;&quot;&gt;Step 5:-Check the Output&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Now deploy the portlet and add to page:-&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-qjwtj4cYuFk/WCq0VtC62oI/AAAAAAAADZ4/Vehb1ra92TAdd3jAF0Otw-COFKiSc6bdQCLcB/s1600/search%2Bcontainer%2Bin%2Bliferay%2Boutput.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://1.bp.blogspot.com/-qjwtj4cYuFk/WCq0VtC62oI/AAAAAAAADZ4/Vehb1ra92TAdd3jAF0Otw-COFKiSc6bdQCLcB/s1600/search%2Bcontainer%2Bin%2Bliferay%2Boutput.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;On Click on Student Name or Detail Control goes to another jsp where we show whole data related to student.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://4.bp.blogspot.com/-AqBaZSkhRkg/WCq0lETZzjI/AAAAAAAADZ8/0T6YsHuHuP8BkiaH_vp7ym_MrpuizkSLwCLcB/s1600/search%2Bcontainer%2Bin%2Bliferay%2Boutput2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://4.bp.blogspot.com/-AqBaZSkhRkg/WCq0lETZzjI/AAAAAAAADZ8/0T6YsHuHuP8BkiaH_vp7ym_MrpuizkSLwCLcB/s1600/search%2Bcontainer%2Bin%2Bliferay%2Boutput2.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://liferay-artical.blogspot.com/2017/09/search-container-in-liferay-62.html</link><author>noreply@blogger.com (Seema Pavar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://4.bp.blogspot.com/-5LDXjVR6Lbw/WCqX0bZbMNI/AAAAAAAADZY/7ZRFxs3vbSYKD4FY-EmUwnuNKoWIjuGXgCLcB/s72-c/search%2Bcontainer%2Bin%2Bliferay%2Bproject%2Bstructure.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-125323660387261706.post-7513452574891306175</guid><pubDate>Tue, 19 Sep 2017 08:30:00 +0000</pubDate><atom:updated>2017-09-19T14:00:14.358+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Liferay</category><category domain="http://www.blogger.com/atom/ns#">Service Builder</category><title>Liferay Service Builder in Detail</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Today we will see concept of Service Builder in liferay&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-1306908456525670017&quot; itemprop=&quot;articleBody&quot; style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px; width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Before reading this blog it is highly recommended to read my blog on&amp;nbsp;Service Builder in Liferay&amp;nbsp;.Liferay Service Builder based on hibernate and Spring DI .Service builder create tables automatically as in Hibernate.Service builder generates Services for the entities in two location. These location use the package path describe in service.xml :-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;1)docroot/WEB-INF/services/package name&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;2)&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;docroot/WEB-INF/src/package name&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Service Builder divide the source in 2 layers:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;1)An interface Layer&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;2)An implementation Layer&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;You&amp;nbsp;’ll never change anything in the interface layer manually.The implementation layer is generated in your src folder and is initially skeleton code that allows you to implement the functionality you need.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Service builder also create src folder inside META-INF folder .This folder contains all the Spring configuration files and Hibernate configuration.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;Sample service.xml&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&amp;lt;service-builder package-path=&quot;com.student.services&quot; auto-namespace-tables=&quot;true&quot;&amp;gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;author&amp;gt;monu&amp;lt;/author&amp;gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;namespace&amp;gt;Aditya&amp;lt;/namespace&amp;gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entity name=&quot;Student&quot; local-service=&quot;true&quot; cache-enabled=&quot;false&quot; table=&quot;student&quot;&amp;gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;column primary=&quot;true&quot; name=&quot;studentId&quot; type=&quot;int&quot; id-type=&quot;increment&quot;&amp;gt;&amp;lt;/column&amp;gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;column name=&quot;name&quot; type=&quot;String&quot;&amp;gt;&amp;lt;/column&amp;gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;column name=&quot;lastname&quot; type=&quot;String&quot;&amp;gt;&amp;lt;/column&amp;gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;column name=&quot;std&quot; type=&quot;String&quot;&amp;gt;&amp;lt;/column&amp;gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;column name=&quot;address&quot; type=&quot;String&quot;&amp;gt;&amp;lt;/column&amp;gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;column name=&quot;phone&quot; type=&quot;String&quot;&amp;gt;&amp;lt;/column&amp;gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;column name=&quot;gender&quot; type=&quot;int&quot;&amp;gt;&amp;lt;/column&amp;gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/entity&amp;gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&amp;lt;/service-builder&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;u style=&quot;font-size: x-large;&quot;&gt;We will discuss each and every tag in detail&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;u style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;1)&lt;/span&gt;&lt;b&gt;&amp;lt;service-builder package-path=&quot;com.student.services&quot; auto-namespace-tables=&quot;true&quot;&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;b&gt;a)&lt;/b&gt;&lt;b&gt;&lt;u&gt;service-builder package-path&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;This is the path of package in which all the java file is generated&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;b&gt;b)&lt;/b&gt;&lt;b&gt;&lt;u&gt;auto-namespace-tables&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;By default it is false&lt;/b&gt;&amp;nbsp;if this is true then table is created in database with a prefix of namespace.&lt;/div&gt;&lt;div&gt;(But if there is no table tag we see it later)&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium; font-weight: bold;&quot;&gt;2)&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&amp;lt;author&amp;gt;monu&amp;lt;/author&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;This tag is not mandatory.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;Service Builder also generates Javadoc, and the name you place in the Author&amp;nbsp;tags winds up in the Javadoc as the author of the code.&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;You can skip this tag but if you mention all Java classes have author name as mention like in this case monu.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Ex -&lt;/div&gt;&lt;div&gt;/&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;nbsp;*&amp;nbsp;&lt;b&gt;@author seema&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;* @see StudentModel&lt;/div&gt;&lt;div&gt;&amp;nbsp;* @see com.student.services.model.impl.StudentImpl&lt;/div&gt;&lt;div&gt;&amp;nbsp;* @see com.student.services.model.impl.StudentModelImpl&lt;/div&gt;&lt;div&gt;&amp;nbsp;* @generated&lt;/div&gt;&lt;div&gt;&amp;nbsp;*/&lt;/div&gt;&lt;div&gt;public interface Student extends StudentModel, PersistedModel {&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;3)&lt;/span&gt;&amp;nbsp;&amp;lt;namespace&amp;gt;Aditya&amp;lt;/namespace&amp;gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;This tag is mandatory .&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;By default, tables you define with Service Builder go in the Liferay database. To set them off from the rest of Liferay’s tables, you can prefix them with a namespace. This table, when created, will be called Aditya_Student&lt;span style=&quot;color: #970000; font-family: courier;&quot;&gt;&amp;nbsp;&lt;/span&gt;in the database.&lt;br /&gt;&lt;br /&gt;If auto-namespace-tables is true than this name is appended before table name.The entry of this namespace is also mention in database with a table name&amp;nbsp;&lt;b&gt;servicecomponent&lt;/b&gt;&amp;nbsp;that contain various columns like build number ,build date.&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;Ex-&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-weight: bold; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-_5BW-4xGAhI/VL-J9xRZvsI/AAAAAAAAB50/2NMaIGYn0Lw/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;121&quot; src=&quot;https://2.bp.blogspot.com/-_5BW-4xGAhI/VL-J9xRZvsI/AAAAAAAAB50/2NMaIGYn0Lw/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;Note :-&lt;/u&gt;&lt;/div&gt;&lt;u style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/u&gt;&lt;b&gt;a)&lt;/b&gt;When ever you want to change the structure of table like number of columns and changes not reflect then delete entry of namespace from this table and build service again.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;b)&lt;/b&gt;Namespace must be some valid name .Ex- Aditya9 this number 9 will create a problem in build service.&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;4)&lt;/span&gt;&amp;nbsp;&amp;lt;entity name=&quot;Student&quot; local-service=&quot;true&quot; cache-enabled=&quot;false&quot; table=&quot;student&quot;&amp;gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;a)&lt;b&gt;&lt;u&gt;entity name=&quot;Student&quot;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;b&gt;This name is compulsory but need not to be same as table name.&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;All Service classes are made by this name like entityLocalServiceUtil etc.&lt;/div&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;&lt;b&gt;Ex-&amp;nbsp;&lt;/b&gt;StudentLocalServiceUtil&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;b)&lt;u&gt;cache-enabled=&quot;&quot;&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;By using cache-enabled &amp;nbsp;true data base data is cached.&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;u&gt;c)&lt;span style=&quot;font-weight: bold;&quot;&gt;table=&quot;student&quot;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;This tag is not Compulsory&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;If you skip this tag then table in database is created with same name as entity name. Otherwise table name in database is same as table tag&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;d)local-service=&quot;true&quot;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;By using local-service true we can use our services as web services like SOAP&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: medium; font-weight: bold;&quot;&gt;5)&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&amp;lt;column primary=&quot;true&quot; name=&quot;studentId&quot; type=&quot;int&quot; id-type=&quot;increment&quot;&amp;gt;&amp;lt;/column&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;a)&lt;u&gt;primary=&quot;true&quot;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;Means this field is primary key for database.&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;b)&lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;name=&quot;studentId&quot;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;Column is created with studentId in database&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;c)type=&quot;int&quot;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;Field is of int type. We have many options like int,long,String etc.&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;d)id-type=&quot;increment&quot;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;This field is of autoincrement type. Other options are sequence,identity etc.&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;Some Cases:-&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;1)&lt;/b&gt;&lt;/span&gt;&amp;lt;service-builder package-path=&quot;com.student.services&quot; auto-namespace-tables=&quot;true&quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;namespace&amp;gt;Aditya&amp;lt;/namespace&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entity name=&quot;Student&quot; local-service=&quot;true&quot; cache-enabled=&quot;false&quot; table=&quot;StudentData&quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;column primary=&quot;true&quot; name=&quot;id&quot; type=&quot;int&quot;&amp;gt;&amp;lt;/column&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;column name=&quot;name&quot; type=&quot;String&quot;&amp;gt;&amp;lt;/column&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/entity&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/service-builder&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Table name = StudentData&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Reason:-Because we provide table tag so namespace has no significance here.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;2)&lt;/b&gt;&lt;/span&gt;&amp;lt;service-builder package-path=&quot;com.student.services&quot; auto-namespace-tables=&quot;true&quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;namespace&amp;gt;Aditya&amp;lt;/namespace&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entity name=&quot;Student&quot; local-service=&quot;true&quot; cache-enabled=&quot;false&quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;column primary=&quot;true&quot; name=&quot;id&quot; type=&quot;int&quot;&amp;gt;&amp;lt;/column&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;column name=&quot;name&quot; type=&quot;String&quot;&amp;gt;&amp;lt;/column&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/entity&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/service-builder&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Table name = aditya_student (namespace_entityname)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Reason:-Because auto-namespace-table=&quot;true&quot;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;3)&lt;/b&gt;&lt;/span&gt;&amp;lt;service-builder package-path=&quot;com.student.services&quot; auto-namespace-tables=&quot;false&quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;namespace&amp;gt;Aditya&amp;lt;/namespace&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;lt;entity name=&quot;Student&quot; local-service=&quot;true&quot; cache-enabled=&quot;false&quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;column primary=&quot;true&quot; name=&quot;id&quot; type=&quot;int&quot;&amp;gt;&amp;lt;/column&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;column name=&quot;name&quot; type=&quot;String&quot;&amp;gt;&amp;lt;/column&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/entity&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/service-builder&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Table name = Student&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Reason:-Because&amp;nbsp;&lt;/b&gt;&lt;b&gt;&amp;nbsp;auto-namespace-table=&quot;false&quot; and no table tag so table is created with name same as entity name.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;Complsory Fields&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1)&amp;lt;namespace&amp;gt;Aditya&amp;lt;/namespace&amp;gt; because entry in service component&lt;/div&gt;&lt;div&gt;2)entity name all java files created with this&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;Optional Fields&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1)&amp;lt;author&amp;gt;&amp;lt;/author&amp;gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;2)table name=&quot;optional&quot;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;u&gt;&lt;span style=&quot;font-size: large; font-weight: bold;&quot;&gt;Classes Created by Service Builder&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;1)&lt;/span&gt;&lt;/u&gt;&lt;b&gt;&lt;u&gt;com.student.services.model.impl&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;a)StudentBaseImpl&lt;br /&gt;b)StudentCacheModel&lt;br /&gt;c)StudentImpl&lt;br /&gt;d)StudentModelImpl&lt;br /&gt;&lt;br /&gt;&lt;u style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;2)&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;com.student.services.service.base&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;a)StudentLocalServiceBaseImpl&lt;br /&gt;b)StudentLocalServiceClpInvoker&lt;br /&gt;c)StudentServiceBaseImpl&lt;br /&gt;d)StudentServiceClpInvoker&lt;br /&gt;&lt;u&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;u style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;3)&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;com.student.services.service.http&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;a)StudentServiceSoap&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;4)com.student.services.service.impl&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;a)StudentLocalServiceImpl&lt;br /&gt;b)StudentServiceImpl&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;5)com.student.services.service.persistence&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;a)StudentPersistenceImpl&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Thats it Hope this Help Someone&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://liferay-artical.blogspot.com/2017/09/liferay-service-builder-in-detail.html</link><author>noreply@blogger.com (Seema Pavar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://2.bp.blogspot.com/-_5BW-4xGAhI/VL-J9xRZvsI/AAAAAAAAB50/2NMaIGYn0Lw/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-125323660387261706.post-7174020200334549165</guid><pubDate>Tue, 19 Sep 2017 03:30:00 +0000</pubDate><atom:updated>2017-09-19T09:00:10.245+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">JSP Hook</category><category domain="http://www.blogger.com/atom/ns#">Liferay</category><title>Liferay Jsp Hook for override login jsp</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-size: 24px; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;br /&gt;&lt;/h2&gt;&lt;div class=&quot;post-header&quot; style=&quot;line-height: 1.6;&quot;&gt;&lt;div class=&quot;post-header-line-1&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-7130576653040600380&quot; itemprop=&quot;articleBody&quot; style=&quot;width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;i&gt;&lt;b&gt;Today we write a Hook for overriding default Login Page. Here we remove the openID, Create Account and Forgot Password links&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 style=&quot;background-color: white; border-bottom-color: initial; border-bottom-style: initial; border-image: initial; border-left-color: initial; border-left-style: initial; border-right-color: initial; border-right-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-width: 1px 0px 0px; color: #666666; font-family: oswald; font-size: 23px; font-weight: 400; line-height: 25px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #073763; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-3v_IowdkN-w/VLeg7snQ7aI/AAAAAAAAB4U/p6WNsAyUexM/s1600/first.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://4.bp.blogspot.com/-3v_IowdkN-w/VLeg7snQ7aI/AAAAAAAAB4U/p6WNsAyUexM/s1600/first.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #073763; text-align: center;&quot;&gt;&lt;/div&gt;&lt;/h2&gt;&lt;h4 style=&quot;background-color: white; border: 0px; clear: both; color: #666666; font-family: oswald; font-size: 21px; font-weight: 400; line-height: 23px; margin: 0px; padding-bottom: 10px; position: relative;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h4&gt;&lt;h4 style=&quot;background-color: white; border: 0px; clear: both; color: #666666; font-family: oswald; font-size: 21px; font-weight: 400; line-height: 23px; margin: 0px; padding-bottom: 10px; position: relative;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 1:- Create a Liferay Plugin project and select Hook&lt;/span&gt;&lt;/h4&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;Create a liferay plugin project give project name as LoginProject and select hook then finish.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-l5JOMgAlTVI/VLejvslFH0I/AAAAAAAAB4g/DBAds5b-OMw/s1600/1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://1.bp.blogspot.com/-l5JOMgAlTVI/VLejvslFH0I/AAAAAAAAB4g/DBAds5b-OMw/s1600/1.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;288&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;/div&gt;&lt;h4 style=&quot;background-color: white; border: 0px; clear: both; color: #666666; font-family: oswald; font-size: 24px; font-weight: 400; line-height: 23px; margin: 0px; padding-bottom: 10px; position: relative;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 2:- Create a Login hook in the Project&lt;/span&gt;&lt;/h4&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Right click on the project&amp;gt; New &amp;gt;Liferay Hook Configuration&amp;gt;Select Custom Jsp&amp;gt;Next&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-5_jFcApd_4Y/VLelEztqTgI/AAAAAAAAB4s/DnLBocney38/s1600/2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;302&quot; src=&quot;https://4.bp.blogspot.com/-5_jFcApd_4Y/VLelEztqTgI/AAAAAAAAB4s/DnLBocney38/s1600/2.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Click &amp;nbsp;Add from Liferay&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;then search for login.jsp &amp;nbsp;&amp;gt;Ok&amp;gt;Finish&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-xY6QuLAkucU/VLemjTPHhWI/AAAAAAAAB5A/so6yM5KHSjU/s1600/3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;212&quot; src=&quot;https://3.bp.blogspot.com/-xY6QuLAkucU/VLemjTPHhWI/AAAAAAAAB5A/so6yM5KHSjU/s1600/3.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;h4 style=&quot;border: 0px; clear: both; font-family: oswald; font-size: 24px; font-weight: 400; line-height: 23px; margin: 0px; padding-bottom: 10px; position: relative;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 3:- Now Override login.jsp&lt;/span&gt;&lt;/h4&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;You can Override the jsp as per your need, we can see that the links come from navigation.jsp which is included in login.jsp so we just comment the included part.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;u&gt;Code Snipplet From login.jsp&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;..........&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;..........&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;aui:button-row&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;lt;aui:button type=&quot;submit&quot; value=&quot;sign-in&quot; /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;/aui:button-row&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;/aui:form&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;b&gt;&amp;lt;!-- &amp;lt;liferay-util:include page=&quot;/html/portlet/login/navigation.jsp&quot; /&amp;gt; --&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;.........&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;.........&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;h4 style=&quot;border: 0px; clear: both; font-family: oswald; font-size: 24px; font-weight: 400; line-height: 23px; margin: 0px; padding-bottom: 10px; position: relative;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 4:- Deploy the Hook and see the output&lt;/span&gt;&lt;/h4&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;And Build your build.xml and try to login you see a login page with no links for&amp;nbsp;openID, Create Account and Forgot Password&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-7hR1nLuU-yM/VLepuX7v6qI/AAAAAAAAB5M/9ejCM9kx_Fg/s1600/final.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;223&quot; src=&quot;https://4.bp.blogspot.com/-7hR1nLuU-yM/VLepuX7v6qI/AAAAAAAAB5M/9ejCM9kx_Fg/s1600/final.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;i&gt;Note:-&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;i&gt;In this way you can override default login page provide by liferay when you deploy your hook it create a &amp;nbsp;&quot;.portal.jsp&quot; file in&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;i&gt;(..\tomcat-7.0.42\webapps\ROOT\html\portlet\login) &amp;nbsp;.&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;i&gt;So we have 2 file :-&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;i&gt;1)login.jsp&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;i&gt;2)login.portal.jsp&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;when you deploy your hook &amp;nbsp;&quot;login.portal.jsp&quot; is in use when you undelpoy your hook &quot;login.portal.jsp&quot; is deleted and again login.jsp is in use.&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://liferay-artical.blogspot.com/2017/09/liferay-jsp-hook-for-override-login-jsp.html</link><author>noreply@blogger.com (Seema Pavar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://4.bp.blogspot.com/-3v_IowdkN-w/VLeg7snQ7aI/AAAAAAAAB4U/p6WNsAyUexM/s72-c/first.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-125323660387261706.post-7697129056615072589</guid><pubDate>Mon, 18 Sep 2017 18:00:00 +0000</pubDate><atom:updated>2017-09-18T23:30:25.615+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Hook</category><category domain="http://www.blogger.com/atom/ns#">Liferay</category><title>Liferay Service Hook to override Liferay Existing Service</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-size: 24px; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;/h2&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-937338663624466990&quot; itemprop=&quot;articleBody&quot; style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px; width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Today we will see how to write service wrapper in Liferay 6.2. We override User service getUserCount().Here we create a class that extend the particular wrapper class and just provide the entries of our custom class in liferay-hook.xml so that liferay use our services instead of Original.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 1:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;Create a liferay Plug project&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Right Click in Project Explorer and Click New -&amp;gt; Liferay plugin project. Now give the Project name and select hook in plugin type:-&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-NA9_9L8OR-M/VKp5N-ljIJI/AAAAAAAAB3s/9sLJCWNDOhE/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://1.bp.blogspot.com/-NA9_9L8OR-M/VKp5N-ljIJI/AAAAAAAAB3s/9sLJCWNDOhE/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;290&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 2:-&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;Create a hook in the project&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Right Click on Project -&amp;gt;New-&amp;gt;Liferay Hook Configuration-&amp;gt;Select Services&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-liOFL2e0qdc/VKp6FNaBdtI/AAAAAAAAB30/gIz9SosHicE/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://2.bp.blogspot.com/-liOFL2e0qdc/VKp6FNaBdtI/AAAAAAAAB30/gIz9SosHicE/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Click Next---&amp;gt;Click Add--&amp;gt;Select Service Type(UserLocalService)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-Mak-iq3oBqo/VKp65VTpq1I/AAAAAAAAB38/B23h-hkIuMQ/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;304&quot; src=&quot;https://2.bp.blogspot.com/-Mak-iq3oBqo/VKp65VTpq1I/AAAAAAAAB38/B23h-hkIuMQ/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;For Impl Class&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Click New--&amp;gt;Give Package Name and your Impl Class Name&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-lEwmfgJAtoo/VKp7gNRr5-I/AAAAAAAAB4E/eD2QGjcM1iM/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;318&quot; src=&quot;https://4.bp.blogspot.com/-lEwmfgJAtoo/VKp7gNRr5-I/AAAAAAAAB4E/eD2QGjcM1iM/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Then Click Finish&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;This step automatically Create the entry in&amp;nbsp;&lt;b&gt;&amp;nbsp;liferay-hook.xml.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;&amp;lt;hook&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;service&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;service-type&amp;gt;com.liferay.portal.service.UserLocalService&amp;lt;/service-type&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;service-impl&amp;gt;com.ipg.MyUserLocalService&amp;lt;/service-impl&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/service&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;&amp;lt;/hook&amp;gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 3:-Override the getUserCount()&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Open MyUserLocalService and override getUserCount()&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;gist&quot; id=&quot;gist49374716&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-myuserlocalservice-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-myuserlocalservice-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;package&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.ipg&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-myuserlocalservice-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.kernel.exception.SystemException&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-myuserlocalservice-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.service.UserLocalServiceWrapper&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-myuserlocalservice-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;com.liferay.portal.service.UserLocalService&lt;/span&gt;;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-myuserlocalservice-java-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-myuserlocalservice-java-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;class&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;MyUserLocalService&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;extends&lt;/span&gt; &lt;span class=&quot;pl-e&quot; style=&quot;color: #6f42c1;&quot;&gt;UserLocalServiceWrapper&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-myuserlocalservice-java-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;MyUserLocalService&lt;/span&gt;(&lt;span class=&quot;pl-smi&quot;&gt;UserLocalService&lt;/span&gt; &lt;span class=&quot;pl-v&quot; style=&quot;color: #e36209;&quot;&gt;userLocalService&lt;/span&gt;) {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-myuserlocalservice-java-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;super&lt;/span&gt;(userLocalService);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-myuserlocalservice-java-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-myuserlocalservice-java-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;11&quot; id=&quot;file-myuserlocalservice-java-L11&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC11&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;@Override&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;12&quot; id=&quot;file-myuserlocalservice-java-L12&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC12&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;int&lt;/span&gt; &lt;span class=&quot;pl-en&quot; style=&quot;color: #6f42c1;&quot;&gt;getUsersCount&lt;/span&gt;() &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;throws&lt;/span&gt; &lt;span class=&quot;pl-smi&quot;&gt;SystemException&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;13&quot; id=&quot;file-myuserlocalservice-java-L13&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC13&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-smi&quot;&gt;System&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;out&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;println(&lt;span class=&quot;pl-s&quot; style=&quot;color: #032f62;&quot;&gt;&lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;This text is from getUsersCount &lt;span class=&quot;pl-pds&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;14&quot; id=&quot;file-myuserlocalservice-java-L14&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC14&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;super&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getUsersCount();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;15&quot; id=&quot;file-myuserlocalservice-java-L15&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC15&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;16&quot; id=&quot;file-myuserlocalservice-java-L16&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC16&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;17&quot; id=&quot;file-myuserlocalservice-java-L17&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-myuserlocalservice-java-LC17&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/9353f21ed8bdc899f1e5ac364ac7919d/raw/1f3698865c88e603f60ab5a5dda102e78e0394d8/MyUserLocalService.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/9353f21ed8bdc899f1e5ac364ac7919d#file-myuserlocalservice-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;MyUserLocalService.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Step 4:-Deploy the Hook&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Deploy the hook and call&amp;nbsp;getUsersCount() from your portlet .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;gist&quot; id=&quot;gist49374838&quot; style=&quot;color: #333333; direction: ltr; font-size: 16px;&quot;&gt;&lt;div class=&quot;gist-file&quot; style=&quot;border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(204, 204, 204); border-image: initial; border-radius: 3px; border-style: solid; border-width: 1px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; margin-bottom: 1em;&quot;&gt;&lt;div class=&quot;gist-data&quot; style=&quot;border-bottom: 1px solid rgb(221, 221, 221); border-radius: 2px 2px 0px 0px; overflow: auto; word-wrap: normal;&quot;&gt;&lt;div class=&quot;js-gist-file-update-container js-task-list-container file-box&quot;&gt;&lt;div class=&quot;file&quot; id=&quot;file-demo-java&quot;&gt;&lt;div class=&quot;blob-wrapper data type-java&quot; itemprop=&quot;text&quot; style=&quot;border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; overflow-x: auto; overflow-y: hidden;&quot;&gt;&lt;table class=&quot;highlight tab-size js-file-line-container&quot; data-tab-size=&quot;8&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-collapse: collapse; border: 0px; color: #333333; font-size: 12px; line-height: 1.4; margin: 0px; padding: 0px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;1&quot; id=&quot;file-demo-java-L1&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-demo-java-LC1&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 4px; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;void&lt;/span&gt; doView(&lt;span class=&quot;pl-smi&quot;&gt;RenderRequest&lt;/span&gt; renderRequest,&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;2&quot; id=&quot;file-demo-java-L2&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-demo-java-LC2&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-smi&quot;&gt;RenderResponse&lt;/span&gt; renderResponse) throws &lt;span class=&quot;pl-smi&quot;&gt;IOException&lt;/span&gt;, &lt;span class=&quot;pl-smi&quot;&gt;PortletException&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;3&quot; id=&quot;file-demo-java-L3&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-demo-java-LC3&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;try&lt;/span&gt; {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;4&quot; id=&quot;file-demo-java-L4&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-demo-java-LC4&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-smi&quot;&gt;UserLocalServiceUtil&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;getUsersCount();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;5&quot; id=&quot;file-demo-java-L5&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-demo-java-LC5&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;6&quot; id=&quot;file-demo-java-L6&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-demo-java-LC6&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;} &lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;catch&lt;/span&gt; (&lt;span class=&quot;pl-smi&quot;&gt;SystemException&lt;/span&gt; e) {&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;7&quot; id=&quot;file-demo-java-L7&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-demo-java-LC7&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;e&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;printStackTrace();&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;8&quot; id=&quot;file-demo-java-L8&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-demo-java-LC8&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;9&quot; id=&quot;file-demo-java-L9&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-demo-java-LC9&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;&lt;span class=&quot;pl-c1&quot; style=&quot;color: #005cc5;&quot;&gt;super&lt;/span&gt;&lt;span class=&quot;pl-k&quot; style=&quot;color: #d73a49;&quot;&gt;.&lt;/span&gt;doView(renderRequest, renderResponse);&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;blob-num js-line-number&quot; data-line-number=&quot;10&quot; id=&quot;file-demo-java-L10&quot; style=&quot;background: transparent; color: rgba(27, 31, 35, 0.3); cursor: pointer; line-height: 20px; min-width: inherit; padding: 1px 10px !important; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 14px;&quot;&gt;&lt;/td&gt;&lt;td class=&quot;blob-code blob-code-inner js-file-line&quot; id=&quot;file-demo-java-LC10&quot; style=&quot;background: transparent; border: 0px; color: #24292e; line-height: 20px; overflow: visible; padding: 1px 10px !important; position: relative; vertical-align: top; white-space: pre; word-wrap: normal;&quot;&gt;}&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;gist-meta&quot; style=&quot;background-color: #f7f7f7; border-radius: 0px 0px 2px 2px; color: #586069; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, sans-serif, &amp;quot;Apple Color Emoji&amp;quot;, &amp;quot;Segoe UI Emoji&amp;quot;, &amp;quot;Segoe UI Symbol&amp;quot;; font-size: 12px; font-stretch: normal; line-height: normal; overflow: hidden; padding: 10px;&quot;&gt;&lt;a href=&quot;https://gist.github.com/adit2787/233584fee954692be386bb5efc695c5b/raw/f202820e19761cb8a53d8c335812fb0f5575c28f/Demo.java&quot; style=&quot;border: 0px; color: #666666; float: right; font-weight: 600; text-decoration-line: none;&quot;&gt;view raw&lt;/a&gt;&lt;a href=&quot;https://gist.github.com/adit2787/233584fee954692be386bb5efc695c5b#file-demo-java&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;Demo.java&lt;/a&gt;&amp;nbsp;hosted with ❤ by&amp;nbsp;&lt;a href=&quot;https://github.com/&quot; style=&quot;border: 0px; color: #666666; font-weight: 600; text-decoration-line: none;&quot;&gt;GitHub&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;Output&lt;/u&gt;:-This text is from getUsersCount&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://liferay-artical.blogspot.com/2017/09/liferay-service-hook-to-override.html</link><author>noreply@blogger.com (Seema Pavar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-NA9_9L8OR-M/VKp5N-ljIJI/AAAAAAAAB3s/9sLJCWNDOhE/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-125323660387261706.post-3657174262154562584</guid><pubDate>Mon, 18 Sep 2017 12:00:00 +0000</pubDate><atom:updated>2017-09-18T17:30:10.415+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Liferay</category><title>Add Portlet(Custom portlet) to Control Panel</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-size: 24px; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;b style=&quot;color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;Today we learn how to move a Custom portlet from Application menu to Control panel.&lt;/b&gt;&lt;/h2&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-3527311558751928988&quot; itemprop=&quot;articleBody&quot; style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px; width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Step 1:- Create a simple Hello World Portlet&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&amp;nbsp;Create a simple Hello World Portlet&amp;nbsp;and provide display Category as&amp;nbsp;HelloWorld so this portlet is &amp;nbsp;available in Category&amp;nbsp;HelloWorld.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;liferay-display.xml&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version=&quot;1.0&quot;?&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE display PUBLIC &quot;-//Liferay//DTD Display 6.2.0//EN&quot; &quot;&lt;a class=&quot;vglnk&quot; href=&quot;http://www.liferay.com/dtd/liferay-display_6_2_0.dtd&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://www.liferay.com/dtd/liferay-display_6_2_0.dtd&lt;/a&gt;&quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;display&amp;gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;category name=&quot;HelloWorld&quot;&amp;gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;portlet id=&quot;hello-world&quot;&amp;gt;&amp;lt;/portlet&amp;gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/category&amp;gt;&lt;br /&gt;&amp;lt;/display&amp;gt;&lt;br /&gt;&lt;br /&gt;So this portlet is shown as:-&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-_ElMxI_rECU/VKFLwbr6LGI/AAAAAAAAB2I/8bbKNIX88iQ/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://4.bp.blogspot.com/-_ElMxI_rECU/VKFLwbr6LGI/AAAAAAAAB2I/8bbKNIX88iQ/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;188&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step 2:- Search For DTD&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;Go to the URL mention in liferay-portlet.xml &amp;nbsp;(&lt;a class=&quot;vglnk&quot; href=&quot;http://www.liferay.com/dtd/liferay-portlet-app_6_2_0.dtd&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://www.liferay.com/dtd/liferay-portlet-app_6_2_0.dtd&lt;/a&gt;) and&lt;br /&gt;&lt;br /&gt;&lt;b&gt;a)search for tag &amp;nbsp;&amp;lt;control-panel-entry-category&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;Set the control-panel-entry-category value to &quot;my&quot; to make this portlet&lt;br /&gt;available within the My Account administration of the user. Set the value to&lt;br /&gt;&quot;apps&quot;, &quot;configuration&quot;, &quot;sites&quot;, or &quot;users&quot; to make it available in the Control&lt;br /&gt;Panel under that category. Set the value to &quot;site_administration.configuration&quot;,&lt;br /&gt;&quot;site_administration.content&quot;, &quot;site_administration.pages&quot; or&lt;br /&gt;&quot;site_administration.users&quot; to make it available in the Site Administration&lt;br /&gt;under that category. Legacy values from previous versions of Liferay will be&lt;br /&gt;automatically mapped to the new values: &quot;content&quot; to&lt;br /&gt;&quot;site_administration.content&quot;, &quot;portal&quot; to &quot;users&quot;, and &quot;server&quot; to &quot;apps&quot;.&lt;br /&gt;--&amp;gt;&lt;br /&gt;&lt;br /&gt;by using this you can decide in which category you want to display your portlet.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;b)search for tag &amp;nbsp;&amp;lt;control-panel-entry-weight&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&amp;lt;!--&lt;br /&gt;Set the control-panel-entry-weight value to a double number to control the&lt;br /&gt;position of the entry within its Control Panel category. Higher values mean&lt;br /&gt;that the entry will appear lower in the Control Panel menu.&lt;br /&gt;&lt;br /&gt;--&amp;gt;&lt;br /&gt;&lt;br /&gt;So we use a) and b) in liferay-portlet.xml as&lt;br /&gt;&lt;br /&gt;&amp;lt;portlet&amp;gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;portlet-name&amp;gt;hello-world&amp;lt;/portlet-name&amp;gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;icon&amp;gt;/icon.png&amp;lt;/icon&amp;gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;b&gt;&amp;lt;control-panel-entry-category&amp;gt;sites&amp;lt;/control-panel-entry-category&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;control-panel-entry-weight&amp;gt;1.0&amp;lt;/control-panel-entry-weight&amp;gt;&lt;/b&gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;header-portlet-css&amp;gt;/css/main.css&amp;lt;/header-portlet-css&amp;gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;footer-portlet-javascript&amp;gt;/js/main.js&amp;lt;/footer-portlet-javascript&amp;gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;css-class-wrapper&amp;gt;hello-world-portlet&amp;lt;/css-class-wrapper&amp;gt;&lt;br /&gt;&amp;lt;/portlet&amp;gt;&lt;br /&gt;&lt;br /&gt;Deploy it and this portlet shown in sites .&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-pKdSpOjPILg/VKFbAHloTAI/AAAAAAAAB2Y/_6g73I-EezI/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;97&quot; src=&quot;https://2.bp.blogspot.com/-pKdSpOjPILg/VKFbAHloTAI/AAAAAAAAB2Y/_6g73I-EezI/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;But there is a problem this portlet shown in Control panel as well as in Applicaton so we have to remove it from Application.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Step 3:-Hiding portlet from Application&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;Find the file liferay-display.xml in server&lt;br /&gt;(\tomcat-7.0.42\webapps\ROOT\WEB-INF\liferay-display.xml)&lt;br /&gt;and search the tag&amp;nbsp;&amp;lt;category name=&quot;category.hidden&quot;&amp;gt; use this category in your&amp;nbsp;&lt;b&gt;&amp;nbsp;&lt;/b&gt;liferay-display.xml&lt;br /&gt;&lt;br /&gt;&amp;lt;display&amp;gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;category name=&quot;category.hidden&quot;&amp;gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;portlet id=&quot;hello-world&quot;&amp;gt;&amp;lt;/portlet&amp;gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/category&amp;gt;&lt;br /&gt;&amp;lt;/display&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:-&lt;/b&gt;If you use any other Category like category.community or &amp;nbsp;category.finance then this portlet goes to that particlar category.&lt;br /&gt;&lt;br /&gt;And thats it Your Portlet is now available in Control panel and not in Application.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;In the next blog we learn&amp;nbsp;&lt;/b&gt;&lt;b&gt;how to move a Out of box portlet from Application menu to Control panel.&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://liferay-artical.blogspot.com/2017/09/add-portletcustom-portlet-to-control.html</link><author>noreply@blogger.com (Seema Pavar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://4.bp.blogspot.com/-_ElMxI_rECU/VKFLwbr6LGI/AAAAAAAAB2I/8bbKNIX88iQ/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-125323660387261706.post-245415318163206331</guid><pubDate>Mon, 18 Sep 2017 03:30:00 +0000</pubDate><atom:updated>2017-09-18T09:00:01.896+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Liferay</category><title>Validation In Liferay</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-size: 24px; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;Validation in Liferay by using Validator Class Provided by Liferay&lt;/h2&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-6140360377380756706&quot; itemprop=&quot;articleBody&quot; style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px; width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Validation in Liferay is very simple by using Validator Class. Validator Class give all the usefull method that can be used for validation. You can also use your logic for validation. In this tutorial i use both approach.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here we create a simple form that contain a text field for phone number we validate that phone number must contain Numbers and not less than 10 digits if error occur again this form is shown with already filled previous value otherwise go to success page.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 1 :- Create liferay project in java file paste the content&lt;/b&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;package com.test;&lt;/div&gt;&lt;div&gt;import java.io.IOException;&lt;/div&gt;&lt;div&gt;import javax.portlet.ActionRequest;&lt;/div&gt;&lt;div&gt;import javax.portlet.ActionResponse;&lt;/div&gt;&lt;div&gt;import javax.portlet.PortletException;&lt;/div&gt;&lt;div&gt;import javax.portlet.PortletRequestDispatcher;&lt;/div&gt;&lt;div&gt;import com.liferay.portal.kernel.portlet.LiferayPortletConfig;&lt;/div&gt;&lt;div&gt;import com.liferay.portal.kernel.servlet.SessionErrors;&lt;/div&gt;&lt;div&gt;import com.liferay.portal.kernel.servlet.SessionMessages;&lt;/div&gt;&lt;div&gt;import com.liferay.portal.kernel.util.ParamUtil;&lt;/div&gt;&lt;div&gt;import com.liferay.portal.kernel.util.Validator;&lt;/div&gt;&lt;div&gt;import com.liferay.portal.util.PortalUtil;&lt;/div&gt;&lt;div&gt;import com.liferay.util.bridges.mvc.MVCPortlet;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;public class ValidationDemo extends MVCPortlet {&lt;/div&gt;&lt;div&gt;&amp;nbsp;public void inClass(ActionRequest request,ActionResponse &amp;nbsp;response) throws PortletException, IOException&lt;/div&gt;&lt;div&gt;&amp;nbsp;{&lt;/div&gt;&lt;div&gt;String phoneNumber = ParamUtil.getString(request, &quot;phone&quot;);&lt;/div&gt;&lt;div&gt;SessionMessages.add(request, ((LiferayPortletConfig)getPortletConfig()).getPortletId() + SessionMessages. KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE);&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;if(!Validator.isDigit(phoneNumber))&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;{&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;nbsp;SessionErrors.add(request, &quot;notNumber&quot;);&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;}&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;if(phoneNumber.length()!=10)&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;{&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;nbsp;SessionErrors.add(request, &quot;lessLength&quot;);&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;}&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;request.setAttribute(&quot;phoneNumber&quot;, phoneNumber);&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;if(SessionErrors.isEmpty(request))&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;{&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;nbsp;response.setRenderParameter(&quot;jspPage&quot;,&quot;/html/validationdemo/success.jsp&quot;);&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;}&lt;/div&gt;&lt;div&gt;&amp;nbsp;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;u&gt;Explanation:-&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;1)&lt;b&gt;Using Validator Class:-&lt;/b&gt;we use Validator.isDigit(String) method to check that Phone number must be between 0-9 and not contain a-z orA-Z.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;2)Using Custom Logic:-&lt;/b&gt;In (phoneNumber.length()!=10) we check that Phone number must contain 10 digits.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In both we add error key in SessionsError&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3)If error occur we send back the Phone number to view.jsp so that it fill in the text box again&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; request.setAttribute(&quot;phoneNumber&quot;, phoneNumber);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4)If no error occur we send response to success.jsp&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Step 2:- Paste Content to view.jsp&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;%@ taglib uri=&quot;&lt;a class=&quot;vglnk&quot; href=&quot;http://java.sun.com/portlet_2_0&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://java.sun.com/portlet_2_0&lt;/a&gt;&quot; prefix=&quot;portlet&quot; %&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;%@ taglib uri=&quot;&lt;a class=&quot;vglnk&quot; href=&quot;http://liferay.com/tld/ui&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://liferay.com/tld/ui&lt;/a&gt;&quot; prefix=&quot;liferay-ui&quot;%&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;portlet:defineObjects /&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;portlet:actionURL name=&quot;inClass&quot; var=&quot;injsp&quot;&amp;gt;&amp;lt;/portlet:actionURL&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;liferay-ui:error key=&quot;notNumber&quot; message=&quot;Phone Number not Contain Alphabets&quot;/&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;liferay-ui:error key=&quot;lessLength&quot; message=&quot;Phone Number Must be of 10 Digit&quot;/&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;form action=&quot;${injsp}&quot; method=&quot;post&quot; &amp;gt;&lt;/div&gt;&lt;div&gt;Phone Number:&amp;lt;input type=&quot;text&quot; name=&quot;phone&quot; value=&quot;${phoneNumber}&quot;&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/form&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Explanation:-&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;1) The Error keys map with Corresponding messages&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;lt;liferay-ui:error key=&quot;notNumber&quot; message=&quot;Phone Number not Contain Alphabets&quot;/&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;liferay-ui:error key=&quot;lessLength&quot; message=&quot;Phone Number Must be of 10 Digit&quot;/&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;2)In input box we set the value of phone number send by request&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;input type=&quot;text&quot; name=&quot;phone&quot; value=&quot;${phoneNumber}&quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 3:- Paste Content to success.jsp&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;h1&amp;gt;Success Fully Submitted&amp;lt;/h1&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 4:-Deploy your Project and see output&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-xssYLE4Wi9o/VEz7sQvusUI/AAAAAAAAAOs/JG3nfh22CdU/s1600/1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;217&quot; src=&quot;https://4.bp.blogspot.com/-xssYLE4Wi9o/VEz7sQvusUI/AAAAAAAAAOs/JG3nfh22CdU/s1600/1.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-CpefIONI81o/VEz75E5sLtI/AAAAAAAAAO0/WMfWHdhI8nI/s1600/2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;210&quot; src=&quot;https://4.bp.blogspot.com/-CpefIONI81o/VEz75E5sLtI/AAAAAAAAAO0/WMfWHdhI8nI/s1600/2.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-LDQEcIe_sg4/VEz75to-ybI/AAAAAAAAAO4/2SNMTYZhbV0/s1600/3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;246&quot; src=&quot;https://4.bp.blogspot.com/-LDQEcIe_sg4/VEz75to-ybI/AAAAAAAAAO4/2SNMTYZhbV0/s1600/3.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-RpHBOd7JX4c/VEz75pv4bDI/AAAAAAAAAPA/As8QN9eOPwE/s1600/4.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;227&quot; src=&quot;https://2.bp.blogspot.com/-RpHBOd7JX4c/VEz75pv4bDI/AAAAAAAAAPA/As8QN9eOPwE/s1600/4.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-AQ0R-u2DlUA/VEz76OVA-nI/AAAAAAAAAPE/W5-h1ZrJ-Yo/s1600/5.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #111111; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;https://3.bp.blogspot.com/-AQ0R-u2DlUA/VEz76OVA-nI/AAAAAAAAAPE/W5-h1ZrJ-Yo/s1600/5.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://liferay-artical.blogspot.com/2017/09/validation-in-liferay.html</link><author>noreply@blogger.com (Seema Pavar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://4.bp.blogspot.com/-xssYLE4Wi9o/VEz7sQvusUI/AAAAAAAAAOs/JG3nfh22CdU/s72-c/1.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-125323660387261706.post-922345895957852058</guid><pubDate>Sun, 17 Sep 2017 20:30:00 +0000</pubDate><atom:updated>2017-09-18T02:00:06.196+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Liferay</category><title>Liferay Message Customization</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-size: 24px; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;b style=&quot;color: #666666; font-family: oswald; font-size: 21px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Customize liferay Error and Success Messages . Here&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;color: #666666; font-family: oswald; font-size: 21px;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;If user provide hello as name and hello as password success message is shown otherwise error message is shown&lt;/span&gt;&lt;/b&gt;&lt;/h2&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-6639046467653076614&quot; itemprop=&quot;articleBody&quot; style=&quot;width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;Step 1:-Create Liferay Project&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;In eclipse click &amp;nbsp;File--&amp;gt;New Liferay Plugin Project--&amp;gt;Give Project Name --&amp;gt; Finish&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;Step 2:-Create Liferay Portlet in the project&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;Then Right Click on Project--&amp;gt;New &amp;nbsp;Liferay Portlet--&amp;gt;Give the portlet Class--&amp;gt;And select Generic Portlet--&amp;gt;next&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-057dLIg57QE/VEvAwGwKPBI/AAAAAAAAANg/NoAt9mGLkIM/s1600/Capture1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;398&quot; src=&quot;https://2.bp.blogspot.com/-057dLIg57QE/VEvAwGwKPBI/AAAAAAAAANg/NoAt9mGLkIM/s1600/Capture1.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;then give the Display Category and finish&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-UchnubtjGec/VEvAwJ61K0I/AAAAAAAAANk/ruL5lbBeVT0/s1600/Capture2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://4.bp.blogspot.com/-UchnubtjGec/VEvAwJ61K0I/AAAAAAAAANk/ruL5lbBeVT0/s1600/Capture2.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;386&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;Step 3:- Add the following code in view.jsp&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;div&gt;&amp;lt;%@ taglib uri=&quot;&lt;a class=&quot;vglnk&quot; href=&quot;http://java.sun.com/portlet_2_0&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://java.sun.com/portlet_2_0&lt;/a&gt;&quot; prefix=&quot;portlet&quot; %&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;%@taglib uri=&quot;&lt;a class=&quot;vglnk&quot; href=&quot;http://liferay.com/tld/ui&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://liferay.com/tld/ui&lt;/a&gt;&quot; prefix=&quot;liferay-ui&quot; %&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;portlet:defineObjects /&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;portlet:actionURL var=&quot;actionUrl&quot; &amp;gt;&amp;lt;/portlet:actionURL&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;liferay-ui:success key=&quot;success-key&quot; message=&quot;Successfully&quot; /&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;liferay-ui:error key=&quot;error-key&quot; message=&quot;error&quot;/&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&amp;lt;form action=&quot;&amp;lt;%=actionUrl %&amp;gt;&quot; method=&quot;post&quot;&amp;gt;&lt;/div&gt;&lt;div&gt;Name:&amp;lt;input type=&quot;text&quot; name=&quot;name&quot; &amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;div&gt;Password:&amp;lt;input type=&quot;password&quot; name=&quot;pass&quot;&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;/form&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;u&gt;Explanation of view.jsp&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;Here we use&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;div&gt;&amp;lt;liferay-ui:success key=&quot;success-key&quot; message=&quot;Successfully&quot; /&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;liferay-ui:error key=&quot;error-key&quot; message=&quot;Error&quot;/&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;the success-key and error-key both are set in Java Class&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;the message Successfully is shown if success-key is found(in green color) and&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;the message Error is shown if error-key is found(in red color)&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;Step 4:- Add the following code in your Class&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;div&gt;&amp;nbsp;@Override&lt;/div&gt;&lt;div&gt;&amp;nbsp;public void processAction(ActionRequest request, ActionResponse response) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;throws &amp;nbsp; PortletException, &amp;nbsp;IOException {&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;String name = ParamUtil.getString(request, &quot;name&quot;);&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;String password = ParamUtil.getString(request, &quot;pass&quot;);&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;if(name.equalsIgnoreCase(&quot;hello&quot;)&amp;amp;&amp;amp; password.equalsIgnoreCase(&quot;hello&quot;))&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;SessionMessages.add(request,&quot;success-key&quot;);&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;else{&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;SessionErrors.add(request, &quot;error-key&quot;);&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;u&gt;Explanation of Class&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;1) SessionMessages.add(request,&quot;success-key&quot;);&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;This &quot;success-key &quot; is added if user enter hello as name and hello as Password and this must match in view.jsp&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&amp;lt;liferay-ui:success key=&quot;success-key&quot; message=&quot;Successfully&quot; /&amp;gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;2)&amp;nbsp;SessionErrors.add(request, &quot;error-key&quot;);&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;This &quot;error-key&quot; is added if user not added hello as name and hello as password this key must match in view.jsp as&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&amp;lt;liferay-ui:error key=&quot;error-key&quot; message=&quot;Error&quot;/&amp;gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;Step 5:- Deploy Your Portlet on server&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;Right click on build.xml --&amp;gt; Run on Ant build&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;Step 6:- Open Browser and hit&amp;nbsp;&lt;a class=&quot;vglnk&quot; href=&quot;http://localhost:8080/&quot; rel=&quot;nofollow&quot; style=&quot;color: #c4a549; text-decoration-line: none;&quot;&gt;http://localhost:8080/&lt;/a&gt;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;Add your portlet on page and put hello hello&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-QrDi3aXldek/VEvJx8LM8FI/AAAAAAAAAN0/blxMp21KkA0/s1600/success.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; src=&quot;https://3.bp.blogspot.com/-QrDi3aXldek/VEvJx8LM8FI/AAAAAAAAAN0/blxMp21KkA0/s1600/success.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;If provide any other value&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-uuqu8iBrLsg/VEvJx-wGv3I/AAAAAAAAAN4/GWapuYfp5KI/s1600/fail.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://3.bp.blogspot.com/-uuqu8iBrLsg/VEvJx-wGv3I/AAAAAAAAAN4/GWapuYfp5KI/s1600/fail.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;Step 6:- Disable Liferay Default error message(Your Request Failed to complete)&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&amp;nbsp;Add these two lines in your Class&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;PortletConfig portletConfig = &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (PortletConfig)request.getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SessionMessages.add(request, ((LiferayPortletConfig)portletConfig).getPortletId() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE);&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;and again deploy&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-ofdUjWVNB8E/VEvLvExsNtI/AAAAAAAAAOE/azGikC28gfA/s1600/error2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;242&quot; src=&quot;https://4.bp.blogspot.com/-ofdUjWVNB8E/VEvLvExsNtI/AAAAAAAAAOE/azGikC28gfA/s1600/error2.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;As you see only our message is shown&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;h3 style=&quot;border: 0px; font-family: oswald; font-size: 22px; font-weight: 400; line-height: 24px; margin: 0px; padding-bottom: 10px; position: relative;&quot;&gt;&lt;b&gt;&amp;nbsp;If you want that your Message is not hard Coded and come from properties file&lt;/b&gt;&lt;/h3&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;Step:-7 Provide entries of Language.properties in portlet.xml&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;Their is a Language.properties file is created in content folder (Due to Step 2) provide the entry of this in portlet.xml(actually this is already done by eclipse)&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&amp;lt;resource-bundle&amp;gt;content.Language&amp;lt;/resource-bundle&amp;gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;Step:-8 Provide entries in Language.properties&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;Put entries in Language.properties file&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;div&gt;Successfully=This Success Message come from Language.properties file&lt;/div&gt;&lt;div&gt;Error=This Error Message come from Language.properties file&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;These &quot;Succeessfully&quot; and &quot;Error&quot; must match with message of view.jsp as&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;div&gt;&amp;lt;liferay-ui:success key=&quot;success-key&quot; message=&quot;Successfully&quot; /&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;lt;liferay-ui:error key=&quot;error-key&quot; message=&quot;Error&quot;/&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;Step:-9 Deploy Your Portlet&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px; margin-left: auto; margin-right: auto; padding: 4px; position: relative; text-align: center;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-S01FkrnwleQ/VEvPi5Q5gdI/AAAAAAAAAOU/bJ2Xvgeb6hg/s1600/successfinal.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: auto; margin-right: auto; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;243&quot; src=&quot;https://2.bp.blogspot.com/-S01FkrnwleQ/VEvPi5Q5gdI/AAAAAAAAAOU/bJ2Xvgeb6hg/s1600/successfinal.PNG&quot; style=&quot;border: none; position: relative; width: 524.516px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot; /&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-IFK5L786EJs/VEvPlVA-E3I/AAAAAAAAAOc/gSeUDXe2jJM/s1600/errorfinal.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://2.bp.blogspot.com/-IFK5L786EJs/VEvPlVA-E3I/AAAAAAAAAOc/gSeUDXe2jJM/s1600/errorfinal.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;So first Liferay try to find the message in Language.properties if following key is not found then show the normal message described in view.jsp ie if you delete&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;Successfully=This Success Message come from Language.properties file&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;from properties file then error message come from Language.properties file but success message is from jsp file&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;Success message from jsp&lt;/div&gt;&lt;div style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-QrDi3aXldek/VEvJx8LM8FI/AAAAAAAAAN8/UB-tXJ3rS-4/s1600/success.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; src=&quot;https://1.bp.blogspot.com/-QrDi3aXldek/VEvJx8LM8FI/AAAAAAAAAN8/UB-tXJ3rS-4/s1600/success.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;Error message from Language.properties file &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #666666; font-family: Lora, serif; font-size: 14px; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-IFK5L786EJs/VEvPlVA-E3I/AAAAAAAAAOc/gSeUDXe2jJM/s1600/errorfinal.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://2.bp.blogspot.com/-IFK5L786EJs/VEvPlVA-E3I/AAAAAAAAAOc/gSeUDXe2jJM/s1600/errorfinal.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://liferay-artical.blogspot.com/2017/09/liferay-message-customization.html</link><author>noreply@blogger.com (Seema Pavar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://2.bp.blogspot.com/-057dLIg57QE/VEvAwGwKPBI/AAAAAAAAANg/NoAt9mGLkIM/s72-c/Capture1.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-125323660387261706.post-7979416458828834665</guid><pubDate>Sun, 17 Sep 2017 18:51:00 +0000</pubDate><atom:updated>2017-09-18T00:21:45.401+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Liferay</category><title>Add Portlet(Out of Box) to Control Panel</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-size: 24px; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;b style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;Today we learn&amp;nbsp;&lt;/b&gt;&lt;b style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;how to move a Out of box portlet from Application menu to Control panel.&lt;/b&gt;&lt;/h2&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-8389934258158630626&quot; itemprop=&quot;articleBody&quot; style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px; width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;nbsp;Ex- Loan Calculator from Finance category to Control Panel User Section.&lt;/b&gt;&lt;br /&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;/b&gt;&lt;br /&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-QBEw9fh7E8M/VKGBXY606jI/AAAAAAAAB2w/6z0mfakwwaY/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://2.bp.blogspot.com/-QBEw9fh7E8M/VKGBXY606jI/AAAAAAAAB2w/6z0mfakwwaY/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;This can be done by 2 ways:-&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;/b&gt;&lt;br /&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;A) Direct change in liferay-display.xml and liferay-portlet.xml in server.&lt;/b&gt;&lt;br /&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;B) By writing EXT&lt;/b&gt;&lt;br /&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;/b&gt;&lt;br /&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;First we discuss&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;u&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;A)&lt;/b&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;Direct change in liferay-display.xml and liferay-portlet.xml in server.&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;u&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/u&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;b&gt;Step1 :- Enter Portlet in control panel&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;Go to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;tomcat-7.0.42\webapps\ROOT\WEB-INF and open liferay-portlet.xml and search for loan&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;and then put the entries of&amp;nbsp;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;lt;control-panel-entry-category&amp;gt; and &amp;nbsp;&lt;/b&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;lt;control-panel-entry-weight&amp;gt;.&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;Ex-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;lt;portlet&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;portlet-name&amp;gt;&lt;b&gt;61&lt;/b&gt;&amp;lt;/portlet-name&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;icon&amp;gt;/html/icons/loan_calculator.png&amp;lt;/icon&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;struts-path&amp;gt;loan_calculator&amp;lt;/struts-path&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;b&gt;&amp;lt;control-panel-entry-category&amp;gt;users&amp;lt;/control-panel-entry-category&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;control-panel-entry-weight&amp;gt;1.0&amp;lt;/control-panel-entry-weight&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;remoteable&amp;gt;true&amp;lt;/remoteable&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;private-request-attributes&amp;gt;false&amp;lt;/private-request-attributes&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;private-session-attributes&amp;gt;false&amp;lt;/private-session-attributes&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;render-weight&amp;gt;50&amp;lt;/render-weight&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;css-class-wrapper&amp;gt;portlet-loan-calculator&amp;lt;/css-class-wrapper&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/portlet&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;Step2 :- Remove from Application&lt;/b&gt;&lt;br /&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;Go to&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;tomcat-7.0.42\webapps\ROOT\WEB-INF and open liferay-display.xml and search for Finance category and remove portlet id 61 from finance category to hidden category.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;Ex-&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;lt;category name=&quot;category.finance&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;portlet id=&quot;16&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 15px; line-height: 20.79px; white-space: pre;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;                                   //  remove from here&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;lt;/category&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;category name=&quot;category.hidden&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;lt;portlet id=&quot;61&quot; /&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // enter here&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;portlet id=&quot;9&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;portlet id=&quot;15&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;lt;/category&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;And Restart Server.Thats it see the output:-&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-xCEqEo0QKMI/VKGB2R3mEzI/AAAAAAAAB28/fD6MPmDDU7w/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;310&quot; src=&quot;https://3.bp.blogspot.com/-xCEqEo0QKMI/VKGB2R3mEzI/AAAAAAAAB28/fD6MPmDDU7w/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;As you see their is no Loan Calculator in Finance category.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-Q9CQLyf4ci0/VKGCg4liYEI/AAAAAAAAB3E/FHMOFOW0-Jc/s1600/Capture2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;109&quot; src=&quot;https://4.bp.blogspot.com/-Q9CQLyf4ci0/VKGCg4liYEI/AAAAAAAAB3E/FHMOFOW0-Jc/s1600/Capture2.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;And Loan Calculator is availabel in Control Panel Users&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b&gt;Now we Discuss the second Approach&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;u&gt;B) By writing EXT&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;Step1:- Create a Ext project in eclipse&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-vtzpmzD3Wxg/VKGFhclCvHI/AAAAAAAAB3Q/j7p58n-neu4/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://3.bp.blogspot.com/-vtzpmzD3Wxg/VKGFhclCvHI/AAAAAAAAB3Q/j7p58n-neu4/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;253&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;Step2 :- Enter Portlet in control panel&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;Open&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;b&gt;liferay-portlet-ext.xml&amp;nbsp;&lt;/b&gt;and &amp;nbsp;provide entry for control panel. Ex-&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;lt;liferay-portlet-app&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;portlet&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;portlet-name&amp;gt;61&amp;lt;/portlet-name&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;icon&amp;gt;/html/icons/loan_calculator.png&amp;lt;/icon&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;struts-path&amp;gt;loan_calculator&amp;lt;/struts-path&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;b&gt;&amp;lt;control-panel-entry-category&amp;gt;users&amp;lt;/control-panel-entry-category&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;control-panel-entry-weight&amp;gt;1.0&amp;lt;/control-panel-entry-weight&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;remoteable&amp;gt;true&amp;lt;/remoteable&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;private-request-attributes&amp;gt;false&amp;lt;/private-request-attributes&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;private-session-attributes&amp;gt;false&amp;lt;/private-session-attributes&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;render-weight&amp;gt;50&amp;lt;/render-weight&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;css-class-wrapper&amp;gt;portlet-loan-calculator&amp;lt;/css-class-wrapper&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;/portlet&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;lt;/liferay-portlet-app&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;Note:-These entries can be copied from liferay-portlet.xml of server.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;b&gt;At this point if we deploy our Ext portlet is available in Control panel but also in application.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;Step3 :- Remove from Application&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;For removing we have to use&lt;b&gt;&amp;nbsp;liferay-display.xml&lt;/b&gt;&amp;nbsp;but their is no such file in Ext so just copy from server and paste in Web-INF&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-HkppTDf9s58/VKGILE6u4JI/AAAAAAAAB3c/qRg5m8U_0ZA/s1600/Capture3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://4.bp.blogspot.com/-HkppTDf9s58/VKGILE6u4JI/AAAAAAAAB3c/qRg5m8U_0ZA/s1600/Capture3.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;276&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;and then&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;remove portlet id 61 from finance category to hidden category as:-&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;lt;category name=&quot;category.finance&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;portlet id=&quot;16&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;font-size: 15px; line-height: 20.79px; white-space: pre;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;                                   //  remove from here&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;lt;/category&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;lt;category name=&quot;category.hidden&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;lt;portlet id=&quot;61&quot; /&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // enter here&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;portlet id=&quot;9&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&amp;lt;portlet id=&quot;15&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;lt;/category&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;Step4 :- Deploy the Ext&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b style=&quot;color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;Then stop server Right Click on build.xml---&amp;gt;Liferay--&amp;gt;SDK---&amp;gt;direct-deploy&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;arial&amp;quot; , &amp;quot;tahoma&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;freesans&amp;quot; , sans-serif; font-size: 15px; line-height: 20.79px;&quot;&gt;&amp;nbsp;and restart server and check the output.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://liferay-artical.blogspot.com/2017/09/add-portletout-of-box-to-control-panel.html</link><author>noreply@blogger.com (Seema Pavar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://2.bp.blogspot.com/-QBEw9fh7E8M/VKGBXY606jI/AAAAAAAAB2w/6z0mfakwwaY/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-125323660387261706.post-1974287008215454604</guid><pubDate>Sun, 17 Sep 2017 18:22:00 +0000</pubDate><atom:updated>2017-09-17T23:52:49.651+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Liferay</category><title>Jasper Report with Eclipse</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; border-top: 1px solid rgb(221, 221, 221); color: #333333; font-family: Oswald, sans-serif; font-size: 24px; font-weight: 400; line-height: 30px; margin: 0px; padding-bottom: 10px; padding-top: 10px; position: relative;&quot;&gt;&lt;b style=&quot;color: #666666; font-family: oswald; font-size: 23px;&quot;&gt;Here we learn Step by Step to create jasper Report with eclipse, iReport with the help of java bean&lt;/b&gt;&lt;/h2&gt;&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-1190242346095803111&quot; itemprop=&quot;articleBody&quot; style=&quot;background-color: white; color: #666666; font-family: Lora, serif; font-size: 14px; width: 614px;&quot;&gt;&lt;div dir=&quot;ltr&quot; trbidi=&quot;on&quot;&gt;&lt;div&gt;&lt;b&gt;Step 1: First Download &amp;nbsp;iReport-5.5.0-windows-installer and&amp;nbsp;jasperreports-5.5.0 remember both version must be same like in this case both are 5.5.0&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 2: Extract the jar file after extracting you find&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-J-h9N6vrVQA/U4N3-tHSPUI/AAAAAAAAAEE/iif_kGQI7Ng/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; color: #c4a549; float: left; margin-bottom: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://2.bp.blogspot.com/-J-h9N6vrVQA/U4N3-tHSPUI/AAAAAAAAAEE/iif_kGQI7Ng/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 125.953px;&quot; width=&quot;133&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;/b&gt;&lt;div&gt;&lt;b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;b style=&quot;background-color: transparent;&quot;&gt;step 3: Open eclipse create java project then create folder with name library and copy all the files&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;from lib and dist folder and add to the build path.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;step 4: Create java bean with setter and getters if there is a field which is a object then create seperate class for the field . If a field is occur more than once then declare that field as a collection&lt;/b&gt;&lt;br /&gt;&lt;b&gt;like List.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Address.java&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;package bean;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;public class Address {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;private String city;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;private String country;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;public String getCity() {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return city;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;b&gt;public void setCity(String city) {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;this.city = city;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;b&gt;public String getCountry() {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return country;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;b&gt;public void setCountry(String country) {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;this.country = country;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Employee.java&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;package bean;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;import java.util.List;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;public class Employee {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;private int id;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;private String name;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;private List&amp;lt;Address&amp;gt; address;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;public List&amp;lt;Address&amp;gt; getAddress() {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return address;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;b&gt;public void setAddress(List&amp;lt;Address&amp;gt; address) {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;this.address = address;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;public int getId() {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return id;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;b&gt;public void setId(int id) {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;this.id = id;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;b&gt;public String getName() {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return name;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;b&gt;public void setName(String name) {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;this.name = name;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;step : 5 Create a factory class which contain a static method whose return type is Collection that return objects of your bean class.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EmployeeImpl.java&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;import java.util.ArrayList;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;import java.util.Collection;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;import java.util.HashMap;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;import java.util.List;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div style=&quot;display: inline !important;&quot;&gt;&lt;b&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div style=&quot;display: inline !important;&quot;&gt;&lt;b&gt;&lt;b&gt;&lt;b&gt;import bean.Address;&lt;/b&gt;&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;b&gt;&lt;b&gt;&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;import bean.Employee;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;public class EmployeeImpl {&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public static Collection&amp;lt;Employee&amp;gt; getEmployee()&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;List&amp;lt;Employee&amp;gt;employees = new ArrayList&amp;lt;Employee&amp;gt;();&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Employee e= new Employee();&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;e.setId(1);&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;e.setName(&quot;Aditya&quot;);&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;List&amp;lt;Address&amp;gt; addresses =new ArrayList&amp;lt;Address&amp;gt;();&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Address a =new Address();&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;a.setCity(&quot;Ashok Nagar&quot;);&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;a.setCountry(&quot;India&quot;);&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Address a1 =new Address();&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;a1.setCity(&quot;Ashok Nagar&quot;);&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;a1.setCountry(&quot;USA&quot;);&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;addresses.add(a);&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;addresses.add(a1);&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;e.setAddress(addresses);&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;employees.add(e);&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return employees;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;}&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;step : 5 Export this project as .jar&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;step :6 Now open ireport click on tools--&amp;gt;options---&amp;gt; classpath--&amp;gt;Add jar &amp;nbsp;Attach your jar file tick and press ok.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;step :7 Click on Report Datasources--&amp;gt;New--&amp;gt;java bean set Datasource--&amp;gt;Click next&lt;/b&gt;&lt;br /&gt;&lt;b&gt;then give complete name of your factory class and your static method&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-cvOr-6c-D7c/U4rfVqVbRsI/AAAAAAAAAEY/bQr_lCSUHbQ/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://2.bp.blogspot.com/-cvOr-6c-D7c/U4rfVqVbRsI/AAAAAAAAAEY/bQr_lCSUHbQ/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;277&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;then click on test a dialog box is open with a successfully message click save.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Step: 8 Click file--&amp;gt;New--&amp;gt;Blank A4--&amp;gt;Open this tempelate--&amp;gt;Give Report Name to Employee&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-XBIZ2vO2Zvo/U4riWs70zVI/AAAAAAAAAEk/tHIlJ0lLo_I/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;237&quot; src=&quot;https://3.bp.blogspot.com/-XBIZ2vO2Zvo/U4riWs70zVI/AAAAAAAAAEk/tHIlJ0lLo_I/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Click next--&amp;gt; Finish.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Step: 9 Click &amp;nbsp;(near Preview)&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-5XOgLSXF_D8/U4rjfmiN6CI/AAAAAAAAAEw/c31vsi2zAGo/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;159&quot; src=&quot;https://1.bp.blogspot.com/-5XOgLSXF_D8/U4rjfmiN6CI/AAAAAAAAAEw/c31vsi2zAGo/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Click java bean data source give name of your bean class click read attribute then select all except class click add selected field click preview data here you see all your value&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-UowHXgR6WCQ/U4rlBPrEVVI/AAAAAAAAAE8/grIu1RnJzaQ/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;212&quot; src=&quot;https://3.bp.blogspot.com/-UowHXgR6WCQ/U4rlBPrEVVI/AAAAAAAAAE8/grIu1RnJzaQ/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Click ok&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Step: 10 Then all the fields are come in field add id,name but not Address because it is a object for this we must create a subreport which is to be added in Employee.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-OKt58GuafsU/U4rnHg663xI/AAAAAAAAAFI/oCY4Y4QauVA/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;152&quot; src=&quot;https://3.bp.blogspot.com/-OKt58GuafsU/U4rnHg663xI/AAAAAAAAAFI/oCY4Y4QauVA/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Step 11: From Pallette add drag subreport in the details band a dialog box is open check create a new report--&amp;gt;next--&amp;gt;blank A4--&amp;gt;next---&amp;gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-AT8FVjkKrd4/U4rogPQIsaI/AAAAAAAAAFU/kgJFMnLlOd0/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;233&quot; src=&quot;https://4.bp.blogspot.com/-AT8FVjkKrd4/U4rogPQIsaI/AAAAAAAAAFU/kgJFMnLlOd0/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Data source is same as Employee because it contain the factory method.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Click next--&amp;gt;next--&amp;gt;Give sub report a name ex Employee_Address click finish&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Step:12 Click on your Employee report then click on sub report so that on the right side properties of subreport is open change connection type to use a data source expression&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-aRUPekoT97o/U4rr-gaidYI/AAAAAAAAAFg/Zaz546cr44w/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;125&quot; src=&quot;https://2.bp.blogspot.com/-aRUPekoT97o/U4rr-gaidYI/AAAAAAAAAFg/Zaz546cr44w/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&amp;nbsp;Click on data source expression a dialog box is open that contain all the properties id,name,address use&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{address})&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-6vQFKpIOWE0/U4rt3x8kTTI/AAAAAAAAAFs/uoqLt_Q7mgg/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;252&quot; src=&quot;https://3.bp.blogspot.com/-6vQFKpIOWE0/U4rt3x8kTTI/AAAAAAAAAFs/uoqLt_Q7mgg/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Click Ok.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Step :13 Then repeat step 9 but this time give name of Address Bean and not preview data because if you preview data it gives a error&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-0NuHHmUkIt0/U4rwT3GyTZI/AAAAAAAAAF8/1FWb1yW_H6g/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;184&quot; src=&quot;https://1.bp.blogspot.com/-0NuHHmUkIt0/U4rwT3GyTZI/AAAAAAAAAF8/1FWb1yW_H6g/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Step :14 Then attach your Country, City &amp;nbsp;to your subreport compile it but preview your Employee report if you preview your sub report it gives an error&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-Yh1u13DgnI0/U4ryQar4KLI/AAAAAAAAAGI/zU_oyimBPc0/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;145&quot; src=&quot;https://3.bp.blogspot.com/-Yh1u13DgnI0/U4ryQar4KLI/AAAAAAAAAGI/zU_oyimBPc0/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Thats it you can see your report but if you want to call it from your java code then some additional steps need to be done.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Step 15: Change Language of both your report from groovy to java Click on Employee and Employee_Address in Report Inspector then on right hand side their is a language drop down change groovy to java&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-MLqwWdqZU6I/U4rz3ywoHYI/AAAAAAAAAGQ/4Sql0A4TrqI/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;109&quot; src=&quot;https://2.bp.blogspot.com/-MLqwWdqZU6I/U4rz3ywoHYI/AAAAAAAAAGQ/4Sql0A4TrqI/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Step 16: Add both Employee.jrxml and Employee_Address.jrxml to your eclipse project inside jrxml project .And create a Class with main()&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;public static void main(String[] args) {&lt;/b&gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;b&gt;  &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;HashMap&amp;lt;String, Object&amp;gt; hm = new HashMap&amp;lt;String, Object&amp;gt;();&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;JRDataSource &amp;nbsp;ds = new JRBeanCollectionDataSource(EmployeeImpl.getEmployee());&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; JasperReport jasperReport;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; JasperPrint jasperPrint;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jasperReport = JasperCompileManager.compileReport(&quot;jrxml/Employee.jrxml&quot;);&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jasperPrint = JasperFillManager.fillReport(jasperReport, hm, ds);&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; JasperExportManager.exportReportToPdfFile(jasperPrint, &quot;simple_report.pdf&quot;);&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (JRException e) {&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.printStackTrace();&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/b&gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;b&gt;  &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;}&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;&lt;/b&gt;&lt;b&gt;Run the class refresh your project and yipeeeee their is a pdf with name&amp;nbsp;&lt;/b&gt;&lt;b&gt;simple_report.pdf&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Project Structure&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-N0A2NE1AbLw/U4r1wRiRBoI/AAAAAAAAAGc/RGi0NklmsAQ/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;color: #c4a549; margin-left: 1em; margin-right: 1em; text-decoration-line: none;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://4.bp.blogspot.com/-N0A2NE1AbLw/U4r1wRiRBoI/AAAAAAAAAGc/RGi0NklmsAQ/s1600/Capture.PNG&quot; style=&quot;border: none; position: relative; width: 577.156px;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><link>http://liferay-artical.blogspot.com/2017/09/jasper-report-with-eclipse.html</link><author>noreply@blogger.com (Seema Pavar)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://2.bp.blogspot.com/-J-h9N6vrVQA/U4N3-tHSPUI/AAAAAAAAAEE/iif_kGQI7Ng/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></item></channel></rss>