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