Site administrators would like to search for web content based on the review date. The review date is not currently indexed when web content is published. The recommended way to add the review date to the search index is to:
A. Create an Ext plugin and overwrite the Journal indexer to index the review date
B. Create a hook plugin and override the Journal service to index the review date
C. Create a hook plugin and override the edit article Struts action to index the review date
D. Create a hook plugin and implement an indexer post processor to index the review date
The recommended way to add new functionality in Liferay is to: A. Create Ext plugins
B. Createportlet, theme, layout template or hook plugins
C. Modify Liferay's source code directly
D. All of the above
Instanceable portlets: (Please select all correct answers.)
A. Have unique preferences perportlet
B. Can be added to a page multiple times
C. Share the same data within the same site
D. Can be displayed in the Control Panel
E. Share the same data on the same page
Service Builder is able to: (Please select all correct answers.)
A. Generate Hibernate configuration files
B. Generate base implementations of models, services, persistence and basic finders
C. Generate struts-config.xml and tiles-defs.xml
D. Generate web services
Given the service.xml:
type= "long' primary= "true" />
The generated classes include: (Please select all correct answers.)
A. AcmeltemServiceUtil
B. AcmeltemModel
C. AcmeltemLocalServiceUtil
D. AcmeltemJSONSerializer
E. AcmeltemPersistencelmpI
The JavaScript method that executes after each portlet on the page loads is:
A. AUI().ready(fn)
B. Liferay.Portlet.ready(fn)
C. Liferay.on(allPortletsReady', fn)
D. None of the above
The method to retrieve an integer submitted as a form field named "widgetCount"' is:
A. GetterUtil.getInteger(actionRequest, "widgetCount")
B. RequestUtiI.getInteger(actionRequest,"widgetCount )
C. HTMLUtil.getInteger(actionRequest, "widgetCount")
D. ParamUtil.getInteger(actionRequest, "widgetCount")
E. FormUtil.getInteger(actionRequest, "widgetCount")
F. AlloyUtil.getInteger(actionRequest, "widgetCount")
A hook plugin can be used to: (Please select all correct answers.)
A. Modify a portal language key
B. Modify a theme plugin
C. Override a portal JSP
D. Override the User service
E. Override PortalLDAPUtil
The descriptor liferay-portlet.xml:
A. Defines Liferay-specific portlet features
B. Defines the categories of the Add Application menu
C. Identifies portlets that only run onLiferay
D. All of the above
The following statements about plugins are true: (Please select all correct answers.)
A. All plugins are hot-deployable
B. Plugins can be used to modify core portal behavior
C. Plugins can be used to modify the layout of a page
D. Liferay supports six different types of plugins
E. Plugins are the preferred development approach
To map a Service Builder entity to an existing database table in service.xml the entity name must match the database table name.
A. True
B. False
The JavaScript method that executes as soon as the HTML document has finished loading is:
A. AUI().ready(fn)
B. Liferay.Portlet.ready(fn)
C. Liferay.on(fn)
D. None of the above
The standard JSR-286 portlet modes are: (Please select all correct answers.)
A. Help
B. Configuration
C. Print
D. Edit
E. View
F. About
To hide the default success message in a portlet that extends MVCPortlet:
A. Add the following when creating an action URL:
B. Add the following to liferay-portletxml:
C. Add the following to portlet.xml:< in it-pa ram>< na me >add -process-action -success-action
D. The default success message can only be overridden by supplying a customized success message using:SessionMessages.add(actionRequest, "custom-success-message");
Public render parameters are of the type:
A. List
B. RenderParameter
C. String
D. Object
E. RenderRequest