com.liferay.layout.util.structure.RootLayoutStructureItem Maven / Gradle / Ivy
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.layout.util.structure;
import com.liferay.layout.util.constants.LayoutDataItemTypeConstants;
import com.liferay.petra.string.StringPool;
import com.liferay.portal.kernel.json.JSONFactoryUtil;
import com.liferay.portal.kernel.json.JSONObject;
/**
* @author Eudaldo Alonso
*/
public class RootLayoutStructureItem extends LayoutStructureItem {
public RootLayoutStructureItem() {
super(StringPool.BLANK);
}
public RootLayoutStructureItem(String itemId) {
super(itemId, StringPool.BLANK);
}
@Override
public JSONObject getItemConfigJSONObject() {
return JSONFactoryUtil.createJSONObject();
}
@Override
public String getItemType() {
return LayoutDataItemTypeConstants.TYPE_ROOT;
}
@Override
public void updateItemConfig(JSONObject itemConfigJSONObject) {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy