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.synchonize.server;
019
020import org.nuxeo.ecm.core.api.CoreSession;
021import org.nuxeo.ecm.core.api.DocumentLocation;
022import org.nuxeo.ecm.core.api.DocumentModel;
023import org.nuxeo.ecm.platform.publisher.api.PublicationNode;
024import org.nuxeo.ecm.platform.publisher.api.PublishedDocument;
025import org.nuxeo.ecm.platform.publisher.api.PublishedDocumentFactory;
026
027import java.util.List;
028import java.util.Map;
029
030public abstract class AbstractSynchonizablePublicationTree implements ServerSynchronizablePublicationTree {
031
032    public String exportPublishedDocumentByPath(String path) {
033        // TODO Auto-generated method stub
034        // PublicationNode node = this.getNodeByPath(path);
035
036        return null;
037    }
038
039    public List<PublicationNode> listModifiedNodes(long timeDelta) {
040        // TODO Auto-generated method stub
041        return null;
042    }
043
044    public List<PublishedDocument> listModifiedPublishedDocuments(long timeDelta) {
045        // TODO Auto-generated method stub
046        return null;
047    }
048
049    public String getConfigName() {
050        // TODO Auto-generated method stub
051        return null;
052    }
053
054    public List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc) {
055        // TODO Auto-generated method stub
056        return null;
057    }
058
059    public PublicationNode getNodeByPath(String path) {
060        // TODO Auto-generated method stub
061        return null;
062    }
063
064    public List<PublishedDocument> getPublishedDocumentInNode(PublicationNode node) {
065        // TODO Auto-generated method stub
066        return null;
067    }
068
069    public String getSessionId() {
070        // TODO Auto-generated method stub
071        return null;
072    }
073
074    public String getTitle() {
075        // TODO Auto-generated method stub
076        return null;
077    }
078
079    /*
080     * public List<PublicationNode> getTree() { // TODO Auto-generated method stub return null; }
081     */
082
083    public String getTreeType() {
084        // TODO Auto-generated method stub
085        return null;
086    }
087
088    public void initTree(String sid, CoreSession coreSession, Map<String, String> parameters,
089            PublishedDocumentFactory factory, String configName) {
090        // TODO Auto-generated method stub
091
092    }
093
094    public PublishedDocument publish(DocumentModel doc, PublicationNode targetNode) {
095        // TODO Auto-generated method stub
096        return null;
097    }
098
099    public PublishedDocument publish(DocumentModel doc, PublicationNode targetNode, Map<String, String> params)
100            {
101        // TODO Auto-generated method stub
102        return null;
103    }
104
105    public void unpublish(DocumentModel doc, PublicationNode targetNode) {
106        // TODO Auto-generated method stub
107
108    }
109
110    public List<PublishedDocument> getChildrenDocuments() {
111        // TODO Auto-generated method stub
112        return null;
113    }
114
115    public List<PublicationNode> getChildrenNodes() {
116        // TODO Auto-generated method stub
117        return null;
118    }
119
120    public String getNodeType() {
121        // TODO Auto-generated method stub
122        return null;
123    }
124
125    public PublicationNode getParent() {
126        // TODO Auto-generated method stub
127        return null;
128    }
129
130    public String getPath() {
131        // TODO Auto-generated method stub
132        return null;
133    }
134
135    public String getTreeName() {
136        // TODO Auto-generated method stub
137        return null;
138    }
139
140}