• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 11 páginas
Examen

Liferay Developer Certification Exam Practice Questions

Document preview thumbnail
Vista previa 2 fuera de 11 páginas

Objects stored in the portlet application scope session are available to: A. Any portlet on the same page B. Any portlet in the same portlet application C. Any portlet within the portal application D. Only the portlet that stored the object in the session - answer-B. Any portlet in the same portlet application To start Liferay with developer properties: A. Set the porta I.developer, mode property in rties to ''true" B. Include rties during Java startup, or in rties C. Navigate to Server Administration in the Control Panel and set the property to "true" D. Copy rties from the portal's classes directory to the Liferay home directory and restart the server - answer-B. Include rties during Java startup, or in rties The method to get the value of a custom field for a User object named "user" is: A. ExpandoLocalServiceUAttribute(user) B. ExpandoBridge().getAttribute() C. Expando() D. PortalUExpando(user) - answer-B. ExpandoBridge().getAttribute() In rties:login,=s.ChannelLoginPostActionA,s.Defaultl_andingPageAction,s.LoginPostActionA hook plugin can insert a new class between DefaultLandingPageAction andLoginPostAction. A. True B. False - answer-B. False The descriptor : 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 - answer-A. Defines Liferay-specific portlet features Not all of the fields in the User object are searchable out of the box. The recommended way to make these fields searchable is to: A. Create a hook plugin that overrides the User service to index the required fields B. Create a hook plugin that overrides the edit user Struts action to index the required fields C. Create an Ext plugin that extends the User indexer to index the required fields D. Create a hook plugin that implements an indexer post processor to index the required fields - answer-D. Create a hook plugin that implements an indexer post processor to index the required fields Events supported by JSR-286 portlets for inter portlet communication are:(Please select all correct answers.) A. Publishing events B. Processing events C. Global events D. Lifecycle events - answer-A. Publishing events B. Processing events The recommended way to display a web content article in a theme: A. Use the AssetEntry service in portal_ 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 - answer-C. Embed the Web Content Display portlet, passing in portlet preferences set to the desired article After removing a customization from an Ext plugin, the recommended way to redeploy in a development environment is to: 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 - answer-C. Start with a clean instance of the server and deploy all plugins 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 - answer-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 The "companyId" is a(n): A. Portal instance B. Organization C. Site D. Team - answer-A. Portal instance Creating a Struts action hook requires the following elements in :(Please select all correct answers.) A. struts-hook B. struts-action-path C. struts-action-impl D. override-struts-path E. struts-action - answer-B. struts-action-path C. struts-action-impl E. struts-action The Plugins SDK uses: A. B. JAR files from the user's home directory C. D. - answer-A. The descriptor defines the location to override a core JSP using: A. url-pattern B. custom-jsp-global C. custom-jsp-dir D. jsp-override E. include-and-override - answer-C. custom-jsp-dir To map a Service Builder entity to an existing database table in the entity name must match the database table name. A. True B. False - answer-B. False The method to define a column in a layout template is: A. $eColumn() B. $eColumn() C. $ssColumn() D. $Column() - answer-C. $ssColumn() The JavaScript method that executes after all the portlets on the page have finished loading is: A. Liferay.P(fn) B. AUI().ready(fn) C. L('allPortletsReady',fn) D. None of the above - answer-C. L('allPortletsReady',fn) A JSR-286 standard portlet extends: A. Liferay Portlet B. MVC Portlet C. Generic Portlet D. Struts Portlet E. Any Java class - answer-C. Generic Portlet The "companyld" is a(n): A. Portal instance B. Organization C. Site D. T

Vista previa del contenido

Liferay Developer Certification Exam Practice Questions
Objects stored in the portlet application scope session are available to:
A. Any portlet on the same page
B. Any portlet in the same portlet application
C. Any portlet within the portal application
D. Only the portlet that stored the object in the session - answer-B. Any portlet in the same
portlet application

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 - answer-B. Include portal-developer.properties during Java
startup, or in portal-ext.properties

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) - answer-B. user.getExpandoBridge().getAttribute()

In portal.properties:login,events.post=\com.liferay.portal.events.ChannelLoginPostActionA,\
com.liferay.portal.events.Defaultl_andingPageAction,\
com.liferay.portal.events.LoginPostActionA hook plugin can insert a new class between
DefaultLandingPageAction andLoginPostAction.
A. True
B. False - answer-B. False

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 - answer-A. Defines Liferay-specific portlet features

Not all of the fields in the User object are searchable out of the box. The recommended way to
make these fields searchable is to:
A. Create a hook plugin that overrides the User service to index the required fields
B. Create a hook plugin that overrides the edit user Struts action to index the required fields
C. Create an Ext plugin that extends the User indexer to index the required fields

, D. Create a hook plugin that implements an indexer post processor to index the required fields -
answer-D. Create a hook plugin that implements an indexer post processor to index the
required fields

Events supported by JSR-286 portlets for inter portlet communication are:(Please select all
correct answers.)
A. Publishing events
B. Processing events
C. Global events
D. Lifecycle events - answer-A. Publishing events
B. Processing events

The recommended way to display a web content article in a theme:
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 - answer-C.
Embed the Web Content Display portlet, passing in portlet preferences set to the desired article

After removing a customization from an Ext plugin, the recommended way to redeploy in a
development environment is to:
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 - answer-C. Start with a clean instance of the
server and deploy all plugins

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 - answer-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

The "companyId" is a(n):
A. Portal instance
B. Organization
C. Site
D. Team - answer-A. Portal instance

Información del documento

Subido en
29 de septiembre de 2024
Número de páginas
11
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$11.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
TOPDOCTOR
5.0
(1)
Vendido
10
Seguidores
5
Artículos
3387
Última venta
1 año hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes