com.liferay.portal.service
Interface PasswordTrackerLocalService


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:
com.liferay.portal.service.PasswordTrackerServiceFactory, com.liferay.portal.service.PasswordTrackerServiceUtil

Method Summary
 PasswordTracker addPasswordTracker(PasswordTracker model)
           
 void deletePasswordTrackers(long userId)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 boolean isSameAsCurrentPassword(long userId, java.lang.String newClearTextPwd)
           
 boolean isValidPassword(long userId, java.lang.String newClearTextPwd)
           
 void trackPassword(long userId, java.lang.String encPwd)
           
 PasswordTracker updatePasswordTracker(PasswordTracker model)
           
 

Method Detail

addPasswordTracker

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

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updatePasswordTracker

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

deletePasswordTrackers

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

isSameAsCurrentPassword

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

isValidPassword

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

trackPassword

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