The method to embed a portlet in a layout template is:
A. $layout.addPortlet()
B. $processor.processPortlet()
C. $layoutembedPortlet()
D. $layout. process PortIet()
The
A. Display a list of actions
B. Display navigation
C. Display a list of breadcrumbs
D. Display categories
All Service Builder entities contain a local reference to: (Please select all correct answers.)
A. CounterLocaISe rv ice
B. AssetLocaIService
C. ResourceLocalService
D. SocialLocalService
E. WorkflowLocaISe rvice
In portal.properties, the following property lists portlets that can be embedded on any page: portlet.add(default.resource.check.whitelist=3,56_INSTANCE_0000,5S,S2,S6,87,88/103,113,145,164, The property is listed in liferay-hook_6_l_0.dtd as a property that can can be overridden with a hook. The recommended way to prevent embedding the Search portlet ("3") is to create a hook plugin.
A. True
B. False
Advantages of hook plugins over Ext plugins include: (Please select all correct answers.)
A. A hook plugin is hot deployable, while an Ext plugin is not
B. A hook plugin has direct access to the portal class loader, while an Ext plugin does not
C. A hook plugin provides an easier upgrade path for overriding core services and JSPs
D. A hook plugin can modify service layer classes, while an Ext plugin cannot
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-hook.xml:
B. Copy all of the methods from UserLocalServicelmpI to MyUserLocalServicelmpI
C. Override the authenticateByScreenName() method in MyUserLocalServicelmpI
D. Add the following to liferay-plugin-package.properties:required -deployment- contexts=UserLocalServ ice
E. Implement custom logic and call super.authenticateByScreenNameQ if applicable
A Liferay utility to verify the format of an email address is:
A. Validator.isEmailAddress()
B. HTMLUtil.isEmailAddress()
C. StringUtil.isEmailAddress()
D. Corrector.isEmailAddress()
E. GetterUtil.isEmailAddress()
F. ParamUtil.isEmailAddress()
Portlets can use interportletcommunication to: (Please select all correct answers.)
A. Pass any serializable object as an event payload
B. Trigger multiple events
C. Invoke events directly from the render phase
D. Enforce the processing order of events
Default CSS files in a theme are imported by:
A. base.css
B. ma in.css
C. style.css
D. import.ess
The element that defines a database table in service.xml is:
A.
B. [table]
C.
D.