001    /**
002     * Copyright (c) 2000-2010 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.service.persistence;
016    
017    import com.liferay.portal.model.WorkflowInstanceLink;
018    
019    /**
020     * @author    Brian Wing Shun Chan
021     * @see       WorkflowInstanceLinkPersistenceImpl
022     * @see       WorkflowInstanceLinkUtil
023     * @generated
024     */
025    public interface WorkflowInstanceLinkPersistence extends BasePersistence<WorkflowInstanceLink> {
026            public void cacheResult(
027                    com.liferay.portal.model.WorkflowInstanceLink workflowInstanceLink);
028    
029            public void cacheResult(
030                    java.util.List<com.liferay.portal.model.WorkflowInstanceLink> workflowInstanceLinks);
031    
032            public com.liferay.portal.model.WorkflowInstanceLink create(
033                    long workflowInstanceLinkId);
034    
035            public com.liferay.portal.model.WorkflowInstanceLink remove(
036                    long workflowInstanceLinkId)
037                    throws com.liferay.portal.NoSuchWorkflowInstanceLinkException,
038                            com.liferay.portal.kernel.exception.SystemException;
039    
040            public com.liferay.portal.model.WorkflowInstanceLink updateImpl(
041                    com.liferay.portal.model.WorkflowInstanceLink workflowInstanceLink,
042                    boolean merge)
043                    throws com.liferay.portal.kernel.exception.SystemException;
044    
045            public com.liferay.portal.model.WorkflowInstanceLink findByPrimaryKey(
046                    long workflowInstanceLinkId)
047                    throws com.liferay.portal.NoSuchWorkflowInstanceLinkException,
048                            com.liferay.portal.kernel.exception.SystemException;
049    
050            public com.liferay.portal.model.WorkflowInstanceLink fetchByPrimaryKey(
051                    long workflowInstanceLinkId)
052                    throws com.liferay.portal.kernel.exception.SystemException;
053    
054            public java.util.List<com.liferay.portal.model.WorkflowInstanceLink> findByG_C_C_C(
055                    long groupId, long companyId, long classNameId, long classPK)
056                    throws com.liferay.portal.kernel.exception.SystemException;
057    
058            public java.util.List<com.liferay.portal.model.WorkflowInstanceLink> findByG_C_C_C(
059                    long groupId, long companyId, long classNameId, long classPK,
060                    int start, int end)
061                    throws com.liferay.portal.kernel.exception.SystemException;
062    
063            public java.util.List<com.liferay.portal.model.WorkflowInstanceLink> findByG_C_C_C(
064                    long groupId, long companyId, long classNameId, long classPK,
065                    int start, int end,
066                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
067                    throws com.liferay.portal.kernel.exception.SystemException;
068    
069            public com.liferay.portal.model.WorkflowInstanceLink findByG_C_C_C_First(
070                    long groupId, long companyId, long classNameId, long classPK,
071                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072                    throws com.liferay.portal.NoSuchWorkflowInstanceLinkException,
073                            com.liferay.portal.kernel.exception.SystemException;
074    
075            public com.liferay.portal.model.WorkflowInstanceLink findByG_C_C_C_Last(
076                    long groupId, long companyId, long classNameId, long classPK,
077                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
078                    throws com.liferay.portal.NoSuchWorkflowInstanceLinkException,
079                            com.liferay.portal.kernel.exception.SystemException;
080    
081            public com.liferay.portal.model.WorkflowInstanceLink[] findByG_C_C_C_PrevAndNext(
082                    long workflowInstanceLinkId, long groupId, long companyId,
083                    long classNameId, long classPK,
084                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
085                    throws com.liferay.portal.NoSuchWorkflowInstanceLinkException,
086                            com.liferay.portal.kernel.exception.SystemException;
087    
088            public java.util.List<com.liferay.portal.model.WorkflowInstanceLink> findAll()
089                    throws com.liferay.portal.kernel.exception.SystemException;
090    
091            public java.util.List<com.liferay.portal.model.WorkflowInstanceLink> findAll(
092                    int start, int end)
093                    throws com.liferay.portal.kernel.exception.SystemException;
094    
095            public java.util.List<com.liferay.portal.model.WorkflowInstanceLink> findAll(
096                    int start, int end,
097                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
098                    throws com.liferay.portal.kernel.exception.SystemException;
099    
100            public void removeByG_C_C_C(long groupId, long companyId, long classNameId,
101                    long classPK)
102                    throws com.liferay.portal.kernel.exception.SystemException;
103    
104            public void removeAll()
105                    throws com.liferay.portal.kernel.exception.SystemException;
106    
107            public int countByG_C_C_C(long groupId, long companyId, long classNameId,
108                    long classPK)
109                    throws com.liferay.portal.kernel.exception.SystemException;
110    
111            public int countAll()
112                    throws com.liferay.portal.kernel.exception.SystemException;
113    }