LRP-614 Dumps LRP-614 Braindumps
LRP-614 Real Questions LRP-614 Practice Test LRP-614 Actual Questions
Portal Developer
https://killexams.com/pass4sure/exam-detail/LRP-614
The method to set the value of a custom field for a BlogsEntry object ("blog") is:
PortalUtil.setExpando(blog)
blog.getExpandoBridge().setAttribute()
ExpandoLocalServiceUtil.setAttribute(blog)
blog.setExpandoQ
The default variables in a theme are defined in:
portal_normal.vm
init.vm
main.vm
variables.vm
As a best practice, a portlet plugin imports classes from:(Please select all correct answers.)
portal-impl.jar
portal-service.jar
portlet.jar
ext-impl.jar
The recommended way to override the updateLastLogin() method and create a new method called updateLastlmpersonation()for the User service is to:
Create a hook plugin and implement a service wrapper that overrides the updateLastLogin() method and creates the updatel_astImpersonation() method in the User service
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
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
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.
After adding new functionality to an Ext plugin, the recommended way to deploy in a development environment is to:
Stop the server, redeploy the plugin and restart the server
Undeploy the original plugin and deploy the updated plugin
Undeploy the original plugin, clean the server and deploy the updated plugin
Undeploy all plugins and deploy the updated plugin prior to redeploying the other plugins
When a hook overrides a core JSP named view.jsp:
The new view.jsp overwrites the original file and the original view.jsp is no longer available
The original view.jsp is moved to a temporary folder
The original view.jsp is renamed to view.portal.jsp
The contents of the original view.jsp and the new view.jsp are merged automatically
Liferay's core local services:(Please select all correct answers.).
Contain the business logic of the service
Enforce permission checking
Are required if using remote services
Communicate to the database through the persistence layer
Beta-portlet.war requires services that are in alpha-portlet.war. To guarantee beta- portlet.war deploys after alpha-portlet.war:
Add the following to portletxml in beta-portlet.war:
< init-pa ram>
<name>required-deployment-contexts</name>
<value>alpha-portlet</value>
</init-param>
Add the following to liferay-plugin-package.properties in beta-portlet.war:required- deploy ment-contexts=alpha-portlet
Add the following to liferay-portlet.xml in beta-portlet.war:
<required-deployment-contexts>alpha-portlet</required-deployment-contexts>
It is not possible to declare this type of dependency
Public render parameters are of the type:
List
RenderParameter
String
Object
RenderRequest
Service Builder does not generate:
SQL statements to create tables
Hibernate and Spring configuration files
Axis web services
The view layer
The recommended way to modify theWiki portlet configuration to recognize a new public render parameter defined in a portlet plugin:
Create a hook plugin and add the public render parameter definition to portlet- custom.xml
Create an Ext plugin and add the public render parameter definition to portlet-ext.xml
Create a portlet plugin and re-implement the logic of the Wiki portlet and define the new public render parameter in portlet.xml
Create an Ext plugin and add the public render parameter definition to portlet- custom.xml
The element that defines a database table in service.xml is:
<entity>
<table>
<db-table>
<object>
If the expiration cache in portlet.xml is set to "-1":
The finder cache does not expire
Ehcache does not expire
The portlet cache does not expire
All of the above Answer: C QUESTION: 138
To define a primary key named''bookld" in service.xml:
<primary-column name= bookld" />
<column name = bookld primary = true" />
<primary name= "bookld" />
<column primary="bookId" />
The method to retrieve a list of users that have been added directly to a site is:
SiteLocalServiceUtil.getSiteUsers()
UserLocalServiceUtil.getSiteUsers()
UserLocalServiceUtil.getGroupUsers()
SiteLocalServiceUtil. getGroupUsers ()
Portlet application security roles are mapped to Liferay roles in:
portlet.xml
liferay-portlet.xml
liferay-role.xml
liferay-display.xml
The service() method in GenericPortlet handles all requests for a particular portlet and dispatches to the appropriate method based on the portlet mode.
True
False
The recommended way to escape text is:
StringUtil.escape()
HtmlUtiI.escape()
DisplayUtil.escape()
JSPUtil.escape()
FormUtil.escape()
GetterUtil.escape()
The Classic theme is built using:
HTML 4
XHTML
HTML 5
HTML 6
WML
The descriptor liferay-portlet.xml defines:
Events
The portlet class
The CSS class wrapper
Resource bundles
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