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