@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
Caching information and settings can be found in portal.properties
TrashEntryPersistence,
TrashEntryUtil| Modifier and Type | Field and Description |
|---|---|
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 |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, nullModel, 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 and Description |
|---|
TrashEntryPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_LTCD
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_LTCD
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
protected com.liferay.portal.kernel.dao.orm.EntityCache entityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache finderCache
public List<com.liferay.trash.kernel.model.TrashEntry> findByGroupId(long groupId)
findByGroupId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDpublic List<com.liferay.trash.kernel.model.TrashEntry> findByGroupId(long groupId, int start, int end)
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.
findByGroupId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDstart - the lower bound of the range of trash entriesend - the upper bound of the range of trash entries (not inclusive)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)
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.
findByGroupId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDstart - the lower bound of the range of trash entriesend - the upper bound of the range of trash entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)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)
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.
findByGroupId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDstart - the lower bound of the range of trash entriesend - 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 cachepublic 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
findByGroupId_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be foundpublic com.liferay.trash.kernel.model.TrashEntry fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
fetchByGroupId_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching trash entry could not be foundpublic 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
findByGroupId_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be foundpublic com.liferay.trash.kernel.model.TrashEntry fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
fetchByGroupId_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching trash entry could not be foundpublic 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
findByGroupId_PrevAndNext in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistenceentryId - the primary key of the current trash entrygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be foundprotected 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)
public void removeByGroupId(long groupId)
removeByGroupId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDpublic List<com.liferay.trash.kernel.model.TrashEntry> findByCompanyId(long companyId)
findByCompanyId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencecompanyId - the company IDpublic List<com.liferay.trash.kernel.model.TrashEntry> findByCompanyId(long companyId, int start, int end)
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.
findByCompanyId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencecompanyId - the company IDstart - the lower bound of the range of trash entriesend - the upper bound of the range of trash entries (not inclusive)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)
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.
findByCompanyId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencecompanyId - the company IDstart - the lower bound of the range of trash entriesend - the upper bound of the range of trash entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)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)
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.
findByCompanyId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencecompanyId - the company IDstart - the lower bound of the range of trash entriesend - 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 cachepublic 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
findByCompanyId_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be foundpublic com.liferay.trash.kernel.model.TrashEntry fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
fetchByCompanyId_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching trash entry could not be foundpublic 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
findByCompanyId_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be foundpublic com.liferay.trash.kernel.model.TrashEntry fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.trash.kernel.model.TrashEntry> orderByComparator)
fetchByCompanyId_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching trash entry could not be foundpublic 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
findByCompanyId_PrevAndNext in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistenceentryId - the primary key of the current trash entrycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be foundprotected 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)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencecompanyId - the company IDpublic List<com.liferay.trash.kernel.model.TrashEntry> findByG_LtCD(long groupId, Date createDate)
findByG_LtCD in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDcreateDate - the create datepublic List<com.liferay.trash.kernel.model.TrashEntry> findByG_LtCD(long groupId, Date createDate, int start, int end)
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.
findByG_LtCD in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDcreateDate - the create datestart - the lower bound of the range of trash entriesend - the upper bound of the range of trash entries (not inclusive)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)
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.
findByG_LtCD in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDcreateDate - the create datestart - the lower bound of the range of trash entriesend - the upper bound of the range of trash entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)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)
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.
findByG_LtCD in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDcreateDate - the create datestart - the lower bound of the range of trash entriesend - 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 cachepublic 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
findByG_LtCD_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDcreateDate - the create dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be foundpublic 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)
fetchByG_LtCD_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDcreateDate - the create dateorderByComparator - the comparator to order the set by (optionally null)null if a matching trash entry could not be foundpublic 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
findByG_LtCD_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDcreateDate - the create dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be foundpublic 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)
fetchByG_LtCD_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDcreateDate - the create dateorderByComparator - the comparator to order the set by (optionally null)null if a matching trash entry could not be foundpublic 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
findByG_LtCD_PrevAndNext in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistenceentryId - the primary key of the current trash entrygroupId - the group IDcreateDate - the create dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be foundprotected 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)
public void removeByG_LtCD(long groupId,
Date createDate)
removeByG_LtCD in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDcreateDate - the create datepublic int countByG_LtCD(long groupId,
Date createDate)
countByG_LtCD in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDcreateDate - the create datepublic List<com.liferay.trash.kernel.model.TrashEntry> findByG_C(long groupId, long classNameId)
findByG_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDclassNameId - the class name IDpublic List<com.liferay.trash.kernel.model.TrashEntry> findByG_C(long groupId, long classNameId, int start, int end)
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.
findByG_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDclassNameId - the class name IDstart - the lower bound of the range of trash entriesend - the upper bound of the range of trash entries (not inclusive)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)
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.
findByG_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDclassNameId - the class name IDstart - the lower bound of the range of trash entriesend - the upper bound of the range of trash entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)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)
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.
findByG_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDclassNameId - the class name IDstart - the lower bound of the range of trash entriesend - 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 cachepublic 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
findByG_C_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be foundpublic 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)
fetchByG_C_First in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching trash entry could not be foundpublic 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
findByG_C_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be foundpublic 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)
fetchByG_C_Last in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching trash entry could not be foundpublic 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
findByG_C_PrevAndNext in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistenceentryId - the primary key of the current trash entrygroupId - the group IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be foundprotected 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)
public void removeByG_C(long groupId,
long classNameId)
removeByG_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDclassNameId - the class name IDpublic int countByG_C(long groupId,
long classNameId)
countByG_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencegroupId - the group IDclassNameId - the class name IDpublic com.liferay.trash.kernel.model.TrashEntry findByC_C(long classNameId,
long classPK)
throws com.liferay.trash.kernel.exception.NoSuchEntryException
NoSuchEntryException if it could not be found.findByC_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistenceclassNameId - the class name IDclassPK - the class p kcom.liferay.trash.kernel.exception.NoSuchEntryException - if a matching trash entry could not be foundpublic com.liferay.trash.kernel.model.TrashEntry fetchByC_C(long classNameId,
long classPK)
null if it could not be found. Uses the finder cache.fetchByC_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistenceclassNameId - the class name IDclassPK - the class p knull if a matching trash entry could not be foundpublic com.liferay.trash.kernel.model.TrashEntry fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.fetchByC_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistenceclassNameId - the class name IDclassPK - the class p kretrieveFromCache - whether to retrieve from the finder cachenull if a matching trash entry could not be foundpublic com.liferay.trash.kernel.model.TrashEntry removeByC_C(long classNameId,
long classPK)
throws com.liferay.trash.kernel.exception.NoSuchEntryException
removeByC_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistenceclassNameId - the class name IDclassPK - the class p kcom.liferay.trash.kernel.exception.NoSuchEntryExceptionpublic int countByC_C(long classNameId,
long classPK)
countByC_C in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistenceclassNameId - the class name IDclassPK - the class p kpublic void cacheResult(com.liferay.trash.kernel.model.TrashEntry trashEntry)
cacheResult in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencetrashEntry - the trash entrypublic void cacheResult(List<com.liferay.trash.kernel.model.TrashEntry> trashEntries)
cacheResult in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencetrashEntries - the trash entriespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.trash.kernel.model.TrashEntry>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>public void clearCache(com.liferay.trash.kernel.model.TrashEntry trashEntry)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.trash.kernel.model.TrashEntry>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>public void clearCache(List<com.liferay.trash.kernel.model.TrashEntry> trashEntries)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.trash.kernel.model.TrashEntry>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>protected void cacheUniqueFindersCache(TrashEntryModelImpl trashEntryModelImpl, boolean isNew)
protected void clearUniqueFindersCache(TrashEntryModelImpl trashEntryModelImpl)
public com.liferay.trash.kernel.model.TrashEntry create(long entryId)
create in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistenceentryId - the primary key for the new trash entrypublic com.liferay.trash.kernel.model.TrashEntry remove(long entryId)
throws com.liferay.trash.kernel.exception.NoSuchEntryException
remove in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistenceentryId - the primary key of the trash entrycom.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be foundpublic com.liferay.trash.kernel.model.TrashEntry remove(Serializable primaryKey) throws com.liferay.trash.kernel.exception.NoSuchEntryException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.trash.kernel.model.TrashEntry>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>primaryKey - the primary key of the trash entrycom.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be foundprotected com.liferay.trash.kernel.model.TrashEntry removeImpl(com.liferay.trash.kernel.model.TrashEntry trashEntry)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>public com.liferay.trash.kernel.model.TrashEntry updateImpl(com.liferay.trash.kernel.model.TrashEntry trashEntry)
updateImpl in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>protected com.liferay.trash.kernel.model.TrashEntry toUnwrappedModel(com.liferay.trash.kernel.model.TrashEntry trashEntry)
public com.liferay.trash.kernel.model.TrashEntry findByPrimaryKey(Serializable primaryKey) throws com.liferay.trash.kernel.exception.NoSuchEntryException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.trash.kernel.model.TrashEntry>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>primaryKey - the primary key of the trash entrycom.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be foundpublic com.liferay.trash.kernel.model.TrashEntry findByPrimaryKey(long entryId)
throws com.liferay.trash.kernel.exception.NoSuchEntryException
NoSuchEntryException if it could not be found.findByPrimaryKey in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistenceentryId - the primary key of the trash entrycom.liferay.trash.kernel.exception.NoSuchEntryException - if a trash entry with the primary key could not be foundpublic com.liferay.trash.kernel.model.TrashEntry fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.trash.kernel.model.TrashEntry>fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>primaryKey - the primary key of the trash entrynull if a trash entry with the primary key could not be foundpublic com.liferay.trash.kernel.model.TrashEntry fetchByPrimaryKey(long entryId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistenceentryId - the primary key of the trash entrynull if a trash entry with the primary key could not be foundpublic Map<Serializable,com.liferay.trash.kernel.model.TrashEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.trash.kernel.model.TrashEntry>fetchByPrimaryKeys in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencefetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>public List<com.liferay.trash.kernel.model.TrashEntry> findAll()
findAll in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencepublic List<com.liferay.trash.kernel.model.TrashEntry> findAll(int start, int end)
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.
findAll in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencestart - the lower bound of the range of trash entriesend - the upper bound of the range of trash entries (not inclusive)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)
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.
findAll in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencestart - the lower bound of the range of trash entriesend - the upper bound of the range of trash entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)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)
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.
findAll in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencestart - the lower bound of the range of trash entriesend - 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 cachepublic void removeAll()
removeAll in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistencepublic int countAll()
countAll in interface com.liferay.trash.kernel.service.persistence.TrashEntryPersistenceprotected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.trash.kernel.model.TrashEntry>public void afterPropertiesSet()
public void destroy()