All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.gravitee.management.model.UpdatePageEntity Maven / Gradle / Ivy

/**
 * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package io.gravitee.management.model;

import com.fasterxml.jackson.annotation.JsonProperty;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;
import java.util.Map;

/**
 * @author Titouan COMPIEGNE
 * @author Guillaume GILLON 
 */
public class UpdatePageEntity {

	@NotNull
	@Size(min = 1)
	private String name;

	private String content;

	private String lastContributor;

	private Integer order;

	private Boolean published;

	private PageSourceEntity source;

	private Map configuration;

	private Boolean homepage;

	@JsonProperty("excluded_groups")
	private List excludedGroups;

    private String parentId;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getLastContributor() {
		return lastContributor;
	}

	public void setLastContributor(String lastContributor) {
		this.lastContributor = lastContributor;
	}

	public Integer getOrder() {
		return order;
	}

	public void setOrder(Integer order) {
		this.order = order;
	}

	public Boolean isPublished() {
		return published;
	}

	public void setPublished(Boolean published) {
		this.published = published;
	}

	public PageSourceEntity getSource() {
		return source;
	}

	public void setSource(PageSourceEntity source) {
		this.source = source;
	}

	public Map getConfiguration() {
		return configuration;
	}

	public void setConfiguration(Map configuration) {
		this.configuration = configuration;
	}

	public Boolean isHomepage() {
		return homepage;
	}

	public void setHomepage(Boolean homepage) {
		this.homepage = homepage;
	}

	public List getExcludedGroups() {
		return excludedGroups;
	}

	public void setExcludedGroups(List excludedGroups) {
		this.excludedGroups = excludedGroups;
	}

    public String getParentId() { return parentId; }

    public void setParentId(String parentId) { this.parentId = parentId; }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy