/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more * details. */ package com.liferay.content.targeting.report.@report.java.package.name@; import com.liferay.content.targeting.api.model.BaseReport; import com.liferay.content.targeting.api.model.Report; import com.liferay.content.targeting.model.Campaign; import com.liferay.portal.kernel.util.StringPool; import java.util.Map; import org.osgi.service.component.annotations.Activate; import org.osgi.service.component.annotations.Component; import org.osgi.service.component.annotations.Deactivate; /** * @author Brian Chan */ @Component( immediate = true, service = Report.class) public class @report.java.class.name@Report extends BaseReport { @Activate @Override public void activate() { super.activate(); } @Deactivate @Override public void deActivate() { super.deActivate(); } @Override public String getIcon() { return "icon-puzzle"; } @Override public String getReportType() { return Campaign.class.getName(); } @Override public String updateReport(long classPK) { return StringPool.BLANK; } @Override protected void populateContext(Map<String, Object> context) { } }