@ProviderType public interface EntryPersistence extends BasePersistence<Entry>
Caching information and settings can be found in portal.properties
EntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(Entry entry)
Caches the entry in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<Entry> entries)
Caches the entries in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of entries.
|
int |
countByC_F_T(long createDate,
long fromUserId,
long toUserId)
Returns the number of entries where createDate = ? and fromUserId = ? and toUserId = ?.
|
int |
countByC_F(long createDate,
long fromUserId)
Returns the number of entries where createDate = ? and fromUserId = ?.
|
int |
countByC_T(long createDate,
long toUserId)
Returns the number of entries where createDate = ? and toUserId = ?.
|
int |
countByCreateDate(long createDate)
Returns the number of entries where createDate = ?.
|
int |
countByF_T_C(long fromUserId,
long toUserId,
java.lang.String content)
Returns the number of entries where fromUserId = ? and toUserId = ? and content = ?.
|
int |
countByF_T(long fromUserId,
long toUserId)
Returns the number of entries where fromUserId = ? and toUserId = ?.
|
int |
countByFromUserId(long fromUserId)
Returns the number of entries where fromUserId = ?.
|
int |
countByToUserId(long toUserId)
Returns the number of entries where toUserId = ?.
|
Entry |
create(long entryId)
Creates a new entry with the primary key.
|
Entry |
fetchByC_F_First(long createDate,
long fromUserId,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where createDate = ? and fromUserId = ?.
|
Entry |
fetchByC_F_Last(long createDate,
long fromUserId,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where createDate = ? and fromUserId = ?.
|
Entry |
fetchByC_F_T_First(long createDate,
long fromUserId,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where createDate = ? and fromUserId = ? and toUserId = ?.
|
Entry |
fetchByC_F_T_Last(long createDate,
long fromUserId,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where createDate = ? and fromUserId = ? and toUserId = ?.
|
Entry |
fetchByC_T_First(long createDate,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where createDate = ? and toUserId = ?.
|
Entry |
fetchByC_T_Last(long createDate,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where createDate = ? and toUserId = ?.
|
Entry |
fetchByCreateDate_First(long createDate,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where createDate = ?.
|
Entry |
fetchByCreateDate_Last(long createDate,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where createDate = ?.
|
Entry |
fetchByF_T_C_First(long fromUserId,
long toUserId,
java.lang.String content,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where fromUserId = ? and toUserId = ? and content = ?.
|
Entry |
fetchByF_T_C_Last(long fromUserId,
long toUserId,
java.lang.String content,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where fromUserId = ? and toUserId = ? and content = ?.
|
Entry |
fetchByF_T_First(long fromUserId,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where fromUserId = ? and toUserId = ?.
|
Entry |
fetchByF_T_Last(long fromUserId,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where fromUserId = ? and toUserId = ?.
|
Entry |
fetchByFromUserId_First(long fromUserId,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where fromUserId = ?.
|
Entry |
fetchByFromUserId_Last(long fromUserId,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where fromUserId = ?.
|
Entry |
fetchByPrimaryKey(long entryId)
Returns the entry with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,Entry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
Entry |
fetchByToUserId_First(long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where toUserId = ?.
|
Entry |
fetchByToUserId_Last(long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where toUserId = ?.
|
java.util.List<Entry> |
findAll()
Returns all the entries.
|
java.util.List<Entry> |
findAll(int start,
int end)
Returns a range of all the entries.
|
java.util.List<Entry> |
findAll(int start,
int end,
OrderByComparator<Entry> orderByComparator)
Returns an ordered range of all the entries.
|
java.util.List<Entry> |
findAll(int start,
int end,
OrderByComparator<Entry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the entries.
|
Entry |
findByC_F_First(long createDate,
long fromUserId,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where createDate = ? and fromUserId = ?.
|
Entry |
findByC_F_Last(long createDate,
long fromUserId,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where createDate = ? and fromUserId = ?.
|
Entry[] |
findByC_F_PrevAndNext(long entryId,
long createDate,
long fromUserId,
OrderByComparator<Entry> orderByComparator)
Returns the entries before and after the current entry in the ordered set where createDate = ? and fromUserId = ?.
|
Entry |
findByC_F_T_First(long createDate,
long fromUserId,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where createDate = ? and fromUserId = ? and toUserId = ?.
|
Entry |
findByC_F_T_Last(long createDate,
long fromUserId,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where createDate = ? and fromUserId = ? and toUserId = ?.
|
Entry[] |
findByC_F_T_PrevAndNext(long entryId,
long createDate,
long fromUserId,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the entries before and after the current entry in the ordered set where createDate = ? and fromUserId = ? and toUserId = ?.
|
java.util.List<Entry> |
findByC_F_T(long createDate,
long fromUserId,
long toUserId)
Returns all the entries where createDate = ? and fromUserId = ? and toUserId = ?.
|
java.util.List<Entry> |
findByC_F_T(long createDate,
long fromUserId,
long toUserId,
int start,
int end)
Returns a range of all the entries where createDate = ? and fromUserId = ? and toUserId = ?.
|
java.util.List<Entry> |
findByC_F_T(long createDate,
long fromUserId,
long toUserId,
int start,
int end,
OrderByComparator<Entry> orderByComparator)
Returns an ordered range of all the entries where createDate = ? and fromUserId = ? and toUserId = ?.
|
java.util.List<Entry> |
findByC_F_T(long createDate,
long fromUserId,
long toUserId,
int start,
int end,
OrderByComparator<Entry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the entries where createDate = ? and fromUserId = ? and toUserId = ?.
|
java.util.List<Entry> |
findByC_F(long createDate,
long fromUserId)
Returns all the entries where createDate = ? and fromUserId = ?.
|
java.util.List<Entry> |
findByC_F(long createDate,
long fromUserId,
int start,
int end)
Returns a range of all the entries where createDate = ? and fromUserId = ?.
|
java.util.List<Entry> |
findByC_F(long createDate,
long fromUserId,
int start,
int end,
OrderByComparator<Entry> orderByComparator)
Returns an ordered range of all the entries where createDate = ? and fromUserId = ?.
|
java.util.List<Entry> |
findByC_F(long createDate,
long fromUserId,
int start,
int end,
OrderByComparator<Entry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the entries where createDate = ? and fromUserId = ?.
|
Entry |
findByC_T_First(long createDate,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where createDate = ? and toUserId = ?.
|
Entry |
findByC_T_Last(long createDate,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where createDate = ? and toUserId = ?.
|
Entry[] |
findByC_T_PrevAndNext(long entryId,
long createDate,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the entries before and after the current entry in the ordered set where createDate = ? and toUserId = ?.
|
java.util.List<Entry> |
findByC_T(long createDate,
long toUserId)
Returns all the entries where createDate = ? and toUserId = ?.
|
java.util.List<Entry> |
findByC_T(long createDate,
long toUserId,
int start,
int end)
Returns a range of all the entries where createDate = ? and toUserId = ?.
|
java.util.List<Entry> |
findByC_T(long createDate,
long toUserId,
int start,
int end,
OrderByComparator<Entry> orderByComparator)
Returns an ordered range of all the entries where createDate = ? and toUserId = ?.
|
java.util.List<Entry> |
findByC_T(long createDate,
long toUserId,
int start,
int end,
OrderByComparator<Entry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the entries where createDate = ? and toUserId = ?.
|
Entry |
findByCreateDate_First(long createDate,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where createDate = ?.
|
Entry |
findByCreateDate_Last(long createDate,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where createDate = ?.
|
Entry[] |
findByCreateDate_PrevAndNext(long entryId,
long createDate,
OrderByComparator<Entry> orderByComparator)
Returns the entries before and after the current entry in the ordered set where createDate = ?.
|
java.util.List<Entry> |
findByCreateDate(long createDate)
Returns all the entries where createDate = ?.
|
java.util.List<Entry> |
findByCreateDate(long createDate,
int start,
int end)
Returns a range of all the entries where createDate = ?.
|
java.util.List<Entry> |
findByCreateDate(long createDate,
int start,
int end,
OrderByComparator<Entry> orderByComparator)
Returns an ordered range of all the entries where createDate = ?.
|
java.util.List<Entry> |
findByCreateDate(long createDate,
int start,
int end,
OrderByComparator<Entry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the entries where createDate = ?.
|
Entry |
findByF_T_C_First(long fromUserId,
long toUserId,
java.lang.String content,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where fromUserId = ? and toUserId = ? and content = ?.
|
Entry |
findByF_T_C_Last(long fromUserId,
long toUserId,
java.lang.String content,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where fromUserId = ? and toUserId = ? and content = ?.
|
Entry[] |
findByF_T_C_PrevAndNext(long entryId,
long fromUserId,
long toUserId,
java.lang.String content,
OrderByComparator<Entry> orderByComparator)
Returns the entries before and after the current entry in the ordered set where fromUserId = ? and toUserId = ? and content = ?.
|
java.util.List<Entry> |
findByF_T_C(long fromUserId,
long toUserId,
java.lang.String content)
Returns all the entries where fromUserId = ? and toUserId = ? and content = ?.
|
java.util.List<Entry> |
findByF_T_C(long fromUserId,
long toUserId,
java.lang.String content,
int start,
int end)
Returns a range of all the entries where fromUserId = ? and toUserId = ? and content = ?.
|
java.util.List<Entry> |
findByF_T_C(long fromUserId,
long toUserId,
java.lang.String content,
int start,
int end,
OrderByComparator<Entry> orderByComparator)
Returns an ordered range of all the entries where fromUserId = ? and toUserId = ? and content = ?.
|
java.util.List<Entry> |
findByF_T_C(long fromUserId,
long toUserId,
java.lang.String content,
int start,
int end,
OrderByComparator<Entry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the entries where fromUserId = ? and toUserId = ? and content = ?.
|
Entry |
findByF_T_First(long fromUserId,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where fromUserId = ? and toUserId = ?.
|
Entry |
findByF_T_Last(long fromUserId,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where fromUserId = ? and toUserId = ?.
|
Entry[] |
findByF_T_PrevAndNext(long entryId,
long fromUserId,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the entries before and after the current entry in the ordered set where fromUserId = ? and toUserId = ?.
|
java.util.List<Entry> |
findByF_T(long fromUserId,
long toUserId)
Returns all the entries where fromUserId = ? and toUserId = ?.
|
java.util.List<Entry> |
findByF_T(long fromUserId,
long toUserId,
int start,
int end)
Returns a range of all the entries where fromUserId = ? and toUserId = ?.
|
java.util.List<Entry> |
findByF_T(long fromUserId,
long toUserId,
int start,
int end,
OrderByComparator<Entry> orderByComparator)
Returns an ordered range of all the entries where fromUserId = ? and toUserId = ?.
|
java.util.List<Entry> |
findByF_T(long fromUserId,
long toUserId,
int start,
int end,
OrderByComparator<Entry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the entries where fromUserId = ? and toUserId = ?.
|
Entry |
findByFromUserId_First(long fromUserId,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where fromUserId = ?.
|
Entry |
findByFromUserId_Last(long fromUserId,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where fromUserId = ?.
|
Entry[] |
findByFromUserId_PrevAndNext(long entryId,
long fromUserId,
OrderByComparator<Entry> orderByComparator)
Returns the entries before and after the current entry in the ordered set where fromUserId = ?.
|
java.util.List<Entry> |
findByFromUserId(long fromUserId)
Returns all the entries where fromUserId = ?.
|
java.util.List<Entry> |
findByFromUserId(long fromUserId,
int start,
int end)
Returns a range of all the entries where fromUserId = ?.
|
java.util.List<Entry> |
findByFromUserId(long fromUserId,
int start,
int end,
OrderByComparator<Entry> orderByComparator)
Returns an ordered range of all the entries where fromUserId = ?.
|
java.util.List<Entry> |
findByFromUserId(long fromUserId,
int start,
int end,
OrderByComparator<Entry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the entries where fromUserId = ?.
|
Entry |
findByPrimaryKey(long entryId)
Returns the entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
Entry |
findByToUserId_First(long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the first entry in the ordered set where toUserId = ?.
|
Entry |
findByToUserId_Last(long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the last entry in the ordered set where toUserId = ?.
|
Entry[] |
findByToUserId_PrevAndNext(long entryId,
long toUserId,
OrderByComparator<Entry> orderByComparator)
Returns the entries before and after the current entry in the ordered set where toUserId = ?.
|
java.util.List<Entry> |
findByToUserId(long toUserId)
Returns all the entries where toUserId = ?.
|
java.util.List<Entry> |
findByToUserId(long toUserId,
int start,
int end)
Returns a range of all the entries where toUserId = ?.
|
java.util.List<Entry> |
findByToUserId(long toUserId,
int start,
int end,
OrderByComparator<Entry> orderByComparator)
Returns an ordered range of all the entries where toUserId = ?.
|
java.util.List<Entry> |
findByToUserId(long toUserId,
int start,
int end,
OrderByComparator<Entry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the entries where toUserId = ?.
|
Entry |
remove(long entryId)
Removes the entry with the primary key from the database.
|
void |
removeAll()
Removes all the entries from the database.
|
void |
removeByC_F_T(long createDate,
long fromUserId,
long toUserId)
Removes all the entries where createDate = ? and fromUserId = ? and toUserId = ? from the database.
|
void |
removeByC_F(long createDate,
long fromUserId)
Removes all the entries where createDate = ? and fromUserId = ? from the database.
|
void |
removeByC_T(long createDate,
long toUserId)
Removes all the entries where createDate = ? and toUserId = ? from the database.
|
void |
removeByCreateDate(long createDate)
Removes all the entries where createDate = ? from the database.
|
void |
removeByF_T_C(long fromUserId,
long toUserId,
java.lang.String content)
Removes all the entries where fromUserId = ? and toUserId = ? and content = ? from the database.
|
void |
removeByF_T(long fromUserId,
long toUserId)
Removes all the entries where fromUserId = ? and toUserId = ? from the database.
|
void |
removeByFromUserId(long fromUserId)
Removes all the entries where fromUserId = ? from the database.
|
void |
removeByToUserId(long toUserId)
Removes all the entries where toUserId = ? from the database.
|
Entry |
updateImpl(Entry entry) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.Map<java.io.Serializable,Entry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface BasePersistence<Entry>
java.util.List<Entry> findByCreateDate(long createDate)
createDate
- the create datejava.util.List<Entry> findByCreateDate(long 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
createDate
- the create datestart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)java.util.List<Entry> findByCreateDate(long createDate, int start, int end, OrderByComparator<Entry> 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
createDate
- the create datestart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Entry> findByCreateDate(long createDate, int start, int end, OrderByComparator<Entry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from EntryModelImpl
.
createDate
- the create datestart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheEntry findByCreateDate_First(long createDate, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByCreateDate_First(long createDate, OrderByComparator<Entry> orderByComparator)
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry findByCreateDate_Last(long createDate, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByCreateDate_Last(long createDate, OrderByComparator<Entry> orderByComparator)
createDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry[] findByCreateDate_PrevAndNext(long entryId, long createDate, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current entrycreateDate
- the create dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a entry with the primary key could not be foundvoid removeByCreateDate(long createDate)
createDate
- the create dateint countByCreateDate(long createDate)
createDate
- the create datejava.util.List<Entry> findByFromUserId(long fromUserId)
fromUserId
- the from user IDjava.util.List<Entry> findByFromUserId(long fromUserId, 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
fromUserId
- the from user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)java.util.List<Entry> findByFromUserId(long fromUserId, int start, int end, OrderByComparator<Entry> 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
fromUserId
- the from user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Entry> findByFromUserId(long fromUserId, int start, int end, OrderByComparator<Entry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from EntryModelImpl
.
fromUserId
- the from user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheEntry findByFromUserId_First(long fromUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
fromUserId
- the from user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByFromUserId_First(long fromUserId, OrderByComparator<Entry> orderByComparator)
fromUserId
- the from user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry findByFromUserId_Last(long fromUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
fromUserId
- the from user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByFromUserId_Last(long fromUserId, OrderByComparator<Entry> orderByComparator)
fromUserId
- the from user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry[] findByFromUserId_PrevAndNext(long entryId, long fromUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current entryfromUserId
- the from user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a entry with the primary key could not be foundvoid removeByFromUserId(long fromUserId)
fromUserId
- the from user IDint countByFromUserId(long fromUserId)
fromUserId
- the from user IDjava.util.List<Entry> findByToUserId(long toUserId)
toUserId
- the to user IDjava.util.List<Entry> findByToUserId(long toUserId, 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
toUserId
- the to user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)java.util.List<Entry> findByToUserId(long toUserId, int start, int end, OrderByComparator<Entry> 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
toUserId
- the to user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Entry> findByToUserId(long toUserId, int start, int end, OrderByComparator<Entry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from EntryModelImpl
.
toUserId
- the to user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheEntry findByToUserId_First(long toUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
toUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByToUserId_First(long toUserId, OrderByComparator<Entry> orderByComparator)
toUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry findByToUserId_Last(long toUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
toUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByToUserId_Last(long toUserId, OrderByComparator<Entry> orderByComparator)
toUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry[] findByToUserId_PrevAndNext(long entryId, long toUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current entrytoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a entry with the primary key could not be foundvoid removeByToUserId(long toUserId)
toUserId
- the to user IDint countByToUserId(long toUserId)
toUserId
- the to user IDjava.util.List<Entry> findByC_F(long createDate, long fromUserId)
createDate
- the create datefromUserId
- the from user IDjava.util.List<Entry> findByC_F(long createDate, long fromUserId, 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
createDate
- the create datefromUserId
- the from user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)java.util.List<Entry> findByC_F(long createDate, long fromUserId, int start, int end, OrderByComparator<Entry> 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
createDate
- the create datefromUserId
- the from user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Entry> findByC_F(long createDate, long fromUserId, int start, int end, OrderByComparator<Entry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from EntryModelImpl
.
createDate
- the create datefromUserId
- the from user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheEntry findByC_F_First(long createDate, long fromUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
createDate
- the create datefromUserId
- the from user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByC_F_First(long createDate, long fromUserId, OrderByComparator<Entry> orderByComparator)
createDate
- the create datefromUserId
- the from user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry findByC_F_Last(long createDate, long fromUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
createDate
- the create datefromUserId
- the from user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByC_F_Last(long createDate, long fromUserId, OrderByComparator<Entry> orderByComparator)
createDate
- the create datefromUserId
- the from user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry[] findByC_F_PrevAndNext(long entryId, long createDate, long fromUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current entrycreateDate
- the create datefromUserId
- the from user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a entry with the primary key could not be foundvoid removeByC_F(long createDate, long fromUserId)
createDate
- the create datefromUserId
- the from user IDint countByC_F(long createDate, long fromUserId)
createDate
- the create datefromUserId
- the from user IDjava.util.List<Entry> findByC_T(long createDate, long toUserId)
createDate
- the create datetoUserId
- the to user IDjava.util.List<Entry> findByC_T(long createDate, long toUserId, 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
createDate
- the create datetoUserId
- the to user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)java.util.List<Entry> findByC_T(long createDate, long toUserId, int start, int end, OrderByComparator<Entry> 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
createDate
- the create datetoUserId
- the to user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Entry> findByC_T(long createDate, long toUserId, int start, int end, OrderByComparator<Entry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from EntryModelImpl
.
createDate
- the create datetoUserId
- the to user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheEntry findByC_T_First(long createDate, long toUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
createDate
- the create datetoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByC_T_First(long createDate, long toUserId, OrderByComparator<Entry> orderByComparator)
createDate
- the create datetoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry findByC_T_Last(long createDate, long toUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
createDate
- the create datetoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByC_T_Last(long createDate, long toUserId, OrderByComparator<Entry> orderByComparator)
createDate
- the create datetoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry[] findByC_T_PrevAndNext(long entryId, long createDate, long toUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current entrycreateDate
- the create datetoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a entry with the primary key could not be foundvoid removeByC_T(long createDate, long toUserId)
createDate
- the create datetoUserId
- the to user IDint countByC_T(long createDate, long toUserId)
createDate
- the create datetoUserId
- the to user IDjava.util.List<Entry> findByF_T(long fromUserId, long toUserId)
fromUserId
- the from user IDtoUserId
- the to user IDjava.util.List<Entry> findByF_T(long fromUserId, long toUserId, 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
fromUserId
- the from user IDtoUserId
- the to user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)java.util.List<Entry> findByF_T(long fromUserId, long toUserId, int start, int end, OrderByComparator<Entry> 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
fromUserId
- the from user IDtoUserId
- the to user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Entry> findByF_T(long fromUserId, long toUserId, int start, int end, OrderByComparator<Entry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from EntryModelImpl
.
fromUserId
- the from user IDtoUserId
- the to user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheEntry findByF_T_First(long fromUserId, long toUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
fromUserId
- the from user IDtoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByF_T_First(long fromUserId, long toUserId, OrderByComparator<Entry> orderByComparator)
fromUserId
- the from user IDtoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry findByF_T_Last(long fromUserId, long toUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
fromUserId
- the from user IDtoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByF_T_Last(long fromUserId, long toUserId, OrderByComparator<Entry> orderByComparator)
fromUserId
- the from user IDtoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry[] findByF_T_PrevAndNext(long entryId, long fromUserId, long toUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current entryfromUserId
- the from user IDtoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a entry with the primary key could not be foundvoid removeByF_T(long fromUserId, long toUserId)
fromUserId
- the from user IDtoUserId
- the to user IDint countByF_T(long fromUserId, long toUserId)
fromUserId
- the from user IDtoUserId
- the to user IDjava.util.List<Entry> findByC_F_T(long createDate, long fromUserId, long toUserId)
createDate
- the create datefromUserId
- the from user IDtoUserId
- the to user IDjava.util.List<Entry> findByC_F_T(long createDate, long fromUserId, long toUserId, 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
createDate
- the create datefromUserId
- the from user IDtoUserId
- the to user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)java.util.List<Entry> findByC_F_T(long createDate, long fromUserId, long toUserId, int start, int end, OrderByComparator<Entry> 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
createDate
- the create datefromUserId
- the from user IDtoUserId
- the to user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Entry> findByC_F_T(long createDate, long fromUserId, long toUserId, int start, int end, OrderByComparator<Entry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from EntryModelImpl
.
createDate
- the create datefromUserId
- the from user IDtoUserId
- the to user IDstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheEntry findByC_F_T_First(long createDate, long fromUserId, long toUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
createDate
- the create datefromUserId
- the from user IDtoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByC_F_T_First(long createDate, long fromUserId, long toUserId, OrderByComparator<Entry> orderByComparator)
createDate
- the create datefromUserId
- the from user IDtoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry findByC_F_T_Last(long createDate, long fromUserId, long toUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
createDate
- the create datefromUserId
- the from user IDtoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByC_F_T_Last(long createDate, long fromUserId, long toUserId, OrderByComparator<Entry> orderByComparator)
createDate
- the create datefromUserId
- the from user IDtoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry[] findByC_F_T_PrevAndNext(long entryId, long createDate, long fromUserId, long toUserId, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current entrycreateDate
- the create datefromUserId
- the from user IDtoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a entry with the primary key could not be foundvoid removeByC_F_T(long createDate, long fromUserId, long toUserId)
createDate
- the create datefromUserId
- the from user IDtoUserId
- the to user IDint countByC_F_T(long createDate, long fromUserId, long toUserId)
createDate
- the create datefromUserId
- the from user IDtoUserId
- the to user IDjava.util.List<Entry> findByF_T_C(long fromUserId, long toUserId, java.lang.String content)
fromUserId
- the from user IDtoUserId
- the to user IDcontent
- the contentjava.util.List<Entry> findByF_T_C(long fromUserId, long toUserId, java.lang.String content, 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
fromUserId
- the from user IDtoUserId
- the to user IDcontent
- the contentstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)java.util.List<Entry> findByF_T_C(long fromUserId, long toUserId, java.lang.String content, int start, int end, OrderByComparator<Entry> 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
fromUserId
- the from user IDtoUserId
- the to user IDcontent
- the contentstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Entry> findByF_T_C(long fromUserId, long toUserId, java.lang.String content, int start, int end, OrderByComparator<Entry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from EntryModelImpl
.
fromUserId
- the from user IDtoUserId
- the to user IDcontent
- the contentstart
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheEntry findByF_T_C_First(long fromUserId, long toUserId, java.lang.String content, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
fromUserId
- the from user IDtoUserId
- the to user IDcontent
- the contentorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByF_T_C_First(long fromUserId, long toUserId, java.lang.String content, OrderByComparator<Entry> orderByComparator)
fromUserId
- the from user IDtoUserId
- the to user IDcontent
- the contentorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry findByF_T_C_Last(long fromUserId, long toUserId, java.lang.String content, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
fromUserId
- the from user IDtoUserId
- the to user IDcontent
- the contentorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching entry could not be foundEntry fetchByF_T_C_Last(long fromUserId, long toUserId, java.lang.String content, OrderByComparator<Entry> orderByComparator)
fromUserId
- the from user IDtoUserId
- the to user IDcontent
- the contentorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching entry could not be foundEntry[] findByF_T_C_PrevAndNext(long entryId, long fromUserId, long toUserId, java.lang.String content, OrderByComparator<Entry> orderByComparator) throws NoSuchEntryException
entryId
- the primary key of the current entryfromUserId
- the from user IDtoUserId
- the to user IDcontent
- the contentorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a entry with the primary key could not be foundvoid removeByF_T_C(long fromUserId, long toUserId, java.lang.String content)
fromUserId
- the from user IDtoUserId
- the to user IDcontent
- the contentint countByF_T_C(long fromUserId, long toUserId, java.lang.String content)
fromUserId
- the from user IDtoUserId
- the to user IDcontent
- the contentvoid cacheResult(Entry entry)
entry
- the entryvoid cacheResult(java.util.List<Entry> entries)
entries
- the entriesEntry create(long entryId)
entryId
- the primary key for the new entryEntry remove(long entryId) throws NoSuchEntryException
entryId
- the primary key of the entryNoSuchEntryException
- if a entry with the primary key could not be foundEntry findByPrimaryKey(long entryId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.entryId
- the primary key of the entryNoSuchEntryException
- if a entry with the primary key could not be foundEntry fetchByPrimaryKey(long entryId)
null
if it could not be found.entryId
- the primary key of the entrynull
if a entry with the primary key could not be foundjava.util.List<Entry> findAll()
java.util.List<Entry> 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
start
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)java.util.List<Entry> findAll(int start, int end, OrderByComparator<Entry> 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, then the query will include the default ORDER BY logic from EntryModelImpl
.
start
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<Entry> findAll(int start, int end, OrderByComparator<Entry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from EntryModelImpl
.
start
- the lower bound of the range of entriesend
- the upper bound of the range of entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()