Example usage for com.liferay.portal.kernel.template TemplateConstants TEMPLATE_SEPARATOR

List of usage examples for com.liferay.portal.kernel.template TemplateConstants TEMPLATE_SEPARATOR

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.template TemplateConstants TEMPLATE_SEPARATOR.

Prototype

String TEMPLATE_SEPARATOR

To view the source code for com.liferay.portal.kernel.template TemplateConstants TEMPLATE_SEPARATOR.

Click Source Link

Usage

From source file:com.liferay.journal.transformer.JournalTransformer.java

License:Open Source License

protected String getTemplatesPath(long companyId, long groupId, long classNameId) {

    StringBundler sb = new StringBundler(7);

    sb.append(TemplateConstants.TEMPLATE_SEPARATOR);
    sb.append(StringPool.SLASH);/*from w  w w . j a  v  a2 s .c om*/
    sb.append(companyId);
    sb.append(StringPool.SLASH);
    sb.append(groupId);
    sb.append(StringPool.SLASH);
    sb.append(classNameId);

    return sb.toString();
}