LRP-614 Dumps LRP-614 Braindumps LRP-614 Real Questions LRP-614 Practice Test LRP-614 Actual Questions Liferay LRP-614 Portal Developer https://killexams.com/pass4sure/exam-detail/LRP-614 QUESTION: 125 The method to set the value of a custom field for a BlogsEntry object ("blog") is: A. PortalUtil.setExpando(blog) B. blog.getExpandoBridge().setAttribute() C. ExpandoLocalServiceUtil.setAttribute(blog) D. blog.setExpandoQ Answer: B QUESTION: 126 The default variables in a theme are defined in: A. portal_normal.vm B. init.vm C. main.vm D. variables.vm Answer: B QUESTION: 127 As a best practice, a portlet plugin imports classes from:(Please select all correct answers.) A. portal-impl.jar B. portal-service.jar C. portlet.jar D. ext-impl.jar Answer: B, C QUESTION: 128 The recommended way to override the updateLastLogin() method and create a new method called updateLastlmpersonation()for the User service is to: A. Create a hook plugin and implement a service wrapper that overrides the updateLastLogin() method and creates the updatel_astImpersonation() method in the User service 37 B. Create a portlet plugin and implement a service wrapper hook that overrides the updatel_astLogin() method in the User service and build a new service in the plugin that references the User service and creates the updatel_astImpersonation() method C. Create an Ext plugin that modifies portal-spring.xml to replace the User service with a new service that overrides the updatel_astLogin() method and creates the updatel_astImpersonation() method D. Create a hook plugin and implement a service wrapper that overrides the updatel_astLogin() method and create an Ext plugin that builds a new service to implement the updateLastImpersonation() method for the User service. Answer: B QUESTION: 129 After adding new functionality to an Ext plugin, the recommended way to deploy in a development environment is to: A. Stop the server, redeploy the plugin and restart the server B. Undeploy the original plugin and deploy the updated plugin C. Undeploy the original plugin, clean the server and deploy the updated plugin D. Undeploy all plugins and deploy the updated plugin prior to redeploying the other plugins Answer: A QUESTION: 130 When a hook overrides a core JSP named view.jsp: A. The new view.jsp overwrites the original file and the original view.jsp is no longer available B. The original view.jsp is moved to a temporary folder C. The original view.jsp is renamed to view.portal.jsp D. The contents of the original view.jsp and the new view.jsp are merged automatically Answer: C QUESTION: 131 Liferay's core local services:(Please select all correct answers.). A. Contain the business logic of the service B. Enforce permission checking 38 C. Are required if using remote services D. Communicate to the database through the persistence layer Answer: A, D QUESTION: 132 Beta-portlet.war requires services that are in alpha-portlet.war. To guarantee beta- portlet.war deploys after alpha-portlet.war: A. Add the following to portletxml in beta-portlet.war: < init-pa ram> required-deployment-contexts alpha-portlet B. Add the following to liferay-plugin-package.properties in beta-portlet.war:required- deploy ment-contexts=alpha-portlet C. Add the following to liferay-portlet.xml in beta-portlet.war: alpha-portlet D. It is not possible to declare this type of dependency Answer: B QUESTION: 133 Public render parameters are of the type: A. List B. RenderParameter C. String D. Object E. RenderRequest Answer: C QUESTION: 134 Service Builder does not generate: A. SQL statements to create tables B. Hibernate and Spring configuration files C. Axis web services D. The view layer 39 Answer: D QUESTION: 135 The recommended way to modify theWiki portlet configuration to recognize a new public render parameter defined in a portlet plugin: A. Create a hook plugin and add the public render parameter definition to portlet- custom.xml B. Create an Ext plugin and add the public render parameter definition to portlet-ext.xml C. Create a portlet plugin and re-implement the logic of the Wiki portlet and define the new public render parameter in portlet.xml D. Create an Ext plugin and add the public render parameter definition to portlet- custom.xml Answer: B QUESTION: 136 The element that defines a database table in service.xml is: A. B. C. D. Answer: A QUESTION: 137 If the expiration cache in portlet.xml is set to "-1": A. The finder cache does not expire B. Ehcache does not expire C. The portlet cache does not expire D. All of the above Answer: C QUESTION: 138 40 To define a primary key named''bookld" in service.xml: A. B. C. D. Answer: B QUESTION: 139 The method to retrieve a list of users that have been added directly to a site is: A. SiteLocalServiceUtil.getSiteUsers() B. UserLocalServiceUtil.getSiteUsers() C. UserLocalServiceUtil.getGroupUsers() D. SiteLocalServiceUtil. getGroupUsers () Answer: C QUESTION: 140 Portlet application security roles are mapped to Liferay roles in: A. portlet.xml B. liferay-portlet.xml C. liferay-role.xml D. liferay-display.xml Answer: B QUESTION: 141 The service() method in GenericPortlet handles all requests for a particular portlet and dispatches to the appropriate method based on the portlet mode. A. True B. False Answer: B 41 QUESTION: 142 The recommended way to escape text is: A. StringUtil.escape() B. HtmlUtiI.escape() C. DisplayUtil.escape() D. JSPUtil.escape() E. FormUtil.escape() F. GetterUtil.escape() Answer: B QUESTION: 143 The Classic theme is built using: A. HTML 4 B. XHTML C. HTML 5 D. HTML 6 E. WML Answer: C QUESTION: 144 The descriptor liferay-portlet.xml defines: A. Events B. The portlet class C. The CSS class wrapper D. Resource bundles Answer: C 42 6$03/( 48(67,216 7KHVH TXHVWLRQV DUH IRU GHPR SXUSRVH RQO\ )XOO YHUVLRQ LV XS WR GDWH DQG FRQWDLQV DFWXDO TXHVWLRQV DQG DQVZHUV .LOOH[DPV FRP LV DQ RQOLQH SODWIRUP WKDW RIIHUV D ZLGH UDQJH RI VHUYLFHV UHODWHG WR FHUWLILFDWLRQ H[DP SUHSDUDWLRQ 7KH SODWIRUP SURYLGHV DFWXDO TXHVWLRQV H[DP GXPSV DQG SUDFWLFH WHVWV WR KHOS LQGLYLGXDOV SUHSDUH IRU YDULRXV FHUWLILFDWLRQ H[DPV ZLWK FRQILGHQFH +HUH DUH VRPH NH\ IHDWXUHV DQG VHUYLFHV RIIHUHG E\ .LOOH[DPV FRP $FWXDO ([DP 4XHVWLRQV .LOOH[DPV FRP SURYLGHV DFWXDO H[DP TXHVWLRQV WKDW DUH H[SHULHQFHG LQ WHVW FHQWHUV 7KHVH TXHVWLRQV DUH XSGDWHG UHJXODUO\ WR HQVXUH WKH\ DUH XS WR GDWH DQG UHOHYDQW WR WKH ODWHVW H[DP V\OODEXV %\ VWXG\LQJ WKHVH DFWXDO TXHVWLRQV FDQGLGDWHV FDQ IDPLOLDUL]H WKHPVHOYHV ZLWK WKH FRQWHQW DQG IRUPDW RI WKH UHDO H[DP ([DP 'XPSV .LOOH[DPV FRP RIIHUV H[DP GXPSV LQ 3') IRUPDW 7KHVH GXPSV FRQWDLQ D FRPSUHKHQVLYH FROOHFWLRQ RI TXHVWLRQV DQG DQVZHUV WKDW FRYHU WKH H[DP WRSLFV %\ XVLQJ WKHVH GXPSV FDQGLGDWHV FDQ HQKDQFH WKHLU NQRZOHGJH DQG LPSURYH WKHLU FKDQFHV RI VXFFHVV LQ WKH FHUWLILFDWLRQ H[DP 3UDFWLFH 7HVWV .LOOH[DPV FRP SURYLGHV SUDFWLFH WHVWV WKURXJK WKHLU GHVNWRS 9&( H[DP VLPXODWRU DQG RQOLQH WHVW HQJLQH 7KHVH SUDFWLFH WHVWV VLPXODWH WKH UHDO H[DP HQYLURQPHQW DQG KHOS FDQGLGDWHV DVVHVV WKHLU UHDGLQHVV IRU WKH DFWXDO H[DP 7KH SUDFWLFH WHVWV FRYHU D ZLGH UDQJH RI TXHVWLRQV DQG HQDEOH FDQGLGDWHV WR LGHQWLI\ WKHLU VWUHQJWKV DQG ZHDNQHVVHV *XDUDQWHHG 6XFFHVV .LOOH[DPV FRP RIIHUV D VXFFHVV JXDUDQWHH ZLWK WKHLU H[DP GXPSV 7KH\ FODLP WKDW E\ XVLQJ WKHLU PDWHULDOV FDQGLGDWHV ZLOO SDVV WKHLU H[DPV RQ WKH ILUVW DWWHPSW RU WKH\ ZLOO UHIXQG WKH SXUFKDVH SULFH 7KLV JXDUDQWHH SURYLGHV DVVXUDQFH DQG FRQILGHQFH WR LQGLYLGXDOV SUHSDULQJ IRU FHUWLILFDWLRQ H[DPV 8SGDWHG &RQWHQW .LOOH[DPV FRP UHJXODUO\ XSGDWHV LWV TXHVWLRQ EDQN DQG H[DP GXPSV WR HQVXUH WKDW WKH\ DUH FXUUHQW DQG UHIOHFW WKH ODWHVW FKDQJHV LQ WKH H[DP V\OODEXV 7KLV KHOSV FDQGLGDWHV VWD\ XS WR GDWH ZLWK WKH H[DP FRQWHQW DQG LQFUHDVHV WKHLU FKDQFHV RI VXFFHVV 7HFKQLFDO 6XSSRUW .LOOH[DPV FRP SURYLGHV IUHH [ WHFKQLFDO VXSSRUW WR DVVLVW FDQGLGDWHV ZLWK DQ\ TXHULHV RU LVVXHV WKH\ PD\ HQFRXQWHU ZKLOH XVLQJ WKHLU VHUYLFHV 7KHLU FHUWLILHG H[SHUWV DUH DYDLODEOH WR SURYLGH JXLGDQFH DQG KHOS FDQGLGDWHV WKURXJKRXW WKHLU H[DP SUHSDUDWLRQ MRXUQH\ 'PS .PSF FYBNT WJTJU IUUQT LJMMFYBNT DPN WFOEPST FYBN MJTU .LOO \RXU H[DP DW )LUVW $WWHPSW *XDUDQWHHG