Site administrators would like to search for web content based on the review date. The review date is not currently indexed when web content is published. The recommended way to add the review date to the search index is to:
A. Create an Ext plugin and overwrite the Journal indexer to index the review date
B. Create a hook plugin and override the Journal service to index the review date
C. Create a hook plugin and override the edit article Struts action to index the review date
D. Create a hook plugin and implement an indexer post processor to index the review date
A hook plugin can extend and override: (Please select all correct answers.)
A. Core portal Struts actions
B. CoreportletStruts actions
C. Portletplugin Struts actions
D. Layout template Struts actions
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
The recommended way to add a custom class to Liferay's startup process is to:
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
A portlet can be assigned to a category in the Add Application menu using:
A. liferay-display.xml
B. liferay-portlet.xml
C. liferay-category.xml
D. liferay-menu.xml
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
Portlet application security roles are mapped to Liferay roles in:
A. portlet.xml
B. liferay-portlet.xml
C. liferay-role.xml
D. liferay-display.xml
The recommended way to escape text is:
A. StringUtil.escape()
B. HtmlUtiI.escape()
C. DisplayUtil.escape()
D. JSPUtil.escape()
E. FormUtil.escape()
F. GetterUtil.escape()