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.portal.model; 016 017 import aQute.bnd.annotation.ProviderType; 018 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 OrgLabor service. Represents a row in the "OrgLabor" 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.portal.model.impl.OrgLaborModelImpl} 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.portal.model.impl.OrgLaborImpl}. 030 * </p> 031 * 032 * @author Brian Wing Shun Chan 033 * @see OrgLabor 034 * @see com.liferay.portal.model.impl.OrgLaborImpl 035 * @see com.liferay.portal.model.impl.OrgLaborModelImpl 036 * @generated 037 */ 038 @ProviderType 039 public interface OrgLaborModel extends BaseModel<OrgLabor>, MVCCModel, 040 ShardedModel { 041 /* 042 * NOTE FOR DEVELOPERS: 043 * 044 * Never modify or reference this interface directly. All methods that expect a org labor model instance should use the {@link OrgLabor} interface instead. 045 */ 046 047 /** 048 * Returns the primary key of this org labor. 049 * 050 * @return the primary key of this org labor 051 */ 052 public long getPrimaryKey(); 053 054 /** 055 * Sets the primary key of this org labor. 056 * 057 * @param primaryKey the primary key of this org labor 058 */ 059 public void setPrimaryKey(long primaryKey); 060 061 /** 062 * Returns the mvcc version of this org labor. 063 * 064 * @return the mvcc version of this org labor 065 */ 066 @Override 067 public long getMvccVersion(); 068 069 /** 070 * Sets the mvcc version of this org labor. 071 * 072 * @param mvccVersion the mvcc version of this org labor 073 */ 074 @Override 075 public void setMvccVersion(long mvccVersion); 076 077 /** 078 * Returns the org labor ID of this org labor. 079 * 080 * @return the org labor ID of this org labor 081 */ 082 public long getOrgLaborId(); 083 084 /** 085 * Sets the org labor ID of this org labor. 086 * 087 * @param orgLaborId the org labor ID of this org labor 088 */ 089 public void setOrgLaborId(long orgLaborId); 090 091 /** 092 * Returns the company ID of this org labor. 093 * 094 * @return the company ID of this org labor 095 */ 096 @Override 097 public long getCompanyId(); 098 099 /** 100 * Sets the company ID of this org labor. 101 * 102 * @param companyId the company ID of this org labor 103 */ 104 @Override 105 public void setCompanyId(long companyId); 106 107 /** 108 * Returns the organization ID of this org labor. 109 * 110 * @return the organization ID of this org labor 111 */ 112 public long getOrganizationId(); 113 114 /** 115 * Sets the organization ID of this org labor. 116 * 117 * @param organizationId the organization ID of this org labor 118 */ 119 public void setOrganizationId(long organizationId); 120 121 /** 122 * Returns the type ID of this org labor. 123 * 124 * @return the type ID of this org labor 125 */ 126 public long getTypeId(); 127 128 /** 129 * Sets the type ID of this org labor. 130 * 131 * @param typeId the type ID of this org labor 132 */ 133 public void setTypeId(long typeId); 134 135 /** 136 * Returns the sun open of this org labor. 137 * 138 * @return the sun open of this org labor 139 */ 140 public int getSunOpen(); 141 142 /** 143 * Sets the sun open of this org labor. 144 * 145 * @param sunOpen the sun open of this org labor 146 */ 147 public void setSunOpen(int sunOpen); 148 149 /** 150 * Returns the sun close of this org labor. 151 * 152 * @return the sun close of this org labor 153 */ 154 public int getSunClose(); 155 156 /** 157 * Sets the sun close of this org labor. 158 * 159 * @param sunClose the sun close of this org labor 160 */ 161 public void setSunClose(int sunClose); 162 163 /** 164 * Returns the mon open of this org labor. 165 * 166 * @return the mon open of this org labor 167 */ 168 public int getMonOpen(); 169 170 /** 171 * Sets the mon open of this org labor. 172 * 173 * @param monOpen the mon open of this org labor 174 */ 175 public void setMonOpen(int monOpen); 176 177 /** 178 * Returns the mon close of this org labor. 179 * 180 * @return the mon close of this org labor 181 */ 182 public int getMonClose(); 183 184 /** 185 * Sets the mon close of this org labor. 186 * 187 * @param monClose the mon close of this org labor 188 */ 189 public void setMonClose(int monClose); 190 191 /** 192 * Returns the tue open of this org labor. 193 * 194 * @return the tue open of this org labor 195 */ 196 public int getTueOpen(); 197 198 /** 199 * Sets the tue open of this org labor. 200 * 201 * @param tueOpen the tue open of this org labor 202 */ 203 public void setTueOpen(int tueOpen); 204 205 /** 206 * Returns the tue close of this org labor. 207 * 208 * @return the tue close of this org labor 209 */ 210 public int getTueClose(); 211 212 /** 213 * Sets the tue close of this org labor. 214 * 215 * @param tueClose the tue close of this org labor 216 */ 217 public void setTueClose(int tueClose); 218 219 /** 220 * Returns the wed open of this org labor. 221 * 222 * @return the wed open of this org labor 223 */ 224 public int getWedOpen(); 225 226 /** 227 * Sets the wed open of this org labor. 228 * 229 * @param wedOpen the wed open of this org labor 230 */ 231 public void setWedOpen(int wedOpen); 232 233 /** 234 * Returns the wed close of this org labor. 235 * 236 * @return the wed close of this org labor 237 */ 238 public int getWedClose(); 239 240 /** 241 * Sets the wed close of this org labor. 242 * 243 * @param wedClose the wed close of this org labor 244 */ 245 public void setWedClose(int wedClose); 246 247 /** 248 * Returns the thu open of this org labor. 249 * 250 * @return the thu open of this org labor 251 */ 252 public int getThuOpen(); 253 254 /** 255 * Sets the thu open of this org labor. 256 * 257 * @param thuOpen the thu open of this org labor 258 */ 259 public void setThuOpen(int thuOpen); 260 261 /** 262 * Returns the thu close of this org labor. 263 * 264 * @return the thu close of this org labor 265 */ 266 public int getThuClose(); 267 268 /** 269 * Sets the thu close of this org labor. 270 * 271 * @param thuClose the thu close of this org labor 272 */ 273 public void setThuClose(int thuClose); 274 275 /** 276 * Returns the fri open of this org labor. 277 * 278 * @return the fri open of this org labor 279 */ 280 public int getFriOpen(); 281 282 /** 283 * Sets the fri open of this org labor. 284 * 285 * @param friOpen the fri open of this org labor 286 */ 287 public void setFriOpen(int friOpen); 288 289 /** 290 * Returns the fri close of this org labor. 291 * 292 * @return the fri close of this org labor 293 */ 294 public int getFriClose(); 295 296 /** 297 * Sets the fri close of this org labor. 298 * 299 * @param friClose the fri close of this org labor 300 */ 301 public void setFriClose(int friClose); 302 303 /** 304 * Returns the sat open of this org labor. 305 * 306 * @return the sat open of this org labor 307 */ 308 public int getSatOpen(); 309 310 /** 311 * Sets the sat open of this org labor. 312 * 313 * @param satOpen the sat open of this org labor 314 */ 315 public void setSatOpen(int satOpen); 316 317 /** 318 * Returns the sat close of this org labor. 319 * 320 * @return the sat close of this org labor 321 */ 322 public int getSatClose(); 323 324 /** 325 * Sets the sat close of this org labor. 326 * 327 * @param satClose the sat close of this org labor 328 */ 329 public void setSatClose(int satClose); 330 331 @Override 332 public boolean isNew(); 333 334 @Override 335 public void setNew(boolean n); 336 337 @Override 338 public boolean isCachedModel(); 339 340 @Override 341 public void setCachedModel(boolean cachedModel); 342 343 @Override 344 public boolean isEscapedModel(); 345 346 @Override 347 public Serializable getPrimaryKeyObj(); 348 349 @Override 350 public void setPrimaryKeyObj(Serializable primaryKeyObj); 351 352 @Override 353 public ExpandoBridge getExpandoBridge(); 354 355 @Override 356 public void setExpandoBridgeAttributes(BaseModel<?> baseModel); 357 358 @Override 359 public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge); 360 361 @Override 362 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 363 364 @Override 365 public Object clone(); 366 367 @Override 368 public int compareTo(com.liferay.portal.model.OrgLabor orgLabor); 369 370 @Override 371 public int hashCode(); 372 373 @Override 374 public CacheModel<com.liferay.portal.model.OrgLabor> toCacheModel(); 375 376 @Override 377 public com.liferay.portal.model.OrgLabor toEscapedModel(); 378 379 @Override 380 public com.liferay.portal.model.OrgLabor toUnescapedModel(); 381 382 @Override 383 public String toString(); 384 385 @Override 386 public String toXmlString(); 387 }