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 java.util.List<com.liferay.portal.model.WorkflowInstanceLink> findByG_C_C_C(
62          long groupId, long companyId, long classNameId, long classPK)
63          throws com.liferay.portal.kernel.exception.SystemException;
64  
65      public java.util.List<com.liferay.portal.model.WorkflowInstanceLink> findByG_C_C_C(
66          long groupId, long companyId, long classNameId, long classPK,
67          int start, int end)
68          throws com.liferay.portal.kernel.exception.SystemException;
69  
70      public java.util.List<com.liferay.portal.model.WorkflowInstanceLink> findByG_C_C_C(
71          long groupId, long companyId, long classNameId, long classPK,
72          int start, int end,
73          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
74          throws com.liferay.portal.kernel.exception.SystemException;
75  
76      public com.liferay.portal.model.WorkflowInstanceLink findByG_C_C_C_First(
77          long groupId, long companyId, long classNameId, long classPK,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.NoSuchWorkflowInstanceLinkException,
80              com.liferay.portal.kernel.exception.SystemException;
81  
82      public com.liferay.portal.model.WorkflowInstanceLink findByG_C_C_C_Last(
83          long groupId, long companyId, long classNameId, long classPK,
84          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85          throws com.liferay.portal.NoSuchWorkflowInstanceLinkException,
86              com.liferay.portal.kernel.exception.SystemException;
87  
88      public com.liferay.portal.model.WorkflowInstanceLink[] findByG_C_C_C_PrevAndNext(
89          long workflowInstanceLinkId, long groupId, long companyId,
90          long classNameId, long classPK,
91          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
92          throws com.liferay.portal.NoSuchWorkflowInstanceLinkException,
93              com.liferay.portal.kernel.exception.SystemException;
94  
95      public java.util.List<com.liferay.portal.model.WorkflowInstanceLink> findAll()
96          throws com.liferay.portal.kernel.exception.SystemException;
97  
98      public java.util.List<com.liferay.portal.model.WorkflowInstanceLink> findAll(
99          int start, int end)
100         throws com.liferay.portal.kernel.exception.SystemException;
101 
102     public java.util.List<com.liferay.portal.model.WorkflowInstanceLink> findAll(
103         int start, int end,
104         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
105         throws com.liferay.portal.kernel.exception.SystemException;
106 
107     public void removeByG_C_C_C(long groupId, long companyId, long classNameId,
108         long classPK)
109         throws com.liferay.portal.kernel.exception.SystemException;
110 
111     public void removeAll()
112         throws com.liferay.portal.kernel.exception.SystemException;
113 
114     public int countByG_C_C_C(long groupId, long companyId, long classNameId,
115         long classPK)
116         throws com.liferay.portal.kernel.exception.SystemException;
117 
118     public int countAll()
119         throws com.liferay.portal.kernel.exception.SystemException;
120 }