PageRenderTime 54ms CodeModel.GetById 31ms RepoModel.GetById 1ms app.codeStats 0ms

/modules/apps/subscription/subscription-api/src/main/java/com/liferay/subscription/model/SubscriptionModel.java

http://github.com/liferay/liferay-portal
Java | 286 lines | 74 code | 38 blank | 174 comment | 0 complexity | d8d4f9ec3d0a4908694cb24f23f5dd4a MD5 | raw file
Possible License(s): LGPL-2.0
  1. /**
  2. * Copyright (c) 2000-present 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.subscription.model;
  15. import com.liferay.portal.kernel.bean.AutoEscape;
  16. import com.liferay.portal.kernel.model.AttachedModel;
  17. import com.liferay.portal.kernel.model.BaseModel;
  18. import com.liferay.portal.kernel.model.GroupedModel;
  19. import com.liferay.portal.kernel.model.MVCCModel;
  20. import com.liferay.portal.kernel.model.ShardedModel;
  21. import com.liferay.portal.kernel.model.change.tracking.CTModel;
  22. import java.util.Date;
  23. import org.osgi.annotation.versioning.ProviderType;
  24. /**
  25. * The base model interface for the Subscription service. Represents a row in the "Subscription" database table, with each column mapped to a property of this class.
  26. *
  27. * <p>
  28. * This interface and its corresponding implementation <code>com.liferay.subscription.model.impl.SubscriptionModelImpl</code> exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in <code>com.liferay.subscription.model.impl.SubscriptionImpl</code>.
  29. * </p>
  30. *
  31. * @author Brian Wing Shun Chan
  32. * @see Subscription
  33. * @generated
  34. */
  35. @ProviderType
  36. public interface SubscriptionModel
  37. extends AttachedModel, BaseModel<Subscription>, CTModel<Subscription>,
  38. GroupedModel, MVCCModel, ShardedModel {
  39. /*
  40. * NOTE FOR DEVELOPERS:
  41. *
  42. * Never modify or reference this interface directly. All methods that expect a subscription model instance should use the {@link Subscription} interface instead.
  43. */
  44. /**
  45. * Returns the primary key of this subscription.
  46. *
  47. * @return the primary key of this subscription
  48. */
  49. @Override
  50. public long getPrimaryKey();
  51. /**
  52. * Sets the primary key of this subscription.
  53. *
  54. * @param primaryKey the primary key of this subscription
  55. */
  56. @Override
  57. public void setPrimaryKey(long primaryKey);
  58. /**
  59. * Returns the mvcc version of this subscription.
  60. *
  61. * @return the mvcc version of this subscription
  62. */
  63. @Override
  64. public long getMvccVersion();
  65. /**
  66. * Sets the mvcc version of this subscription.
  67. *
  68. * @param mvccVersion the mvcc version of this subscription
  69. */
  70. @Override
  71. public void setMvccVersion(long mvccVersion);
  72. /**
  73. * Returns the ct collection ID of this subscription.
  74. *
  75. * @return the ct collection ID of this subscription
  76. */
  77. @Override
  78. public long getCtCollectionId();
  79. /**
  80. * Sets the ct collection ID of this subscription.
  81. *
  82. * @param ctCollectionId the ct collection ID of this subscription
  83. */
  84. @Override
  85. public void setCtCollectionId(long ctCollectionId);
  86. /**
  87. * Returns the subscription ID of this subscription.
  88. *
  89. * @return the subscription ID of this subscription
  90. */
  91. public long getSubscriptionId();
  92. /**
  93. * Sets the subscription ID of this subscription.
  94. *
  95. * @param subscriptionId the subscription ID of this subscription
  96. */
  97. public void setSubscriptionId(long subscriptionId);
  98. /**
  99. * Returns the group ID of this subscription.
  100. *
  101. * @return the group ID of this subscription
  102. */
  103. @Override
  104. public long getGroupId();
  105. /**
  106. * Sets the group ID of this subscription.
  107. *
  108. * @param groupId the group ID of this subscription
  109. */
  110. @Override
  111. public void setGroupId(long groupId);
  112. /**
  113. * Returns the company ID of this subscription.
  114. *
  115. * @return the company ID of this subscription
  116. */
  117. @Override
  118. public long getCompanyId();
  119. /**
  120. * Sets the company ID of this subscription.
  121. *
  122. * @param companyId the company ID of this subscription
  123. */
  124. @Override
  125. public void setCompanyId(long companyId);
  126. /**
  127. * Returns the user ID of this subscription.
  128. *
  129. * @return the user ID of this subscription
  130. */
  131. @Override
  132. public long getUserId();
  133. /**
  134. * Sets the user ID of this subscription.
  135. *
  136. * @param userId the user ID of this subscription
  137. */
  138. @Override
  139. public void setUserId(long userId);
  140. /**
  141. * Returns the user uuid of this subscription.
  142. *
  143. * @return the user uuid of this subscription
  144. */
  145. @Override
  146. public String getUserUuid();
  147. /**
  148. * Sets the user uuid of this subscription.
  149. *
  150. * @param userUuid the user uuid of this subscription
  151. */
  152. @Override
  153. public void setUserUuid(String userUuid);
  154. /**
  155. * Returns the user name of this subscription.
  156. *
  157. * @return the user name of this subscription
  158. */
  159. @AutoEscape
  160. @Override
  161. public String getUserName();
  162. /**
  163. * Sets the user name of this subscription.
  164. *
  165. * @param userName the user name of this subscription
  166. */
  167. @Override
  168. public void setUserName(String userName);
  169. /**
  170. * Returns the create date of this subscription.
  171. *
  172. * @return the create date of this subscription
  173. */
  174. @Override
  175. public Date getCreateDate();
  176. /**
  177. * Sets the create date of this subscription.
  178. *
  179. * @param createDate the create date of this subscription
  180. */
  181. @Override
  182. public void setCreateDate(Date createDate);
  183. /**
  184. * Returns the modified date of this subscription.
  185. *
  186. * @return the modified date of this subscription
  187. */
  188. @Override
  189. public Date getModifiedDate();
  190. /**
  191. * Sets the modified date of this subscription.
  192. *
  193. * @param modifiedDate the modified date of this subscription
  194. */
  195. @Override
  196. public void setModifiedDate(Date modifiedDate);
  197. /**
  198. * Returns the fully qualified class name of this subscription.
  199. *
  200. * @return the fully qualified class name of this subscription
  201. */
  202. @Override
  203. public String getClassName();
  204. public void setClassName(String className);
  205. /**
  206. * Returns the class name ID of this subscription.
  207. *
  208. * @return the class name ID of this subscription
  209. */
  210. @Override
  211. public long getClassNameId();
  212. /**
  213. * Sets the class name ID of this subscription.
  214. *
  215. * @param classNameId the class name ID of this subscription
  216. */
  217. @Override
  218. public void setClassNameId(long classNameId);
  219. /**
  220. * Returns the class pk of this subscription.
  221. *
  222. * @return the class pk of this subscription
  223. */
  224. @Override
  225. public long getClassPK();
  226. /**
  227. * Sets the class pk of this subscription.
  228. *
  229. * @param classPK the class pk of this subscription
  230. */
  231. @Override
  232. public void setClassPK(long classPK);
  233. /**
  234. * Returns the frequency of this subscription.
  235. *
  236. * @return the frequency of this subscription
  237. */
  238. @AutoEscape
  239. public String getFrequency();
  240. /**
  241. * Sets the frequency of this subscription.
  242. *
  243. * @param frequency the frequency of this subscription
  244. */
  245. public void setFrequency(String frequency);
  246. @Override
  247. public Subscription cloneWithOriginalValues();
  248. }