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.journal.model;
016    
017    import com.liferay.portal.kernel.annotation.AutoEscape;
018    import com.liferay.portal.model.BaseModel;
019    import com.liferay.portal.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    /**
026     * <p>
027     * This interface is a model that represents the JournalArticleResource table in the
028     * database.
029     * </p>
030     *
031     * @author    Brian Wing Shun Chan
032     * @see       JournalArticleResource
033     * @see       com.liferay.portlet.journal.model.impl.JournalArticleResourceImpl
034     * @see       com.liferay.portlet.journal.model.impl.JournalArticleResourceModelImpl
035     * @generated
036     */
037    public interface JournalArticleResourceModel extends BaseModel<JournalArticleResource> {
038            public long getPrimaryKey();
039    
040            public void setPrimaryKey(long pk);
041    
042            public long getResourcePrimKey();
043    
044            public void setResourcePrimKey(long resourcePrimKey);
045    
046            public long getGroupId();
047    
048            public void setGroupId(long groupId);
049    
050            @AutoEscape
051            public String getArticleId();
052    
053            public void setArticleId(String articleId);
054    
055            public JournalArticleResource toEscapedModel();
056    
057            public boolean isNew();
058    
059            public void setNew(boolean n);
060    
061            public boolean isCachedModel();
062    
063            public void setCachedModel(boolean cachedModel);
064    
065            public boolean isEscapedModel();
066    
067            public void setEscapedModel(boolean escapedModel);
068    
069            public Serializable getPrimaryKeyObj();
070    
071            public ExpandoBridge getExpandoBridge();
072    
073            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
074    
075            public Object clone();
076    
077            public int compareTo(JournalArticleResource journalArticleResource);
078    
079            public int hashCode();
080    
081            public String toString();
082    
083            public String toXmlString();
084    }