001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.kernel.lar;
016    
017    import javax.portlet.PortletPreferences;
018    
019    /**
020     * @author Eduardo Garcia
021     */
022    public class DefaultConfigurationPortletDataHandler
023            extends BasePortletDataHandler {
024    
025            public DefaultConfigurationPortletDataHandler() {
026                    setDataLevel(DataLevel.PORTLET_INSTANCE);
027            }
028    
029            @Override
030            public PortletPreferences deleteData(
031                    PortletDataContext portletDataContext, String portletId,
032                    PortletPreferences portletPreferences) {
033    
034                    return null;
035            }
036    
037            @Override
038            public String exportData(
039                    PortletDataContext portletDataContext, String portletId,
040                    PortletPreferences portletPreferences) {
041    
042                    return null;
043            }
044    
045            @Override
046            public long getExportModelCount(ManifestSummary manifestSummary) {
047                    return 0;
048            }
049    
050            @Override
051            public PortletPreferences importData(
052                    PortletDataContext portletDataContext, String portletId,
053                    PortletPreferences portletPreferences, String data) {
054    
055                    return null;
056            }
057    
058    }