Liferay 7.0-ga1 portal-impl

com.liferay.portlet.trash.service.persistence.impl
Class TrashEntryPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>
      extended by com.liferay.portlet.trash.service.persistence.impl.TrashEntryPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.trash.kernel.model.TrashEntry>, com.liferay.trash.kernel.service.persistence.TrashEntryPersistence

@ProviderType
public class TrashEntryPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>
implements com.liferay.trash.kernel.service.persistence.TrashEntryPersistence

The persistence implementation for the trash entry service.

Caching information and settings can be found in portal.properties

See Also:
TrashEntryPersistence, TrashEntryUtil
{$generated.description}

Field Summary
protected  com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
           
protected  com.liferay.portal.kernel.dao.orm.EntityCache entityCache
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_C
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LTCD
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LTCD
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
protected  com.liferay.portal.kernel.dao.orm.FinderCache finderCache
           
 
Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
TrashEntryPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the trash entry persistence.
 void cacheResult(List<com.liferay.trash.kernel.model.TrashEntry> trashEntries)
          Caches the trash entries in the entity cache if it is enabled.
 void cacheResult(com.liferay.trash.kernel.model.TrashEntry trashEntry)
          Caches the trash entry in the entity cache if it is enabled.
protected  void cacheUniqueFindersCache(TrashEntryModelImpl trashEntryModelImpl, boolean isNew)
           
 void clearCache()
          Clears the cache for all trash entries.
 void clearCache(List<com.liferay.trash.kernel.model.TrashEntry> trashEntries)
           
 void clearCache(com.liferay.trash.kernel.model.TrashEntry trashEntry)
          Clears the cache for the trash entry.
protected  void clearUniqueFindersCache(TrashEntryModelImpl trashEntryModelImpl)
           
 int countAll()
          Returns the number of trash entries.
 int countByC_C(long classNameId, long classPK)
          Returns the number of trash entries where classNameId = ? and classPK = ?.
 int countByCompanyId(long companyId)
          Returns the number of trash entries where companyId = ?.
 int countByG_C(long groupId, long classNameId)
          Returns the number of trash entries where groupId = ? and classNameId = ?.
 int countByG_LtCD(long groupId, Date createDate)
          Returns the number of trash entries where groupId = ? and createDate < ?.
 int countByGroupId(long groupId)
          Returns the number of trash entries where groupId = ?.
 com.liferay.trash.kernel.model.TrashEntry create(long entryId)
          Creates a new trash entry with the primary key.
 void destroy()
           
 com.liferay.trash.kernel.model.TrashEntry fetchByC_C(long classNameId, long classPK)
          Returns the trash entry where classNameId = ? and classPK = ? or returns null if it could not be found.
 com.liferay.trash.kernel.model.TrashEntry fetchByC_C(long classNameId, long classPK, boolean retrieveFromCache)
          Returns the trash entry where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
 com.liferay.trash.kernel.model.TrashEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the first trash entry in the ordered set where companyId = ?.
 com.liferay.trash.kernel.model.TrashEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the last trash entry in the ordered set where companyId = ?.
 com.liferay.trash.kernel.model.TrashEntry fetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the first trash entry in the ordered set where groupId = ? and classNameId = ?.
 com.liferay.trash.kernel.model.TrashEntry fetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the last trash entry in the ordered set where groupId = ? and classNameId = ?.
 com.liferay.trash.kernel.model.TrashEntry fetchByG_LtCD_First(long groupId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the first trash entry in the ordered set where groupId = ? and createDate < ?.
 com.liferay.trash.kernel.model.TrashEntry fetchByG_LtCD_Last(long groupId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the last trash entry in the ordered set where groupId = ? and createDate < ?.
 com.liferay.trash.kernel.model.TrashEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the first trash entry in the ordered set where groupId = ?.
 com.liferay.trash.kernel.model.TrashEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the last trash entry in the ordered set where groupId = ?.
 com.liferay.trash.kernel.model.TrashEntry fetchByPrimaryKey(long entryId)
          Returns the trash entry with the primary key or returns null if it could not be found.
 com.liferay.trash.kernel.model.TrashEntry fetchByPrimaryKey(Serializable primaryKey)
          Returns the trash entry with the primary key or returns null if it could not be found.
 Map<Serializable,com.liferay.trash.kernel.model.TrashEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
 List<com.liferay.trash.kernel.model.TrashEntry> findAll()
          Returns all the trash entries.
 List<com.liferay.trash.kernel.model.TrashEntry> findAll(int start, int end)
          Returns a range of all the trash entries.
 List<com.liferay.trash.kernel.model.TrashEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns an ordered range of all the trash entries.
 List<com.liferay.trash.kernel.model.TrashEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the trash entries.
 com.liferay.trash.kernel.model.TrashEntry findByC_C(long classNameId, long classPK)
          Returns the trash entry where classNameId = ? and classPK = ? or throws a NoSuchEntryException if it could not be found.
 com.liferay.trash.kernel.model.TrashEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the first trash entry in the ordered set where companyId = ?.
 com.liferay.trash.kernel.model.TrashEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the last trash entry in the ordered set where companyId = ?.
 com.liferay.trash.kernel.model.TrashEntry[] findByCompanyId_PrevAndNext(long entryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the trash entries before and after the current trash entry in the ordered set where companyId = ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByCompanyId(long companyId)
          Returns all the trash entries where companyId = ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the trash entries where companyId = ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns an ordered range of all the trash entries where companyId = ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the trash entries where companyId = ?.
 com.liferay.trash.kernel.model.TrashEntry findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the first trash entry in the ordered set where groupId = ? and classNameId = ?.
 com.liferay.trash.kernel.model.TrashEntry findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the last trash entry in the ordered set where groupId = ? and classNameId = ?.
 com.liferay.trash.kernel.model.TrashEntry[] findByG_C_PrevAndNext(long entryId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the trash entries before and after the current trash entry in the ordered set where groupId = ? and classNameId = ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByG_C(long groupId, long classNameId)
          Returns all the trash entries where groupId = ? and classNameId = ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByG_C(long groupId, long classNameId, int start, int end)
          Returns a range of all the trash entries where groupId = ? and classNameId = ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns an ordered range of all the trash entries where groupId = ? and classNameId = ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the trash entries where groupId = ? and classNameId = ?.
 com.liferay.trash.kernel.model.TrashEntry findByG_LtCD_First(long groupId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the first trash entry in the ordered set where groupId = ? and createDate < ?.
 com.liferay.trash.kernel.model.TrashEntry findByG_LtCD_Last(long groupId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the last trash entry in the ordered set where groupId = ? and createDate < ?.
 com.liferay.trash.kernel.model.TrashEntry[] findByG_LtCD_PrevAndNext(long entryId, long groupId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the trash entries before and after the current trash entry in the ordered set where groupId = ? and createDate < ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByG_LtCD(long groupId, Date createDate)
          Returns all the trash entries where groupId = ? and createDate < ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByG_LtCD(long groupId, Date createDate, int start, int end)
          Returns a range of all the trash entries where groupId = ? and createDate < ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByG_LtCD(long groupId, Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns an ordered range of all the trash entries where groupId = ? and createDate < ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByG_LtCD(long groupId, Date createDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the trash entries where groupId = ? and createDate < ?.
 com.liferay.trash.kernel.model.TrashEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the first trash entry in the ordered set where groupId = ?.
 com.liferay.trash.kernel.model.TrashEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the last trash entry in the ordered set where groupId = ?.
 com.liferay.trash.kernel.model.TrashEntry[] findByGroupId_PrevAndNext(long entryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns the trash entries before and after the current trash entry in the ordered set where groupId = ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByGroupId(long groupId)
          Returns all the trash entries where groupId = ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByGroupId(long groupId, int start, int end)
          Returns a range of all the trash entries where groupId = ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
          Returns an ordered range of all the trash entries where groupId = ?.
 List<com.liferay.trash.kernel.model.TrashEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the trash entries where groupId = ?.
 com.liferay.trash.kernel.model.TrashEntry findByPrimaryKey(long entryId)
          Returns the trash entry with the primary key or throws a NoSuchEntryException if it could not be found.
 com.liferay.trash.kernel.model.TrashEntry findByPrimaryKey(Serializable primaryKey)
          Returns the trash entry with the primary key or throws a NoSuchModelException if it could not be found.
protected  com.liferay.trash.kernel.model.TrashEntry getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.trash.kernel.model.TrashEntry trashEntry, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator, boolean previous)
           
protected  com.liferay.trash.kernel.model.TrashEntry getByG_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.trash.kernel.model.TrashEntry trashEntry, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator, boolean previous)
           
protected  com.liferay.trash.kernel.model.TrashEntry getByG_LtCD_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.trash.kernel.model.TrashEntry trashEntry, long groupId, Date createDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator, boolean previous)
           
protected  com.liferay.trash.kernel.model.TrashEntry getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.trash.kernel.model.TrashEntry trashEntry, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator, boolean previous)
           
protected  Map<String,Integer> getTableColumnsMap()
           
 com.liferay.trash.kernel.model.TrashEntry remove(long entryId)
          Removes the trash entry with the primary key from the database.
 com.liferay.trash.kernel.model.TrashEntry remove(Serializable primaryKey)
          Removes the trash entry with the primary key from the database.
 void removeAll()
          Removes all the trash entries from the database.
 com.liferay.trash.kernel.model.TrashEntry removeByC_C(long classNameId, long classPK)
          Removes the trash entry where classNameId = ? and classPK = ? from the database.
 void removeByCompanyId(long companyId)
          Removes all the trash entries where companyId = ? from the database.
 void removeByG_C(long groupId, long classNameId)
          Removes all the trash entries where groupId = ? and classNameId = ? from the database.
 void removeByG_LtCD(long groupId, Date createDate)
          Removes all the trash entries where groupId = ? and createDate < ? from the database.
 void removeByGroupId(long groupId)
          Removes all the trash entries where groupId = ? from the database.
protected  com.liferay.trash.kernel.model.TrashEntry removeImpl(com.liferay.trash.kernel.model.TrashEntry trashEntry)
           
protected  com.liferay.trash.kernel.model.TrashEntry toUnwrappedModel(com.liferay.trash.kernel.model.TrashEntry trashEntry)
           
 com.liferay.trash.kernel.model.TrashEntry updateImpl(com.liferay.trash.kernel.model.TrashEntry trashEntry)
           
 
Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LTCD

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LTCD

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LTCD

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LTCD

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C

FINDER_PATH_COUNT_BY_G_C

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C

FINDER_PATH_FETCH_BY_C_C

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_C

FINDER_PATH_COUNT_BY_C_C

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C

companyProvider

@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class)
protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider

entityCache

protected com.liferay.portal.kernel.dao.orm.EntityCache entityCache

finderCache

protected com.liferay.portal.kernel.dao.orm.FinderCache finderCache
Constructor Detail

TrashEntryPersistenceImpl

public TrashEntryPersistenceImpl()
Method Detail

findByGroupId

public List<com.liferay.trash.kernel.model.TrashEntry> findByGroupId(long groupId)
Returns all the trash entries where groupId = ?.

Specified by:
findByGroupId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
Returns:
the matching trash entries

findByGroupId

public List<com.liferay.trash.kernel.model.TrashEntry> findByGroupId(long groupId,
                                                                     int start,
                                                                     int end)
Returns a range of all the trash entries where groupId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of trash entries
end - the upper bound of the range of trash entries (not inclusive)
Returns:
the range of matching trash entries

findByGroupId

public List<com.liferay.trash.kernel.model.TrashEntry> findByGroupId(long groupId,
                                                                     int start,
                                                                     int end,
                                                                     com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
Returns an ordered range of all the trash entries where groupId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of trash entries
end - the upper bound of the range of trash entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching trash entries

findByGroupId

public List<com.liferay.trash.kernel.model.TrashEntry> findByGroupId(long groupId,
                                                                     int start,
                                                                     int end,
                                                                     com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator,
                                                                     boolean retrieveFromCache)
Returns an ordered range of all the trash entries where groupId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of trash entries
end - the upper bound of the range of trash entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching trash entries

findByGroupId_First

public com.liferay.trash.kernel.model.TrashEntry findByGroupId_First(long groupId,
                                                                     com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
                                                              throws com.liferay.trash.kernel.exception.NoSuchEntryException
Returns the first trash entry in the ordered set where groupId = ?.

Specified by:
findByGroupId_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching trash entry
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be found

fetchByGroupId_First

public com.liferay.trash.kernel.model.TrashEntry fetchByGroupId_First(long groupId,
                                                                      com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
Returns the first trash entry in the ordered set where groupId = ?.

Specified by:
fetchByGroupId_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching trash entry, or null if a matching trash entry could not be found

findByGroupId_Last

public com.liferay.trash.kernel.model.TrashEntry findByGroupId_Last(long groupId,
                                                                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
                                                             throws com.liferay.trash.kernel.exception.NoSuchEntryException
Returns the last trash entry in the ordered set where groupId = ?.

Specified by:
findByGroupId_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching trash entry
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be found

fetchByGroupId_Last

public com.liferay.trash.kernel.model.TrashEntry fetchByGroupId_Last(long groupId,
                                                                     com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
Returns the last trash entry in the ordered set where groupId = ?.

Specified by:
fetchByGroupId_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching trash entry, or null if a matching trash entry could not be found

findByGroupId_PrevAndNext

public com.liferay.trash.kernel.model.TrashEntry[] findByGroupId_PrevAndNext(long entryId,
                                                                             long groupId,
                                                                             com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
                                                                      throws com.liferay.trash.kernel.exception.NoSuchEntryException
Returns the trash entries before and after the current trash entry in the ordered set where groupId = ?.

Specified by:
findByGroupId_PrevAndNext in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
entryId - the primary key of the current trash entry
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next trash entry
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be found

getByGroupId_PrevAndNext

protected com.liferay.trash.kernel.model.TrashEntry getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                             com.liferay.trash.kernel.model.TrashEntry trashEntry,
                                                                             long groupId,
                                                                             com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator,
                                                                             boolean previous)

removeByGroupId

public void removeByGroupId(long groupId)
Removes all the trash entries where groupId = ? from the database.

Specified by:
removeByGroupId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID

countByGroupId

public int countByGroupId(long groupId)
Returns the number of trash entries where groupId = ?.

Specified by:
countByGroupId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching trash entries

findByCompanyId

public List<com.liferay.trash.kernel.model.TrashEntry> findByCompanyId(long companyId)
Returns all the trash entries where companyId = ?.

Specified by:
findByCompanyId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
companyId - the company ID
Returns:
the matching trash entries

findByCompanyId

public List<com.liferay.trash.kernel.model.TrashEntry> findByCompanyId(long companyId,
                                                                       int start,
                                                                       int end)
Returns a range of all the trash entries where companyId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByCompanyId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of trash entries
end - the upper bound of the range of trash entries (not inclusive)
Returns:
the range of matching trash entries

findByCompanyId

public List<com.liferay.trash.kernel.model.TrashEntry> findByCompanyId(long companyId,
                                                                       int start,
                                                                       int end,
                                                                       com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
Returns an ordered range of all the trash entries where companyId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByCompanyId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of trash entries
end - the upper bound of the range of trash entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching trash entries

findByCompanyId

public List<com.liferay.trash.kernel.model.TrashEntry> findByCompanyId(long companyId,
                                                                       int start,
                                                                       int end,
                                                                       com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator,
                                                                       boolean retrieveFromCache)
Returns an ordered range of all the trash entries where companyId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByCompanyId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of trash entries
end - the upper bound of the range of trash entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching trash entries

findByCompanyId_First

public com.liferay.trash.kernel.model.TrashEntry findByCompanyId_First(long companyId,
                                                                       com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
                                                                throws com.liferay.trash.kernel.exception.NoSuchEntryException
Returns the first trash entry in the ordered set where companyId = ?.

Specified by:
findByCompanyId_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching trash entry
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be found

fetchByCompanyId_First

public com.liferay.trash.kernel.model.TrashEntry fetchByCompanyId_First(long companyId,
                                                                        com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
Returns the first trash entry in the ordered set where companyId = ?.

Specified by:
fetchByCompanyId_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching trash entry, or null if a matching trash entry could not be found

findByCompanyId_Last

public com.liferay.trash.kernel.model.TrashEntry findByCompanyId_Last(long companyId,
                                                                      com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
                                                               throws com.liferay.trash.kernel.exception.NoSuchEntryException
Returns the last trash entry in the ordered set where companyId = ?.

Specified by:
findByCompanyId_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching trash entry
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be found

fetchByCompanyId_Last

public com.liferay.trash.kernel.model.TrashEntry fetchByCompanyId_Last(long companyId,
                                                                       com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
Returns the last trash entry in the ordered set where companyId = ?.

Specified by:
fetchByCompanyId_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching trash entry, or null if a matching trash entry could not be found

findByCompanyId_PrevAndNext

public com.liferay.trash.kernel.model.TrashEntry[] findByCompanyId_PrevAndNext(long entryId,
                                                                               long companyId,
                                                                               com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
                                                                        throws com.liferay.trash.kernel.exception.NoSuchEntryException
Returns the trash entries before and after the current trash entry in the ordered set where companyId = ?.

Specified by:
findByCompanyId_PrevAndNext in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
entryId - the primary key of the current trash entry
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next trash entry
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be found

getByCompanyId_PrevAndNext

protected com.liferay.trash.kernel.model.TrashEntry getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                               com.liferay.trash.kernel.model.TrashEntry trashEntry,
                                                                               long companyId,
                                                                               com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator,
                                                                               boolean previous)

removeByCompanyId

public void removeByCompanyId(long companyId)
Removes all the trash entries where companyId = ? from the database.

Specified by:
removeByCompanyId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
companyId - the company ID

countByCompanyId

public int countByCompanyId(long companyId)
Returns the number of trash entries where companyId = ?.

Specified by:
countByCompanyId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
companyId - the company ID
Returns:
the number of matching trash entries

findByG_LtCD

public List<com.liferay.trash.kernel.model.TrashEntry> findByG_LtCD(long groupId,
                                                                    Date createDate)
Returns all the trash entries where groupId = ? and createDate < ?.

Specified by:
findByG_LtCD in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
createDate - the create date
Returns:
the matching trash entries

findByG_LtCD

public List<com.liferay.trash.kernel.model.TrashEntry> findByG_LtCD(long groupId,
                                                                    Date createDate,
                                                                    int start,
                                                                    int end)
Returns a range of all the trash entries where groupId = ? and createDate < ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_LtCD in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
createDate - the create date
start - the lower bound of the range of trash entries
end - the upper bound of the range of trash entries (not inclusive)
Returns:
the range of matching trash entries

findByG_LtCD

public List<com.liferay.trash.kernel.model.TrashEntry> findByG_LtCD(long groupId,
                                                                    Date createDate,
                                                                    int start,
                                                                    int end,
                                                                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
Returns an ordered range of all the trash entries where groupId = ? and createDate < ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_LtCD in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
createDate - the create date
start - the lower bound of the range of trash entries
end - the upper bound of the range of trash entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching trash entries

findByG_LtCD

public List<com.liferay.trash.kernel.model.TrashEntry> findByG_LtCD(long groupId,
                                                                    Date createDate,
                                                                    int start,
                                                                    int end,
                                                                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator,
                                                                    boolean retrieveFromCache)
Returns an ordered range of all the trash entries where groupId = ? and createDate < ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_LtCD in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
createDate - the create date
start - the lower bound of the range of trash entries
end - the upper bound of the range of trash entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching trash entries

findByG_LtCD_First

public com.liferay.trash.kernel.model.TrashEntry findByG_LtCD_First(long groupId,
                                                                    Date createDate,
                                                                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
                                                             throws com.liferay.trash.kernel.exception.NoSuchEntryException
Returns the first trash entry in the ordered set where groupId = ? and createDate < ?.

Specified by:
findByG_LtCD_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
createDate - the create date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching trash entry
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be found

fetchByG_LtCD_First

public com.liferay.trash.kernel.model.TrashEntry fetchByG_LtCD_First(long groupId,
                                                                     Date createDate,
                                                                     com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
Returns the first trash entry in the ordered set where groupId = ? and createDate < ?.

Specified by:
fetchByG_LtCD_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
createDate - the create date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching trash entry, or null if a matching trash entry could not be found

findByG_LtCD_Last

public com.liferay.trash.kernel.model.TrashEntry findByG_LtCD_Last(long groupId,
                                                                   Date createDate,
                                                                   com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
                                                            throws com.liferay.trash.kernel.exception.NoSuchEntryException
Returns the last trash entry in the ordered set where groupId = ? and createDate < ?.

Specified by:
findByG_LtCD_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
createDate - the create date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching trash entry
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be found

fetchByG_LtCD_Last

public com.liferay.trash.kernel.model.TrashEntry fetchByG_LtCD_Last(long groupId,
                                                                    Date createDate,
                                                                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
Returns the last trash entry in the ordered set where groupId = ? and createDate < ?.

Specified by:
fetchByG_LtCD_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
createDate - the create date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching trash entry, or null if a matching trash entry could not be found

findByG_LtCD_PrevAndNext

public com.liferay.trash.kernel.model.TrashEntry[] findByG_LtCD_PrevAndNext(long entryId,
                                                                            long groupId,
                                                                            Date createDate,
                                                                            com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
                                                                     throws com.liferay.trash.kernel.exception.NoSuchEntryException
Returns the trash entries before and after the current trash entry in the ordered set where groupId = ? and createDate < ?.

Specified by:
findByG_LtCD_PrevAndNext in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
entryId - the primary key of the current trash entry
groupId - the group ID
createDate - the create date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next trash entry
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be found

getByG_LtCD_PrevAndNext

protected com.liferay.trash.kernel.model.TrashEntry getByG_LtCD_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                            com.liferay.trash.kernel.model.TrashEntry trashEntry,
                                                                            long groupId,
                                                                            Date createDate,
                                                                            com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator,
                                                                            boolean previous)

removeByG_LtCD

public void removeByG_LtCD(long groupId,
                           Date createDate)
Removes all the trash entries where groupId = ? and createDate < ? from the database.

Specified by:
removeByG_LtCD in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
createDate - the create date

countByG_LtCD

public int countByG_LtCD(long groupId,
                         Date createDate)
Returns the number of trash entries where groupId = ? and createDate < ?.

Specified by:
countByG_LtCD in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
createDate - the create date
Returns:
the number of matching trash entries

findByG_C

public List<com.liferay.trash.kernel.model.TrashEntry> findByG_C(long groupId,
                                                                 long classNameId)
Returns all the trash entries where groupId = ? and classNameId = ?.

Specified by:
findByG_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
Returns:
the matching trash entries

findByG_C

public List<com.liferay.trash.kernel.model.TrashEntry> findByG_C(long groupId,
                                                                 long classNameId,
                                                                 int start,
                                                                 int end)
Returns a range of all the trash entries where groupId = ? and classNameId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
start - the lower bound of the range of trash entries
end - the upper bound of the range of trash entries (not inclusive)
Returns:
the range of matching trash entries

findByG_C

public List<com.liferay.trash.kernel.model.TrashEntry> findByG_C(long groupId,
                                                                 long classNameId,
                                                                 int start,
                                                                 int end,
                                                                 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
Returns an ordered range of all the trash entries where groupId = ? and classNameId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
start - the lower bound of the range of trash entries
end - the upper bound of the range of trash entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching trash entries

findByG_C

public List<com.liferay.trash.kernel.model.TrashEntry> findByG_C(long groupId,
                                                                 long classNameId,
                                                                 int start,
                                                                 int end,
                                                                 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator,
                                                                 boolean retrieveFromCache)
Returns an ordered range of all the trash entries where groupId = ? and classNameId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
start - the lower bound of the range of trash entries
end - the upper bound of the range of trash entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching trash entries

findByG_C_First

public com.liferay.trash.kernel.model.TrashEntry findByG_C_First(long groupId,
                                                                 long classNameId,
                                                                 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
                                                          throws com.liferay.trash.kernel.exception.NoSuchEntryException
Returns the first trash entry in the ordered set where groupId = ? and classNameId = ?.

Specified by:
findByG_C_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching trash entry
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be found

fetchByG_C_First

public com.liferay.trash.kernel.model.TrashEntry fetchByG_C_First(long groupId,
                                                                  long classNameId,
                                                                  com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
Returns the first trash entry in the ordered set where groupId = ? and classNameId = ?.

Specified by:
fetchByG_C_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching trash entry, or null if a matching trash entry could not be found

findByG_C_Last

public com.liferay.trash.kernel.model.TrashEntry findByG_C_Last(long groupId,
                                                                long classNameId,
                                                                com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
                                                         throws com.liferay.trash.kernel.exception.NoSuchEntryException
Returns the last trash entry in the ordered set where groupId = ? and classNameId = ?.

Specified by:
findByG_C_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching trash entry
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be found

fetchByG_C_Last

public com.liferay.trash.kernel.model.TrashEntry fetchByG_C_Last(long groupId,
                                                                 long classNameId,
                                                                 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
Returns the last trash entry in the ordered set where groupId = ? and classNameId = ?.

Specified by:
fetchByG_C_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching trash entry, or null if a matching trash entry could not be found

findByG_C_PrevAndNext

public com.liferay.trash.kernel.model.TrashEntry[] findByG_C_PrevAndNext(long entryId,
                                                                         long groupId,
                                                                         long classNameId,
                                                                         com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
                                                                  throws com.liferay.trash.kernel.exception.NoSuchEntryException
Returns the trash entries before and after the current trash entry in the ordered set where groupId = ? and classNameId = ?.

Specified by:
findByG_C_PrevAndNext in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
entryId - the primary key of the current trash entry
groupId - the group ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next trash entry
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be found

getByG_C_PrevAndNext

protected com.liferay.trash.kernel.model.TrashEntry getByG_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                         com.liferay.trash.kernel.model.TrashEntry trashEntry,
                                                                         long groupId,
                                                                         long classNameId,
                                                                         com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator,
                                                                         boolean previous)

removeByG_C

public void removeByG_C(long groupId,
                        long classNameId)
Removes all the trash entries where groupId = ? and classNameId = ? from the database.

Specified by:
removeByG_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID

countByG_C

public int countByG_C(long groupId,
                      long classNameId)
Returns the number of trash entries where groupId = ? and classNameId = ?.

Specified by:
countByG_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
Returns:
the number of matching trash entries

findByC_C

public com.liferay.trash.kernel.model.TrashEntry findByC_C(long classNameId,
                                                           long classPK)
                                                    throws com.liferay.trash.kernel.exception.NoSuchEntryException
Returns the trash entry where classNameId = ? and classPK = ? or throws a NoSuchEntryException if it could not be found.

Specified by:
findByC_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
Returns:
the matching trash entry
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be found

fetchByC_C

public com.liferay.trash.kernel.model.TrashEntry fetchByC_C(long classNameId,
                                                            long classPK)
Returns the trash entry where classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByC_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
Returns:
the matching trash entry, or null if a matching trash entry could not be found

fetchByC_C

public com.liferay.trash.kernel.model.TrashEntry fetchByC_C(long classNameId,
                                                            long classPK,
                                                            boolean retrieveFromCache)
Returns the trash entry where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByC_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching trash entry, or null if a matching trash entry could not be found

removeByC_C

public com.liferay.trash.kernel.model.TrashEntry removeByC_C(long classNameId,
                                                             long classPK)
                                                      throws com.liferay.trash.kernel.exception.NoSuchEntryException
Removes the trash entry where classNameId = ? and classPK = ? from the database.

Specified by:
removeByC_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
Returns:
the trash entry that was removed
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException

countByC_C

public int countByC_C(long classNameId,
                      long classPK)
Returns the number of trash entries where classNameId = ? and classPK = ?.

Specified by:
countByC_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
Returns:
the number of matching trash entries

cacheResult

public void cacheResult(com.liferay.trash.kernel.model.TrashEntry trashEntry)
Caches the trash entry in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
trashEntry - the trash entry

cacheResult

public void cacheResult(List<com.liferay.trash.kernel.model.TrashEntry> trashEntries)
Caches the trash entries in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
trashEntries - the trash entries

clearCache

public void clearCache()
Clears the cache for all trash entries.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.trash.kernel.model.TrashEntry>
Overrides:
clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>

clearCache

public void clearCache(com.liferay.trash.kernel.model.TrashEntry trashEntry)
Clears the cache for the trash entry.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.trash.kernel.model.TrashEntry>
Overrides:
clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>

clearCache

public void clearCache(List<com.liferay.trash.kernel.model.TrashEntry> trashEntries)
Specified by:
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.trash.kernel.model.TrashEntry>
Overrides:
clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(TrashEntryModelImpl trashEntryModelImpl,
                                       boolean isNew)

clearUniqueFindersCache

protected void clearUniqueFindersCache(TrashEntryModelImpl trashEntryModelImpl)

create

public com.liferay.trash.kernel.model.TrashEntry create(long entryId)
Creates a new trash entry with the primary key. Does not add the trash entry to the database.

Specified by:
create in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
entryId - the primary key for the new trash entry
Returns:
the new trash entry

remove

public com.liferay.trash.kernel.model.TrashEntry remove(long entryId)
                                                 throws com.liferay.trash.kernel.exception.NoSuchEntryException
Removes the trash entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
entryId - the primary key of the trash entry
Returns:
the trash entry that was removed
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be found

remove

public com.liferay.trash.kernel.model.TrashEntry remove(Serializable primaryKey)
                                                 throws com.liferay.trash.kernel.exception.NoSuchEntryException
Removes the trash entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.trash.kernel.model.TrashEntry>
Overrides:
remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>
Parameters:
primaryKey - the primary key of the trash entry
Returns:
the trash entry that was removed
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be found

removeImpl

protected com.liferay.trash.kernel.model.TrashEntry removeImpl(com.liferay.trash.kernel.model.TrashEntry trashEntry)
Overrides:
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>

updateImpl

public com.liferay.trash.kernel.model.TrashEntry updateImpl(com.liferay.trash.kernel.model.TrashEntry trashEntry)
Specified by:
updateImpl in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Overrides:
updateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>

toUnwrappedModel

protected com.liferay.trash.kernel.model.TrashEntry toUnwrappedModel(com.liferay.trash.kernel.model.TrashEntry trashEntry)

findByPrimaryKey

public com.liferay.trash.kernel.model.TrashEntry findByPrimaryKey(Serializable primaryKey)
                                                           throws com.liferay.trash.kernel.exception.NoSuchEntryException
Returns the trash entry with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.trash.kernel.model.TrashEntry>
Overrides:
findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>
Parameters:
primaryKey - the primary key of the trash entry
Returns:
the trash entry
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be found

findByPrimaryKey

public com.liferay.trash.kernel.model.TrashEntry findByPrimaryKey(long entryId)
                                                           throws com.liferay.trash.kernel.exception.NoSuchEntryException
Returns the trash entry with the primary key or throws a NoSuchEntryException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
entryId - the primary key of the trash entry
Returns:
the trash entry
Throws:
com.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be found

fetchByPrimaryKey

public com.liferay.trash.kernel.model.TrashEntry fetchByPrimaryKey(Serializable primaryKey)
Returns the trash entry with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.trash.kernel.model.TrashEntry>
Overrides:
fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>
Parameters:
primaryKey - the primary key of the trash entry
Returns:
the trash entry, or null if a trash entry with the primary key could not be found

fetchByPrimaryKey

public com.liferay.trash.kernel.model.TrashEntry fetchByPrimaryKey(long entryId)
Returns the trash entry with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
entryId - the primary key of the trash entry
Returns:
the trash entry, or null if a trash entry with the primary key could not be found

fetchByPrimaryKeys

public Map<Serializable,com.liferay.trash.kernel.model.TrashEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.trash.kernel.model.TrashEntry>
Specified by:
fetchByPrimaryKeys in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Overrides:
fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>

findAll

public List<com.liferay.trash.kernel.model.TrashEntry> findAll()
Returns all the trash entries.

Specified by:
findAll in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Returns:
the trash entries

findAll

public List<com.liferay.trash.kernel.model.TrashEntry> findAll(int start,
                                                               int end)
Returns a range of all the trash entries.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
start - the lower bound of the range of trash entries
end - the upper bound of the range of trash entries (not inclusive)
Returns:
the range of trash entries

findAll

public List<com.liferay.trash.kernel.model.TrashEntry> findAll(int start,
                                                               int end,
                                                               com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
Returns an ordered range of all the trash entries.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
start - the lower bound of the range of trash entries
end - the upper bound of the range of trash entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of trash entries

findAll

public List<com.liferay.trash.kernel.model.TrashEntry> findAll(int start,
                                                               int end,
                                                               com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator,
                                                               boolean retrieveFromCache)
Returns an ordered range of all the trash entries.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from TrashEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Parameters:
start - the lower bound of the range of trash entries
end - the upper bound of the range of trash entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of trash entries

removeAll

public void removeAll()
Removes all the trash entries from the database.

Specified by:
removeAll in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence

countAll

public int countAll()
Returns the number of trash entries.

Specified by:
countAll in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistence
Returns:
the number of trash entries

getTableColumnsMap

protected Map<String,Integer> getTableColumnsMap()
Overrides:
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>

afterPropertiesSet

public void afterPropertiesSet()
Initializes the trash entry persistence.


destroy

public void destroy()

Liferay 7.0-ga1 portal-impl