001 /** 002 * Copyright (c) 2000-2012 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.mobiledevicerules.model; 016 017 import com.liferay.portal.kernel.bean.AutoEscape; 018 import com.liferay.portal.kernel.exception.SystemException; 019 import com.liferay.portal.model.AttachedModel; 020 import com.liferay.portal.model.BaseModel; 021 import com.liferay.portal.model.CacheModel; 022 import com.liferay.portal.model.GroupedModel; 023 import com.liferay.portal.model.StagedModel; 024 import com.liferay.portal.service.ServiceContext; 025 026 import com.liferay.portlet.expando.model.ExpandoBridge; 027 028 import java.io.Serializable; 029 030 import java.util.Date; 031 032 /** 033 * The base model interface for the MDRRuleGroupInstance service. Represents a row in the "MDRRuleGroupInstance" database table, with each column mapped to a property of this class. 034 * 035 * <p> 036 * This interface and its corresponding implementation {@link com.liferay.portlet.mobiledevicerules.model.impl.MDRRuleGroupInstanceModelImpl} 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.mobiledevicerules.model.impl.MDRRuleGroupInstanceImpl}. 037 * </p> 038 * 039 * @author Edward C. Han 040 * @see MDRRuleGroupInstance 041 * @see com.liferay.portlet.mobiledevicerules.model.impl.MDRRuleGroupInstanceImpl 042 * @see com.liferay.portlet.mobiledevicerules.model.impl.MDRRuleGroupInstanceModelImpl 043 * @generated 044 */ 045 public interface MDRRuleGroupInstanceModel extends AttachedModel, 046 BaseModel<MDRRuleGroupInstance>, GroupedModel, StagedModel { 047 /* 048 * NOTE FOR DEVELOPERS: 049 * 050 * Never modify or reference this interface directly. All methods that expect a m d r rule group instance model instance should use the {@link MDRRuleGroupInstance} interface instead. 051 */ 052 053 /** 054 * Returns the primary key of this m d r rule group instance. 055 * 056 * @return the primary key of this m d r rule group instance 057 */ 058 public long getPrimaryKey(); 059 060 /** 061 * Sets the primary key of this m d r rule group instance. 062 * 063 * @param primaryKey the primary key of this m d r rule group instance 064 */ 065 public void setPrimaryKey(long primaryKey); 066 067 /** 068 * Returns the uuid of this m d r rule group instance. 069 * 070 * @return the uuid of this m d r rule group instance 071 */ 072 @AutoEscape 073 public String getUuid(); 074 075 /** 076 * Sets the uuid of this m d r rule group instance. 077 * 078 * @param uuid the uuid of this m d r rule group instance 079 */ 080 public void setUuid(String uuid); 081 082 /** 083 * Returns the rule group instance ID of this m d r rule group instance. 084 * 085 * @return the rule group instance ID of this m d r rule group instance 086 */ 087 public long getRuleGroupInstanceId(); 088 089 /** 090 * Sets the rule group instance ID of this m d r rule group instance. 091 * 092 * @param ruleGroupInstanceId the rule group instance ID of this m d r rule group instance 093 */ 094 public void setRuleGroupInstanceId(long ruleGroupInstanceId); 095 096 /** 097 * Returns the group ID of this m d r rule group instance. 098 * 099 * @return the group ID of this m d r rule group instance 100 */ 101 public long getGroupId(); 102 103 /** 104 * Sets the group ID of this m d r rule group instance. 105 * 106 * @param groupId the group ID of this m d r rule group instance 107 */ 108 public void setGroupId(long groupId); 109 110 /** 111 * Returns the company ID of this m d r rule group instance. 112 * 113 * @return the company ID of this m d r rule group instance 114 */ 115 public long getCompanyId(); 116 117 /** 118 * Sets the company ID of this m d r rule group instance. 119 * 120 * @param companyId the company ID of this m d r rule group instance 121 */ 122 public void setCompanyId(long companyId); 123 124 /** 125 * Returns the user ID of this m d r rule group instance. 126 * 127 * @return the user ID of this m d r rule group instance 128 */ 129 public long getUserId(); 130 131 /** 132 * Sets the user ID of this m d r rule group instance. 133 * 134 * @param userId the user ID of this m d r rule group instance 135 */ 136 public void setUserId(long userId); 137 138 /** 139 * Returns the user uuid of this m d r rule group instance. 140 * 141 * @return the user uuid of this m d r rule group instance 142 * @throws SystemException if a system exception occurred 143 */ 144 public String getUserUuid() throws SystemException; 145 146 /** 147 * Sets the user uuid of this m d r rule group instance. 148 * 149 * @param userUuid the user uuid of this m d r rule group instance 150 */ 151 public void setUserUuid(String userUuid); 152 153 /** 154 * Returns the user name of this m d r rule group instance. 155 * 156 * @return the user name of this m d r rule group instance 157 */ 158 @AutoEscape 159 public String getUserName(); 160 161 /** 162 * Sets the user name of this m d r rule group instance. 163 * 164 * @param userName the user name of this m d r rule group instance 165 */ 166 public void setUserName(String userName); 167 168 /** 169 * Returns the create date of this m d r rule group instance. 170 * 171 * @return the create date of this m d r rule group instance 172 */ 173 public Date getCreateDate(); 174 175 /** 176 * Sets the create date of this m d r rule group instance. 177 * 178 * @param createDate the create date of this m d r rule group instance 179 */ 180 public void setCreateDate(Date createDate); 181 182 /** 183 * Returns the modified date of this m d r rule group instance. 184 * 185 * @return the modified date of this m d r rule group instance 186 */ 187 public Date getModifiedDate(); 188 189 /** 190 * Sets the modified date of this m d r rule group instance. 191 * 192 * @param modifiedDate the modified date of this m d r rule group instance 193 */ 194 public void setModifiedDate(Date modifiedDate); 195 196 /** 197 * Returns the fully qualified class name of this m d r rule group instance. 198 * 199 * @return the fully qualified class name of this m d r rule group instance 200 */ 201 public String getClassName(); 202 203 public void setClassName(String className); 204 205 /** 206 * Returns the class name ID of this m d r rule group instance. 207 * 208 * @return the class name ID of this m d r rule group instance 209 */ 210 public long getClassNameId(); 211 212 /** 213 * Sets the class name ID of this m d r rule group instance. 214 * 215 * @param classNameId the class name ID of this m d r rule group instance 216 */ 217 public void setClassNameId(long classNameId); 218 219 /** 220 * Returns the class p k of this m d r rule group instance. 221 * 222 * @return the class p k of this m d r rule group instance 223 */ 224 public long getClassPK(); 225 226 /** 227 * Sets the class p k of this m d r rule group instance. 228 * 229 * @param classPK the class p k of this m d r rule group instance 230 */ 231 public void setClassPK(long classPK); 232 233 /** 234 * Returns the rule group ID of this m d r rule group instance. 235 * 236 * @return the rule group ID of this m d r rule group instance 237 */ 238 public long getRuleGroupId(); 239 240 /** 241 * Sets the rule group ID of this m d r rule group instance. 242 * 243 * @param ruleGroupId the rule group ID of this m d r rule group instance 244 */ 245 public void setRuleGroupId(long ruleGroupId); 246 247 /** 248 * Returns the priority of this m d r rule group instance. 249 * 250 * @return the priority of this m d r rule group instance 251 */ 252 public int getPriority(); 253 254 /** 255 * Sets the priority of this m d r rule group instance. 256 * 257 * @param priority the priority of this m d r rule group instance 258 */ 259 public void setPriority(int priority); 260 261 public boolean isNew(); 262 263 public void setNew(boolean n); 264 265 public boolean isCachedModel(); 266 267 public void setCachedModel(boolean cachedModel); 268 269 public boolean isEscapedModel(); 270 271 public Serializable getPrimaryKeyObj(); 272 273 public void setPrimaryKeyObj(Serializable primaryKeyObj); 274 275 public ExpandoBridge getExpandoBridge(); 276 277 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 278 279 public Object clone(); 280 281 public int compareTo(MDRRuleGroupInstance mdrRuleGroupInstance); 282 283 public int hashCode(); 284 285 public CacheModel<MDRRuleGroupInstance> toCacheModel(); 286 287 public MDRRuleGroupInstance toEscapedModel(); 288 289 public MDRRuleGroupInstance toUnescapedModel(); 290 291 public String toString(); 292 293 public String toXmlString(); 294 }