/* * Copyright (C) 2021 LibreCCM Foundation. * * 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. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301 USA */ package org.librecms.ui; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.enterprise.context.RequestScoped; import javax.inject.Named; /** * * @author Jens Pelzetter */ @RequestScoped @Named("CmsPageDetailsModel") public class PageDetailsModel { private String site; private String categoryDomain; private String category; private String categoryPath; private List pageProperties; public String getSite() { return site; } protected void setSite(String site) { this.site = site; } public String getCategoryDomain() { return categoryDomain; } protected void setCategoryDomain(final String categoryDomain) { this.categoryDomain = categoryDomain; } public String getCategory() { return category; } protected void setCategory(String category) { this.category = category; } public String getCategoryPath() { return categoryPath; } public void setCategoryPath(String categoryPath) { this.categoryPath = categoryPath; } public List getPageProperties() { return Collections.unmodifiableList(pageProperties); } protected void setPageProperties( final List pageProperties) { this.pageProperties = new ArrayList<>(pageProperties); } }