| BlogsEntryCustomAttributesDisplay.java |
1 /**
2 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3 *
4 * This library is free software; you can redistribute it and/or modify it under
5 * the terms of the GNU Lesser General Public License as published by the Free
6 * Software Foundation; either version 2.1 of the License, or (at your option)
7 * any later version.
8 *
9 * This library is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12 * details.
13 */
14
15 package com.liferay.portlet.blogs;
16
17 import com.liferay.portal.theme.ThemeDisplay;
18 import com.liferay.portlet.blogs.model.BlogsEntry;
19 import com.liferay.portlet.expando.model.BaseCustomAttributesDisplay;
20
21 /**
22 * <a href="BlogsEntryCustomAttributesDisplay.java.html"><b><i>View Source</i>
23 * </b></a>
24 *
25 * @author Jorge Ferrer
26 */
27 public class BlogsEntryCustomAttributesDisplay
28 extends BaseCustomAttributesDisplay {
29
30 public static final String CLASS_NAME = BlogsEntry.class.getName();
31
32 public String getClassName() {
33 return CLASS_NAME;
34 }
35
36 public String getIconPath(ThemeDisplay themeDisplay) {
37 return themeDisplay.getPathThemeImages() + "/common/page.png";
38 }
39
40 }