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.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.StagedGroupedModel; 023 import com.liferay.portal.service.ServiceContext; 024 025 import com.liferay.portlet.expando.model.ExpandoBridge; 026 027 import java.io.Serializable; 028 029 import java.util.Date; 030 031 /** 032 * 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. 033 * 034 * <p> 035 * 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}. 036 * </p> 037 * 038 * @author Edward C. Han 039 * @see MDRRuleGroupInstance 040 * @see com.liferay.portlet.mobiledevicerules.model.impl.MDRRuleGroupInstanceImpl 041 * @see com.liferay.portlet.mobiledevicerules.model.impl.MDRRuleGroupInstanceModelImpl 042 * @generated 043 */ 044 public interface MDRRuleGroupInstanceModel extends AttachedModel, 045 BaseModel<MDRRuleGroupInstance>, StagedGroupedModel { 046 /* 047 * NOTE FOR DEVELOPERS: 048 * 049 * 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. 050 */ 051 052 /** 053 * Returns the primary key of this m d r rule group instance. 054 * 055 * @return the primary key of this m d r rule group instance 056 */ 057 public long getPrimaryKey(); 058 059 /** 060 * Sets the primary key of this m d r rule group instance. 061 * 062 * @param primaryKey the primary key of this m d r rule group instance 063 */ 064 public void setPrimaryKey(long primaryKey); 065 066 /** 067 * Returns the uuid of this m d r rule group instance. 068 * 069 * @return the uuid of this m d r rule group instance 070 */ 071 @AutoEscape 072 @Override 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 @Override 081 public void setUuid(String uuid); 082 083 /** 084 * Returns the rule group instance ID of this m d r rule group instance. 085 * 086 * @return the rule group instance ID of this m d r rule group instance 087 */ 088 public long getRuleGroupInstanceId(); 089 090 /** 091 * Sets the rule group instance ID of this m d r rule group instance. 092 * 093 * @param ruleGroupInstanceId the rule group instance ID of this m d r rule group instance 094 */ 095 public void setRuleGroupInstanceId(long ruleGroupInstanceId); 096 097 /** 098 * Returns the group ID of this m d r rule group instance. 099 * 100 * @return the group ID of this m d r rule group instance 101 */ 102 @Override 103 public long getGroupId(); 104 105 /** 106 * Sets the group ID of this m d r rule group instance. 107 * 108 * @param groupId the group ID of this m d r rule group instance 109 */ 110 @Override 111 public void setGroupId(long groupId); 112 113 /** 114 * Returns the company ID of this m d r rule group instance. 115 * 116 * @return the company ID of this m d r rule group instance 117 */ 118 @Override 119 public long getCompanyId(); 120 121 /** 122 * Sets the company ID of this m d r rule group instance. 123 * 124 * @param companyId the company ID of this m d r rule group instance 125 */ 126 @Override 127 public void setCompanyId(long companyId); 128 129 /** 130 * Returns the user ID of this m d r rule group instance. 131 * 132 * @return the user ID of this m d r rule group instance 133 */ 134 @Override 135 public long getUserId(); 136 137 /** 138 * Sets the user ID of this m d r rule group instance. 139 * 140 * @param userId the user ID of this m d r rule group instance 141 */ 142 @Override 143 public void setUserId(long userId); 144 145 /** 146 * Returns the user uuid of this m d r rule group instance. 147 * 148 * @return the user uuid of this m d r rule group instance 149 * @throws SystemException if a system exception occurred 150 */ 151 @Override 152 public String getUserUuid() throws SystemException; 153 154 /** 155 * Sets the user uuid of this m d r rule group instance. 156 * 157 * @param userUuid the user uuid of this m d r rule group instance 158 */ 159 @Override 160 public void setUserUuid(String userUuid); 161 162 /** 163 * Returns the user name of this m d r rule group instance. 164 * 165 * @return the user name of this m d r rule group instance 166 */ 167 @AutoEscape 168 @Override 169 public String getUserName(); 170 171 /** 172 * Sets the user name of this m d r rule group instance. 173 * 174 * @param userName the user name of this m d r rule group instance 175 */ 176 @Override 177 public void setUserName(String userName); 178 179 /** 180 * Returns the create date of this m d r rule group instance. 181 * 182 * @return the create date of this m d r rule group instance 183 */ 184 @Override 185 public Date getCreateDate(); 186 187 /** 188 * Sets the create date of this m d r rule group instance. 189 * 190 * @param createDate the create date of this m d r rule group instance 191 */ 192 @Override 193 public void setCreateDate(Date createDate); 194 195 /** 196 * Returns the modified date of this m d r rule group instance. 197 * 198 * @return the modified date of this m d r rule group instance 199 */ 200 @Override 201 public Date getModifiedDate(); 202 203 /** 204 * Sets the modified date of this m d r rule group instance. 205 * 206 * @param modifiedDate the modified date of this m d r rule group instance 207 */ 208 @Override 209 public void setModifiedDate(Date modifiedDate); 210 211 /** 212 * Returns the fully qualified class name of this m d r rule group instance. 213 * 214 * @return the fully qualified class name of this m d r rule group instance 215 */ 216 @Override 217 public String getClassName(); 218 219 public void setClassName(String className); 220 221 /** 222 * Returns the class name ID of this m d r rule group instance. 223 * 224 * @return the class name ID of this m d r rule group instance 225 */ 226 @Override 227 public long getClassNameId(); 228 229 /** 230 * Sets the class name ID of this m d r rule group instance. 231 * 232 * @param classNameId the class name ID of this m d r rule group instance 233 */ 234 @Override 235 public void setClassNameId(long classNameId); 236 237 /** 238 * Returns the class p k of this m d r rule group instance. 239 * 240 * @return the class p k of this m d r rule group instance 241 */ 242 @Override 243 public long getClassPK(); 244 245 /** 246 * Sets the class p k of this m d r rule group instance. 247 * 248 * @param classPK the class p k of this m d r rule group instance 249 */ 250 @Override 251 public void setClassPK(long classPK); 252 253 /** 254 * Returns the rule group ID of this m d r rule group instance. 255 * 256 * @return the rule group ID of this m d r rule group instance 257 */ 258 public long getRuleGroupId(); 259 260 /** 261 * Sets the rule group ID of this m d r rule group instance. 262 * 263 * @param ruleGroupId the rule group ID of this m d r rule group instance 264 */ 265 public void setRuleGroupId(long ruleGroupId); 266 267 /** 268 * Returns the priority of this m d r rule group instance. 269 * 270 * @return the priority of this m d r rule group instance 271 */ 272 public int getPriority(); 273 274 /** 275 * Sets the priority of this m d r rule group instance. 276 * 277 * @param priority the priority of this m d r rule group instance 278 */ 279 public void setPriority(int priority); 280 281 @Override 282 public boolean isNew(); 283 284 @Override 285 public void setNew(boolean n); 286 287 @Override 288 public boolean isCachedModel(); 289 290 @Override 291 public void setCachedModel(boolean cachedModel); 292 293 @Override 294 public boolean isEscapedModel(); 295 296 @Override 297 public Serializable getPrimaryKeyObj(); 298 299 @Override 300 public void setPrimaryKeyObj(Serializable primaryKeyObj); 301 302 @Override 303 public ExpandoBridge getExpandoBridge(); 304 305 @Override 306 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 307 308 @Override 309 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 310 311 @Override 312 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 313 314 @Override 315 public Object clone(); 316 317 @Override 318 public int compareTo(MDRRuleGroupInstance mdrRuleGroupInstance); 319 320 @Override 321 public int hashCode(); 322 323 @Override 324 public CacheModel<MDRRuleGroupInstance> toCacheModel(); 325 326 @Override 327 public MDRRuleGroupInstance toEscapedModel(); 328 329 @Override 330 public MDRRuleGroupInstance toUnescapedModel(); 331 332 @Override 333 public String toString(); 334 335 @Override 336 public String toXmlString(); 337 }