com.liferay.portal.service.persistence
Interface PasswordTrackerPersistence


public interface PasswordTrackerPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByUserId(long userId)
           
 PasswordTracker create(long passwordTrackerId)
           
 PasswordTracker fetchByPrimaryKey(long passwordTrackerId)
           
 java.util.List<PasswordTracker> findAll()
           
 java.util.List<PasswordTracker> findAll(int begin, int end)
           
 java.util.List<PasswordTracker> findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PasswordTracker findByPrimaryKey(long passwordTrackerId)
           
 PasswordTracker findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PasswordTracker findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PasswordTracker[] findByUserId_PrevAndNext(long passwordTrackerId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<PasswordTracker> findByUserId(long userId)
           
 java.util.List<PasswordTracker> findByUserId(long userId, int begin, int end)
           
 java.util.List<PasswordTracker> findByUserId(long userId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<PasswordTracker> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<PasswordTracker> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 PasswordTracker remove(long passwordTrackerId)
           
 PasswordTracker remove(PasswordTracker passwordTracker)
           
 void removeAll()
           
 void removeByUserId(long userId)
           
 PasswordTracker update(PasswordTracker passwordTracker)
          Deprecated. Use update(PasswordTracker passwordTracker, boolean merge).
 PasswordTracker update(PasswordTracker passwordTracker, boolean merge)
          Add, update, or merge, the entity.
 PasswordTracker updateImpl(PasswordTracker passwordTracker, boolean merge)
           
 

Method Detail

create

PasswordTracker create(long passwordTrackerId)

remove

PasswordTracker remove(long passwordTrackerId)
                       throws com.liferay.portal.SystemException,
                              NoSuchPasswordTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchPasswordTrackerException

remove

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

update

PasswordTracker update(PasswordTracker passwordTracker)
                       throws com.liferay.portal.SystemException
Deprecated. Use update(PasswordTracker passwordTracker, boolean merge).

Throws:
com.liferay.portal.SystemException

update

PasswordTracker update(PasswordTracker passwordTracker,
                       boolean merge)
                       throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
passwordTracker - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when passwordTracker is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

PasswordTracker updateImpl(PasswordTracker passwordTracker,
                           boolean merge)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

PasswordTracker findByPrimaryKey(long passwordTrackerId)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchPasswordTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchPasswordTrackerException

fetchByPrimaryKey

PasswordTracker fetchByPrimaryKey(long passwordTrackerId)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

java.util.List<PasswordTracker> findByUserId(long userId)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

java.util.List<PasswordTracker> findByUserId(long userId,
                                             int begin,
                                             int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

java.util.List<PasswordTracker> findByUserId(long userId,
                                             int begin,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId_First

PasswordTracker findByUserId_First(long userId,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchPasswordTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchPasswordTrackerException

findByUserId_Last

PasswordTracker findByUserId_Last(long userId,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchPasswordTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchPasswordTrackerException

findByUserId_PrevAndNext

PasswordTracker[] findByUserId_PrevAndNext(long passwordTrackerId,
                                           long userId,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchPasswordTrackerException
Throws:
com.liferay.portal.SystemException
NoSuchPasswordTrackerException

findWithDynamicQuery

java.util.List<PasswordTracker> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<PasswordTracker> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                     int begin,
                                                     int end)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<PasswordTracker> findAll()
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<PasswordTracker> findAll(int begin,
                                        int end)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<PasswordTracker> findAll(int begin,
                                        int end,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUserId

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

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUserId

int countByUserId(long userId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException