001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.wiki.model;
016    
017    import com.liferay.portal.kernel.repository.model.FileEntry;
018    
019    import java.io.Serializable;
020    
021    import java.util.List;
022    
023    /**
024     * @author Jorge Ferrer
025     */
026    public interface WikiPageDisplay extends Serializable {
027    
028            public List<FileEntry> getAttachmentsFileEntries();
029    
030            public String getContent();
031    
032            public String getFormat();
033    
034            public String getFormattedContent();
035    
036            public boolean getHead();
037    
038            public long getNodeId();
039    
040            public String getTitle();
041    
042            public long getUserId();
043    
044            public double getVersion();
045    
046            public boolean isHead();
047    
048            public void setAttachmentsFileEntries(
049                    List<FileEntry> attachmentsFileEntries);
050    
051            public void setContent(String content);
052    
053            public void setFormat(String format);
054    
055            public void setFormattedContent(String formattedContent);
056    
057            public void setHead(boolean head);
058    
059            public void setNodeId(long nodeId);
060    
061            public void setTitle(String title);
062    
063            public void setUserId(long userId);
064    
065            public void setVersion(double version);
066    
067    }