001    /**
002     * Copyright (c) 2000-2013 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.bean.AutoEscape;
018    import com.liferay.portal.model.BaseModel;
019    import com.liferay.portal.model.CacheModel;
020    import com.liferay.portal.service.ServiceContext;
021    
022    import com.liferay.portlet.expando.model.ExpandoBridge;
023    
024    import java.io.Serializable;
025    
026    /**
027     * The base model interface for the JournalArticleResource service. Represents a row in the "JournalArticleResource" database table, with each column mapped to a property of this class.
028     *
029     * <p>
030     * This interface and its corresponding implementation {@link com.liferay.portlet.journal.model.impl.JournalArticleResourceModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portlet.journal.model.impl.JournalArticleResourceImpl}.
031     * </p>
032     *
033     * @author Brian Wing Shun Chan
034     * @see JournalArticleResource
035     * @see com.liferay.portlet.journal.model.impl.JournalArticleResourceImpl
036     * @see com.liferay.portlet.journal.model.impl.JournalArticleResourceModelImpl
037     * @generated
038     */
039    public interface JournalArticleResourceModel extends BaseModel<JournalArticleResource> {
040            /*
041             * NOTE FOR DEVELOPERS:
042             *
043             * Never modify or reference this interface directly. All methods that expect a journal article resource model instance should use the {@link JournalArticleResource} interface instead.
044             */
045    
046            /**
047             * Returns the primary key of this journal article resource.
048             *
049             * @return the primary key of this journal article resource
050             */
051            public long getPrimaryKey();
052    
053            /**
054             * Sets the primary key of this journal article resource.
055             *
056             * @param primaryKey the primary key of this journal article resource
057             */
058            public void setPrimaryKey(long primaryKey);
059    
060            /**
061             * Returns the uuid of this journal article resource.
062             *
063             * @return the uuid of this journal article resource
064             */
065            @AutoEscape
066            public String getUuid();
067    
068            /**
069             * Sets the uuid of this journal article resource.
070             *
071             * @param uuid the uuid of this journal article resource
072             */
073            public void setUuid(String uuid);
074    
075            /**
076             * Returns the resource prim key of this journal article resource.
077             *
078             * @return the resource prim key of this journal article resource
079             */
080            public long getResourcePrimKey();
081    
082            /**
083             * Sets the resource prim key of this journal article resource.
084             *
085             * @param resourcePrimKey the resource prim key of this journal article resource
086             */
087            public void setResourcePrimKey(long resourcePrimKey);
088    
089            /**
090             * Returns the group ID of this journal article resource.
091             *
092             * @return the group ID of this journal article resource
093             */
094            public long getGroupId();
095    
096            /**
097             * Sets the group ID of this journal article resource.
098             *
099             * @param groupId the group ID of this journal article resource
100             */
101            public void setGroupId(long groupId);
102    
103            /**
104             * Returns the article ID of this journal article resource.
105             *
106             * @return the article ID of this journal article resource
107             */
108            @AutoEscape
109            public String getArticleId();
110    
111            /**
112             * Sets the article ID of this journal article resource.
113             *
114             * @param articleId the article ID of this journal article resource
115             */
116            public void setArticleId(String articleId);
117    
118            public boolean isNew();
119    
120            public void setNew(boolean n);
121    
122            public boolean isCachedModel();
123    
124            public void setCachedModel(boolean cachedModel);
125    
126            public boolean isEscapedModel();
127    
128            public Serializable getPrimaryKeyObj();
129    
130            public void setPrimaryKeyObj(Serializable primaryKeyObj);
131    
132            public ExpandoBridge getExpandoBridge();
133    
134            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
135    
136            public Object clone();
137    
138            public int compareTo(JournalArticleResource journalArticleResource);
139    
140            public int hashCode();
141    
142            public CacheModel<JournalArticleResource> toCacheModel();
143    
144            public JournalArticleResource toEscapedModel();
145    
146            public JournalArticleResource toUnescapedModel();
147    
148            public String toString();
149    
150            public String toXmlString();
151    }