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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
020    import com.liferay.portal.model.BaseModel;
021    import com.liferay.portal.model.CacheModel;
022    import com.liferay.portal.service.ServiceContext;
023    
024    import com.liferay.portlet.expando.model.ExpandoBridge;
025    
026    import java.io.Serializable;
027    
028    /**
029     * 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.
030     *
031     * <p>
032     * 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}.
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see JournalArticleResource
037     * @see com.liferay.portlet.journal.model.impl.JournalArticleResourceImpl
038     * @see com.liferay.portlet.journal.model.impl.JournalArticleResourceModelImpl
039     * @generated
040     */
041    @ProviderType
042    public interface JournalArticleResourceModel extends BaseModel<JournalArticleResource> {
043            /*
044             * NOTE FOR DEVELOPERS:
045             *
046             * Never modify or reference this interface directly. All methods that expect a journal article resource model instance should use the {@link JournalArticleResource} interface instead.
047             */
048    
049            /**
050             * Returns the primary key of this journal article resource.
051             *
052             * @return the primary key of this journal article resource
053             */
054            public long getPrimaryKey();
055    
056            /**
057             * Sets the primary key of this journal article resource.
058             *
059             * @param primaryKey the primary key of this journal article resource
060             */
061            public void setPrimaryKey(long primaryKey);
062    
063            /**
064             * Returns the uuid of this journal article resource.
065             *
066             * @return the uuid of this journal article resource
067             */
068            @AutoEscape
069            public String getUuid();
070    
071            /**
072             * Sets the uuid of this journal article resource.
073             *
074             * @param uuid the uuid of this journal article resource
075             */
076            public void setUuid(String uuid);
077    
078            /**
079             * Returns the resource prim key of this journal article resource.
080             *
081             * @return the resource prim key of this journal article resource
082             */
083            public long getResourcePrimKey();
084    
085            /**
086             * Sets the resource prim key of this journal article resource.
087             *
088             * @param resourcePrimKey the resource prim key of this journal article resource
089             */
090            public void setResourcePrimKey(long resourcePrimKey);
091    
092            /**
093             * Returns the group ID of this journal article resource.
094             *
095             * @return the group ID of this journal article resource
096             */
097            public long getGroupId();
098    
099            /**
100             * Sets the group ID of this journal article resource.
101             *
102             * @param groupId the group ID of this journal article resource
103             */
104            public void setGroupId(long groupId);
105    
106            /**
107             * Returns the article ID of this journal article resource.
108             *
109             * @return the article ID of this journal article resource
110             */
111            @AutoEscape
112            public String getArticleId();
113    
114            /**
115             * Sets the article ID of this journal article resource.
116             *
117             * @param articleId the article ID of this journal article resource
118             */
119            public void setArticleId(String articleId);
120    
121            @Override
122            public boolean isNew();
123    
124            @Override
125            public void setNew(boolean n);
126    
127            @Override
128            public boolean isCachedModel();
129    
130            @Override
131            public void setCachedModel(boolean cachedModel);
132    
133            @Override
134            public boolean isEscapedModel();
135    
136            @Override
137            public Serializable getPrimaryKeyObj();
138    
139            @Override
140            public void setPrimaryKeyObj(Serializable primaryKeyObj);
141    
142            @Override
143            public ExpandoBridge getExpandoBridge();
144    
145            @Override
146            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
147    
148            @Override
149            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
150    
151            @Override
152            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
153    
154            @Override
155            public Object clone();
156    
157            @Override
158            public int compareTo(JournalArticleResource journalArticleResource);
159    
160            @Override
161            public int hashCode();
162    
163            @Override
164            public CacheModel<JournalArticleResource> toCacheModel();
165    
166            @Override
167            public JournalArticleResource toEscapedModel();
168    
169            @Override
170            public JournalArticleResource toUnescapedModel();
171    
172            @Override
173            public String toString();
174    
175            @Override
176            public String toXmlString();
177    }