Liferay 6.0.5

com.liferay.portal.service
Class PasswordTrackerLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.PasswordTrackerLocalServiceWrapper
All Implemented Interfaces:
PasswordTrackerLocalService

public class PasswordTrackerLocalServiceWrapper
extends Object
implements PasswordTrackerLocalService

This class is a wrapper for PasswordTrackerLocalService.

See Also:
PasswordTrackerLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
PasswordTrackerLocalServiceWrapper(PasswordTrackerLocalService passwordTrackerLocalService)
           
 
Method Summary
 PasswordTracker addPasswordTracker(PasswordTracker passwordTracker)
          Adds the password tracker to the database.
 PasswordTracker createPasswordTracker(long passwordTrackerId)
          Creates a new password tracker with the primary key.
 void deletePasswordTracker(long passwordTrackerId)
          Deletes the password tracker with the primary key from the database.
 void deletePasswordTracker(PasswordTracker passwordTracker)
          Deletes the password tracker from the database.
 void deletePasswordTrackers(long userId)
           
 List dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Counts the number of rows that match the dynamic query.
 PasswordTracker getPasswordTracker(long passwordTrackerId)
          Gets the password tracker with the primary key.
 List<PasswordTracker> getPasswordTrackers(int start, int end)
          Gets a range of all the password trackers.
 int getPasswordTrackersCount()
          Gets the number of password trackers.
 PasswordTrackerLocalService getWrappedPasswordTrackerLocalService()
           
 boolean isSameAsCurrentPassword(long userId, String newClearTextPwd)
           
 boolean isValidPassword(long userId, String newClearTextPwd)
           
 void trackPassword(long userId, String encPassword)
           
 PasswordTracker updatePasswordTracker(PasswordTracker passwordTracker)
          Updates the password tracker in the database.
 PasswordTracker updatePasswordTracker(PasswordTracker passwordTracker, boolean merge)
          Updates the password tracker in the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordTrackerLocalServiceWrapper

public PasswordTrackerLocalServiceWrapper(PasswordTrackerLocalService passwordTrackerLocalService)
Method Detail

addPasswordTracker

public PasswordTracker addPasswordTracker(PasswordTracker passwordTracker)
                                   throws SystemException
Adds the password tracker to the database. Also notifies the appropriate model listeners.

Specified by:
addPasswordTracker in interface PasswordTrackerLocalService
Parameters:
passwordTracker - the password tracker to add
Returns:
the password tracker that was added
Throws:
SystemException - if a system exception occurred

createPasswordTracker

public PasswordTracker createPasswordTracker(long passwordTrackerId)
Creates a new password tracker with the primary key. Does not add the password tracker to the database.

Specified by:
createPasswordTracker in interface PasswordTrackerLocalService
Parameters:
passwordTrackerId - the primary key for the new password tracker
Returns:
the new password tracker

deletePasswordTracker

public void deletePasswordTracker(long passwordTrackerId)
                           throws PortalException,
                                  SystemException
Deletes the password tracker with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deletePasswordTracker in interface PasswordTrackerLocalService
Parameters:
passwordTrackerId - the primary key of the password tracker to delete
Throws:
PortalException - if a password tracker with the primary key could not be found
SystemException - if a system exception occurred

deletePasswordTracker

public void deletePasswordTracker(PasswordTracker passwordTracker)
                           throws SystemException
Deletes the password tracker from the database. Also notifies the appropriate model listeners.

Specified by:
deletePasswordTracker in interface PasswordTrackerLocalService
Parameters:
passwordTracker - the password tracker to delete
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface PasswordTrackerLocalService
Parameters:
dynamicQuery - the dynamic query to search with
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface PasswordTrackerLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface PasswordTrackerLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Counts the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface PasswordTrackerLocalService
Parameters:
dynamicQuery - the dynamic query to search with
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

getPasswordTracker

public PasswordTracker getPasswordTracker(long passwordTrackerId)
                                   throws PortalException,
                                          SystemException
Gets the password tracker with the primary key.

Specified by:
getPasswordTracker in interface PasswordTrackerLocalService
Parameters:
passwordTrackerId - the primary key of the password tracker to get
Returns:
the password tracker
Throws:
PortalException - if a password tracker with the primary key could not be found
SystemException - if a system exception occurred

getPasswordTrackers

public List<PasswordTracker> getPasswordTrackers(int start,
                                                 int end)
                                          throws SystemException
Gets a range of all the password trackers.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getPasswordTrackers in interface PasswordTrackerLocalService
Parameters:
start - the lower bound of the range of password trackers to return
end - the upper bound of the range of password trackers to return (not inclusive)
Returns:
the range of password trackers
Throws:
SystemException - if a system exception occurred

getPasswordTrackersCount

public int getPasswordTrackersCount()
                             throws SystemException
Gets the number of password trackers.

Specified by:
getPasswordTrackersCount in interface PasswordTrackerLocalService
Returns:
the number of password trackers
Throws:
SystemException - if a system exception occurred

updatePasswordTracker

public PasswordTracker updatePasswordTracker(PasswordTracker passwordTracker)
                                      throws SystemException
Updates the password tracker in the database. Also notifies the appropriate model listeners.

Specified by:
updatePasswordTracker in interface PasswordTrackerLocalService
Parameters:
passwordTracker - the password tracker to update
Returns:
the password tracker that was updated
Throws:
SystemException - if a system exception occurred

updatePasswordTracker

public PasswordTracker updatePasswordTracker(PasswordTracker passwordTracker,
                                             boolean merge)
                                      throws SystemException
Updates the password tracker in the database. Also notifies the appropriate model listeners.

Specified by:
updatePasswordTracker in interface PasswordTrackerLocalService
Parameters:
passwordTracker - the password tracker to update
merge - whether to merge the password tracker with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the password tracker that was updated
Throws:
SystemException - if a system exception occurred

deletePasswordTrackers

public void deletePasswordTrackers(long userId)
                            throws SystemException
Specified by:
deletePasswordTrackers in interface PasswordTrackerLocalService
Throws:
SystemException

isSameAsCurrentPassword

public boolean isSameAsCurrentPassword(long userId,
                                       String newClearTextPwd)
                                throws PortalException,
                                       SystemException
Specified by:
isSameAsCurrentPassword in interface PasswordTrackerLocalService
Throws:
PortalException
SystemException

isValidPassword

public boolean isValidPassword(long userId,
                               String newClearTextPwd)
                        throws PortalException,
                               SystemException
Specified by:
isValidPassword in interface PasswordTrackerLocalService
Throws:
PortalException
SystemException

trackPassword

public void trackPassword(long userId,
                          String encPassword)
                   throws PortalException,
                          SystemException
Specified by:
trackPassword in interface PasswordTrackerLocalService
Throws:
PortalException
SystemException

getWrappedPasswordTrackerLocalService

public PasswordTrackerLocalService getWrappedPasswordTrackerLocalService()

Liferay 6.0.5