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.UserTrackerPath;
018    
019    /**
020     * @author    Brian Wing Shun Chan
021     * @see       UserTrackerPathPersistenceImpl
022     * @see       UserTrackerPathUtil
023     * @generated
024     */
025    public interface UserTrackerPathPersistence extends BasePersistence<UserTrackerPath> {
026            public void cacheResult(
027                    com.liferay.portal.model.UserTrackerPath userTrackerPath);
028    
029            public void cacheResult(
030                    java.util.List<com.liferay.portal.model.UserTrackerPath> userTrackerPaths);
031    
032            public com.liferay.portal.model.UserTrackerPath create(
033                    long userTrackerPathId);
034    
035            public com.liferay.portal.model.UserTrackerPath remove(
036                    long userTrackerPathId)
037                    throws com.liferay.portal.NoSuchUserTrackerPathException,
038                            com.liferay.portal.kernel.exception.SystemException;
039    
040            public com.liferay.portal.model.UserTrackerPath updateImpl(
041                    com.liferay.portal.model.UserTrackerPath userTrackerPath, boolean merge)
042                    throws com.liferay.portal.kernel.exception.SystemException;
043    
044            public com.liferay.portal.model.UserTrackerPath findByPrimaryKey(
045                    long userTrackerPathId)
046                    throws com.liferay.portal.NoSuchUserTrackerPathException,
047                            com.liferay.portal.kernel.exception.SystemException;
048    
049            public com.liferay.portal.model.UserTrackerPath fetchByPrimaryKey(
050                    long userTrackerPathId)
051                    throws com.liferay.portal.kernel.exception.SystemException;
052    
053            public java.util.List<com.liferay.portal.model.UserTrackerPath> findByUserTrackerId(
054                    long userTrackerId)
055                    throws com.liferay.portal.kernel.exception.SystemException;
056    
057            public java.util.List<com.liferay.portal.model.UserTrackerPath> findByUserTrackerId(
058                    long userTrackerId, int start, int end)
059                    throws com.liferay.portal.kernel.exception.SystemException;
060    
061            public java.util.List<com.liferay.portal.model.UserTrackerPath> findByUserTrackerId(
062                    long userTrackerId, int start, int end,
063                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
064                    throws com.liferay.portal.kernel.exception.SystemException;
065    
066            public com.liferay.portal.model.UserTrackerPath findByUserTrackerId_First(
067                    long userTrackerId,
068                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
069                    throws com.liferay.portal.NoSuchUserTrackerPathException,
070                            com.liferay.portal.kernel.exception.SystemException;
071    
072            public com.liferay.portal.model.UserTrackerPath findByUserTrackerId_Last(
073                    long userTrackerId,
074                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075                    throws com.liferay.portal.NoSuchUserTrackerPathException,
076                            com.liferay.portal.kernel.exception.SystemException;
077    
078            public com.liferay.portal.model.UserTrackerPath[] findByUserTrackerId_PrevAndNext(
079                    long userTrackerPathId, long userTrackerId,
080                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
081                    throws com.liferay.portal.NoSuchUserTrackerPathException,
082                            com.liferay.portal.kernel.exception.SystemException;
083    
084            public java.util.List<com.liferay.portal.model.UserTrackerPath> findAll()
085                    throws com.liferay.portal.kernel.exception.SystemException;
086    
087            public java.util.List<com.liferay.portal.model.UserTrackerPath> findAll(
088                    int start, int end)
089                    throws com.liferay.portal.kernel.exception.SystemException;
090    
091            public java.util.List<com.liferay.portal.model.UserTrackerPath> findAll(
092                    int start, int end,
093                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
094                    throws com.liferay.portal.kernel.exception.SystemException;
095    
096            public void removeByUserTrackerId(long userTrackerId)
097                    throws com.liferay.portal.kernel.exception.SystemException;
098    
099            public void removeAll()
100                    throws com.liferay.portal.kernel.exception.SystemException;
101    
102            public int countByUserTrackerId(long userTrackerId)
103                    throws com.liferay.portal.kernel.exception.SystemException;
104    
105            public int countAll()
106                    throws com.liferay.portal.kernel.exception.SystemException;
107    }