public class SegmentsEntryRoleUtil
extends java.lang.Object
com.liferay.segments.service.persistence.impl.SegmentsEntryRolePersistenceImpl
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
SegmentsEntryRolePersistence
Constructor and Description |
---|
SegmentsEntryRoleUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<SegmentsEntryRole> segmentsEntryRoles)
Caches the segments entry roles in the entity cache if it is enabled.
|
static void |
cacheResult(SegmentsEntryRole segmentsEntryRole)
Caches the segments entry role in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(SegmentsEntryRole segmentsEntryRole) |
static int |
countAll()
Returns the number of segments entry roles.
|
static int |
countByRoleId(long roleId)
Returns the number of segments entry roles where roleId = ?.
|
static int |
countByS_R(long segmentsEntryId,
long roleId)
Returns the number of segments entry roles where segmentsEntryId = ? and roleId = ?.
|
static int |
countBySegmentsEntryId(long segmentsEntryId)
Returns the number of segments entry roles where segmentsEntryId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static SegmentsEntryRole |
create(long segmentsEntryRoleId)
Creates a new segments entry role with the primary key.
|
static SegmentsEntryRole |
fetchByPrimaryKey(long segmentsEntryRoleId)
Returns the segments entry role with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,SegmentsEntryRole> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static SegmentsEntryRole |
fetchByRoleId_First(long roleId,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
Returns the first segments entry role in the ordered set where roleId = ?.
|
static SegmentsEntryRole |
fetchByRoleId_Last(long roleId,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
Returns the last segments entry role in the ordered set where roleId = ?.
|
static SegmentsEntryRole |
fetchByS_R(long segmentsEntryId,
long roleId)
Returns the segments entry role where segmentsEntryId = ? and roleId = ? or returns
null if it could not be found. |
static SegmentsEntryRole |
fetchByS_R(long segmentsEntryId,
long roleId,
boolean useFinderCache)
Returns the segments entry role where segmentsEntryId = ? and roleId = ? or returns
null if it could not be found, optionally using the finder cache. |
static SegmentsEntryRole |
fetchBySegmentsEntryId_First(long segmentsEntryId,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
Returns the first segments entry role in the ordered set where segmentsEntryId = ?.
|
static SegmentsEntryRole |
fetchBySegmentsEntryId_Last(long segmentsEntryId,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
Returns the last segments entry role in the ordered set where segmentsEntryId = ?.
|
static java.util.List<SegmentsEntryRole> |
findAll()
Returns all the segments entry roles.
|
static java.util.List<SegmentsEntryRole> |
findAll(int start,
int end)
Returns a range of all the segments entry roles.
|
static java.util.List<SegmentsEntryRole> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
Returns an ordered range of all the segments entry roles.
|
static java.util.List<SegmentsEntryRole> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the segments entry roles.
|
static SegmentsEntryRole |
findByPrimaryKey(long segmentsEntryRoleId)
Returns the segments entry role with the primary key or throws a
NoSuchEntryRoleException if it could not be found. |
static SegmentsEntryRole |
findByRoleId_First(long roleId,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
Returns the first segments entry role in the ordered set where roleId = ?.
|
static SegmentsEntryRole |
findByRoleId_Last(long roleId,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
Returns the last segments entry role in the ordered set where roleId = ?.
|
static SegmentsEntryRole[] |
findByRoleId_PrevAndNext(long segmentsEntryRoleId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
Returns the segments entry roles before and after the current segments entry role in the ordered set where roleId = ?.
|
static java.util.List<SegmentsEntryRole> |
findByRoleId(long roleId)
Returns all the segments entry roles where roleId = ?.
|
static java.util.List<SegmentsEntryRole> |
findByRoleId(long roleId,
int start,
int end)
Returns a range of all the segments entry roles where roleId = ?.
|
static java.util.List<SegmentsEntryRole> |
findByRoleId(long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
Returns an ordered range of all the segments entry roles where roleId = ?.
|
static java.util.List<SegmentsEntryRole> |
findByRoleId(long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the segments entry roles where roleId = ?.
|
static SegmentsEntryRole |
findByS_R(long segmentsEntryId,
long roleId)
Returns the segments entry role where segmentsEntryId = ? and roleId = ? or throws a
NoSuchEntryRoleException if it could not be found. |
static SegmentsEntryRole |
findBySegmentsEntryId_First(long segmentsEntryId,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
Returns the first segments entry role in the ordered set where segmentsEntryId = ?.
|
static SegmentsEntryRole |
findBySegmentsEntryId_Last(long segmentsEntryId,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
Returns the last segments entry role in the ordered set where segmentsEntryId = ?.
|
static SegmentsEntryRole[] |
findBySegmentsEntryId_PrevAndNext(long segmentsEntryRoleId,
long segmentsEntryId,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
Returns the segments entry roles before and after the current segments entry role in the ordered set where segmentsEntryId = ?.
|
static java.util.List<SegmentsEntryRole> |
findBySegmentsEntryId(long segmentsEntryId)
Returns all the segments entry roles where segmentsEntryId = ?.
|
static java.util.List<SegmentsEntryRole> |
findBySegmentsEntryId(long segmentsEntryId,
int start,
int end)
Returns a range of all the segments entry roles where segmentsEntryId = ?.
|
static java.util.List<SegmentsEntryRole> |
findBySegmentsEntryId(long segmentsEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
Returns an ordered range of all the segments entry roles where segmentsEntryId = ?.
|
static java.util.List<SegmentsEntryRole> |
findBySegmentsEntryId(long segmentsEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the segments entry roles where segmentsEntryId = ?.
|
static java.util.List<SegmentsEntryRole> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<SegmentsEntryRole> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<SegmentsEntryRole> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) |
static SegmentsEntryRolePersistence |
getPersistence() |
static SegmentsEntryRole |
remove(long segmentsEntryRoleId)
Removes the segments entry role with the primary key from the database.
|
static void |
removeAll()
Removes all the segments entry roles from the database.
|
static void |
removeByRoleId(long roleId)
Removes all the segments entry roles where roleId = ? from the database.
|
static SegmentsEntryRole |
removeByS_R(long segmentsEntryId,
long roleId)
Removes the segments entry role where segmentsEntryId = ? and roleId = ? from the database.
|
static void |
removeBySegmentsEntryId(long segmentsEntryId)
Removes all the segments entry roles where segmentsEntryId = ? from the database.
|
static SegmentsEntryRole |
update(SegmentsEntryRole segmentsEntryRole) |
static SegmentsEntryRole |
update(SegmentsEntryRole segmentsEntryRole,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static SegmentsEntryRole |
updateImpl(SegmentsEntryRole segmentsEntryRole) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(SegmentsEntryRole segmentsEntryRole)
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,SegmentsEntryRole> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<SegmentsEntryRole> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<SegmentsEntryRole> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<SegmentsEntryRole> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static SegmentsEntryRole update(SegmentsEntryRole segmentsEntryRole)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static SegmentsEntryRole update(SegmentsEntryRole segmentsEntryRole, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<SegmentsEntryRole> findBySegmentsEntryId(long segmentsEntryId)
segmentsEntryId
- the segments entry IDpublic static java.util.List<SegmentsEntryRole> findBySegmentsEntryId(long segmentsEntryId, 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 SegmentsEntryRoleModelImpl
.
segmentsEntryId
- the segments entry IDstart
- the lower bound of the range of segments entry rolesend
- the upper bound of the range of segments entry roles (not inclusive)public static java.util.List<SegmentsEntryRole> findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> 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 SegmentsEntryRoleModelImpl
.
segmentsEntryId
- the segments entry IDstart
- the lower bound of the range of segments entry rolesend
- the upper bound of the range of segments entry roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SegmentsEntryRole> findBySegmentsEntryId(long segmentsEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> 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 SegmentsEntryRoleModelImpl
.
segmentsEntryId
- the segments entry IDstart
- the lower bound of the range of segments entry rolesend
- the upper bound of the range of segments entry roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static SegmentsEntryRole findBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) throws NoSuchEntryRoleException
segmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryRoleException
- if a matching segments entry role could not be foundpublic static SegmentsEntryRole fetchBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
segmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry role could not be foundpublic static SegmentsEntryRole findBySegmentsEntryId_Last(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) throws NoSuchEntryRoleException
segmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryRoleException
- if a matching segments entry role could not be foundpublic static SegmentsEntryRole fetchBySegmentsEntryId_Last(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
segmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry role could not be foundpublic static SegmentsEntryRole[] findBySegmentsEntryId_PrevAndNext(long segmentsEntryRoleId, long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) throws NoSuchEntryRoleException
segmentsEntryRoleId
- the primary key of the current segments entry rolesegmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryRoleException
- if a segments entry role with the primary key could not be foundpublic static void removeBySegmentsEntryId(long segmentsEntryId)
segmentsEntryId
- the segments entry IDpublic static int countBySegmentsEntryId(long segmentsEntryId)
segmentsEntryId
- the segments entry IDpublic static java.util.List<SegmentsEntryRole> findByRoleId(long roleId)
roleId
- the role IDpublic static java.util.List<SegmentsEntryRole> findByRoleId(long roleId, 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 SegmentsEntryRoleModelImpl
.
roleId
- the role IDstart
- the lower bound of the range of segments entry rolesend
- the upper bound of the range of segments entry roles (not inclusive)public static java.util.List<SegmentsEntryRole> findByRoleId(long roleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> 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 SegmentsEntryRoleModelImpl
.
roleId
- the role IDstart
- the lower bound of the range of segments entry rolesend
- the upper bound of the range of segments entry roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SegmentsEntryRole> findByRoleId(long roleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> 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 SegmentsEntryRoleModelImpl
.
roleId
- the role IDstart
- the lower bound of the range of segments entry rolesend
- the upper bound of the range of segments entry roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static SegmentsEntryRole findByRoleId_First(long roleId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) throws NoSuchEntryRoleException
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryRoleException
- if a matching segments entry role could not be foundpublic static SegmentsEntryRole fetchByRoleId_First(long roleId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry role could not be foundpublic static SegmentsEntryRole findByRoleId_Last(long roleId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) throws NoSuchEntryRoleException
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryRoleException
- if a matching segments entry role could not be foundpublic static SegmentsEntryRole fetchByRoleId_Last(long roleId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator)
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching segments entry role could not be foundpublic static SegmentsEntryRole[] findByRoleId_PrevAndNext(long segmentsEntryRoleId, long roleId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) throws NoSuchEntryRoleException
segmentsEntryRoleId
- the primary key of the current segments entry roleroleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryRoleException
- if a segments entry role with the primary key could not be foundpublic static void removeByRoleId(long roleId)
roleId
- the role IDpublic static int countByRoleId(long roleId)
roleId
- the role IDpublic static SegmentsEntryRole findByS_R(long segmentsEntryId, long roleId) throws NoSuchEntryRoleException
NoSuchEntryRoleException
if it could not be found.segmentsEntryId
- the segments entry IDroleId
- the role IDNoSuchEntryRoleException
- if a matching segments entry role could not be foundpublic static SegmentsEntryRole fetchByS_R(long segmentsEntryId, long roleId)
null
if it could not be found. Uses the finder cache.segmentsEntryId
- the segments entry IDroleId
- the role IDnull
if a matching segments entry role could not be foundpublic static SegmentsEntryRole fetchByS_R(long segmentsEntryId, long roleId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.segmentsEntryId
- the segments entry IDroleId
- the role IDuseFinderCache
- whether to use the finder cachenull
if a matching segments entry role could not be foundpublic static SegmentsEntryRole removeByS_R(long segmentsEntryId, long roleId) throws NoSuchEntryRoleException
segmentsEntryId
- the segments entry IDroleId
- the role IDNoSuchEntryRoleException
public static int countByS_R(long segmentsEntryId, long roleId)
segmentsEntryId
- the segments entry IDroleId
- the role IDpublic static void cacheResult(SegmentsEntryRole segmentsEntryRole)
segmentsEntryRole
- the segments entry rolepublic static void cacheResult(java.util.List<SegmentsEntryRole> segmentsEntryRoles)
segmentsEntryRoles
- the segments entry rolespublic static SegmentsEntryRole create(long segmentsEntryRoleId)
segmentsEntryRoleId
- the primary key for the new segments entry rolepublic static SegmentsEntryRole remove(long segmentsEntryRoleId) throws NoSuchEntryRoleException
segmentsEntryRoleId
- the primary key of the segments entry roleNoSuchEntryRoleException
- if a segments entry role with the primary key could not be foundpublic static SegmentsEntryRole updateImpl(SegmentsEntryRole segmentsEntryRole)
public static SegmentsEntryRole findByPrimaryKey(long segmentsEntryRoleId) throws NoSuchEntryRoleException
NoSuchEntryRoleException
if it could not be found.segmentsEntryRoleId
- the primary key of the segments entry roleNoSuchEntryRoleException
- if a segments entry role with the primary key could not be foundpublic static SegmentsEntryRole fetchByPrimaryKey(long segmentsEntryRoleId)
null
if it could not be found.segmentsEntryRoleId
- the primary key of the segments entry rolenull
if a segments entry role with the primary key could not be foundpublic static java.util.List<SegmentsEntryRole> findAll()
public static java.util.List<SegmentsEntryRole> 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 SegmentsEntryRoleModelImpl
.
start
- the lower bound of the range of segments entry rolesend
- the upper bound of the range of segments entry roles (not inclusive)public static java.util.List<SegmentsEntryRole> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> 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 SegmentsEntryRoleModelImpl
.
start
- the lower bound of the range of segments entry rolesend
- the upper bound of the range of segments entry roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SegmentsEntryRole> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> 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 SegmentsEntryRoleModelImpl
.
start
- the lower bound of the range of segments entry rolesend
- the upper bound of the range of segments entry roles (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 SegmentsEntryRolePersistence getPersistence()