1   /**
2    * Copyright (c) 2000-2010 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  
15  package com.liferay.portal.service.persistence;
16  
17  import com.liferay.portal.model.WorkflowInstanceLink;
18  
19  /**
20   * <a href="WorkflowInstanceLinkPersistence.java.html"><b><i>View Source</i></b></a>
21   *
22   * <p>
23   * ServiceBuilder generated this class. Modifications in this class will be
24   * overwritten the next time is generated.
25   * </p>
26   *
27   * @author    Brian Wing Shun Chan
28   * @see       WorkflowInstanceLinkPersistenceImpl
29   * @see       WorkflowInstanceLinkUtil
30   * @generated
31   */
32  public interface WorkflowInstanceLinkPersistence extends BasePersistence<WorkflowInstanceLink> {
33      public void cacheResult(
34          com.liferay.portal.model.WorkflowInstanceLink workflowInstanceLink);
35  
36      public void cacheResult(
37          java.util.List<com.liferay.portal.model.WorkflowInstanceLink> workflowInstanceLinks);
38  
39      public com.liferay.portal.model.WorkflowInstanceLink create(
40          long workflowInstanceLinkId);
41  
42      public com.liferay.portal.model.WorkflowInstanceLink remove(
43          long workflowInstanceLinkId)
44          throws com.liferay.portal.NoSuchWorkflowInstanceLinkException,
45              com.liferay.portal.kernel.exception.SystemException;
46  
47      public com.liferay.portal.model.WorkflowInstanceLink updateImpl(
48          com.liferay.portal.model.WorkflowInstanceLink workflowInstanceLink,
49          boolean merge)
50          throws com.liferay.portal.kernel.exception.SystemException;
51  
52      public com.liferay.portal.model.WorkflowInstanceLink findByPrimaryKey(
53          long workflowInstanceLinkId)
54          throws com.liferay.portal.NoSuchWorkflowInstanceLinkException,
55              com.liferay.portal.kernel.exception.SystemException;
56  
57      public com.liferay.portal.model.WorkflowInstanceLink fetchByPrimaryKey(
58          long workflowInstanceLinkId)
59          throws com.liferay.portal.kernel.exception.SystemException;
60  
61      public com.liferay.portal.model.WorkflowInstanceLink findByG_C_C_C(
62          long groupId, long companyId, long classNameId, long classPK)
63          throws com.liferay.portal.NoSuchWorkflowInstanceLinkException,
64              com.liferay.portal.kernel.exception.SystemException;
65  
66      public com.liferay.portal.model.WorkflowInstanceLink fetchByG_C_C_C(
67          long groupId, long companyId, long classNameId, long classPK)
68          throws com.liferay.portal.kernel.exception.SystemException;
69  
70      public com.liferay.portal.model.WorkflowInstanceLink fetchByG_C_C_C(
71          long groupId, long companyId, long classNameId, long classPK,
72          boolean retrieveFromCache)
73          throws com.liferay.portal.kernel.exception.SystemException;
74  
75      public java.util.List<com.liferay.portal.model.WorkflowInstanceLink> findAll()
76          throws com.liferay.portal.kernel.exception.SystemException;
77  
78      public java.util.List<com.liferay.portal.model.WorkflowInstanceLink> findAll(
79          int start, int end)
80          throws com.liferay.portal.kernel.exception.SystemException;
81  
82      public java.util.List<com.liferay.portal.model.WorkflowInstanceLink> findAll(
83          int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
84          throws com.liferay.portal.kernel.exception.SystemException;
85  
86      public void removeByG_C_C_C(long groupId, long companyId, long classNameId,
87          long classPK)
88          throws com.liferay.portal.NoSuchWorkflowInstanceLinkException,
89              com.liferay.portal.kernel.exception.SystemException;
90  
91      public void removeAll()
92          throws com.liferay.portal.kernel.exception.SystemException;
93  
94      public int countByG_C_C_C(long groupId, long companyId, long classNameId,
95          long classPK)
96          throws com.liferay.portal.kernel.exception.SystemException;
97  
98      public int countAll()
99          throws com.liferay.portal.kernel.exception.SystemException;
100 }