001 /** 002 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 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 * 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. 027 * 028 * <p> 029 * 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}. 030 * </p> 031 * 032 * <p> 033 * Never modify or reference this interface directly. All methods that expect a journal article resource model instance should use the {@link JournalArticleResource} interface instead. 034 * </p> 035 * 036 * @author Brian Wing Shun Chan 037 * @see JournalArticleResource 038 * @see com.liferay.portlet.journal.model.impl.JournalArticleResourceImpl 039 * @see com.liferay.portlet.journal.model.impl.JournalArticleResourceModelImpl 040 * @generated 041 */ 042 public interface JournalArticleResourceModel extends BaseModel<JournalArticleResource> { 043 /** 044 * Gets the primary key of this journal article resource. 045 * 046 * @return the primary key of this journal article resource 047 */ 048 public long getPrimaryKey(); 049 050 /** 051 * Sets the primary key of this journal article resource 052 * 053 * @param pk the primary key of this journal article resource 054 */ 055 public void setPrimaryKey(long pk); 056 057 /** 058 * Gets the uuid of this journal article resource. 059 * 060 * @return the uuid of this journal article resource 061 */ 062 @AutoEscape 063 public String getUuid(); 064 065 /** 066 * Sets the uuid of this journal article resource. 067 * 068 * @param uuid the uuid of this journal article resource 069 */ 070 public void setUuid(String uuid); 071 072 /** 073 * Gets the resource prim key of this journal article resource. 074 * 075 * @return the resource prim key of this journal article resource 076 */ 077 public long getResourcePrimKey(); 078 079 /** 080 * Sets the resource prim key of this journal article resource. 081 * 082 * @param resourcePrimKey the resource prim key of this journal article resource 083 */ 084 public void setResourcePrimKey(long resourcePrimKey); 085 086 /** 087 * Gets the group id of this journal article resource. 088 * 089 * @return the group id of this journal article resource 090 */ 091 public long getGroupId(); 092 093 /** 094 * Sets the group id of this journal article resource. 095 * 096 * @param groupId the group id of this journal article resource 097 */ 098 public void setGroupId(long groupId); 099 100 /** 101 * Gets the article id of this journal article resource. 102 * 103 * @return the article id of this journal article resource 104 */ 105 @AutoEscape 106 public String getArticleId(); 107 108 /** 109 * Sets the article id of this journal article resource. 110 * 111 * @param articleId the article id of this journal article resource 112 */ 113 public void setArticleId(String articleId); 114 115 public boolean isNew(); 116 117 public void setNew(boolean n); 118 119 public boolean isCachedModel(); 120 121 public void setCachedModel(boolean cachedModel); 122 123 public boolean isEscapedModel(); 124 125 public void setEscapedModel(boolean escapedModel); 126 127 public Serializable getPrimaryKeyObj(); 128 129 public ExpandoBridge getExpandoBridge(); 130 131 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 132 133 public Object clone(); 134 135 public int compareTo(JournalArticleResource journalArticleResource); 136 137 public int hashCode(); 138 139 public JournalArticleResource toEscapedModel(); 140 141 public String toString(); 142 143 public String toXmlString(); 144 }