Interface SegmentsEntryRolePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SegmentsEntryRole>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<SegmentsEntryRole>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(SegmentsEntryRole segmentsEntryRole) Caches the segments entry role in the entity cache if it is enabled.void
cacheResult
(List<SegmentsEntryRole> segmentsEntryRoles) Caches the segments entry roles in the entity cache if it is enabled.int
countAll()
Returns the number of segments entry roles.int
countByRoleId
(long roleId) Returns the number of segments entry roles where roleId = ?.int
countByS_R
(long segmentsEntryId, long roleId) Returns the number of segments entry roles where segmentsEntryId = ? and roleId = ?.int
countBySegmentsEntryId
(long segmentsEntryId) Returns the number of segments entry roles where segmentsEntryId = ?.create
(long segmentsEntryRoleId) Creates a new segments entry role with the primary key.fetchByPrimaryKey
(long segmentsEntryRoleId) Returns the segments entry role with the primary key or returnsnull
if it could not be found.fetchByRoleId_First
(long roleId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) Returns the first segments entry role in the ordered set where roleId = ?.fetchByRoleId_Last
(long roleId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) Returns the last segments entry role in the ordered set where roleId = ?.fetchByS_R
(long segmentsEntryId, long roleId) Returns the segments entry role where segmentsEntryId = ? and roleId = ? or returnsnull
if it could not be found.fetchByS_R
(long segmentsEntryId, long roleId, boolean useFinderCache) Returns the segments entry role where segmentsEntryId = ? and roleId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchBySegmentsEntryId_First
(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) Returns the first segments entry role in the ordered set where segmentsEntryId = ?.fetchBySegmentsEntryId_Last
(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) Returns the last segments entry role in the ordered set where segmentsEntryId = ?.findAll()
Returns all the segments entry roles.findAll
(int start, int end) Returns a range of all the segments entry roles.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) Returns an ordered range of all the segments entry roles.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.findByPrimaryKey
(long segmentsEntryRoleId) Returns the segments entry role with the primary key or throws aNoSuchEntryRoleException
if it could not be found.findByRoleId
(long roleId) Returns all the segments entry roles where roleId = ?.findByRoleId
(long roleId, int start, int end) Returns a range of all the segments entry roles where roleId = ?.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 = ?.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 = ?.findByRoleId_First
(long roleId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) Returns the first segments entry role in the ordered set where roleId = ?.findByRoleId_Last
(long roleId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) Returns the last segments entry role in the ordered set where roleId = ?.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 = ?.findByS_R
(long segmentsEntryId, long roleId) Returns the segments entry role where segmentsEntryId = ? and roleId = ? or throws aNoSuchEntryRoleException
if it could not be found.findBySegmentsEntryId
(long segmentsEntryId) Returns all the segments entry roles where segmentsEntryId = ?.findBySegmentsEntryId
(long segmentsEntryId, int start, int end) Returns a range of all the segments entry roles where segmentsEntryId = ?.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 = ?.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 = ?.findBySegmentsEntryId_First
(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) Returns the first segments entry role in the ordered set where segmentsEntryId = ?.findBySegmentsEntryId_Last
(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) Returns the last segments entry role in the ordered set where segmentsEntryId = ?.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 = ?.remove
(long segmentsEntryRoleId) Removes the segments entry role with the primary key from the database.void
Removes all the segments entry roles from the database.void
removeByRoleId
(long roleId) Removes all the segments entry roles where roleId = ? from the database.removeByS_R
(long segmentsEntryId, long roleId) Removes the segments entry role where segmentsEntryId = ? and roleId = ? from the database.void
removeBySegmentsEntryId
(long segmentsEntryId) Removes all the segments entry roles where segmentsEntryId = ? from the database.updateImpl
(SegmentsEntryRole segmentsEntryRole) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findBySegmentsEntryId
Returns all the segments entry roles where segmentsEntryId = ?.- Parameters:
segmentsEntryId
- the segments entry ID- Returns:
- the matching segments entry roles
-
findBySegmentsEntryId
Returns a range of all the segments entry roles where segmentsEntryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRoleModelImpl
.- Parameters:
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)- Returns:
- the range of matching segments entry roles
-
findBySegmentsEntryId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRoleModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching segments entry roles
-
findBySegmentsEntryId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRoleModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching segments entry roles
-
findBySegmentsEntryId_First
SegmentsEntryRole findBySegmentsEntryId_First(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) throws NoSuchEntryRoleException Returns the first segments entry role in the ordered set where segmentsEntryId = ?.- Parameters:
segmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry role
- Throws:
NoSuchEntryRoleException
- if a matching segments entry role could not be found
-
fetchBySegmentsEntryId_First
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 = ?.- Parameters:
segmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry role, or
null
if a matching segments entry role could not be found
-
findBySegmentsEntryId_Last
SegmentsEntryRole findBySegmentsEntryId_Last(long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) throws NoSuchEntryRoleException Returns the last segments entry role in the ordered set where segmentsEntryId = ?.- Parameters:
segmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry role
- Throws:
NoSuchEntryRoleException
- if a matching segments entry role could not be found
-
fetchBySegmentsEntryId_Last
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 = ?.- Parameters:
segmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry role, or
null
if a matching segments entry role could not be found
-
findBySegmentsEntryId_PrevAndNext
SegmentsEntryRole[] findBySegmentsEntryId_PrevAndNext(long segmentsEntryRoleId, long segmentsEntryId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) throws NoSuchEntryRoleException Returns the segments entry roles before and after the current segments entry role in the ordered set where segmentsEntryId = ?.- Parameters:
segmentsEntryRoleId
- the primary key of the current segments entry rolesegmentsEntryId
- the segments entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry role
- Throws:
NoSuchEntryRoleException
- if a segments entry role with the primary key could not be found
-
removeBySegmentsEntryId
void removeBySegmentsEntryId(long segmentsEntryId) Removes all the segments entry roles where segmentsEntryId = ? from the database.- Parameters:
segmentsEntryId
- the segments entry ID
-
countBySegmentsEntryId
int countBySegmentsEntryId(long segmentsEntryId) Returns the number of segments entry roles where segmentsEntryId = ?.- Parameters:
segmentsEntryId
- the segments entry ID- Returns:
- the number of matching segments entry roles
-
findByRoleId
Returns all the segments entry roles where roleId = ?.- Parameters:
roleId
- the role ID- Returns:
- the matching segments entry roles
-
findByRoleId
Returns a range of all the segments entry roles where roleId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRoleModelImpl
.- Parameters:
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)- Returns:
- the range of matching segments entry roles
-
findByRoleId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRoleModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching segments entry roles
-
findByRoleId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRoleModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching segments entry roles
-
findByRoleId_First
SegmentsEntryRole findByRoleId_First(long roleId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) throws NoSuchEntryRoleException Returns the first segments entry role in the ordered set where roleId = ?.- Parameters:
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry role
- Throws:
NoSuchEntryRoleException
- if a matching segments entry role could not be found
-
fetchByRoleId_First
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 = ?.- Parameters:
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching segments entry role, or
null
if a matching segments entry role could not be found
-
findByRoleId_Last
SegmentsEntryRole findByRoleId_Last(long roleId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) throws NoSuchEntryRoleException Returns the last segments entry role in the ordered set where roleId = ?.- Parameters:
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry role
- Throws:
NoSuchEntryRoleException
- if a matching segments entry role could not be found
-
fetchByRoleId_Last
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 = ?.- Parameters:
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching segments entry role, or
null
if a matching segments entry role could not be found
-
findByRoleId_PrevAndNext
SegmentsEntryRole[] findByRoleId_PrevAndNext(long segmentsEntryRoleId, long roleId, com.liferay.portal.kernel.util.OrderByComparator<SegmentsEntryRole> orderByComparator) throws NoSuchEntryRoleException Returns the segments entry roles before and after the current segments entry role in the ordered set where roleId = ?.- Parameters:
segmentsEntryRoleId
- the primary key of the current segments entry roleroleId
- the role IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next segments entry role
- Throws:
NoSuchEntryRoleException
- if a segments entry role with the primary key could not be found
-
removeByRoleId
void removeByRoleId(long roleId) Removes all the segments entry roles where roleId = ? from the database.- Parameters:
roleId
- the role ID
-
countByRoleId
int countByRoleId(long roleId) Returns the number of segments entry roles where roleId = ?.- Parameters:
roleId
- the role ID- Returns:
- the number of matching segments entry roles
-
findByS_R
Returns the segments entry role where segmentsEntryId = ? and roleId = ? or throws aNoSuchEntryRoleException
if it could not be found.- Parameters:
segmentsEntryId
- the segments entry IDroleId
- the role ID- Returns:
- the matching segments entry role
- Throws:
NoSuchEntryRoleException
- if a matching segments entry role could not be found
-
fetchByS_R
Returns the segments entry role where segmentsEntryId = ? and roleId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
segmentsEntryId
- the segments entry IDroleId
- the role ID- Returns:
- the matching segments entry role, or
null
if a matching segments entry role could not be found
-
fetchByS_R
Returns the segments entry role where segmentsEntryId = ? and roleId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
segmentsEntryId
- the segments entry IDroleId
- the role IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching segments entry role, or
null
if a matching segments entry role could not be found
-
removeByS_R
Removes the segments entry role where segmentsEntryId = ? and roleId = ? from the database.- Parameters:
segmentsEntryId
- the segments entry IDroleId
- the role ID- Returns:
- the segments entry role that was removed
- Throws:
NoSuchEntryRoleException
-
countByS_R
int countByS_R(long segmentsEntryId, long roleId) Returns the number of segments entry roles where segmentsEntryId = ? and roleId = ?.- Parameters:
segmentsEntryId
- the segments entry IDroleId
- the role ID- Returns:
- the number of matching segments entry roles
-
cacheResult
Caches the segments entry role in the entity cache if it is enabled.- Parameters:
segmentsEntryRole
- the segments entry role
-
cacheResult
Caches the segments entry roles in the entity cache if it is enabled.- Parameters:
segmentsEntryRoles
- the segments entry roles
-
create
Creates a new segments entry role with the primary key. Does not add the segments entry role to the database.- Parameters:
segmentsEntryRoleId
- the primary key for the new segments entry role- Returns:
- the new segments entry role
-
remove
Removes the segments entry role with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
segmentsEntryRoleId
- the primary key of the segments entry role- Returns:
- the segments entry role that was removed
- Throws:
NoSuchEntryRoleException
- if a segments entry role with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the segments entry role with the primary key or throws aNoSuchEntryRoleException
if it could not be found.- Parameters:
segmentsEntryRoleId
- the primary key of the segments entry role- Returns:
- the segments entry role
- Throws:
NoSuchEntryRoleException
- if a segments entry role with the primary key could not be found
-
fetchByPrimaryKey
Returns the segments entry role with the primary key or returnsnull
if it could not be found.- Parameters:
segmentsEntryRoleId
- the primary key of the segments entry role- Returns:
- the segments entry role, or
null
if a segments entry role with the primary key could not be found
-
findAll
List<SegmentsEntryRole> findAll()Returns all the segments entry roles.- Returns:
- the segments entry roles
-
findAll
Returns a range of all the segments entry roles.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRoleModelImpl
.- Parameters:
start
- the lower bound of the range of segments entry rolesend
- the upper bound of the range of segments entry roles (not inclusive)- Returns:
- the range of segments entry roles
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRoleModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of segments entry roles
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromSegmentsEntryRoleModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of segments entry roles
-
removeAll
void removeAll()Removes all the segments entry roles from the database. -
countAll
int countAll()Returns the number of segments entry roles.- Returns:
- the number of segments entry roles
-