1   /**
2    * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.journal.model.impl;
24  
25  import com.liferay.portal.SystemException;
26  import com.liferay.portal.util.PortalUtil;
27  import com.liferay.portlet.journal.model.JournalStructure;
28  
29  /**
30   * <a href="JournalStructureImpl.java.html"><b><i>View Source</i></b></a>
31   *
32   * @author Brian Wing Shun Chan
33   *
34   */
35  public class JournalStructureImpl
36      extends JournalStructureModelImpl implements JournalStructure {
37  
38      public static final String RESERVED = "reserved";
39  
40      public static final String RESERVED_ARTICLE_ID = "reserved-article-id";
41  
42      public static final String RESERVED_ARTICLE_VERSION =
43          "reserved-article-version";
44  
45      public static final String RESERVED_ARTICLE_TITLE =
46          "reserved-article-title";
47  
48      public static final String RESERVED_ARTICLE_DESCRIPTION =
49          "reserved-article-description";
50  
51      public static final String RESERVED_ARTICLE_TYPE =
52          "reserved-article-type";
53  
54      public static final String RESERVED_ARTICLE_CREATE_DATE =
55          "reserved-article-create-date";
56  
57      public static final String RESERVED_ARTICLE_MODIFIED_DATE =
58          "reserved-article-modified-date";
59  
60      public static final String RESERVED_ARTICLE_DISPLAY_DATE =
61          "reserved-article-display-date";
62  
63      public static final String RESERVED_ARTICLE_SMALL_IMAGE_URL =
64          "reserved-article-small-image-url";
65  
66      public static final String RESERVED_ARTICLE_AUTHOR_ID =
67          "reserved-article-author-id";
68  
69      public static final String RESERVED_ARTICLE_AUTHOR_NAME =
70          "reserved-article-author-name";
71  
72      public static final String RESERVED_ARTICLE_AUTHOR_EMAIL_ADDRESS =
73          "reserved-article-author-email-address";
74  
75      public static final String RESERVED_ARTICLE_AUTHOR_COMMENTS =
76          "reserved-article-author-comments";
77  
78      public static final String RESERVED_ARTICLE_AUTHOR_ORGANIZATION =
79          "reserved-article-author-organization";
80  
81      public static final String RESERVED_ARTICLE_AUTHOR_LOCATION =
82          "reserved-article-author-location";
83  
84      public static final String RESERVED_ARTICLE_AUTHOR_JOB_TITLE =
85          "reserved-article-author-job-title";
86  
87      public JournalStructureImpl() {
88      }
89  
90      public String getUserUuid() throws SystemException {
91          return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid);
92      }
93  
94      public void setUserUuid(String userUuid) {
95          _userUuid = userUuid;
96      }
97  
98      private String _userUuid;
99  
100 }