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.BrowserTracker;
018    
019    /**
020     * @author    Brian Wing Shun Chan
021     * @see       BrowserTrackerPersistenceImpl
022     * @see       BrowserTrackerUtil
023     * @generated
024     */
025    public interface BrowserTrackerPersistence extends BasePersistence<BrowserTracker> {
026            public void cacheResult(
027                    com.liferay.portal.model.BrowserTracker browserTracker);
028    
029            public void cacheResult(
030                    java.util.List<com.liferay.portal.model.BrowserTracker> browserTrackers);
031    
032            public com.liferay.portal.model.BrowserTracker create(long browserTrackerId);
033    
034            public com.liferay.portal.model.BrowserTracker remove(long browserTrackerId)
035                    throws com.liferay.portal.NoSuchBrowserTrackerException,
036                            com.liferay.portal.kernel.exception.SystemException;
037    
038            public com.liferay.portal.model.BrowserTracker updateImpl(
039                    com.liferay.portal.model.BrowserTracker browserTracker, boolean merge)
040                    throws com.liferay.portal.kernel.exception.SystemException;
041    
042            public com.liferay.portal.model.BrowserTracker findByPrimaryKey(
043                    long browserTrackerId)
044                    throws com.liferay.portal.NoSuchBrowserTrackerException,
045                            com.liferay.portal.kernel.exception.SystemException;
046    
047            public com.liferay.portal.model.BrowserTracker fetchByPrimaryKey(
048                    long browserTrackerId)
049                    throws com.liferay.portal.kernel.exception.SystemException;
050    
051            public com.liferay.portal.model.BrowserTracker findByUserId(long userId)
052                    throws com.liferay.portal.NoSuchBrowserTrackerException,
053                            com.liferay.portal.kernel.exception.SystemException;
054    
055            public com.liferay.portal.model.BrowserTracker fetchByUserId(long userId)
056                    throws com.liferay.portal.kernel.exception.SystemException;
057    
058            public com.liferay.portal.model.BrowserTracker fetchByUserId(long userId,
059                    boolean retrieveFromCache)
060                    throws com.liferay.portal.kernel.exception.SystemException;
061    
062            public java.util.List<com.liferay.portal.model.BrowserTracker> findAll()
063                    throws com.liferay.portal.kernel.exception.SystemException;
064    
065            public java.util.List<com.liferay.portal.model.BrowserTracker> findAll(
066                    int start, int end)
067                    throws com.liferay.portal.kernel.exception.SystemException;
068    
069            public java.util.List<com.liferay.portal.model.BrowserTracker> findAll(
070                    int start, int end,
071                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072                    throws com.liferay.portal.kernel.exception.SystemException;
073    
074            public void removeByUserId(long userId)
075                    throws com.liferay.portal.NoSuchBrowserTrackerException,
076                            com.liferay.portal.kernel.exception.SystemException;
077    
078            public void removeAll()
079                    throws com.liferay.portal.kernel.exception.SystemException;
080    
081            public int countByUserId(long userId)
082                    throws com.liferay.portal.kernel.exception.SystemException;
083    
084            public int countAll()
085                    throws com.liferay.portal.kernel.exception.SystemException;
086    }