001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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    }