1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service;
16  
17  
18  /**
19   * <a href="PasswordTrackerLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link PasswordTrackerLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       PasswordTrackerLocalService
32   * @generated
33   */
34  public class PasswordTrackerLocalServiceWrapper
35      implements PasswordTrackerLocalService {
36      public PasswordTrackerLocalServiceWrapper(
37          PasswordTrackerLocalService passwordTrackerLocalService) {
38          _passwordTrackerLocalService = passwordTrackerLocalService;
39      }
40  
41      public com.liferay.portal.model.PasswordTracker addPasswordTracker(
42          com.liferay.portal.model.PasswordTracker passwordTracker)
43          throws com.liferay.portal.kernel.exception.SystemException {
44          return _passwordTrackerLocalService.addPasswordTracker(passwordTracker);
45      }
46  
47      public com.liferay.portal.model.PasswordTracker createPasswordTracker(
48          long passwordTrackerId) {
49          return _passwordTrackerLocalService.createPasswordTracker(passwordTrackerId);
50      }
51  
52      public void deletePasswordTracker(long passwordTrackerId)
53          throws com.liferay.portal.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          _passwordTrackerLocalService.deletePasswordTracker(passwordTrackerId);
56      }
57  
58      public void deletePasswordTracker(
59          com.liferay.portal.model.PasswordTracker passwordTracker)
60          throws com.liferay.portal.kernel.exception.SystemException {
61          _passwordTrackerLocalService.deletePasswordTracker(passwordTracker);
62      }
63  
64      @SuppressWarnings("unchecked")
65      public java.util.List dynamicQuery(
66          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67          throws com.liferay.portal.kernel.exception.SystemException {
68          return _passwordTrackerLocalService.dynamicQuery(dynamicQuery);
69      }
70  
71      @SuppressWarnings("unchecked")
72      public java.util.List dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74          int end) throws com.liferay.portal.kernel.exception.SystemException {
75          return _passwordTrackerLocalService.dynamicQuery(dynamicQuery, start,
76              end);
77      }
78  
79      @SuppressWarnings("unchecked")
80      public java.util.List dynamicQuery(
81          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
82          int end,
83          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
84          throws com.liferay.portal.kernel.exception.SystemException {
85          return _passwordTrackerLocalService.dynamicQuery(dynamicQuery, start,
86              end, orderByComparator);
87      }
88  
89      public long dynamicQueryCount(
90          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
91          throws com.liferay.portal.kernel.exception.SystemException {
92          return _passwordTrackerLocalService.dynamicQueryCount(dynamicQuery);
93      }
94  
95      public com.liferay.portal.model.PasswordTracker getPasswordTracker(
96          long passwordTrackerId)
97          throws com.liferay.portal.kernel.exception.PortalException,
98              com.liferay.portal.kernel.exception.SystemException {
99          return _passwordTrackerLocalService.getPasswordTracker(passwordTrackerId);
100     }
101 
102     public java.util.List<com.liferay.portal.model.PasswordTracker> getPasswordTrackers(
103         int start, int end)
104         throws com.liferay.portal.kernel.exception.SystemException {
105         return _passwordTrackerLocalService.getPasswordTrackers(start, end);
106     }
107 
108     public int getPasswordTrackersCount()
109         throws com.liferay.portal.kernel.exception.SystemException {
110         return _passwordTrackerLocalService.getPasswordTrackersCount();
111     }
112 
113     public com.liferay.portal.model.PasswordTracker updatePasswordTracker(
114         com.liferay.portal.model.PasswordTracker passwordTracker)
115         throws com.liferay.portal.kernel.exception.SystemException {
116         return _passwordTrackerLocalService.updatePasswordTracker(passwordTracker);
117     }
118 
119     public com.liferay.portal.model.PasswordTracker updatePasswordTracker(
120         com.liferay.portal.model.PasswordTracker passwordTracker, boolean merge)
121         throws com.liferay.portal.kernel.exception.SystemException {
122         return _passwordTrackerLocalService.updatePasswordTracker(passwordTracker,
123             merge);
124     }
125 
126     public void deletePasswordTrackers(long userId)
127         throws com.liferay.portal.kernel.exception.SystemException {
128         _passwordTrackerLocalService.deletePasswordTrackers(userId);
129     }
130 
131     public boolean isSameAsCurrentPassword(long userId,
132         java.lang.String newClearTextPwd)
133         throws com.liferay.portal.kernel.exception.PortalException,
134             com.liferay.portal.kernel.exception.SystemException {
135         return _passwordTrackerLocalService.isSameAsCurrentPassword(userId,
136             newClearTextPwd);
137     }
138 
139     public boolean isValidPassword(long userId, java.lang.String newClearTextPwd)
140         throws com.liferay.portal.kernel.exception.PortalException,
141             com.liferay.portal.kernel.exception.SystemException {
142         return _passwordTrackerLocalService.isValidPassword(userId,
143             newClearTextPwd);
144     }
145 
146     public void trackPassword(long userId, java.lang.String encPassword)
147         throws com.liferay.portal.kernel.exception.PortalException,
148             com.liferay.portal.kernel.exception.SystemException {
149         _passwordTrackerLocalService.trackPassword(userId, encPassword);
150     }
151 
152     public PasswordTrackerLocalService getWrappedPasswordTrackerLocalService() {
153         return _passwordTrackerLocalService;
154     }
155 
156     private PasswordTrackerLocalService _passwordTrackerLocalService;
157 }