1
22
23 package com.liferay.portal.service.persistence;
24
25 import com.liferay.portal.PortalException;
26 import com.liferay.portal.SystemException;
27 import com.liferay.portal.kernel.annotation.Propagation;
28 import com.liferay.portal.kernel.annotation.Transactional;
29
30
36 @Transactional(rollbackFor = {
37 PortalException.class, SystemException.class})
38 public interface PasswordTrackerPersistence extends BasePersistence {
39 public com.liferay.portal.model.PasswordTracker create(
40 long passwordTrackerId);
41
42 public com.liferay.portal.model.PasswordTracker remove(
43 long passwordTrackerId)
44 throws com.liferay.portal.NoSuchPasswordTrackerException,
45 com.liferay.portal.SystemException;
46
47 public com.liferay.portal.model.PasswordTracker remove(
48 com.liferay.portal.model.PasswordTracker passwordTracker)
49 throws com.liferay.portal.SystemException;
50
51
54 public com.liferay.portal.model.PasswordTracker update(
55 com.liferay.portal.model.PasswordTracker passwordTracker)
56 throws com.liferay.portal.SystemException;
57
58
71 public com.liferay.portal.model.PasswordTracker update(
72 com.liferay.portal.model.PasswordTracker passwordTracker, boolean merge)
73 throws com.liferay.portal.SystemException;
74
75 public com.liferay.portal.model.PasswordTracker updateImpl(
76 com.liferay.portal.model.PasswordTracker passwordTracker, boolean merge)
77 throws com.liferay.portal.SystemException;
78
79 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
80 public com.liferay.portal.model.PasswordTracker findByPrimaryKey(
81 long passwordTrackerId)
82 throws com.liferay.portal.NoSuchPasswordTrackerException,
83 com.liferay.portal.SystemException;
84
85 public com.liferay.portal.model.PasswordTracker fetchByPrimaryKey(
86 long passwordTrackerId) throws com.liferay.portal.SystemException;
87
88 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
89 public java.util.List<com.liferay.portal.model.PasswordTracker> findByUserId(
90 long userId) throws com.liferay.portal.SystemException;
91
92 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
93 public java.util.List<com.liferay.portal.model.PasswordTracker> findByUserId(
94 long userId, int start, int end)
95 throws com.liferay.portal.SystemException;
96
97 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
98 public java.util.List<com.liferay.portal.model.PasswordTracker> findByUserId(
99 long userId, int start, int end,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException;
102
103 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
104 public com.liferay.portal.model.PasswordTracker findByUserId_First(
105 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.NoSuchPasswordTrackerException,
107 com.liferay.portal.SystemException;
108
109 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
110 public com.liferay.portal.model.PasswordTracker findByUserId_Last(
111 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.NoSuchPasswordTrackerException,
113 com.liferay.portal.SystemException;
114
115 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
116 public com.liferay.portal.model.PasswordTracker[] findByUserId_PrevAndNext(
117 long passwordTrackerId, long userId,
118 com.liferay.portal.kernel.util.OrderByComparator obc)
119 throws com.liferay.portal.NoSuchPasswordTrackerException,
120 com.liferay.portal.SystemException;
121
122 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
123 public java.util.List<Object> findWithDynamicQuery(
124 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
125 throws com.liferay.portal.SystemException;
126
127 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
128 public java.util.List<Object> findWithDynamicQuery(
129 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
130 int end) throws com.liferay.portal.SystemException;
131
132 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
133 public java.util.List<com.liferay.portal.model.PasswordTracker> findAll()
134 throws com.liferay.portal.SystemException;
135
136 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
137 public java.util.List<com.liferay.portal.model.PasswordTracker> findAll(
138 int start, int end) throws com.liferay.portal.SystemException;
139
140 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
141 public java.util.List<com.liferay.portal.model.PasswordTracker> findAll(
142 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
143 throws com.liferay.portal.SystemException;
144
145 public void removeByUserId(long userId)
146 throws com.liferay.portal.SystemException;
147
148 public void removeAll() throws com.liferay.portal.SystemException;
149
150 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
151 public int countByUserId(long userId)
152 throws com.liferay.portal.SystemException;
153
154 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
155 public int countAll() throws com.liferay.portal.SystemException;
156 }