Winter Special Sale - Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 575363r9

Welcome To DumpsPedia

LRP-614 Sample Questions Answers

Questions 4

If multiple Ext plugins modify struts-config-ext.xml:

Options:

A.

Liferay merges all of the plugins into one plugin and deploys the combined plugin

B.

Liferay only deploys the first plugin that modifies struts-config-ext.xml and does not deploy subsequent plugins

C.

The last plugin deployed takes precedence

D.

All of the plugins deploy successfully

Buy Now
Questions 5

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.

Options:

A.

True

B.

False

Buy Now
Questions 6

The recommended way to override multiple JSPs in the Documents and Media portlet is to:

Options:

A.

Create a separate hook plug in for each JSP

B.

Create an Ext plugin

C.

Create a hook plugin that contains all the JSPs

D.

Copy them directly into Liferay

Buy Now
Questions 7

The method to embed the non-instanceable Language portlet with the name "82" in a theme is:

Options:

A.

$theme.include("82")

B.

$theme.runtime("82")

C.

$theme.runtime("82_INSTANCE_abcl23")

D.

$theme.include("82_INSTANCE_abcl23")

Buy Now
Questions 8

The recommended way to strip content from the outgoing response is to:

Options:

A.

Create a hook plugin that implements a service post action to strip content from the response

B.

Create an Ext plugin that implements a servlet filter to strip content from the response

C.

Create a hook plugin that implements a servlet filter to strip content from the response

D.

Create a hook that implements a request post processor to strip content from the response

Buy Now
Questions 9

Liferay's core JavaScript framework is:

Options:

A.

jQuery

B.

Dojo

C.

MooTools

D.

AlloyUI

E.

YUI

Buy Now
Questions 10

The recommended way to add a custom class to Liferay's startup process is to:

Options:

A.

Create a portal-ext.properties file in the Liferay Home directory that adds the custom class to global.startup.events, and add the custom class to the deployed Liferay application

B.

Create an Ext plugin that replaces the value of global.startup.events with the custom class, and add the custom class to the plugin

C.

Create a portal-ext.properties file in the Liferay Home directory that replaces the value of global.startup.events with the custom class, and add the custom class to portal-impl.jar

D.

Create an Ext plugin that adds the custom class to global.startup.events, and add the custom class to the plugin

Buy Now
Questions 11

To remove some of the core portlets from the Add Application menu and add them in the Control Panel:

Options:

A.

Create a hook plugin that modifies the portal properties default.control.panel.portlets and default.add .application.portlets

B.

Create an Ext plugin that modifies liferay-plugin-package.xml and liferay-display.xml

C.

Create an Ext plugin that modifies liferay-portlet-ext.xml and liferay-display.xml

D.

Create an Ext plugin that modifies liferay-look-and-feel.xml

Buy Now
Questions 12

Customizations to a theme are made in the folder:

Options:

A.

_unstyled

B.

.styled

C.

themes

D.

_diffs

E.

custom

Buy Now
Questions 13

In portal.properties:

login,events.post=\

com.liferay.portal.events.ChannelLoginPostActionA,\

com.liferay.portal.events.Defaultl_andingPageAction,\

com.liferay.portal.events.LoginPostAction

A hook plugin can insert a new class between DefaultLandingPageAction and LoginPostAction.

Options:

A.

True

B.

False

Buy Now
Questions 14

Developing for Liferay requires:

Options:

A.

IntelliJ

B.

Eclipse

C.

NetBeans

D.

Liferay Developer Studio

E.

None of the above

Buy Now
Questions 15

Methods for retrieving the current users ID include: (Please select all correct answers.)

Options:

A.

ThemeDisplay.getUserId()

B.

PortaIUtil.getUserld(renderRequest)

C.

request.getRemoteUser()

D.

Liferay.getUserld(renderRequest)

E.

Page.getUserld()

Buy Now
Questions 16

To customize the User service in a hook plugin, create a class that extends:

Options:

A.

UserServicelmpI

B.

UserServiceBaseImpI

C.

UserService

D.

UserServiceWrapper

Buy Now
Questions 17

ThemeDisplay.getUserId() returns a value of -1 for the Guest user.

Options:

A.

True

B.

False

Buy Now
Questions 18

To customize the default success message displayed by MVCPortlet:

Options:

A.

Add a custom key to the SessionMessages object

B.

Override the language key default-success-message in Language.properties

C.

Provide a entry in liferay-portlet.xml

D.

Pass a parameter called 'success'' in the ActionURL and map it to a custom language key

Buy Now
Questions 19

Tables are created in the database for a Service Builder entity after:

Options:

A.

The Ant "build-service" target has run

B.

The portlet is deployed for the first time

C.

The portlet is added to a page for the first time

D.

Tables must be created manually

Buy Now
Questions 20

In a JSP that includes the tag, the method to check permissions is:

Options:

A.

permissionChecker.hasPermissionO

B.

portalUtil.getPermissionChecker().hasPermission()

C.

permissionUtil.hasPermission()

D.

renderRequest.getPermissionChecker().hasPermission()

Buy Now
Questions 21

The recommended way to implement a new SSO solution that captures the SSO header is to:

Options:

A.

Create an Ext plugin that adds a sen/let filter to capture the SSO header

B.

Create a hook plugin that implements a servlet filter to capture the SSO header

C.

Modify the portal source code and create an SSO servlet filter in the portal to capture the SSO header

D.

Create a hook plugin to override the Struts action for the Loginportletto capture the SSO header

Buy Now
Questions 22

The service() method in GenericPortlet handles all requests for a particular portlet and dispatches to the appropriate method based on the portlet mode.

Options:

A.

True

B.

False

Buy Now
Questions 23

The recommended way to automatically add tags when creating web content is to:

Options:

A.

Create a model listener in a hook plugin and implement the onAfterCreate() method

B.

Create a model listener in a hook plugin and implement the onBeforeCreate() method

C.

Create an Ext plugin to extend and override JournalArticleLocalServicelmpI

D.

Create a hook plugin and use a service wrapper to extend JournalArticleLocalService

Buy Now
Questions 24

Advantages of hook plugins over Ext plugins include: (Please select all correct answers.)

Options:

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

Buy Now
Questions 25

After removing a customization from an Ext plugin, the recommended way to redeploy in a development environment is to:

Options:

A.

Redeploy the plugin and restart the server

B.

Undeploy the original plugin and deploy the updated plugin

C.

Start with a clean instance of the server and deploy all plugins

D.

Redeploy all plugins and restart the server

Buy Now
Questions 26

Service Builder entities are defined in:

Options:

A.

portlet.xml

B.

liferay-portlet.xml

C.

service, xml

D.

web.xml

Buy Now
Questions 27

The "companyId" is a(n):

Options:

A.

Portal instance

B.

Organization

C.

Site

D.

Team

Buy Now
Questions 28

The recommended way to turn off portlet borders in a custom theme is to:

Options:

A.

Modifyportlet.vm to hide theportletborders

B.

Set the theme setting "portlet-setup-show-borders" to "false"

C.

Create a JSP hook that overrides port!et_wrapper.jsp to hide theportletborders

D.

Set the portal property "portlet.setup.show.borders" tofalse"

Buy Now
Questions 29

An administrator would like to search for blog entries by the Twitter account of the author. The recommended way to add the Twitter account to the index and add the term to the search query is to:

Options:

A.

Create a hook plugin that overrides the BlogsEntry service to index the Twitter account and add the term to the search query

B.

Create a hook plugin that overrides the Struts actions to index the Twitter account on update and add the term to the search query

C.

Create an Ext plugin that extends the BlogsEntry indexer to index the Twitter account and add the term to the search query

D.

Create a hook plugin that implements an indexer post processor to index the Twitter account and add the term to the search query

Buy Now
Questions 30

The recommended way to make an isolated change to a core JSP is to:

Options:

A.

Create an Ext plugin to create a backup of the original JSP and extend the backup JSP

B.

Create a hook plugin to override the original JSP using the tag to copy the contents of the JSP

C.

Create a hook plugin to override the original JSP using the -override.jsp pattern

D.

Create an Ext plugin to override the original JSP using the tag to copy the contents of the JSP

Buy Now
Questions 31

All Service Builder entities contain a local reference to: (Please select all correct answers.)

Options:

A.

CounterLocaISe rv ice

B.

AssetLocaIService

C.

ResourceLocalService

D.

SocialLocalService

E.

WorkflowLocaISe rvice

Buy Now
Questions 32

The method to retrieve an integer submitted as a form field named "widgetCount"' is:

Options:

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")

Buy Now
Questions 33

The method to get theme settings in a theme is:

Options:

A.

$portalUtil.getSetting()

B.

$theme.getSetting()

C.

$layout.getSetting()

D.

$themeDisplay.getSetting()

Buy Now
Questions 34

The recommended way to display a web content article in a theme:

Options:

A.

Use the AssetEntry service in portal_normal.vm to get the desired article

B.

Embed the Web Content Display portlet, passing in the desired article ID to the portlet URL

C.

Embed the Web Content Display portlet, passing in portlet preferences set to the desired article

D.

Create a JSP hook that gets the desired article from the JournalArticle service

Buy Now
Questions 35

All render logic must be implemented in the JSP when using MVCPortlet:

Options:

A.

True

B.

False

Buy Now
Questions 36

The JavaScript method that executes after all the portlets on the page have finished loading is:

Options:

A.

Liferay.Portlet.ready(fn)

B.

AUI().ready(fn)

C.

Liferay.on('allPortletsReady',fn)

D.

None of the above

Buy Now
Questions 37

Liferay's core remote services: (Please select all correct answers.)

Options:

A.

Can only return primitive types

B.

Perform permission checking

C.

Must be invoked through web services

D.

Are accessed through Java or web services

Buy Now
Questions 38

The JavaScript method that executes as soon as the HTML document has finished loading is:

Options:

A.

AUI().ready(fn)

B.

Liferay.Portlet.ready(fn)

C.

Liferay.on(fn)

D.

None of the above

Buy Now
Questions 39

Supported plugin types in the Plugins SDK include: (Please select all correct answers.)

Options:

A.

AlloyUI plugins

B.

Ext plugins

C.

Hook plugins

D.

Web plugins

E.

Layout template plugins

F.

Portlet plugins

Buy Now
Questions 40

A Liferay utility to verify the format of an email address is:

Options:

A.

Validator.isEmailAddress()

B.

HTMLUtil.isEmailAddress()

C.

StringUtil.isEmailAddress()

D.

Corrector.isEmailAddress()

E.

GetterUtil.isEmailAddress()

F.

ParamUtil.isEmailAddress()

Buy Now
Questions 41

Beta-portlet.war requires services that are in alpha-portlet.war. To guarantee beta-portlet.war deploys after alpha-portlet.war:

Options:

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

Buy Now
Questions 42

To hide the default success message in a portlet that extends MVCPortlet:

Options:

A.

Add the following when creating an action URL:

name="addRecord"

var="addRecordURL"

add-process-action-success-action="false" />

B.

Add the following to liferay-portletxml:

false

C.

Add the following to portlet.xml:

< in it-pa ram>

< na me >add -process-action -success-action

false

D.

The default success message can only be overridden by supplying a customized success message using:

SessionMessages.add(actionRequest, "custom-success-message");

Buy Now
Questions 43

The recommended way to override the updateLastLogin() method and create a new method called updateLastlmpersonation() for the User service is to:

Options:

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

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.

Buy Now
Exam Code: LRP-614
Exam Name: Portal Developer
Last Update: Nov 20, 2024
Questions: 144
$64  $159.99
$48  $119.99
$40  $99.99
buy now LRP-614