001/* 002 * (C) Copyright 2006-2009 Nuxeo SA (http://nuxeo.com/) and contributors. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the GNU Lesser General Public License 006 * (LGPL) version 2.1 which accompanies this distribution, and is available at 007 * http://www.gnu.org/licenses/lgpl.html 008 * 009 * This library is distributed in the hope that it will be useful, 010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 012 * Lesser General Public License for more details. 013 * 014 * Contributors: 015 * Nuxeo 016 */ 017 018package org.nuxeo.ecm.platform.publisher.api; 019 020 021import java.io.Serializable; 022import java.util.List; 023 024/** 025 * Interface for a Node inside the publication tree. The Node is abstract, the implementation could be : a Core Folder, 026 * a FileSystem directory, a Folder on a remote core ... 027 * 028 * @author tiry 029 */ 030public interface PublicationNode extends Serializable { 031 032 String getTitle(); 033 034 String getName(); 035 036 PublicationNode getParent(); 037 038 List<PublicationNode> getChildrenNodes(); 039 040 List<PublishedDocument> getChildrenDocuments(); 041 042 String getNodeType(); 043 044 String getType(); 045 046 String getPath(); 047 048 String getTreeConfigName(); 049 050 String getSessionId(); 051 052}