A solution that requires modifying the Blogs portlet by overriding several core JSPs and a Struts action is best developed as:
A. A single Ext plugin
B. A Struts hook plugin and several JSP hook plugins
C. A single hook plugin
D. A Struts hook plugin and a JSP hook plugin
正解:C
質問 2:
To start Liferay with developer properties:
A. Navigate to Server Administration in the Control Panel and set the portal.developer.mode property to "true"
B. Set the porta I.developer, mode property in portal-ext.properties to ''true"
C. Include portal-developer.properties during Java startup, or in portal-ext.properties
D. Copy portal-developer.properties from the portal's classes directory to the Liferay home directory and restart the server
正解:C
質問 3:
Given the service.xml:
<entity name="AcmeItem" local-service = "true'' remote-service="false">
<column name= "acmeltemld" type= "long' primary= "true" />
<column name= groupld" type="long" />
</entity>
The generated classes include:(Please select all correct answers.)
A. AcmeltemPersistencelmpI
B. AcmeltemJSONSerializer
C. AcmeltemModel
D. AcmeltemLocalServiceUtil
E. AcmeltemServiceUtil
正解:A,C,D
質問 4:
The recommended way to implement a service wrapper hook that customizes the authenticateByScreenName() method of the User service using a class called com.sample.MyUserLocalServicelmpI is to:(Please select all correct answers.)
A. Add the following to liferay-plugin-package.properties:required -deployment-
contexts=UserLocalServ ice
B. Implement custom logic and call super.authenticateByScreenNameQ if applicable
C. Add the following to liferay-hook.xml:
<service>
<service-type>com.liferay.portal.service.UserLocalService</service-type>
<service-impl>com.sample.MyUserLocalServiceImpl</service-impl>
</service>
D. Copy all of the methods from UserLocalServicelmpI to MyUserLocalServicelmpI
E. Override the authenticateByScreenName() method in MyUserLocalServicelmpI
正解:B,C,E
質問 5:
The recommended way to turn offportletborders in a custom theme is to:
A. Create a JSP hook that overrides port!et_wrapper.jsp to hide theportletborders
B. Set the portal property "portlet.setup.show.borders" tofalse"
C. Set the theme setting "portlet-setup-show-borders" to "false"
D. Modifyportlet.vm to hide theportletborders
正解:C
藤原** -
もちろん合格することが目標ではあるが、LRP-614知識としてこれだけの情報を持っていれば、仕事にも必ず役に立つ。