001/*
002 * (C) Copyright 2006-2009 Nuxeo SA (http://nuxeo.com/) and others.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 *
016 * Contributors:
017 *     Nuxeo
018 */
019
020package org.nuxeo.ecm.platform.publisher.synchonize.server;
021
022import org.nuxeo.ecm.core.api.CoreSession;
023import org.nuxeo.ecm.core.api.DocumentLocation;
024import org.nuxeo.ecm.core.api.DocumentModel;
025import org.nuxeo.ecm.platform.publisher.api.PublicationNode;
026import org.nuxeo.ecm.platform.publisher.api.PublishedDocument;
027import org.nuxeo.ecm.platform.publisher.api.PublishedDocumentFactory;
028
029import java.util.List;
030import java.util.Map;
031
032public abstract class AbstractSynchonizablePublicationTree implements ServerSynchronizablePublicationTree {
033
034    public String exportPublishedDocumentByPath(String path) {
035        // TODO Auto-generated method stub
036        // PublicationNode node = this.getNodeByPath(path);
037
038        return null;
039    }
040
041    public List<PublicationNode> listModifiedNodes(long timeDelta) {
042        // TODO Auto-generated method stub
043        return null;
044    }
045
046    public List<PublishedDocument> listModifiedPublishedDocuments(long timeDelta) {
047        // TODO Auto-generated method stub
048        return null;
049    }
050
051    public String getConfigName() {
052        // TODO Auto-generated method stub
053        return null;
054    }
055
056    public List<PublishedDocument> getExistingPublishedDocument(DocumentLocation docLoc) {
057        // TODO Auto-generated method stub
058        return null;
059    }
060
061    public PublicationNode getNodeByPath(String path) {
062        // TODO Auto-generated method stub
063        return null;
064    }
065
066    public List<PublishedDocument> getPublishedDocumentInNode(PublicationNode node) {
067        // TODO Auto-generated method stub
068        return null;
069    }
070
071    public String getSessionId() {
072        // TODO Auto-generated method stub
073        return null;
074    }
075
076    public String getTitle() {
077        // TODO Auto-generated method stub
078        return null;
079    }
080
081    /*
082     * public List<PublicationNode> getTree() { // TODO Auto-generated method stub return null; }
083     */
084
085    public String getTreeType() {
086        // TODO Auto-generated method stub
087        return null;
088    }
089
090    public void initTree(String sid, CoreSession coreSession, Map<String, String> parameters,
091            PublishedDocumentFactory factory, String configName) {
092        // TODO Auto-generated method stub
093
094    }
095
096    public PublishedDocument publish(DocumentModel doc, PublicationNode targetNode) {
097        // TODO Auto-generated method stub
098        return null;
099    }
100
101    public PublishedDocument publish(DocumentModel doc, PublicationNode targetNode, Map<String, String> params)
102            {
103        // TODO Auto-generated method stub
104        return null;
105    }
106
107    public void unpublish(DocumentModel doc, PublicationNode targetNode) {
108        // TODO Auto-generated method stub
109
110    }
111
112    public List<PublishedDocument> getChildrenDocuments() {
113        // TODO Auto-generated method stub
114        return null;
115    }
116
117    public List<PublicationNode> getChildrenNodes() {
118        // TODO Auto-generated method stub
119        return null;
120    }
121
122    public String getNodeType() {
123        // TODO Auto-generated method stub
124        return null;
125    }
126
127    public PublicationNode getParent() {
128        // TODO Auto-generated method stub
129        return null;
130    }
131
132    public String getPath() {
133        // TODO Auto-generated method stub
134        return null;
135    }
136
137    public String getTreeName() {
138        // TODO Auto-generated method stub
139        return null;
140    }
141
142}