Example usage for com.liferay.portal.kernel.util Portal getClassNameId

List of usage examples for com.liferay.portal.kernel.util Portal getClassNameId

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util Portal getClassNameId.

Prototype

public long getClassNameId(String value);

Source Link

Document

Returns the ID of the class from its fully qualified name.

Usage

From source file:com.liferay.journal.content.web.internal.portlet.configuration.icon.EditJournalArticlePortletConfigurationIcon.java

License:Open Source License

@Reference(unbind = "-")
protected void setPortal(Portal portal) {
    _ddmStructureClassNameId = portal.getClassNameId(DDMStructure.class);
}