KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > blogs > model > PostInfo


1 /*
2  * ____.
3  * __/\ ______| |__/\. _______
4  * __ .____| | \ | +----+ \
5  * _______| /--| | | - \ _ | : - \_________
6  * \\______: :---| : : | : | \________>
7  * |__\---\_____________:______: :____|____:_____\
8  * /_____|
9  *
10  * . . . i n j a h i a w e t r u s t . . .
11  *
12  *
13  *
14  * ----- BEGIN LICENSE BLOCK -----
15  * Version: JCSL 1.0
16  *
17  * The contents of this file are subject to the Jahia Community Source License
18  * 1.0 or later (the "License"); you may not use this file except in
19  * compliance with the License. You may obtain a copy of the License at
20  * http://www.jahia.org/license
21  *
22  * Software distributed under the License is distributed on an "AS IS" basis,
23  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
24  * for the rights, obligations and limitations governing use of the contents
25  * of the file. The Original and Upgraded Code is the Jahia CMS and Portal
26  * Server. The developer of the Original and Upgraded Code is JAHIA Ltd. JAHIA
27  * Ltd. owns the copyrights in the portions it created. All Rights Reserved.
28  *
29  * The Shared Modifications are Jahia View Helper.
30  *
31  * The Developer of the Shared Modifications is Jahia Solution Sàrl.
32  * Portions created by the Initial Developer are Copyright (C) 2002 by the
33  * Initial Developer. All Rights Reserved.
34  *
35  * ----- END LICENSE BLOCK -----
36  */

37
38 package org.jahia.blogs.model;
39
40 import java.io.Serializable JavaDoc;
41 import java.util.Date JavaDoc;
42
43 /**
44  * Simple model representing a post's information according to the Blogger API.
45  *
46  * @author Xavier Lawrence
47  */

48 public interface PostInfo extends Serializable JavaDoc {
49     
50     public static final String JavaDoc POST_ID = "postid";
51     public static final String JavaDoc USER_ID = "userid";
52     public static final String JavaDoc CONTENT = "content";
53     public static final String JavaDoc DATE_CREATED = "dateCreated";
54
55     public String JavaDoc getPostID();
56     public String JavaDoc getUserID();
57     public String JavaDoc getContent();
58     public Date JavaDoc getDateCreated();
59 }
60
Popular Tags