1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
13   */
14  
15  package com.liferay.portlet.messageboards.model;
16  
17  
18  /**
19   * <a href="MBMessage.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This interface is a model that represents the MBMessage table in the
28   * database.
29   * </p>
30   *
31   * <p>
32   * Customize {@link com.liferay.portlet.messageboards.model.impl.MBMessageImpl} and rerun the
33   * ServiceBuilder to generate the new methods.
34   * </p>
35   *
36   * @author    Brian Wing Shun Chan
37   * @see       MBMessageModel
38   * @see       com.liferay.portlet.messageboards.model.impl.MBMessageImpl
39   * @see       com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl
40   * @generated
41   */
42  public interface MBMessage extends MBMessageModel {
43      public java.lang.String getAttachmentsDir();
44  
45      public java.lang.String[] getAttachmentsFiles()
46          throws com.liferay.portal.PortalException,
47              com.liferay.portal.SystemException;
48  
49      public java.lang.String getBody(boolean translate);
50  
51      public com.liferay.portlet.messageboards.model.MBCategory getCategory();
52  
53      public java.lang.String[] getTagsEntries()
54          throws com.liferay.portal.SystemException;
55  
56      public com.liferay.portlet.messageboards.model.MBThread getThread()
57          throws com.liferay.portal.PortalException,
58              com.liferay.portal.SystemException;
59  
60      public java.lang.String getThreadAttachmentsDir();
61  
62      public boolean isDiscussion();
63  
64      public boolean isReply();
65  
66      public boolean isRoot();
67  
68      public void setAttachmentsDir(java.lang.String attachmentsDir);
69  }