@ProviderType public interface MeetupsEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<MeetupsEntry>
Caching information and settings can be found in portal.properties
com.liferay.social.networking.service.persistence.impl.MeetupsEntryPersistenceImpl,
MeetupsEntryUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(java.util.List<MeetupsEntry> meetupsEntries)
Caches the meetups entries in the entity cache if it is enabled.
|
void |
cacheResult(MeetupsEntry meetupsEntry)
Caches the meetups entry in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of meetups entries.
|
int |
countByCompanyId(long companyId)
Returns the number of meetups entries where companyId = ?.
|
int |
countByUserId(long userId)
Returns the number of meetups entries where userId = ?.
|
MeetupsEntry |
create(long meetupsEntryId)
Creates a new meetups entry with the primary key.
|
MeetupsEntry |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
Returns the first meetups entry in the ordered set where companyId = ?.
|
MeetupsEntry |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
Returns the last meetups entry in the ordered set where companyId = ?.
|
MeetupsEntry |
fetchByPrimaryKey(long meetupsEntryId)
Returns the meetups entry with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,MeetupsEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
MeetupsEntry |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
Returns the first meetups entry in the ordered set where userId = ?.
|
MeetupsEntry |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
Returns the last meetups entry in the ordered set where userId = ?.
|
java.util.List<MeetupsEntry> |
findAll()
Returns all the meetups entries.
|
java.util.List<MeetupsEntry> |
findAll(int start,
int end)
Returns a range of all the meetups entries.
|
java.util.List<MeetupsEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
Returns an ordered range of all the meetups entries.
|
java.util.List<MeetupsEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the meetups entries.
|
MeetupsEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
Returns the first meetups entry in the ordered set where companyId = ?.
|
MeetupsEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
Returns the last meetups entry in the ordered set where companyId = ?.
|
MeetupsEntry[] |
findByCompanyId_PrevAndNext(long meetupsEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
Returns the meetups entries before and after the current meetups entry in the ordered set where companyId = ?.
|
java.util.List<MeetupsEntry> |
findByCompanyId(long companyId)
Returns all the meetups entries where companyId = ?.
|
java.util.List<MeetupsEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the meetups entries where companyId = ?.
|
java.util.List<MeetupsEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
Returns an ordered range of all the meetups entries where companyId = ?.
|
java.util.List<MeetupsEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the meetups entries where companyId = ?.
|
MeetupsEntry |
findByPrimaryKey(long meetupsEntryId)
Returns the meetups entry with the primary key or throws a
NoSuchMeetupsEntryException if it could not be found. |
MeetupsEntry |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
Returns the first meetups entry in the ordered set where userId = ?.
|
MeetupsEntry |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
Returns the last meetups entry in the ordered set where userId = ?.
|
MeetupsEntry[] |
findByUserId_PrevAndNext(long meetupsEntryId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
Returns the meetups entries before and after the current meetups entry in the ordered set where userId = ?.
|
java.util.List<MeetupsEntry> |
findByUserId(long userId)
Returns all the meetups entries where userId = ?.
|
java.util.List<MeetupsEntry> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the meetups entries where userId = ?.
|
java.util.List<MeetupsEntry> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
Returns an ordered range of all the meetups entries where userId = ?.
|
java.util.List<MeetupsEntry> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the meetups entries where userId = ?.
|
MeetupsEntry |
remove(long meetupsEntryId)
Removes the meetups entry with the primary key from the database.
|
void |
removeAll()
Removes all the meetups entries from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the meetups entries where companyId = ? from the database.
|
void |
removeByUserId(long userId)
Removes all the meetups entries where userId = ? from the database.
|
MeetupsEntry |
updateImpl(MeetupsEntry meetupsEntry) |
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, updatejava.util.List<MeetupsEntry> findByCompanyId(long companyId)
companyId - the company IDjava.util.List<MeetupsEntry> 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 MeetupsEntryModelImpl. 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 meetups entriesend - the upper bound of the range of meetups entries (not inclusive)java.util.List<MeetupsEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> 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 MeetupsEntryModelImpl. 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 meetups entriesend - the upper bound of the range of meetups entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<MeetupsEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> 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 MeetupsEntryModelImpl. 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 meetups entriesend - the upper bound of the range of meetups entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheMeetupsEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator) throws NoSuchMeetupsEntryException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchMeetupsEntryException - if a matching meetups entry could not be foundMeetupsEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching meetups entry could not be foundMeetupsEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator) throws NoSuchMeetupsEntryException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchMeetupsEntryException - if a matching meetups entry could not be foundMeetupsEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching meetups entry could not be foundMeetupsEntry[] findByCompanyId_PrevAndNext(long meetupsEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator) throws NoSuchMeetupsEntryException
meetupsEntryId - the primary key of the current meetups entrycompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchMeetupsEntryException - if a meetups entry with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId - the company IDint countByCompanyId(long companyId)
companyId - the company IDjava.util.List<MeetupsEntry> findByUserId(long userId)
userId - the user IDjava.util.List<MeetupsEntry> findByUserId(long userId, 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 MeetupsEntryModelImpl. 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.
userId - the user IDstart - the lower bound of the range of meetups entriesend - the upper bound of the range of meetups entries (not inclusive)java.util.List<MeetupsEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> 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 MeetupsEntryModelImpl. 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.
userId - the user IDstart - the lower bound of the range of meetups entriesend - the upper bound of the range of meetups entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<MeetupsEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> 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 MeetupsEntryModelImpl. 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.
userId - the user IDstart - the lower bound of the range of meetups entriesend - the upper bound of the range of meetups entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheMeetupsEntry findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator) throws NoSuchMeetupsEntryException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchMeetupsEntryException - if a matching meetups entry could not be foundMeetupsEntry fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching meetups entry could not be foundMeetupsEntry findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator) throws NoSuchMeetupsEntryException
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchMeetupsEntryException - if a matching meetups entry could not be foundMeetupsEntry fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator)
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching meetups entry could not be foundMeetupsEntry[] findByUserId_PrevAndNext(long meetupsEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> orderByComparator) throws NoSuchMeetupsEntryException
meetupsEntryId - the primary key of the current meetups entryuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchMeetupsEntryException - if a meetups entry with the primary key could not be foundvoid removeByUserId(long userId)
userId - the user IDint countByUserId(long userId)
userId - the user IDvoid cacheResult(MeetupsEntry meetupsEntry)
meetupsEntry - the meetups entryvoid cacheResult(java.util.List<MeetupsEntry> meetupsEntries)
meetupsEntries - the meetups entriesMeetupsEntry create(long meetupsEntryId)
meetupsEntryId - the primary key for the new meetups entryMeetupsEntry remove(long meetupsEntryId) throws NoSuchMeetupsEntryException
meetupsEntryId - the primary key of the meetups entryNoSuchMeetupsEntryException - if a meetups entry with the primary key could not be foundMeetupsEntry updateImpl(MeetupsEntry meetupsEntry)
MeetupsEntry findByPrimaryKey(long meetupsEntryId) throws NoSuchMeetupsEntryException
NoSuchMeetupsEntryException if it could not be found.meetupsEntryId - the primary key of the meetups entryNoSuchMeetupsEntryException - if a meetups entry with the primary key could not be foundMeetupsEntry fetchByPrimaryKey(long meetupsEntryId)
null if it could not be found.meetupsEntryId - the primary key of the meetups entrynull if a meetups entry with the primary key could not be foundjava.util.Map<java.io.Serializable,MeetupsEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<MeetupsEntry>java.util.List<MeetupsEntry> findAll()
java.util.List<MeetupsEntry> 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 MeetupsEntryModelImpl. 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 meetups entriesend - the upper bound of the range of meetups entries (not inclusive)java.util.List<MeetupsEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> 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 MeetupsEntryModelImpl. 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 meetups entriesend - the upper bound of the range of meetups entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<MeetupsEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MeetupsEntry> 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 MeetupsEntryModelImpl. 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 meetups entriesend - the upper bound of the range of meetups entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachevoid removeAll()
int countAll()