001
014
015 package com.liferay.portal.service.persistence;
016
017 import com.liferay.portal.model.PasswordTracker;
018
019
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 }