com.liferay.trash.model.impl.TrashEntryImpl
@Deprecated @ProviderType public interface TrashEntryPersistence extends BasePersistence<TrashEntry>
Caching information and settings can be found in portal.properties
com.liferay.portlet.trash.service.persistence.impl.TrashEntryPersistenceImpl
,
TrashEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(List<TrashEntry> trashEntries)
Deprecated.
Caches the trash entries in the entity cache if it is enabled.
|
void |
cacheResult(TrashEntry trashEntry)
Deprecated.
Caches the trash entry in the entity cache if it is enabled.
|
int |
countAll()
Deprecated.
Returns the number of trash entries.
|
int |
countByC_C(long classNameId,
long classPK)
Deprecated.
Returns the number of trash entries where classNameId = ? and classPK = ?.
|
int |
countByCompanyId(long companyId)
Deprecated.
Returns the number of trash entries where companyId = ?.
|
int |
countByG_C(long groupId,
long classNameId)
Deprecated.
Returns the number of trash entries where groupId = ? and classNameId = ?.
|
int |
countByG_LtCD(long groupId,
Date createDate)
Deprecated.
Returns the number of trash entries where groupId = ? and createDate < ?.
|
int |
countByGroupId(long groupId)
Deprecated.
Returns the number of trash entries where groupId = ?.
|
TrashEntry |
create(long entryId)
Deprecated.
Creates a new trash entry with the primary key.
|
TrashEntry |
fetchByC_C(long classNameId,
long classPK)
Deprecated.
Returns the trash entry where classNameId = ? and classPK = ? or returns
null if it could not be found. |
TrashEntry |
fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
Deprecated.
Returns the trash entry where classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
TrashEntry |
fetchByCompanyId_First(long companyId,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the first trash entry in the ordered set where companyId = ?.
|
TrashEntry |
fetchByCompanyId_Last(long companyId,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the last trash entry in the ordered set where companyId = ?.
|
TrashEntry |
fetchByG_C_First(long groupId,
long classNameId,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the first trash entry in the ordered set where groupId = ? and classNameId = ?.
|
TrashEntry |
fetchByG_C_Last(long groupId,
long classNameId,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the last trash entry in the ordered set where groupId = ? and classNameId = ?.
|
TrashEntry |
fetchByG_LtCD_First(long groupId,
Date createDate,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the first trash entry in the ordered set where groupId = ? and createDate < ?.
|
TrashEntry |
fetchByG_LtCD_Last(long groupId,
Date createDate,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the last trash entry in the ordered set where groupId = ? and createDate < ?.
|
TrashEntry |
fetchByGroupId_First(long groupId,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the first trash entry in the ordered set where groupId = ?.
|
TrashEntry |
fetchByGroupId_Last(long groupId,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the last trash entry in the ordered set where groupId = ?.
|
TrashEntry |
fetchByPrimaryKey(long entryId)
Deprecated.
Returns the trash entry with the primary key or returns
null if it could not be found. |
Map<Serializable,TrashEntry> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Deprecated.
|
List<TrashEntry> |
findAll()
Deprecated.
Returns all the trash entries.
|
List<TrashEntry> |
findAll(int start,
int end)
Deprecated.
Returns a range of all the trash entries.
|
List<TrashEntry> |
findAll(int start,
int end,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns an ordered range of all the trash entries.
|
List<TrashEntry> |
findAll(int start,
int end,
OrderByComparator<TrashEntry> orderByComparator,
boolean retrieveFromCache)
Deprecated.
Returns an ordered range of all the trash entries.
|
TrashEntry |
findByC_C(long classNameId,
long classPK)
Deprecated.
Returns the trash entry where classNameId = ? and classPK = ? or throws a
NoSuchEntryException if it could not be found. |
TrashEntry |
findByCompanyId_First(long companyId,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the first trash entry in the ordered set where companyId = ?.
|
TrashEntry |
findByCompanyId_Last(long companyId,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the last trash entry in the ordered set where companyId = ?.
|
TrashEntry[] |
findByCompanyId_PrevAndNext(long entryId,
long companyId,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the trash entries before and after the current trash entry in the ordered set where companyId = ?.
|
List<TrashEntry> |
findByCompanyId(long companyId)
Deprecated.
Returns all the trash entries where companyId = ?.
|
List<TrashEntry> |
findByCompanyId(long companyId,
int start,
int end)
Deprecated.
Returns a range of all the trash entries where companyId = ?.
|
List<TrashEntry> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns an ordered range of all the trash entries where companyId = ?.
|
List<TrashEntry> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<TrashEntry> orderByComparator,
boolean retrieveFromCache)
Deprecated.
Returns an ordered range of all the trash entries where companyId = ?.
|
TrashEntry |
findByG_C_First(long groupId,
long classNameId,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the first trash entry in the ordered set where groupId = ? and classNameId = ?.
|
TrashEntry |
findByG_C_Last(long groupId,
long classNameId,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the last trash entry in the ordered set where groupId = ? and classNameId = ?.
|
TrashEntry[] |
findByG_C_PrevAndNext(long entryId,
long groupId,
long classNameId,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the trash entries before and after the current trash entry in the ordered set where groupId = ? and classNameId = ?.
|
List<TrashEntry> |
findByG_C(long groupId,
long classNameId)
Deprecated.
Returns all the trash entries where groupId = ? and classNameId = ?.
|
List<TrashEntry> |
findByG_C(long groupId,
long classNameId,
int start,
int end)
Deprecated.
Returns a range of all the trash entries where groupId = ? and classNameId = ?.
|
List<TrashEntry> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns an ordered range of all the trash entries where groupId = ? and classNameId = ?.
|
List<TrashEntry> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
OrderByComparator<TrashEntry> orderByComparator,
boolean retrieveFromCache)
Deprecated.
Returns an ordered range of all the trash entries where groupId = ? and classNameId = ?.
|
TrashEntry |
findByG_LtCD_First(long groupId,
Date createDate,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the first trash entry in the ordered set where groupId = ? and createDate < ?.
|
TrashEntry |
findByG_LtCD_Last(long groupId,
Date createDate,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the last trash entry in the ordered set where groupId = ? and createDate < ?.
|
TrashEntry[] |
findByG_LtCD_PrevAndNext(long entryId,
long groupId,
Date createDate,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the trash entries before and after the current trash entry in the ordered set where groupId = ? and createDate < ?.
|
List<TrashEntry> |
findByG_LtCD(long groupId,
Date createDate)
Deprecated.
Returns all the trash entries where groupId = ? and createDate < ?.
|
List<TrashEntry> |
findByG_LtCD(long groupId,
Date createDate,
int start,
int end)
Deprecated.
Returns a range of all the trash entries where groupId = ? and createDate < ?.
|
List<TrashEntry> |
findByG_LtCD(long groupId,
Date createDate,
int start,
int end,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns an ordered range of all the trash entries where groupId = ? and createDate < ?.
|
List<TrashEntry> |
findByG_LtCD(long groupId,
Date createDate,
int start,
int end,
OrderByComparator<TrashEntry> orderByComparator,
boolean retrieveFromCache)
Deprecated.
Returns an ordered range of all the trash entries where groupId = ? and createDate < ?.
|
TrashEntry |
findByGroupId_First(long groupId,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the first trash entry in the ordered set where groupId = ?.
|
TrashEntry |
findByGroupId_Last(long groupId,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the last trash entry in the ordered set where groupId = ?.
|
TrashEntry[] |
findByGroupId_PrevAndNext(long entryId,
long groupId,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns the trash entries before and after the current trash entry in the ordered set where groupId = ?.
|
List<TrashEntry> |
findByGroupId(long groupId)
Deprecated.
Returns all the trash entries where groupId = ?.
|
List<TrashEntry> |
findByGroupId(long groupId,
int start,
int end)
Deprecated.
Returns a range of all the trash entries where groupId = ?.
|
List<TrashEntry> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<TrashEntry> orderByComparator)
Deprecated.
Returns an ordered range of all the trash entries where groupId = ?.
|
List<TrashEntry> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<TrashEntry> orderByComparator,
boolean retrieveFromCache)
Deprecated.
Returns an ordered range of all the trash entries where groupId = ?.
|
TrashEntry |
findByPrimaryKey(long entryId)
Deprecated.
Returns the trash entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
TrashEntry |
remove(long entryId)
Deprecated.
Removes the trash entry with the primary key from the database.
|
void |
removeAll()
Deprecated.
Removes all the trash entries from the database.
|
TrashEntry |
removeByC_C(long classNameId,
long classPK)
Deprecated.
Removes the trash entry where classNameId = ? and classPK = ? from the database.
|
void |
removeByCompanyId(long companyId)
Deprecated.
Removes all the trash entries where companyId = ? from the database.
|
void |
removeByG_C(long groupId,
long classNameId)
Deprecated.
Removes all the trash entries where groupId = ? and classNameId = ? from the database.
|
void |
removeByG_LtCD(long groupId,
Date createDate)
Deprecated.
Removes all the trash entries where groupId = ? and createDate < ? from the database.
|
void |
removeByGroupId(long groupId)
Deprecated.
Removes all the trash entries where groupId = ? from the database.
|
TrashEntry |
updateImpl(TrashEntry trashEntry)
Deprecated.
|
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<TrashEntry> findByGroupId(long groupId)
groupId
- the group IDList<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.
groupId
- the group IDstart
- the lower bound of the range of trash entriesend
- the upper bound of the range of trash entries (not inclusive)List<TrashEntry> findByGroupId(long groupId, int start, int end, OrderByComparator<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.
groupId
- 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
)List<TrashEntry> findByGroupId(long groupId, int start, int end, OrderByComparator<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.
groupId
- 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 cacheTrashEntry findByGroupId_First(long groupId, OrderByComparator<TrashEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching trash entry could not be foundTrashEntry fetchByGroupId_First(long groupId, OrderByComparator<TrashEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching trash entry could not be foundTrashEntry findByGroupId_Last(long groupId, OrderByComparator<TrashEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching trash entry could not be foundTrashEntry fetchByGroupId_Last(long groupId, OrderByComparator<TrashEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching trash entry could not be foundTrashEntry[] findByGroupId_PrevAndNext(long entryId, long groupId, OrderByComparator<TrashEntry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current trash entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a trash entry with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDList<TrashEntry> findByCompanyId(long companyId)
companyId
- the company IDList<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.
companyId
- the company IDstart
- the lower bound of the range of trash entriesend
- the upper bound of the range of trash entries (not inclusive)List<TrashEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator<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.
companyId
- 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
)List<TrashEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator<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.
companyId
- 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 cacheTrashEntry findByCompanyId_First(long companyId, OrderByComparator<TrashEntry> orderByComparator) throws NoSuchEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching trash entry could not be foundTrashEntry fetchByCompanyId_First(long companyId, OrderByComparator<TrashEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching trash entry could not be foundTrashEntry findByCompanyId_Last(long companyId, OrderByComparator<TrashEntry> orderByComparator) throws NoSuchEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching trash entry could not be foundTrashEntry fetchByCompanyId_Last(long companyId, OrderByComparator<TrashEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching trash entry could not be foundTrashEntry[] findByCompanyId_PrevAndNext(long entryId, long companyId, OrderByComparator<TrashEntry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current trash entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a trash entry with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDList<TrashEntry> findByG_LtCD(long groupId, Date createDate)
groupId
- the group IDcreateDate
- the create dateList<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.
groupId
- 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)List<TrashEntry> findByG_LtCD(long groupId, Date createDate, int start, int end, OrderByComparator<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.
groupId
- 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
)List<TrashEntry> findByG_LtCD(long groupId, Date createDate, int start, int end, OrderByComparator<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.
groupId
- 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 cacheTrashEntry findByG_LtCD_First(long groupId, Date createDate, OrderByComparator<TrashEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching trash entry could not be foundTrashEntry fetchByG_LtCD_First(long groupId, Date createDate, OrderByComparator<TrashEntry> orderByComparator)
groupId
- the group IDcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching trash entry could not be foundTrashEntry findByG_LtCD_Last(long groupId, Date createDate, OrderByComparator<TrashEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching trash entry could not be foundTrashEntry fetchByG_LtCD_Last(long groupId, Date createDate, OrderByComparator<TrashEntry> orderByComparator)
groupId
- the group IDcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching trash entry could not be foundTrashEntry[] findByG_LtCD_PrevAndNext(long entryId, long groupId, Date createDate, OrderByComparator<TrashEntry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current trash entrygroupId
- the group IDcreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a trash entry with the primary key could not be foundvoid removeByG_LtCD(long groupId, Date createDate)
groupId
- the group IDcreateDate
- the create dateint countByG_LtCD(long groupId, Date createDate)
groupId
- the group IDcreateDate
- the create dateList<TrashEntry> findByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDList<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.
groupId
- 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)List<TrashEntry> findByG_C(long groupId, long classNameId, int start, int end, OrderByComparator<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.
groupId
- 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
)List<TrashEntry> findByG_C(long groupId, long classNameId, int start, int end, OrderByComparator<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.
groupId
- 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 cacheTrashEntry findByG_C_First(long groupId, long classNameId, OrderByComparator<TrashEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching trash entry could not be foundTrashEntry fetchByG_C_First(long groupId, long classNameId, OrderByComparator<TrashEntry> orderByComparator)
groupId
- 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 foundTrashEntry findByG_C_Last(long groupId, long classNameId, OrderByComparator<TrashEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching trash entry could not be foundTrashEntry fetchByG_C_Last(long groupId, long classNameId, OrderByComparator<TrashEntry> orderByComparator)
groupId
- 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 foundTrashEntry[] findByG_C_PrevAndNext(long entryId, long groupId, long classNameId, OrderByComparator<TrashEntry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current trash entrygroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a trash entry with the primary key could not be foundvoid removeByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDint countByG_C(long groupId, long classNameId)
groupId
- the group IDclassNameId
- the class name IDTrashEntry findByC_C(long classNameId, long classPK) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.classNameId
- the class name IDclassPK
- the class pkNoSuchEntryException
- if a matching trash entry could not be foundTrashEntry fetchByC_C(long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.classNameId
- the class name IDclassPK
- the class pknull
if a matching trash entry could not be foundTrashEntry fetchByC_C(long classNameId, long classPK, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.classNameId
- the class name IDclassPK
- the class pkretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching trash entry could not be foundTrashEntry removeByC_C(long classNameId, long classPK) throws NoSuchEntryException
classNameId
- the class name IDclassPK
- the class pkNoSuchEntryException
int countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkvoid cacheResult(TrashEntry trashEntry)
trashEntry
- the trash entryvoid cacheResult(List<TrashEntry> trashEntries)
trashEntries
- the trash entriesTrashEntry create(long entryId)
entryId
- the primary key for the new trash entryTrashEntry remove(long entryId) throws NoSuchEntryException
entryId
- the primary key of the trash entryNoSuchEntryException
- if a trash entry with the primary key could not be foundTrashEntry updateImpl(TrashEntry trashEntry)
TrashEntry findByPrimaryKey(long entryId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.entryId
- the primary key of the trash entryNoSuchEntryException
- if a trash entry with the primary key could not be foundTrashEntry fetchByPrimaryKey(long entryId)
null
if it could not be found.entryId
- the primary key of the trash entrynull
if a trash entry with the primary key could not be foundMap<Serializable,TrashEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface BasePersistence<TrashEntry>
List<TrashEntry> findAll()
List<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.
start
- the lower bound of the range of trash entriesend
- the upper bound of the range of trash entries (not inclusive)List<TrashEntry> findAll(int start, int end, OrderByComparator<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.
start
- 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
)List<TrashEntry> findAll(int start, int end, OrderByComparator<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.
start
- 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 cachevoid removeAll()
int countAll()