com.liferay.portal.service.persistence
Interface PasswordTrackerPersistence

All Superinterfaces:
BasePersistence

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

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 start, int end)
           
 java.util.List<PasswordTracker> findAll(int start, 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 start, int end)
           
 java.util.List<PasswordTracker> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, 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)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Method Detail

create

PasswordTracker create(long passwordTrackerId)

remove

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

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

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

fetchByPrimaryKey

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

findByUserId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<PasswordTracker> findByUserId(long userId)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

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

findByUserId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<PasswordTracker> findByUserId(long userId,
                                                           int start,
                                                           int end,
                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId_First

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PasswordTracker findByUserId_First(long userId,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws NoSuchPasswordTrackerException,
                                          com.liferay.portal.SystemException
Throws:
NoSuchPasswordTrackerException
com.liferay.portal.SystemException

findByUserId_Last

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PasswordTracker findByUserId_Last(long userId,
                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws NoSuchPasswordTrackerException,
                                         com.liferay.portal.SystemException
Throws:
NoSuchPasswordTrackerException
com.liferay.portal.SystemException

findByUserId_PrevAndNext

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PasswordTracker[] findByUserId_PrevAndNext(long passwordTrackerId,
                                                         long userId,
                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws NoSuchPasswordTrackerException,
                                                  com.liferay.portal.SystemException
Throws:
NoSuchPasswordTrackerException
com.liferay.portal.SystemException

findWithDynamicQuery

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<PasswordTracker> findAll(int start,
                                                      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

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

countAll

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