public class DepotEntryGroupRelUtil
extends java.lang.Object
com.liferay.depot.service.persistence.impl.DepotEntryGroupRelPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
DepotEntryGroupRelPersistence
Constructor and Description |
---|
DepotEntryGroupRelUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(DepotEntryGroupRel depotEntryGroupRel)
Caches the depot entry group rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<DepotEntryGroupRel> depotEntryGroupRels)
Caches the depot entry group rels in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(DepotEntryGroupRel depotEntryGroupRel) |
static int |
countAll()
Returns the number of depot entry group rels.
|
static int |
countByD_TGI(long depotEntryId,
long toGroupId)
Returns the number of depot entry group rels where depotEntryId = ? and toGroupId = ?.
|
static int |
countByDDMSA_TGI(boolean ddmStructuresAvailable,
long toGroupId)
Returns the number of depot entry group rels where ddmStructuresAvailable = ? and toGroupId = ?.
|
static int |
countByDepotEntryId(long depotEntryId)
Returns the number of depot entry group rels where depotEntryId = ?.
|
static int |
countByS_TGI(boolean searchable,
long toGroupId)
Returns the number of depot entry group rels where searchable = ? and toGroupId = ?.
|
static int |
countByToGroupId(long toGroupId)
Returns the number of depot entry group rels where toGroupId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static DepotEntryGroupRel |
create(long depotEntryGroupRelId)
Creates a new depot entry group rel with the primary key.
|
static 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. |
static 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. |
static DepotEntryGroupRel |
fetchByDDMSA_TGI_First(boolean ddmStructuresAvailable,
long toGroupId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the first depot entry group rel in the ordered set where ddmStructuresAvailable = ? and toGroupId = ?.
|
static DepotEntryGroupRel |
fetchByDDMSA_TGI_Last(boolean ddmStructuresAvailable,
long toGroupId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the last depot entry group rel in the ordered set where ddmStructuresAvailable = ? and toGroupId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static DepotEntryGroupRel |
fetchByPrimaryKey(long depotEntryGroupRelId)
Returns the depot entry group rel with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,DepotEntryGroupRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<DepotEntryGroupRel> |
findAll()
Returns all the depot entry group rels.
|
static java.util.List<DepotEntryGroupRel> |
findAll(int start,
int end)
Returns a range of all the depot entry group rels.
|
static 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.
|
static 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.
|
static 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. |
static DepotEntryGroupRel |
findByDDMSA_TGI_First(boolean ddmStructuresAvailable,
long toGroupId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the first depot entry group rel in the ordered set where ddmStructuresAvailable = ? and toGroupId = ?.
|
static DepotEntryGroupRel |
findByDDMSA_TGI_Last(boolean ddmStructuresAvailable,
long toGroupId,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
Returns the last depot entry group rel in the ordered set where ddmStructuresAvailable = ? and toGroupId = ?.
|
static DepotEntryGroupRel[] |
findByDDMSA_TGI_PrevAndNext(long depotEntryGroupRelId,
boolean ddmStructuresAvailable,
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 ddmStructuresAvailable = ? and toGroupId = ?.
|
static java.util.List<DepotEntryGroupRel> |
findByDDMSA_TGI(boolean ddmStructuresAvailable,
long toGroupId)
Returns all the depot entry group rels where ddmStructuresAvailable = ? and toGroupId = ?.
|
static java.util.List<DepotEntryGroupRel> |
findByDDMSA_TGI(boolean ddmStructuresAvailable,
long toGroupId,
int start,
int end)
Returns a range of all the depot entry group rels where ddmStructuresAvailable = ? and toGroupId = ?.
|
static java.util.List<DepotEntryGroupRel> |
findByDDMSA_TGI(boolean ddmStructuresAvailable,
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 ddmStructuresAvailable = ? and toGroupId = ?.
|
static java.util.List<DepotEntryGroupRel> |
findByDDMSA_TGI(boolean ddmStructuresAvailable,
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 ddmStructuresAvailable = ? and toGroupId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<DepotEntryGroupRel> |
findByDepotEntryId(long depotEntryId)
Returns all the depot entry group rels where depotEntryId = ?.
|
static java.util.List<DepotEntryGroupRel> |
findByDepotEntryId(long depotEntryId,
int start,
int end)
Returns a range of all the depot entry group rels where depotEntryId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static DepotEntryGroupRel |
findByPrimaryKey(long depotEntryGroupRelId)
Returns the depot entry group rel with the primary key or throws a
NoSuchEntryGroupRelException if it could not be found. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<DepotEntryGroupRel> |
findByS_TGI(boolean searchable,
long toGroupId)
Returns all the depot entry group rels where searchable = ? and toGroupId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<DepotEntryGroupRel> |
findByToGroupId(long toGroupId)
Returns all the depot entry group rels where toGroupId = ?.
|
static java.util.List<DepotEntryGroupRel> |
findByToGroupId(long toGroupId,
int start,
int end)
Returns a range of all the depot entry group rels where toGroupId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<DepotEntryGroupRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<DepotEntryGroupRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<DepotEntryGroupRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) |
static DepotEntryGroupRelPersistence |
getPersistence() |
static DepotEntryGroupRel |
remove(long depotEntryGroupRelId)
Removes the depot entry group rel with the primary key from the database.
|
static void |
removeAll()
Removes all the depot entry group rels from the database.
|
static DepotEntryGroupRel |
removeByD_TGI(long depotEntryId,
long toGroupId)
Removes the depot entry group rel where depotEntryId = ? and toGroupId = ? from the database.
|
static void |
removeByDDMSA_TGI(boolean ddmStructuresAvailable,
long toGroupId)
Removes all the depot entry group rels where ddmStructuresAvailable = ? and toGroupId = ? from the database.
|
static void |
removeByDepotEntryId(long depotEntryId)
Removes all the depot entry group rels where depotEntryId = ? from the database.
|
static void |
removeByS_TGI(boolean searchable,
long toGroupId)
Removes all the depot entry group rels where searchable = ? and toGroupId = ? from the database.
|
static void |
removeByToGroupId(long toGroupId)
Removes all the depot entry group rels where toGroupId = ? from the database.
|
static DepotEntryGroupRel |
update(DepotEntryGroupRel depotEntryGroupRel) |
static DepotEntryGroupRel |
update(DepotEntryGroupRel depotEntryGroupRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static DepotEntryGroupRel |
updateImpl(DepotEntryGroupRel depotEntryGroupRel) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DepotEntryGroupRel depotEntryGroupRel)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,DepotEntryGroupRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<DepotEntryGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<DepotEntryGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<DepotEntryGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DepotEntryGroupRel update(DepotEntryGroupRel depotEntryGroupRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static DepotEntryGroupRel update(DepotEntryGroupRel depotEntryGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<DepotEntryGroupRel> findByDepotEntryId(long depotEntryId)
depotEntryId
- the depot entry IDpublic static java.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)public static 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
)public static 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 cachepublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel[] 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 foundpublic static void removeByDepotEntryId(long depotEntryId)
depotEntryId
- the depot entry IDpublic static int countByDepotEntryId(long depotEntryId)
depotEntryId
- the depot entry IDpublic static java.util.List<DepotEntryGroupRel> findByToGroupId(long toGroupId)
toGroupId
- the to group IDpublic static java.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)public static 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
)public static 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 cachepublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel[] 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 foundpublic static void removeByToGroupId(long toGroupId)
toGroupId
- the to group IDpublic static int countByToGroupId(long toGroupId)
toGroupId
- the to group IDpublic static java.util.List<DepotEntryGroupRel> findByDDMSA_TGI(boolean ddmStructuresAvailable, long toGroupId)
ddmStructuresAvailable
- the ddm structures availabletoGroupId
- the to group IDpublic static java.util.List<DepotEntryGroupRel> findByDDMSA_TGI(boolean ddmStructuresAvailable, 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
.
ddmStructuresAvailable
- the ddm structures availabletoGroupId
- 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)public static java.util.List<DepotEntryGroupRel> findByDDMSA_TGI(boolean ddmStructuresAvailable, 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
.
ddmStructuresAvailable
- the ddm structures availabletoGroupId
- 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
)public static java.util.List<DepotEntryGroupRel> findByDDMSA_TGI(boolean ddmStructuresAvailable, 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
.
ddmStructuresAvailable
- the ddm structures availabletoGroupId
- 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 cachepublic static DepotEntryGroupRel findByDDMSA_TGI_First(boolean ddmStructuresAvailable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
ddmStructuresAvailable
- the ddm structures availabletoGroupId
- the to group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryGroupRelException
- if a matching depot entry group rel could not be foundpublic static DepotEntryGroupRel fetchByDDMSA_TGI_First(boolean ddmStructuresAvailable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
ddmStructuresAvailable
- the ddm structures availabletoGroupId
- the to group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching depot entry group rel could not be foundpublic static DepotEntryGroupRel findByDDMSA_TGI_Last(boolean ddmStructuresAvailable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
ddmStructuresAvailable
- the ddm structures availabletoGroupId
- the to group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryGroupRelException
- if a matching depot entry group rel could not be foundpublic static DepotEntryGroupRel fetchByDDMSA_TGI_Last(boolean ddmStructuresAvailable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator)
ddmStructuresAvailable
- the ddm structures availabletoGroupId
- the to group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching depot entry group rel could not be foundpublic static DepotEntryGroupRel[] findByDDMSA_TGI_PrevAndNext(long depotEntryGroupRelId, boolean ddmStructuresAvailable, long toGroupId, com.liferay.portal.kernel.util.OrderByComparator<DepotEntryGroupRel> orderByComparator) throws NoSuchEntryGroupRelException
depotEntryGroupRelId
- the primary key of the current depot entry group relddmStructuresAvailable
- the ddm structures availabletoGroupId
- 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 foundpublic static void removeByDDMSA_TGI(boolean ddmStructuresAvailable, long toGroupId)
ddmStructuresAvailable
- the ddm structures availabletoGroupId
- the to group IDpublic static int countByDDMSA_TGI(boolean ddmStructuresAvailable, long toGroupId)
ddmStructuresAvailable
- the ddm structures availabletoGroupId
- the to group IDpublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel removeByD_TGI(long depotEntryId, long toGroupId) throws NoSuchEntryGroupRelException
depotEntryId
- the depot entry IDtoGroupId
- the to group IDNoSuchEntryGroupRelException
public static int countByD_TGI(long depotEntryId, long toGroupId)
depotEntryId
- the depot entry IDtoGroupId
- the to group IDpublic static java.util.List<DepotEntryGroupRel> findByS_TGI(boolean searchable, long toGroupId)
searchable
- the searchabletoGroupId
- the to group IDpublic static java.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)public static 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
)public static 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 cachepublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel[] 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 foundpublic static void removeByS_TGI(boolean searchable, long toGroupId)
searchable
- the searchabletoGroupId
- the to group IDpublic static int countByS_TGI(boolean searchable, long toGroupId)
searchable
- the searchabletoGroupId
- the to group IDpublic static void cacheResult(DepotEntryGroupRel depotEntryGroupRel)
depotEntryGroupRel
- the depot entry group relpublic static void cacheResult(java.util.List<DepotEntryGroupRel> depotEntryGroupRels)
depotEntryGroupRels
- the depot entry group relspublic static DepotEntryGroupRel create(long depotEntryGroupRelId)
depotEntryGroupRelId
- the primary key for the new depot entry group relpublic static DepotEntryGroupRel 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 foundpublic static DepotEntryGroupRel updateImpl(DepotEntryGroupRel depotEntryGroupRel)
public static 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 foundpublic static DepotEntryGroupRel 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 foundpublic static java.util.List<DepotEntryGroupRel> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static DepotEntryGroupRelPersistence getPersistence()