001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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    }