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