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