com.liferay.portal.service
Interface PasswordTrackerLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface PasswordTrackerLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portal.service.impl.PasswordTrackerLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
PasswordTrackerLocalServiceUtil

Method Summary
 PasswordTracker addPasswordTracker(PasswordTracker passwordTracker)
           
 PasswordTracker createPasswordTracker(long passwordTrackerId)
           
 void deletePasswordTracker(long passwordTrackerId)
           
 void deletePasswordTracker(PasswordTracker passwordTracker)
           
 void deletePasswordTrackers(long userId)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 PasswordTracker getPasswordTracker(long passwordTrackerId)
           
 java.util.List<PasswordTracker> getPasswordTrackers(int start, int end)
           
 int getPasswordTrackersCount()
           
 boolean isSameAsCurrentPassword(long userId, java.lang.String newClearTextPwd)
           
 boolean isValidPassword(long userId, java.lang.String newClearTextPwd)
           
 void trackPassword(long userId, java.lang.String encPassword)
           
 PasswordTracker updatePasswordTracker(PasswordTracker passwordTracker)
           
 

Method Detail

addPasswordTracker

PasswordTracker addPasswordTracker(PasswordTracker passwordTracker)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createPasswordTracker

PasswordTracker createPasswordTracker(long passwordTrackerId)

deletePasswordTracker

void deletePasswordTracker(long passwordTrackerId)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deletePasswordTracker

void deletePasswordTracker(PasswordTracker passwordTracker)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPasswordTracker

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PasswordTracker getPasswordTracker(long passwordTrackerId)
                                   throws com.liferay.portal.SystemException,
                                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getPasswordTrackers

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<PasswordTracker> getPasswordTrackers(int start,
                                                                  int end)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPasswordTrackersCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getPasswordTrackersCount()
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updatePasswordTracker

PasswordTracker updatePasswordTracker(PasswordTracker passwordTracker)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deletePasswordTrackers

void deletePasswordTrackers(long userId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

isSameAsCurrentPassword

boolean isSameAsCurrentPassword(long userId,
                                java.lang.String newClearTextPwd)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

isValidPassword

boolean isValidPassword(long userId,
                        java.lang.String newClearTextPwd)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

trackPassword

void trackPassword(long userId,
                   java.lang.String encPassword)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException