KickJava   Java API By Example, From Geeks To Geeks.

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


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 package org.jahia.blogs.model;
38
39 import java.io.Serializable JavaDoc;
40 import java.util.Date JavaDoc;
41 import java.util.Vector JavaDoc;
42
43 /**
44  * Simple model representing a post's information according to the MetaWeblog API.
45  *
46  * @author Xavier Lawrence
47  */

48 public interface MetaPostInfo 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 TITLE = "title";
53     public static final String JavaDoc DESCRIPTION = "description";
54     public static final String JavaDoc DATE_CREATED = "dateCreated";
55     public static final String JavaDoc LINK = "link";
56     public static final String JavaDoc PERMANENT_LINK = "permaLink";
57     public static final String JavaDoc CATEGORIES = "categories";
58     
59     public static final String JavaDoc ENCLOSURE = "enclosure";
60     
61     public static final String JavaDoc MT_ALLOW_COMMENTS = "mt_allow_comments";
62     public static final String JavaDoc MT_ALLOW_PINGS = "mt_allow_pings";
63     public static final String JavaDoc MT_CONVERT_BREAKS = "mt_convert_breaks";
64     public static final String JavaDoc MT_TEXT_MORE = "mt_text_more";
65     public static final String JavaDoc MT_EXCERPT = "mt_excerpt";
66     public static final String JavaDoc MT_KEYWORDS = "mt_keywords";
67     public static final String JavaDoc MT_TB_PING_URLS = "mt_tb_ping_urls";
68     
69     public static final String JavaDoc PING_TITLE = "pingTitle";
70     public static final String JavaDoc PING_URL = "pingURL";
71     public static final String JavaDoc PING_IP = "pingIP";
72     
73     public String JavaDoc getPostID();
74     public String JavaDoc getUserID();
75     public String JavaDoc getTitle();
76     public String JavaDoc getDescription();
77     public Date JavaDoc getDateCreated();
78     public String JavaDoc getLink();
79     public String JavaDoc getPermanentLink();
80     public Vector JavaDoc getCategories();
81 }
82
Popular Tags