PageRenderTime 70ms CodeModel.GetById 44ms RepoModel.GetById 1ms app.codeStats 0ms

/portlets/hr-portlet/docroot/WEB-INF/service/com/liferay/hr/model/HRUserTimeOffModel.java

https://github.com/stevenjiancao/liferay-plugins
Java | 325 lines | 65 code | 57 blank | 203 comment | 0 complexity | be7766e56cb2ba3e344b53164c761553 MD5 | raw file
  1. /**
  2. * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
  3. *
  4. * This library is free software; you can redistribute it and/or modify it under
  5. * the terms of the GNU Lesser General Public License as published by the Free
  6. * Software Foundation; either version 2.1 of the License, or (at your option)
  7. * any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  11. * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
  12. * details.
  13. */
  14. package com.liferay.hr.model;
  15. import com.liferay.portal.kernel.bean.AutoEscape;
  16. import com.liferay.portal.kernel.exception.SystemException;
  17. import com.liferay.portal.model.BaseModel;
  18. import com.liferay.portal.model.CacheModel;
  19. import com.liferay.portal.model.GroupedModel;
  20. import com.liferay.portal.service.ServiceContext;
  21. import com.liferay.portlet.expando.model.ExpandoBridge;
  22. import java.io.Serializable;
  23. import java.util.Date;
  24. /**
  25. * The base model interface for the HRUserTimeOff service. Represents a row in the "HRUserTimeOff" database table, with each column mapped to a property of this class.
  26. *
  27. * <p>
  28. * This interface and its corresponding implementation {@link com.liferay.hr.model.impl.HRUserTimeOffModelImpl} 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.hr.model.impl.HRUserTimeOffImpl}.
  29. * </p>
  30. *
  31. * @author Wesley Gong
  32. * @see HRUserTimeOff
  33. * @see com.liferay.hr.model.impl.HRUserTimeOffImpl
  34. * @see com.liferay.hr.model.impl.HRUserTimeOffModelImpl
  35. * @generated
  36. */
  37. public interface HRUserTimeOffModel extends BaseModel<HRUserTimeOff>,
  38. GroupedModel {
  39. /*
  40. * NOTE FOR DEVELOPERS:
  41. *
  42. * Never modify or reference this interface directly. All methods that expect a h r user time off model instance should use the {@link HRUserTimeOff} interface instead.
  43. */
  44. /**
  45. * Returns the primary key of this h r user time off.
  46. *
  47. * @return the primary key of this h r user time off
  48. */
  49. public long getPrimaryKey();
  50. /**
  51. * Sets the primary key of this h r user time off.
  52. *
  53. * @param primaryKey the primary key of this h r user time off
  54. */
  55. public void setPrimaryKey(long primaryKey);
  56. /**
  57. * Returns the hr user time off ID of this h r user time off.
  58. *
  59. * @return the hr user time off ID of this h r user time off
  60. */
  61. public long getHrUserTimeOffId();
  62. /**
  63. * Sets the hr user time off ID of this h r user time off.
  64. *
  65. * @param hrUserTimeOffId the hr user time off ID of this h r user time off
  66. */
  67. public void setHrUserTimeOffId(long hrUserTimeOffId);
  68. /**
  69. * Returns the group ID of this h r user time off.
  70. *
  71. * @return the group ID of this h r user time off
  72. */
  73. public long getGroupId();
  74. /**
  75. * Sets the group ID of this h r user time off.
  76. *
  77. * @param groupId the group ID of this h r user time off
  78. */
  79. public void setGroupId(long groupId);
  80. /**
  81. * Returns the company ID of this h r user time off.
  82. *
  83. * @return the company ID of this h r user time off
  84. */
  85. public long getCompanyId();
  86. /**
  87. * Sets the company ID of this h r user time off.
  88. *
  89. * @param companyId the company ID of this h r user time off
  90. */
  91. public void setCompanyId(long companyId);
  92. /**
  93. * Returns the user ID of this h r user time off.
  94. *
  95. * @return the user ID of this h r user time off
  96. */
  97. public long getUserId();
  98. /**
  99. * Sets the user ID of this h r user time off.
  100. *
  101. * @param userId the user ID of this h r user time off
  102. */
  103. public void setUserId(long userId);
  104. /**
  105. * Returns the user uuid of this h r user time off.
  106. *
  107. * @return the user uuid of this h r user time off
  108. * @throws SystemException if a system exception occurred
  109. */
  110. public String getUserUuid() throws SystemException;
  111. /**
  112. * Sets the user uuid of this h r user time off.
  113. *
  114. * @param userUuid the user uuid of this h r user time off
  115. */
  116. public void setUserUuid(String userUuid);
  117. /**
  118. * Returns the user name of this h r user time off.
  119. *
  120. * @return the user name of this h r user time off
  121. */
  122. @AutoEscape
  123. public String getUserName();
  124. /**
  125. * Sets the user name of this h r user time off.
  126. *
  127. * @param userName the user name of this h r user time off
  128. */
  129. public void setUserName(String userName);
  130. /**
  131. * Returns the create date of this h r user time off.
  132. *
  133. * @return the create date of this h r user time off
  134. */
  135. public Date getCreateDate();
  136. /**
  137. * Sets the create date of this h r user time off.
  138. *
  139. * @param createDate the create date of this h r user time off
  140. */
  141. public void setCreateDate(Date createDate);
  142. /**
  143. * Returns the modified date of this h r user time off.
  144. *
  145. * @return the modified date of this h r user time off
  146. */
  147. public Date getModifiedDate();
  148. /**
  149. * Sets the modified date of this h r user time off.
  150. *
  151. * @param modifiedDate the modified date of this h r user time off
  152. */
  153. public void setModifiedDate(Date modifiedDate);
  154. /**
  155. * Returns the hr time off type ID of this h r user time off.
  156. *
  157. * @return the hr time off type ID of this h r user time off
  158. */
  159. public long getHrTimeOffTypeId();
  160. /**
  161. * Sets the hr time off type ID of this h r user time off.
  162. *
  163. * @param hrTimeOffTypeId the hr time off type ID of this h r user time off
  164. */
  165. public void setHrTimeOffTypeId(long hrTimeOffTypeId);
  166. /**
  167. * Returns the hr user ID of this h r user time off.
  168. *
  169. * @return the hr user ID of this h r user time off
  170. */
  171. public long getHrUserId();
  172. /**
  173. * Sets the hr user ID of this h r user time off.
  174. *
  175. * @param hrUserId the hr user ID of this h r user time off
  176. */
  177. public void setHrUserId(long hrUserId);
  178. /**
  179. * Returns the hr user uuid of this h r user time off.
  180. *
  181. * @return the hr user uuid of this h r user time off
  182. * @throws SystemException if a system exception occurred
  183. */
  184. public String getHrUserUuid() throws SystemException;
  185. /**
  186. * Sets the hr user uuid of this h r user time off.
  187. *
  188. * @param hrUserUuid the hr user uuid of this h r user time off
  189. */
  190. public void setHrUserUuid(String hrUserUuid);
  191. /**
  192. * Returns the year of this h r user time off.
  193. *
  194. * @return the year of this h r user time off
  195. */
  196. public int getYear();
  197. /**
  198. * Sets the year of this h r user time off.
  199. *
  200. * @param year the year of this h r user time off
  201. */
  202. public void setYear(int year);
  203. /**
  204. * Returns the hours allowed of this h r user time off.
  205. *
  206. * @return the hours allowed of this h r user time off
  207. */
  208. public double getHoursAllowed();
  209. /**
  210. * Sets the hours allowed of this h r user time off.
  211. *
  212. * @param hoursAllowed the hours allowed of this h r user time off
  213. */
  214. public void setHoursAllowed(double hoursAllowed);
  215. /**
  216. * Returns the hours accrued of this h r user time off.
  217. *
  218. * @return the hours accrued of this h r user time off
  219. */
  220. public double getHoursAccrued();
  221. /**
  222. * Sets the hours accrued of this h r user time off.
  223. *
  224. * @param hoursAccrued the hours accrued of this h r user time off
  225. */
  226. public void setHoursAccrued(double hoursAccrued);
  227. /**
  228. * Returns the hours carried over of this h r user time off.
  229. *
  230. * @return the hours carried over of this h r user time off
  231. */
  232. public double getHoursCarriedOver();
  233. /**
  234. * Sets the hours carried over of this h r user time off.
  235. *
  236. * @param hoursCarriedOver the hours carried over of this h r user time off
  237. */
  238. public void setHoursCarriedOver(double hoursCarriedOver);
  239. /**
  240. * Returns the hours used of this h r user time off.
  241. *
  242. * @return the hours used of this h r user time off
  243. */
  244. public double getHoursUsed();
  245. /**
  246. * Sets the hours used of this h r user time off.
  247. *
  248. * @param hoursUsed the hours used of this h r user time off
  249. */
  250. public void setHoursUsed(double hoursUsed);
  251. public boolean isNew();
  252. public void setNew(boolean n);
  253. public boolean isCachedModel();
  254. public void setCachedModel(boolean cachedModel);
  255. public boolean isEscapedModel();
  256. public void setEscapedModel(boolean escapedModel);
  257. public Serializable getPrimaryKeyObj();
  258. public void setPrimaryKeyObj(Serializable primaryKeyObj);
  259. public ExpandoBridge getExpandoBridge();
  260. public void setExpandoBridgeAttributes(ServiceContext serviceContext);
  261. public Object clone();
  262. public int compareTo(HRUserTimeOff hrUserTimeOff);
  263. public int hashCode();
  264. public CacheModel<HRUserTimeOff> toCacheModel();
  265. public HRUserTimeOff toEscapedModel();
  266. public String toString();
  267. public String toXmlString();
  268. }