@ProviderType public interface SharingEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SharingEntry>
Caching information and settings can be found in portal.properties
SharingEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<SharingEntry> sharingEntries)
Caches the sharing entries in the entity cache if it is enabled.
|
void |
cacheResult(SharingEntry sharingEntry)
Caches the sharing entry in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of sharing entries.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of sharing entries where classNameId = ? and classPK = ?.
|
int |
countByExpirationDate(java.util.Date expirationDate)
Returns the number of sharing entries where expirationDate < ?.
|
int |
countByGroupId(long groupId)
Returns the number of sharing entries where groupId = ?.
|
int |
countByToUserId(long toUserId)
Returns the number of sharing entries where toUserId = ?.
|
int |
countByTU_C_C(long toUserId,
long classNameId,
long classPK)
Returns the number of sharing entries where toUserId = ? and classNameId = ? and classPK = ?.
|
int |
countByTU_C(long toUserId,
long classNameId)
Returns the number of sharing entries where toUserId = ? and classNameId = ?.
|
int |
countByU_C(long userId,
long classNameId)
Returns the number of sharing entries where userId = ? and classNameId = ?.
|
int |
countByUserId(long userId)
Returns the number of sharing entries where userId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of sharing entries where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of sharing entries where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of sharing entries where uuid = ?.
|
SharingEntry |
create(long sharingEntryId)
Creates a new sharing entry with the primary key.
|
SharingEntry |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where classNameId = ? and classPK = ?.
|
SharingEntry |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where classNameId = ? and classPK = ?.
|
SharingEntry |
fetchByExpirationDate_First(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where expirationDate < ?.
|
SharingEntry |
fetchByExpirationDate_Last(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where expirationDate < ?.
|
SharingEntry |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where groupId = ?.
|
SharingEntry |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where groupId = ?.
|
SharingEntry |
fetchByPrimaryKey(long sharingEntryId)
Returns the sharing entry with the primary key or returns
null if it could not be found. |
SharingEntry |
fetchByToUserId_First(long toUserId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where toUserId = ?.
|
SharingEntry |
fetchByToUserId_Last(long toUserId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where toUserId = ?.
|
SharingEntry |
fetchByTU_C_C(long toUserId,
long classNameId,
long classPK)
Returns the sharing entry where toUserId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found. |
SharingEntry |
fetchByTU_C_C(long toUserId,
long classNameId,
long classPK,
boolean retrieveFromCache)
Returns the sharing entry where toUserId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
SharingEntry |
fetchByTU_C_First(long toUserId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where toUserId = ? and classNameId = ?.
|
SharingEntry |
fetchByTU_C_Last(long toUserId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where toUserId = ? and classNameId = ?.
|
SharingEntry |
fetchByU_C_First(long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where userId = ? and classNameId = ?.
|
SharingEntry |
fetchByU_C_Last(long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where userId = ? and classNameId = ?.
|
SharingEntry |
fetchByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where userId = ?.
|
SharingEntry |
fetchByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where userId = ?.
|
SharingEntry |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where uuid = ? and companyId = ?.
|
SharingEntry |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where uuid = ? and companyId = ?.
|
SharingEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where uuid = ?.
|
SharingEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the sharing entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
SharingEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the sharing entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
SharingEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where uuid = ?.
|
java.util.List<SharingEntry> |
findAll()
Returns all the sharing entries.
|
java.util.List<SharingEntry> |
findAll(int start,
int end)
Returns a range of all the sharing entries.
|
java.util.List<SharingEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns an ordered range of all the sharing entries.
|
java.util.List<SharingEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the sharing entries.
|
SharingEntry |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where classNameId = ? and classPK = ?.
|
SharingEntry |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where classNameId = ? and classPK = ?.
|
SharingEntry[] |
findByC_C_PrevAndNext(long sharingEntryId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the sharing entries before and after the current sharing entry in the ordered set where classNameId = ? and classPK = ?.
|
java.util.List<SharingEntry> |
findByC_C(long classNameId,
long classPK)
Returns all the sharing entries where classNameId = ? and classPK = ?.
|
java.util.List<SharingEntry> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the sharing entries where classNameId = ? and classPK = ?.
|
java.util.List<SharingEntry> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns an ordered range of all the sharing entries where classNameId = ? and classPK = ?.
|
java.util.List<SharingEntry> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the sharing entries where classNameId = ? and classPK = ?.
|
SharingEntry |
findByExpirationDate_First(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where expirationDate < ?.
|
SharingEntry |
findByExpirationDate_Last(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where expirationDate < ?.
|
SharingEntry[] |
findByExpirationDate_PrevAndNext(long sharingEntryId,
java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the sharing entries before and after the current sharing entry in the ordered set where expirationDate < ?.
|
java.util.List<SharingEntry> |
findByExpirationDate(java.util.Date expirationDate)
Returns all the sharing entries where expirationDate < ?.
|
java.util.List<SharingEntry> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end)
Returns a range of all the sharing entries where expirationDate < ?.
|
java.util.List<SharingEntry> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns an ordered range of all the sharing entries where expirationDate < ?.
|
java.util.List<SharingEntry> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the sharing entries where expirationDate < ?.
|
SharingEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where groupId = ?.
|
SharingEntry |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where groupId = ?.
|
SharingEntry[] |
findByGroupId_PrevAndNext(long sharingEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the sharing entries before and after the current sharing entry in the ordered set where groupId = ?.
|
java.util.List<SharingEntry> |
findByGroupId(long groupId)
Returns all the sharing entries where groupId = ?.
|
java.util.List<SharingEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the sharing entries where groupId = ?.
|
java.util.List<SharingEntry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns an ordered range of all the sharing entries where groupId = ?.
|
java.util.List<SharingEntry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the sharing entries where groupId = ?.
|
SharingEntry |
findByPrimaryKey(long sharingEntryId)
Returns the sharing entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
SharingEntry |
findByToUserId_First(long toUserId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where toUserId = ?.
|
SharingEntry |
findByToUserId_Last(long toUserId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where toUserId = ?.
|
SharingEntry[] |
findByToUserId_PrevAndNext(long sharingEntryId,
long toUserId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the sharing entries before and after the current sharing entry in the ordered set where toUserId = ?.
|
java.util.List<SharingEntry> |
findByToUserId(long toUserId)
Returns all the sharing entries where toUserId = ?.
|
java.util.List<SharingEntry> |
findByToUserId(long toUserId,
int start,
int end)
Returns a range of all the sharing entries where toUserId = ?.
|
java.util.List<SharingEntry> |
findByToUserId(long toUserId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns an ordered range of all the sharing entries where toUserId = ?.
|
java.util.List<SharingEntry> |
findByToUserId(long toUserId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the sharing entries where toUserId = ?.
|
SharingEntry |
findByTU_C_C(long toUserId,
long classNameId,
long classPK)
Returns the sharing entry where toUserId = ? and classNameId = ? and classPK = ? or throws a
NoSuchEntryException if it could not be found. |
SharingEntry |
findByTU_C_First(long toUserId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where toUserId = ? and classNameId = ?.
|
SharingEntry |
findByTU_C_Last(long toUserId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where toUserId = ? and classNameId = ?.
|
SharingEntry[] |
findByTU_C_PrevAndNext(long sharingEntryId,
long toUserId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the sharing entries before and after the current sharing entry in the ordered set where toUserId = ? and classNameId = ?.
|
java.util.List<SharingEntry> |
findByTU_C(long toUserId,
long classNameId)
Returns all the sharing entries where toUserId = ? and classNameId = ?.
|
java.util.List<SharingEntry> |
findByTU_C(long toUserId,
long classNameId,
int start,
int end)
Returns a range of all the sharing entries where toUserId = ? and classNameId = ?.
|
java.util.List<SharingEntry> |
findByTU_C(long toUserId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns an ordered range of all the sharing entries where toUserId = ? and classNameId = ?.
|
java.util.List<SharingEntry> |
findByTU_C(long toUserId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the sharing entries where toUserId = ? and classNameId = ?.
|
SharingEntry |
findByU_C_First(long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where userId = ? and classNameId = ?.
|
SharingEntry |
findByU_C_Last(long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where userId = ? and classNameId = ?.
|
SharingEntry[] |
findByU_C_PrevAndNext(long sharingEntryId,
long userId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the sharing entries before and after the current sharing entry in the ordered set where userId = ? and classNameId = ?.
|
java.util.List<SharingEntry> |
findByU_C(long userId,
long classNameId)
Returns all the sharing entries where userId = ? and classNameId = ?.
|
java.util.List<SharingEntry> |
findByU_C(long userId,
long classNameId,
int start,
int end)
Returns a range of all the sharing entries where userId = ? and classNameId = ?.
|
java.util.List<SharingEntry> |
findByU_C(long userId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns an ordered range of all the sharing entries where userId = ? and classNameId = ?.
|
java.util.List<SharingEntry> |
findByU_C(long userId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the sharing entries where userId = ? and classNameId = ?.
|
SharingEntry |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where userId = ?.
|
SharingEntry |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where userId = ?.
|
SharingEntry[] |
findByUserId_PrevAndNext(long sharingEntryId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the sharing entries before and after the current sharing entry in the ordered set where userId = ?.
|
java.util.List<SharingEntry> |
findByUserId(long userId)
Returns all the sharing entries where userId = ?.
|
java.util.List<SharingEntry> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the sharing entries where userId = ?.
|
java.util.List<SharingEntry> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns an ordered range of all the sharing entries where userId = ?.
|
java.util.List<SharingEntry> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the sharing entries where userId = ?.
|
SharingEntry |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where uuid = ? and companyId = ?.
|
SharingEntry |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where uuid = ? and companyId = ?.
|
SharingEntry[] |
findByUuid_C_PrevAndNext(long sharingEntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the sharing entries before and after the current sharing entry in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<SharingEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the sharing entries where uuid = ? and companyId = ?.
|
java.util.List<SharingEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the sharing entries where uuid = ? and companyId = ?.
|
java.util.List<SharingEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns an ordered range of all the sharing entries where uuid = ? and companyId = ?.
|
java.util.List<SharingEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the sharing entries where uuid = ? and companyId = ?.
|
SharingEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the first sharing entry in the ordered set where uuid = ?.
|
SharingEntry |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the sharing entry where uuid = ? and groupId = ? or throws a
NoSuchEntryException if it could not be found. |
SharingEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the last sharing entry in the ordered set where uuid = ?.
|
SharingEntry[] |
findByUuid_PrevAndNext(long sharingEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the sharing entries before and after the current sharing entry in the ordered set where uuid = ?.
|
java.util.List<SharingEntry> |
findByUuid(java.lang.String uuid)
Returns all the sharing entries where uuid = ?.
|
java.util.List<SharingEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the sharing entries where uuid = ?.
|
java.util.List<SharingEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns an ordered range of all the sharing entries where uuid = ?.
|
java.util.List<SharingEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the sharing entries where uuid = ?.
|
SharingEntry |
remove(long sharingEntryId)
Removes the sharing entry with the primary key from the database.
|
void |
removeAll()
Removes all the sharing entries from the database.
|
void |
removeByC_C(long classNameId,
long classPK)
Removes all the sharing entries where classNameId = ? and classPK = ? from the database.
|
void |
removeByExpirationDate(java.util.Date expirationDate)
Removes all the sharing entries where expirationDate < ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the sharing entries where groupId = ? from the database.
|
void |
removeByToUserId(long toUserId)
Removes all the sharing entries where toUserId = ? from the database.
|
SharingEntry |
removeByTU_C_C(long toUserId,
long classNameId,
long classPK)
Removes the sharing entry where toUserId = ? and classNameId = ? and classPK = ? from the database.
|
void |
removeByTU_C(long toUserId,
long classNameId)
Removes all the sharing entries where toUserId = ? and classNameId = ? from the database.
|
void |
removeByU_C(long userId,
long classNameId)
Removes all the sharing entries where userId = ? and classNameId = ? from the database.
|
void |
removeByUserId(long userId)
Removes all the sharing entries where userId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the sharing entries where uuid = ? and companyId = ? from the database.
|
SharingEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the sharing entry where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the sharing entries where uuid = ? from the database.
|
SharingEntry |
updateImpl(SharingEntry sharingEntry) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<SharingEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<SharingEntry> findByUuid(java.lang.String uuid, 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 SharingEntryModelImpl
. 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.
uuid
- the uuidstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)java.util.List<SharingEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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.
uuid
- the uuidstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SharingEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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.
uuid
- the uuidstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheSharingEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry[] findByUuid_PrevAndNext(long sharingEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
sharingEntryId
- the primary key of the current sharing entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sharing entry with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidSharingEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching sharing entry could not be foundSharingEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching sharing entry could not be foundSharingEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryException
uuid
- the uuidgroupId
- the group IDNoSuchEntryException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<SharingEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<SharingEntry> findByUuid_C(java.lang.String uuid, 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 SharingEntryModelImpl
. 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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)java.util.List<SharingEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SharingEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheSharingEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry[] findByUuid_C_PrevAndNext(long sharingEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
sharingEntryId
- the primary key of the current sharing entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sharing entry with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<SharingEntry> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<SharingEntry> 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 SharingEntryModelImpl
. 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 sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)java.util.List<SharingEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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 sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SharingEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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 sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheSharingEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry[] findByGroupId_PrevAndNext(long sharingEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
sharingEntryId
- the primary key of the current sharing entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sharing entry with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDjava.util.List<SharingEntry> findByUserId(long userId)
userId
- the user IDjava.util.List<SharingEntry> 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 SharingEntryModelImpl
. 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 sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)java.util.List<SharingEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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 sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SharingEntry> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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 sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheSharingEntry findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
userId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry[] findByUserId_PrevAndNext(long sharingEntryId, long userId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
sharingEntryId
- the primary key of the current sharing entryuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sharing entry with the primary key could not be foundvoid removeByUserId(long userId)
userId
- the user IDint countByUserId(long userId)
userId
- the user IDjava.util.List<SharingEntry> findByToUserId(long toUserId)
toUserId
- the to user IDjava.util.List<SharingEntry> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SharingEntryModelImpl
. 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.
toUserId
- the to user IDstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)java.util.List<SharingEntry> findByToUserId(long toUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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.
toUserId
- the to user IDstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SharingEntry> findByToUserId(long toUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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.
toUserId
- the to user IDstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheSharingEntry findByToUserId_First(long toUserId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
toUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByToUserId_First(long toUserId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
toUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry findByToUserId_Last(long toUserId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
toUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByToUserId_Last(long toUserId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
toUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry[] findByToUserId_PrevAndNext(long sharingEntryId, long toUserId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
sharingEntryId
- the primary key of the current sharing entrytoUserId
- the to user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sharing 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<SharingEntry> findByExpirationDate(java.util.Date expirationDate)
expirationDate
- the expiration datejava.util.List<SharingEntry> findByExpirationDate(java.util.Date expirationDate, 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 SharingEntryModelImpl
. 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.
expirationDate
- the expiration datestart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)java.util.List<SharingEntry> findByExpirationDate(java.util.Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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.
expirationDate
- the expiration datestart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SharingEntry> findByExpirationDate(java.util.Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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.
expirationDate
- the expiration datestart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheSharingEntry findByExpirationDate_First(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByExpirationDate_First(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry findByExpirationDate_Last(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByExpirationDate_Last(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry[] findByExpirationDate_PrevAndNext(long sharingEntryId, java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
sharingEntryId
- the primary key of the current sharing entryexpirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sharing entry with the primary key could not be foundvoid removeByExpirationDate(java.util.Date expirationDate)
expirationDate
- the expiration dateint countByExpirationDate(java.util.Date expirationDate)
expirationDate
- the expiration datejava.util.List<SharingEntry> findByU_C(long userId, long classNameId)
userId
- the user IDclassNameId
- the class name IDjava.util.List<SharingEntry> findByU_C(long userId, 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 SharingEntryModelImpl
. 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 IDclassNameId
- the class name IDstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)java.util.List<SharingEntry> findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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 IDclassNameId
- the class name IDstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SharingEntry> findByU_C(long userId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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 IDclassNameId
- the class name IDstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheSharingEntry findByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByU_C_First(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry findByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByU_C_Last(long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
userId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry[] findByU_C_PrevAndNext(long sharingEntryId, long userId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
sharingEntryId
- the primary key of the current sharing entryuserId
- the user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sharing entry with the primary key could not be foundvoid removeByU_C(long userId, long classNameId)
userId
- the user IDclassNameId
- the class name IDint countByU_C(long userId, long classNameId)
userId
- the user IDclassNameId
- the class name IDjava.util.List<SharingEntry> findByTU_C(long toUserId, long classNameId)
toUserId
- the to user IDclassNameId
- the class name IDjava.util.List<SharingEntry> findByTU_C(long toUserId, 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 SharingEntryModelImpl
. 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.
toUserId
- the to user IDclassNameId
- the class name IDstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)java.util.List<SharingEntry> findByTU_C(long toUserId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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.
toUserId
- the to user IDclassNameId
- the class name IDstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SharingEntry> findByTU_C(long toUserId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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.
toUserId
- the to user IDclassNameId
- the class name IDstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheSharingEntry findByTU_C_First(long toUserId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
toUserId
- the to user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByTU_C_First(long toUserId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
toUserId
- the to user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry findByTU_C_Last(long toUserId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
toUserId
- the to user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByTU_C_Last(long toUserId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
toUserId
- the to user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry[] findByTU_C_PrevAndNext(long sharingEntryId, long toUserId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
sharingEntryId
- the primary key of the current sharing entrytoUserId
- the to user IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sharing entry with the primary key could not be foundvoid removeByTU_C(long toUserId, long classNameId)
toUserId
- the to user IDclassNameId
- the class name IDint countByTU_C(long toUserId, long classNameId)
toUserId
- the to user IDclassNameId
- the class name IDjava.util.List<SharingEntry> findByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkjava.util.List<SharingEntry> findByC_C(long classNameId, long classPK, 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 SharingEntryModelImpl
. 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.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)java.util.List<SharingEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SharingEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheSharingEntry findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching sharing entry could not be foundSharingEntry[] findByC_C_PrevAndNext(long sharingEntryId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator) throws NoSuchEntryException
sharingEntryId
- the primary key of the current sharing entryclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a sharing entry with the primary key could not be foundvoid removeByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkint countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkSharingEntry findByTU_C_C(long toUserId, long classNameId, long classPK) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.toUserId
- the to user IDclassNameId
- the class name IDclassPK
- the class pkNoSuchEntryException
- if a matching sharing entry could not be foundSharingEntry fetchByTU_C_C(long toUserId, long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.toUserId
- the to user IDclassNameId
- the class name IDclassPK
- the class pknull
if a matching sharing entry could not be foundSharingEntry fetchByTU_C_C(long toUserId, long classNameId, long classPK, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.toUserId
- the to user IDclassNameId
- the class name IDclassPK
- the class pkretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching sharing entry could not be foundSharingEntry removeByTU_C_C(long toUserId, long classNameId, long classPK) throws NoSuchEntryException
toUserId
- the to user IDclassNameId
- the class name IDclassPK
- the class pkNoSuchEntryException
int countByTU_C_C(long toUserId, long classNameId, long classPK)
toUserId
- the to user IDclassNameId
- the class name IDclassPK
- the class pkvoid cacheResult(SharingEntry sharingEntry)
sharingEntry
- the sharing entryvoid cacheResult(java.util.List<SharingEntry> sharingEntries)
sharingEntries
- the sharing entriesSharingEntry create(long sharingEntryId)
sharingEntryId
- the primary key for the new sharing entrySharingEntry remove(long sharingEntryId) throws NoSuchEntryException
sharingEntryId
- the primary key of the sharing entryNoSuchEntryException
- if a sharing entry with the primary key could not be foundSharingEntry updateImpl(SharingEntry sharingEntry)
SharingEntry findByPrimaryKey(long sharingEntryId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.sharingEntryId
- the primary key of the sharing entryNoSuchEntryException
- if a sharing entry with the primary key could not be foundSharingEntry fetchByPrimaryKey(long sharingEntryId)
null
if it could not be found.sharingEntryId
- the primary key of the sharing entrynull
if a sharing entry with the primary key could not be foundjava.util.List<SharingEntry> findAll()
java.util.List<SharingEntry> 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 SharingEntryModelImpl
. 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 sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)java.util.List<SharingEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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 sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<SharingEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> 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 SharingEntryModelImpl
. 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 sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()