001    /**
002     * Copyright (c) 2000-2010 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 java.io.Serializable;
018    
019    /**
020     * @author Jorge Ferrer
021     */
022    public interface WikiPageDisplay extends Serializable {
023    
024            public long getUserId();
025    
026            public void setUserId(long userId);
027    
028            public long getNodeId();
029    
030            public void setNodeId(long nodeId);
031    
032            public String getTitle();
033    
034            public void setTitle(String title);
035    
036            public double getVersion();
037    
038            public void setVersion(double version);
039    
040            public String getContent();
041    
042            public void setContent(String content);
043    
044            public String getFormattedContent();
045    
046            public void setFormattedContent(String formattedContent);
047    
048            public String getFormat();
049    
050            public void setFormat(String format);
051    
052            public boolean getHead();
053    
054            public boolean isHead();
055    
056            public void setHead(boolean head);
057    
058            public String[] getAttachments();
059    
060            public void setAttachments(String[] attachments);
061    
062    }