@ProviderType public interface DepotEntryGroupRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DepotEntryGroupRel>
Caching information and settings can be found in portal.properties
DepotEntryGroupRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DepotEntryGroupRel depotEntryGroupRel)
Caches the depot entry group rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DepotEntryGroupRel> depotEntryGroupRels)
Caches the depot entry group rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of depot entry group rels.
|
int |
countByD_TGI(long depotEntryId,
long toGroupId)
Returns the number of depot entry group rels where depotEntryId = ? and toGroupId = ?.
|
int |
countByDepotEntryId(long depotEntryId)
Returns the number of depot entry group rels where depotEntryId = ?.
|
int |
countByS_TGI(boolean searchable,
long toGroupId)
Returns the number of depot entry group rels where searchable = ? and toGroupId = ?.
|
int |
countByToGroupId(long toGroupId)
Returns the number of depot entry group rels where toGroupId = ?.
|
DepotEntryGroupRel |
create(long depotEntryGroupRelId)
Creates a new depot entry group rel with the primary key.
|
DepotEntryGroupRel |
fetchByD_TGI(long depotEntryId,
long toGroupId)
Returns the depot entry group rel where depotEntryId = ? and toGroupId = ? or returns
null if it could not be found. |
DepotEntryGroupRel |
fetchByD_TGI(long depotEntryId,
long toGroupId,
boolean useFinderCache)
Returns the depot entry group rel where depotEntryId = ? and toGroupId = ? or returns
null if it could not be found, optionally using the finder cache. |
DepotEntryGroupRel |
fetchByDepotEntryId_First(long depotEntryId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the first depot entry group rel in the ordered set where depotEntryId = ?.
|
DepotEntryGroupRel |
fetchByDepotEntryId_Last(long depotEntryId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the last depot entry group rel in the ordered set where depotEntryId = ?.
|
DepotEntryGroupRel |
fetchByPrimaryKey(long depotEntryGroupRelId)
Returns the depot entry group rel with the primary key or returns
null if it could not be found. |
DepotEntryGroupRel |
fetchByS_TGI_First(boolean searchable,
long toGroupId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the first depot entry group rel in the ordered set where searchable = ? and toGroupId = ?.
|
DepotEntryGroupRel |
fetchByS_TGI_Last(boolean searchable,
long toGroupId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the last depot entry group rel in the ordered set where searchable = ? and toGroupId = ?.
|
DepotEntryGroupRel |
fetchByToGroupId_First(long toGroupId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the first depot entry group rel in the ordered set where toGroupId = ?.
|
DepotEntryGroupRel |
fetchByToGroupId_Last(long toGroupId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the last depot entry group rel in the ordered set where toGroupId = ?.
|
java.util.List<DepotEntryGroupRel> |
findAll()
Returns all the depot entry group rels.
|
java.util.List<DepotEntryGroupRel> |
findAll(int start,
int end)
Returns a range of all the depot entry group rels.
|
java.util.List<DepotEntryGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns an ordered range of all the depot entry group rels.
|
java.util.List<DepotEntryGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the depot entry group rels.
|
DepotEntryGroupRel |
findByD_TGI(long depotEntryId,
long toGroupId)
Returns the depot entry group rel where depotEntryId = ? and toGroupId = ? or throws a
NoSuchEntryGroupRelException if it could not be found. |
DepotEntryGroupRel |
findByDepotEntryId_First(long depotEntryId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the first depot entry group rel in the ordered set where depotEntryId = ?.
|
DepotEntryGroupRel |
findByDepotEntryId_Last(long depotEntryId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the last depot entry group rel in the ordered set where depotEntryId = ?.
|
DepotEntryGroupRel[] |
findByDepotEntryId_PrevAndNext(long depotEntryGroupRelId,
long depotEntryId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the depot entry group rels before and after the current depot entry group rel in the ordered set where depotEntryId = ?.
|
java.util.List<DepotEntryGroupRel> |
findByDepotEntryId(long depotEntryId)
Returns all the depot entry group rels where depotEntryId = ?.
|
java.util.List<DepotEntryGroupRel> |
findByDepotEntryId(long depotEntryId,
int start,
int end)
Returns a range of all the depot entry group rels where depotEntryId = ?.
|
java.util.List<DepotEntryGroupRel> |
findByDepotEntryId(long depotEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns an ordered range of all the depot entry group rels where depotEntryId = ?.
|
java.util.List<DepotEntryGroupRel> |
findByDepotEntryId(long depotEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the depot entry group rels where depotEntryId = ?.
|
DepotEntryGroupRel |
findByPrimaryKey(long depotEntryGroupRelId)
Returns the depot entry group rel with the primary key or throws a
NoSuchEntryGroupRelException if it could not be found. |
DepotEntryGroupRel |
findByS_TGI_First(boolean searchable,
long toGroupId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the first depot entry group rel in the ordered set where searchable = ? and toGroupId = ?.
|
DepotEntryGroupRel |
findByS_TGI_Last(boolean searchable,
long toGroupId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the last depot entry group rel in the ordered set where searchable = ? and toGroupId = ?.
|
DepotEntryGroupRel[] |
findByS_TGI_PrevAndNext(long depotEntryGroupRelId,
boolean searchable,
long toGroupId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the depot entry group rels before and after the current depot entry group rel in the ordered set where searchable = ? and toGroupId = ?.
|
java.util.List<DepotEntryGroupRel> |
findByS_TGI(boolean searchable,
long toGroupId)
Returns all the depot entry group rels where searchable = ? and toGroupId = ?.
|
java.util.List<DepotEntryGroupRel> |
findByS_TGI(boolean searchable,
long toGroupId,
int start,
int end)
Returns a range of all the depot entry group rels where searchable = ? and toGroupId = ?.
|
java.util.List<DepotEntryGroupRel> |
findByS_TGI(boolean searchable,
long toGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns an ordered range of all the depot entry group rels where searchable = ? and toGroupId = ?.
|
java.util.List<DepotEntryGroupRel> |
findByS_TGI(boolean searchable,
long toGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the depot entry group rels where searchable = ? and toGroupId = ?.
|
DepotEntryGroupRel |
findByToGroupId_First(long toGroupId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the first depot entry group rel in the ordered set where toGroupId = ?.
|
DepotEntryGroupRel |
findByToGroupId_Last(long toGroupId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the last depot entry group rel in the ordered set where toGroupId = ?.
|
DepotEntryGroupRel[] |
findByToGroupId_PrevAndNext(long depotEntryGroupRelId,
long toGroupId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the depot entry group rels before and after the current depot entry group rel in the ordered set where toGroupId = ?.
|
java.util.List<DepotEntryGroupRel> |
findByToGroupId(long toGroupId)
Returns all the depot entry group rels where toGroupId = ?.
|
java.util.List<DepotEntryGroupRel> |
findByToGroupId(long toGroupId,
int start,
int end)
Returns a range of all the depot entry group rels where toGroupId = ?.
|
java.util.List<DepotEntryGroupRel> |
findByToGroupId(long toGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns an ordered range of all the depot entry group rels where toGroupId = ?.
|
java.util.List<DepotEntryGroupRel> |
findByToGroupId(long toGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the depot entry group rels where toGroupId = ?.
|
DepotEntryGroupRel |
remove(long depotEntryGroupRelId)
Removes the depot entry group rel with the primary key from the database.
|
void |
removeAll()
Removes all the depot entry group rels from the database.
|
DepotEntryGroupRel |
removeByD_TGI(long depotEntryId,
long toGroupId)
Removes the depot entry group rel where depotEntryId = ? and toGroupId = ? from the database.
|
void |
removeByDepotEntryId(long depotEntryId)
Removes all the depot entry group rels where depotEntryId = ? from the database.
|
void |
removeByS_TGI(boolean searchable,
long toGroupId)
Removes all the depot entry group rels where searchable = ? and toGroupId = ? from the database.
|
void |
removeByToGroupId(long toGroupId)
Removes all the depot entry group rels where toGroupId = ? from the database.
|
DepotEntryGroupRel |
updateImpl(DepotEntryGroupRel depotEntryGroupRel) |
clearCache, 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<DepotEntryGroupRel> findByDepotEntryId(long depotEntryId)
depotEntryId
- the depot entry IDjava.util.List<DepotEntryGroupRel> findByDepotEntryId(long depotEntryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DepotEntryGroupRelModelImpl
.
depotEntryId
- the depot entry IDstart
- the lower bound of the range of depot entry group relsend
- the upper bound of the range of depot entry group rels (not inclusive)java.util.List<DepotEntryGroupRel> findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DepotEntryGroupRelModelImpl
.
depotEntryId
- the depot entry IDstart
- the lower bound of the range of depot entry group relsend
- the upper bound of the range of depot entry group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DepotEntryGroupRel> findByDepotEntryId(long depotEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DepotEntryGroupRelModelImpl
.
depotEntryId
- the depot entry IDstart
- the lower bound of the range of depot entry group relsend
- the upper bound of the range of depot entry group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDepotEntryGroupRel findByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
depotEntryId
- the depot entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryGroupRelException
- if a matching depot entry group rel could not be foundDepotEntryGroupRel fetchByDepotEntryId_First(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
depotEntryId
- the depot entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching depot entry group rel could not be foundDepotEntryGroupRel findByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
depotEntryId
- the depot entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryGroupRelException
- if a matching depot entry group rel could not be foundDepotEntryGroupRel fetchByDepotEntryId_Last(long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
depotEntryId
- the depot entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching depot entry group rel could not be foundDepotEntryGroupRel[] findByDepotEntryId_PrevAndNext(long depotEntryGroupRelId, long depotEntryId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
depotEntryGroupRelId
- the primary key of the current depot entry group reldepotEntryId
- the depot entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryGroupRelException
- if a depot entry group rel with the primary key could not be foundvoid removeByDepotEntryId(long depotEntryId)
depotEntryId
- the depot entry IDint countByDepotEntryId(long depotEntryId)
depotEntryId
- the depot entry IDjava.util.List<DepotEntryGroupRel> findByToGroupId(long toGroupId)
toGroupId
- the to group IDjava.util.List<DepotEntryGroupRel> findByToGroupId(long toGroupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DepotEntryGroupRelModelImpl
.
toGroupId
- the to group IDstart
- the lower bound of the range of depot entry group relsend
- the upper bound of the range of depot entry group rels (not inclusive)java.util.List<DepotEntryGroupRel> findByToGroupId(long toGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DepotEntryGroupRelModelImpl
.
toGroupId
- the to group IDstart
- the lower bound of the range of depot entry group relsend
- the upper bound of the range of depot entry group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DepotEntryGroupRel> findByToGroupId(long toGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DepotEntryGroupRelModelImpl
.
toGroupId
- the to group IDstart
- the lower bound of the range of depot entry group relsend
- the upper bound of the range of depot entry group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDepotEntryGroupRel findByToGroupId_First(long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
toGroupId
- the to group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryGroupRelException
- if a matching depot entry group rel could not be foundDepotEntryGroupRel fetchByToGroupId_First(long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
toGroupId
- the to group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching depot entry group rel could not be foundDepotEntryGroupRel findByToGroupId_Last(long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
toGroupId
- the to group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryGroupRelException
- if a matching depot entry group rel could not be foundDepotEntryGroupRel fetchByToGroupId_Last(long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
toGroupId
- the to group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching depot entry group rel could not be foundDepotEntryGroupRel[] findByToGroupId_PrevAndNext(long depotEntryGroupRelId, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
depotEntryGroupRelId
- the primary key of the current depot entry group reltoGroupId
- the to group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryGroupRelException
- if a depot entry group rel with the primary key could not be foundvoid removeByToGroupId(long toGroupId)
toGroupId
- the to group IDint countByToGroupId(long toGroupId)
toGroupId
- the to group IDDepotEntryGroupRel findByD_TGI(long depotEntryId, long toGroupId) throws NoSuchEntryGroupRelException
NoSuchEntryGroupRelException
if it could not be found.depotEntryId
- the depot entry IDtoGroupId
- the to group IDNoSuchEntryGroupRelException
- if a matching depot entry group rel could not be foundDepotEntryGroupRel fetchByD_TGI(long depotEntryId, long toGroupId)
null
if it could not be found. Uses the finder cache.depotEntryId
- the depot entry IDtoGroupId
- the to group IDnull
if a matching depot entry group rel could not be foundDepotEntryGroupRel fetchByD_TGI(long depotEntryId, long toGroupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.depotEntryId
- the depot entry IDtoGroupId
- the to group IDuseFinderCache
- whether to use the finder cachenull
if a matching depot entry group rel could not be foundDepotEntryGroupRel removeByD_TGI(long depotEntryId, long toGroupId) throws NoSuchEntryGroupRelException
depotEntryId
- the depot entry IDtoGroupId
- the to group IDNoSuchEntryGroupRelException
int countByD_TGI(long depotEntryId, long toGroupId)
depotEntryId
- the depot entry IDtoGroupId
- the to group IDjava.util.List<DepotEntryGroupRel> findByS_TGI(boolean searchable, long toGroupId)
searchable
- the searchabletoGroupId
- the to group IDjava.util.List<DepotEntryGroupRel> findByS_TGI(boolean searchable, long toGroupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DepotEntryGroupRelModelImpl
.
searchable
- the searchabletoGroupId
- the to group IDstart
- the lower bound of the range of depot entry group relsend
- the upper bound of the range of depot entry group rels (not inclusive)java.util.List<DepotEntryGroupRel> findByS_TGI(boolean searchable, long toGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DepotEntryGroupRelModelImpl
.
searchable
- the searchabletoGroupId
- the to group IDstart
- the lower bound of the range of depot entry group relsend
- the upper bound of the range of depot entry group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DepotEntryGroupRel> findByS_TGI(boolean searchable, long toGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DepotEntryGroupRelModelImpl
.
searchable
- the searchabletoGroupId
- the to group IDstart
- the lower bound of the range of depot entry group relsend
- the upper bound of the range of depot entry group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheDepotEntryGroupRel findByS_TGI_First(boolean searchable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
searchable
- the searchabletoGroupId
- the to group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryGroupRelException
- if a matching depot entry group rel could not be foundDepotEntryGroupRel fetchByS_TGI_First(boolean searchable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
searchable
- the searchabletoGroupId
- the to group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching depot entry group rel could not be foundDepotEntryGroupRel findByS_TGI_Last(boolean searchable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
searchable
- the searchabletoGroupId
- the to group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryGroupRelException
- if a matching depot entry group rel could not be foundDepotEntryGroupRel fetchByS_TGI_Last(boolean searchable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
searchable
- the searchabletoGroupId
- the to group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching depot entry group rel could not be foundDepotEntryGroupRel[] findByS_TGI_PrevAndNext(long depotEntryGroupRelId, boolean searchable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
depotEntryGroupRelId
- the primary key of the current depot entry group relsearchable
- the searchabletoGroupId
- the to group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryGroupRelException
- if a depot entry group rel with the primary key could not be foundvoid removeByS_TGI(boolean searchable, long toGroupId)
searchable
- the searchabletoGroupId
- the to group IDint countByS_TGI(boolean searchable, long toGroupId)
searchable
- the searchabletoGroupId
- the to group IDvoid cacheResult(DepotEntryGroupRel depotEntryGroupRel)
depotEntryGroupRel
- the depot entry group relvoid cacheResult(java.util.List<DepotEntryGroupRel> depotEntryGroupRels)
depotEntryGroupRels
- the depot entry group relsDepotEntryGroupRel create(long depotEntryGroupRelId)
depotEntryGroupRelId
- the primary key for the new depot entry group relDepotEntryGroupRel remove(long depotEntryGroupRelId) throws NoSuchEntryGroupRelException
depotEntryGroupRelId
- the primary key of the depot entry group relNoSuchEntryGroupRelException
- if a depot entry group rel with the primary key could not be foundDepotEntryGroupRel updateImpl(DepotEntryGroupRel depotEntryGroupRel)
DepotEntryGroupRel findByPrimaryKey(long depotEntryGroupRelId) throws NoSuchEntryGroupRelException
NoSuchEntryGroupRelException
if it could not be found.depotEntryGroupRelId
- the primary key of the depot entry group relNoSuchEntryGroupRelException
- if a depot entry group rel with the primary key could not be foundDepotEntryGroupRel fetchByPrimaryKey(long depotEntryGroupRelId)
null
if it could not be found.depotEntryGroupRelId
- the primary key of the depot entry group relnull
if a depot entry group rel with the primary key could not be foundjava.util.List<DepotEntryGroupRel> findAll()
java.util.List<DepotEntryGroupRel> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DepotEntryGroupRelModelImpl
.
start
- the lower bound of the range of depot entry group relsend
- the upper bound of the range of depot entry group rels (not inclusive)java.util.List<DepotEntryGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DepotEntryGroupRelModelImpl
.
start
- the lower bound of the range of depot entry group relsend
- the upper bound of the range of depot entry group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<DepotEntryGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DepotEntryGroupRelModelImpl
.
start
- the lower bound of the range of depot entry group relsend
- the upper bound of the range of depot entry group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()