Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

Liferay LRP-614 - Portal Developer

Page: 3 / 5
Total 144 questions

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:

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

The following code:

GetterUtil.getlnteger("one")

returns:

A.

0

B.

1

C.

The code throws a java.lang.ArithmeticException

D.

The code throws a com.liferay.portal.kernel.exception.SystemException

AlloyUI is:

A.

A JavaScript library

B.

A CSS framework

C.

A tag library

D.

All of the above

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.

A.

True

B.

False

To display a success message in a JSP use:

A.

B.

C.

D.

The method to retrieve a list of users that have been added directly to a site is:

A.

SiteLocalServiceUtil.getSiteUsers()

B.

UserLocalServiceUtil.getSiteUsers()

C.

UserLocalServiceUtil.getGroupUsers()

D.

SiteLocalServiceUtil. getGroupUsers ()

A class that extends MVCPortlet must implement:

A.

init()

B.

doView()

C.

doEdit()

D.

processAction()

E.

All of the above

F.

None of the above

User-specific properties in the Plugins SDK for the user "jsmith'' are configured in:

A.

build.jsmith.properties

B.

pom.xml

C.

pom.jsmith.properties

D.

portal.settings

E.

portal.properties

F.

portal-ext.properties

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

A.

permissionChecker.hasPermissionO

B.

portalUtil.getPermissionChecker().hasPermission()

C.

permissionUtil.hasPermission()

D.

renderRequest.getPermissionChecker().hasPermission()

Thecompanyld" is a(n):

A.

Portal instance

B.

Organization

C.

Site

D.

Team