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

Liferay LRP-614 - Portal Developer

Page: 1 / 5
Total 144 questions

Liferay's persistence layer: (Please select all correct answers.)

A.

Relies on Enterprise JavaBeans to ensure compatibility with all major application servers

B.

Uses Hibernate by default to ensure compatibility with all major database servers

C.

Can be invoked directly from the UI layer

D.

Can be configured to use JPA

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

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

A portlet application only needs the standard web.xml deployment descriptor to be considered valid.

A.

True

B.

False

Default CSS files in a theme are imported by:

A.

base.css

B.

ma in.css

C.

style.css

D.

import.ess

To start Liferay with developer properties:

A.

Set the porta I.developer, mode property in portal-ext.properties to ''true"

B.

Include portal-developer.properties during Java startup, or in portal-ext.properties

C.

Navigate to Server Administration in the Control Panel and set the portal.developer.mode property to "true"

D.

Copy portal-developer.properties from the portal's classes directory to the Liferay home directory and restart the server

The method to retrieve a list of users added directly to an organization is:

A.

OrganizationLocalServiceUtil.getOrganizationUsers()

B.

UserLocalServiceUtil.getOrganizationUsers()

C.

GroupLocalServiceUtil.getOrganizationUsers()

D.

All of the above

Default RSS feeds are set as portlet preferences. To make all new instances of the RSS poitlet display a single custom RSS feed, it is recommended to:

A.

Create a hook plugin to add a model listener to the layout to update the portlet preferences of any RSS portlet added to the page

B.

Create an Ext plugin that contains the desired configuration in portlet-ext.xml

C.

Create a JSP hook that overrides the RSS portlet's default configuration settings

D.

Navigate to System Defaults in the Control Panel and update the portlet preferences

The method to get the value of a custom field for a User object named "user" is:

A.

ExpandoLocalServiceUtil.getAttribute(user)

B.

user.getExpandoBridge().getAttribute()

C.

user.getExpando()

D.

PortalUtil.getExpando(user)

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

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