001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.messageboards.model;
016    
017    /**
018     * The model interface for the MBMessage service. Represents a row in the "MBMessage" database table, with each column mapped to a property of this class.
019     *
020     * <p>
021     * Never modify this interface directly. Add methods to {@link com.liferay.portlet.messageboards.model.impl.MBMessageImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
022     * </p>
023     *
024     * @author Brian Wing Shun Chan
025     * @see MBMessageModel
026     * @see com.liferay.portlet.messageboards.model.impl.MBMessageImpl
027     * @see com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl
028     * @generated
029     */
030    public interface MBMessage extends MBMessageModel {
031            public java.lang.String[] getAssetTagNames()
032                    throws com.liferay.portal.kernel.exception.SystemException;
033    
034            public java.lang.String getAttachmentsDir();
035    
036            public java.lang.String[] getAttachmentsFiles()
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException;
039    
040            public java.lang.String getBody(boolean translate);
041    
042            public com.liferay.portlet.messageboards.model.MBCategory getCategory();
043    
044            public com.liferay.portlet.messageboards.model.MBThread getThread()
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException;
047    
048            public java.lang.String getThreadAttachmentsDir();
049    
050            public java.lang.String getWorkflowClassName();
051    
052            public boolean isDiscussion();
053    
054            public boolean isReply();
055    
056            public boolean isRoot();
057    
058            public void setAttachmentsDir(java.lang.String attachmentsDir);
059    }