@ProviderType public interface UserGroupGroupRolePersistence extends BasePersistence<UserGroupGroupRole>, CTPersistence<UserGroupGroupRole>
Caching information and settings can be found in portal.properties
UserGroupGroupRoleUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<UserGroupGroupRole> userGroupGroupRoles)
Caches the user group group roles in the entity cache if it is enabled.
|
void |
cacheResult(UserGroupGroupRole userGroupGroupRole)
Caches the user group group role in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of user group group roles.
|
int |
countByG_R(long groupId,
long roleId)
Returns the number of user group group roles where groupId = ? and roleId = ?.
|
int |
countByGroupId(long groupId)
Returns the number of user group group roles where groupId = ?.
|
int |
countByRoleId(long roleId)
Returns the number of user group group roles where roleId = ?.
|
int |
countByU_G_R(long userGroupId,
long groupId,
long roleId)
Returns the number of user group group roles where userGroupId = ? and groupId = ? and roleId = ?.
|
int |
countByU_G(long userGroupId,
long groupId)
Returns the number of user group group roles where userGroupId = ? and groupId = ?.
|
int |
countByUserGroupId(long userGroupId)
Returns the number of user group group roles where userGroupId = ?.
|
UserGroupGroupRole |
create(long userGroupGroupRoleId)
Creates a new user group group role with the primary key.
|
UserGroupGroupRole |
fetchByG_R_First(long groupId,
long roleId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the first user group group role in the ordered set where groupId = ? and roleId = ?.
|
UserGroupGroupRole |
fetchByG_R_Last(long groupId,
long roleId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the last user group group role in the ordered set where groupId = ? and roleId = ?.
|
UserGroupGroupRole |
fetchByGroupId_First(long groupId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the first user group group role in the ordered set where groupId = ?.
|
UserGroupGroupRole |
fetchByGroupId_Last(long groupId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the last user group group role in the ordered set where groupId = ?.
|
UserGroupGroupRole |
fetchByPrimaryKey(long userGroupGroupRoleId)
Returns the user group group role with the primary key or returns
null if it could not be found. |
UserGroupGroupRole |
fetchByRoleId_First(long roleId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the first user group group role in the ordered set where roleId = ?.
|
UserGroupGroupRole |
fetchByRoleId_Last(long roleId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the last user group group role in the ordered set where roleId = ?.
|
UserGroupGroupRole |
fetchByU_G_First(long userGroupId,
long groupId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the first user group group role in the ordered set where userGroupId = ? and groupId = ?.
|
UserGroupGroupRole |
fetchByU_G_Last(long userGroupId,
long groupId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the last user group group role in the ordered set where userGroupId = ? and groupId = ?.
|
UserGroupGroupRole |
fetchByU_G_R(long userGroupId,
long groupId,
long roleId)
Returns the user group group role where userGroupId = ? and groupId = ? and roleId = ? or returns
null if it could not be found. |
UserGroupGroupRole |
fetchByU_G_R(long userGroupId,
long groupId,
long roleId,
boolean useFinderCache)
Returns the user group group role where userGroupId = ? and groupId = ? and roleId = ? or returns
null if it could not be found, optionally using the finder cache. |
UserGroupGroupRole |
fetchByUserGroupId_First(long userGroupId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the first user group group role in the ordered set where userGroupId = ?.
|
UserGroupGroupRole |
fetchByUserGroupId_Last(long userGroupId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the last user group group role in the ordered set where userGroupId = ?.
|
java.util.List<UserGroupGroupRole> |
findAll()
Returns all the user group group roles.
|
java.util.List<UserGroupGroupRole> |
findAll(int start,
int end)
Returns a range of all the user group group roles.
|
java.util.List<UserGroupGroupRole> |
findAll(int start,
int end,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns an ordered range of all the user group group roles.
|
java.util.List<UserGroupGroupRole> |
findAll(int start,
int end,
OrderByComparator<UserGroupGroupRole> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the user group group roles.
|
UserGroupGroupRole |
findByG_R_First(long groupId,
long roleId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the first user group group role in the ordered set where groupId = ? and roleId = ?.
|
UserGroupGroupRole |
findByG_R_Last(long groupId,
long roleId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the last user group group role in the ordered set where groupId = ? and roleId = ?.
|
UserGroupGroupRole[] |
findByG_R_PrevAndNext(long userGroupGroupRoleId,
long groupId,
long roleId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the user group group roles before and after the current user group group role in the ordered set where groupId = ? and roleId = ?.
|
java.util.List<UserGroupGroupRole> |
findByG_R(long groupId,
long roleId)
Returns all the user group group roles where groupId = ? and roleId = ?.
|
java.util.List<UserGroupGroupRole> |
findByG_R(long groupId,
long roleId,
int start,
int end)
Returns a range of all the user group group roles where groupId = ? and roleId = ?.
|
java.util.List<UserGroupGroupRole> |
findByG_R(long groupId,
long roleId,
int start,
int end,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns an ordered range of all the user group group roles where groupId = ? and roleId = ?.
|
java.util.List<UserGroupGroupRole> |
findByG_R(long groupId,
long roleId,
int start,
int end,
OrderByComparator<UserGroupGroupRole> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the user group group roles where groupId = ? and roleId = ?.
|
UserGroupGroupRole |
findByGroupId_First(long groupId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the first user group group role in the ordered set where groupId = ?.
|
UserGroupGroupRole |
findByGroupId_Last(long groupId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the last user group group role in the ordered set where groupId = ?.
|
UserGroupGroupRole[] |
findByGroupId_PrevAndNext(long userGroupGroupRoleId,
long groupId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the user group group roles before and after the current user group group role in the ordered set where groupId = ?.
|
java.util.List<UserGroupGroupRole> |
findByGroupId(long groupId)
Returns all the user group group roles where groupId = ?.
|
java.util.List<UserGroupGroupRole> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the user group group roles where groupId = ?.
|
java.util.List<UserGroupGroupRole> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns an ordered range of all the user group group roles where groupId = ?.
|
java.util.List<UserGroupGroupRole> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<UserGroupGroupRole> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the user group group roles where groupId = ?.
|
UserGroupGroupRole |
findByPrimaryKey(long userGroupGroupRoleId)
Returns the user group group role with the primary key or throws a
NoSuchUserGroupGroupRoleException if it could not be found. |
UserGroupGroupRole |
findByRoleId_First(long roleId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the first user group group role in the ordered set where roleId = ?.
|
UserGroupGroupRole |
findByRoleId_Last(long roleId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the last user group group role in the ordered set where roleId = ?.
|
UserGroupGroupRole[] |
findByRoleId_PrevAndNext(long userGroupGroupRoleId,
long roleId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the user group group roles before and after the current user group group role in the ordered set where roleId = ?.
|
java.util.List<UserGroupGroupRole> |
findByRoleId(long roleId)
Returns all the user group group roles where roleId = ?.
|
java.util.List<UserGroupGroupRole> |
findByRoleId(long roleId,
int start,
int end)
Returns a range of all the user group group roles where roleId = ?.
|
java.util.List<UserGroupGroupRole> |
findByRoleId(long roleId,
int start,
int end,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns an ordered range of all the user group group roles where roleId = ?.
|
java.util.List<UserGroupGroupRole> |
findByRoleId(long roleId,
int start,
int end,
OrderByComparator<UserGroupGroupRole> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the user group group roles where roleId = ?.
|
UserGroupGroupRole |
findByU_G_First(long userGroupId,
long groupId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the first user group group role in the ordered set where userGroupId = ? and groupId = ?.
|
UserGroupGroupRole |
findByU_G_Last(long userGroupId,
long groupId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the last user group group role in the ordered set where userGroupId = ? and groupId = ?.
|
UserGroupGroupRole[] |
findByU_G_PrevAndNext(long userGroupGroupRoleId,
long userGroupId,
long groupId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the user group group roles before and after the current user group group role in the ordered set where userGroupId = ? and groupId = ?.
|
UserGroupGroupRole |
findByU_G_R(long userGroupId,
long groupId,
long roleId)
Returns the user group group role where userGroupId = ? and groupId = ? and roleId = ? or throws a
NoSuchUserGroupGroupRoleException if it could not be found. |
java.util.List<UserGroupGroupRole> |
findByU_G(long userGroupId,
long groupId)
Returns all the user group group roles where userGroupId = ? and groupId = ?.
|
java.util.List<UserGroupGroupRole> |
findByU_G(long userGroupId,
long groupId,
int start,
int end)
Returns a range of all the user group group roles where userGroupId = ? and groupId = ?.
|
java.util.List<UserGroupGroupRole> |
findByU_G(long userGroupId,
long groupId,
int start,
int end,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns an ordered range of all the user group group roles where userGroupId = ? and groupId = ?.
|
java.util.List<UserGroupGroupRole> |
findByU_G(long userGroupId,
long groupId,
int start,
int end,
OrderByComparator<UserGroupGroupRole> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the user group group roles where userGroupId = ? and groupId = ?.
|
UserGroupGroupRole |
findByUserGroupId_First(long userGroupId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the first user group group role in the ordered set where userGroupId = ?.
|
UserGroupGroupRole |
findByUserGroupId_Last(long userGroupId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the last user group group role in the ordered set where userGroupId = ?.
|
UserGroupGroupRole[] |
findByUserGroupId_PrevAndNext(long userGroupGroupRoleId,
long userGroupId,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns the user group group roles before and after the current user group group role in the ordered set where userGroupId = ?.
|
java.util.List<UserGroupGroupRole> |
findByUserGroupId(long userGroupId)
Returns all the user group group roles where userGroupId = ?.
|
java.util.List<UserGroupGroupRole> |
findByUserGroupId(long userGroupId,
int start,
int end)
Returns a range of all the user group group roles where userGroupId = ?.
|
java.util.List<UserGroupGroupRole> |
findByUserGroupId(long userGroupId,
int start,
int end,
OrderByComparator<UserGroupGroupRole> orderByComparator)
Returns an ordered range of all the user group group roles where userGroupId = ?.
|
java.util.List<UserGroupGroupRole> |
findByUserGroupId(long userGroupId,
int start,
int end,
OrderByComparator<UserGroupGroupRole> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the user group group roles where userGroupId = ?.
|
UserGroupGroupRole |
remove(long userGroupGroupRoleId)
Removes the user group group role with the primary key from the database.
|
void |
removeAll()
Removes all the user group group roles from the database.
|
void |
removeByG_R(long groupId,
long roleId)
Removes all the user group group roles where groupId = ? and roleId = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the user group group roles where groupId = ? from the database.
|
void |
removeByRoleId(long roleId)
Removes all the user group group roles where roleId = ? from the database.
|
UserGroupGroupRole |
removeByU_G_R(long userGroupId,
long groupId,
long roleId)
Removes the user group group role where userGroupId = ? and groupId = ? and roleId = ? from the database.
|
void |
removeByU_G(long userGroupId,
long groupId)
Removes all the user group group roles where userGroupId = ? and groupId = ? from the database.
|
void |
removeByUserGroupId(long userGroupId)
Removes all the user group group roles where userGroupId = ? from the database.
|
UserGroupGroupRole |
updateImpl(UserGroupGroupRole userGroupGroupRole) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
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, setDataSource, unregisterListener, update, update
java.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId)
userGroupId
- the user group IDjava.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId, 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 UserGroupGroupRoleModelImpl
.
userGroupId
- the user group IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)java.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId, int start, int end, OrderByComparator<UserGroupGroupRole> 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 UserGroupGroupRoleModelImpl
.
userGroupId
- the user group IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<UserGroupGroupRole> findByUserGroupId(long userGroupId, int start, int end, OrderByComparator<UserGroupGroupRole> 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 UserGroupGroupRoleModelImpl
.
userGroupId
- the user group IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheUserGroupGroupRole findByUserGroupId_First(long userGroupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException
userGroupId
- the user group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be foundUserGroupGroupRole fetchByUserGroupId_First(long userGroupId, OrderByComparator<UserGroupGroupRole> orderByComparator)
userGroupId
- the user group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching user group group role could not be foundUserGroupGroupRole findByUserGroupId_Last(long userGroupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException
userGroupId
- the user group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be foundUserGroupGroupRole fetchByUserGroupId_Last(long userGroupId, OrderByComparator<UserGroupGroupRole> orderByComparator)
userGroupId
- the user group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching user group group role could not be foundUserGroupGroupRole[] findByUserGroupId_PrevAndNext(long userGroupGroupRoleId, long userGroupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException
userGroupGroupRoleId
- the primary key of the current user group group roleuserGroupId
- the user group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchUserGroupGroupRoleException
- if a user group group role with the primary key could not be foundvoid removeByUserGroupId(long userGroupId)
userGroupId
- the user group IDint countByUserGroupId(long userGroupId)
userGroupId
- the user group IDjava.util.List<UserGroupGroupRole> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<UserGroupGroupRole> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from UserGroupGroupRoleModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)java.util.List<UserGroupGroupRole> findByGroupId(long groupId, int start, int end, OrderByComparator<UserGroupGroupRole> 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 UserGroupGroupRoleModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<UserGroupGroupRole> findByGroupId(long groupId, int start, int end, OrderByComparator<UserGroupGroupRole> 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 UserGroupGroupRoleModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheUserGroupGroupRole findByGroupId_First(long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be foundUserGroupGroupRole fetchByGroupId_First(long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching user group group role could not be foundUserGroupGroupRole findByGroupId_Last(long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be foundUserGroupGroupRole fetchByGroupId_Last(long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching user group group role could not be foundUserGroupGroupRole[] findByGroupId_PrevAndNext(long userGroupGroupRoleId, long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException
userGroupGroupRoleId
- the primary key of the current user group group rolegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchUserGroupGroupRoleException
- if a user group group role with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDjava.util.List<UserGroupGroupRole> findByRoleId(long roleId)
roleId
- the role IDjava.util.List<UserGroupGroupRole> 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 UserGroupGroupRoleModelImpl
.
roleId
- the role IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)java.util.List<UserGroupGroupRole> findByRoleId(long roleId, int start, int end, OrderByComparator<UserGroupGroupRole> 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 UserGroupGroupRoleModelImpl
.
roleId
- the role IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<UserGroupGroupRole> findByRoleId(long roleId, int start, int end, OrderByComparator<UserGroupGroupRole> 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 UserGroupGroupRoleModelImpl
.
roleId
- the role IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheUserGroupGroupRole findByRoleId_First(long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be foundUserGroupGroupRole fetchByRoleId_First(long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator)
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching user group group role could not be foundUserGroupGroupRole findByRoleId_Last(long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be foundUserGroupGroupRole fetchByRoleId_Last(long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator)
roleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching user group group role could not be foundUserGroupGroupRole[] findByRoleId_PrevAndNext(long userGroupGroupRoleId, long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException
userGroupGroupRoleId
- the primary key of the current user group group roleroleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchUserGroupGroupRoleException
- if a user group group role with the primary key could not be foundvoid removeByRoleId(long roleId)
roleId
- the role IDint countByRoleId(long roleId)
roleId
- the role IDjava.util.List<UserGroupGroupRole> findByU_G(long userGroupId, long groupId)
userGroupId
- the user group IDgroupId
- the group IDjava.util.List<UserGroupGroupRole> findByU_G(long userGroupId, long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from UserGroupGroupRoleModelImpl
.
userGroupId
- the user group IDgroupId
- the group IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)java.util.List<UserGroupGroupRole> findByU_G(long userGroupId, long groupId, int start, int end, OrderByComparator<UserGroupGroupRole> 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 UserGroupGroupRoleModelImpl
.
userGroupId
- the user group IDgroupId
- the group IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<UserGroupGroupRole> findByU_G(long userGroupId, long groupId, int start, int end, OrderByComparator<UserGroupGroupRole> 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 UserGroupGroupRoleModelImpl
.
userGroupId
- the user group IDgroupId
- the group IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheUserGroupGroupRole findByU_G_First(long userGroupId, long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException
userGroupId
- the user group IDgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be foundUserGroupGroupRole fetchByU_G_First(long userGroupId, long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator)
userGroupId
- the user group IDgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching user group group role could not be foundUserGroupGroupRole findByU_G_Last(long userGroupId, long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException
userGroupId
- the user group IDgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be foundUserGroupGroupRole fetchByU_G_Last(long userGroupId, long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator)
userGroupId
- the user group IDgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching user group group role could not be foundUserGroupGroupRole[] findByU_G_PrevAndNext(long userGroupGroupRoleId, long userGroupId, long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException
userGroupGroupRoleId
- the primary key of the current user group group roleuserGroupId
- the user group IDgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchUserGroupGroupRoleException
- if a user group group role with the primary key could not be foundvoid removeByU_G(long userGroupId, long groupId)
userGroupId
- the user group IDgroupId
- the group IDint countByU_G(long userGroupId, long groupId)
userGroupId
- the user group IDgroupId
- the group IDjava.util.List<UserGroupGroupRole> findByG_R(long groupId, long roleId)
groupId
- the group IDroleId
- the role IDjava.util.List<UserGroupGroupRole> findByG_R(long groupId, 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 UserGroupGroupRoleModelImpl
.
groupId
- the group IDroleId
- the role IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)java.util.List<UserGroupGroupRole> findByG_R(long groupId, long roleId, int start, int end, OrderByComparator<UserGroupGroupRole> 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 UserGroupGroupRoleModelImpl
.
groupId
- the group IDroleId
- the role IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<UserGroupGroupRole> findByG_R(long groupId, long roleId, int start, int end, OrderByComparator<UserGroupGroupRole> 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 UserGroupGroupRoleModelImpl
.
groupId
- the group IDroleId
- the role IDstart
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheUserGroupGroupRole findByG_R_First(long groupId, long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException
groupId
- the group IDroleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be foundUserGroupGroupRole fetchByG_R_First(long groupId, long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator)
groupId
- the group IDroleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching user group group role could not be foundUserGroupGroupRole findByG_R_Last(long groupId, long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException
groupId
- the group IDroleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchUserGroupGroupRoleException
- if a matching user group group role could not be foundUserGroupGroupRole fetchByG_R_Last(long groupId, long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator)
groupId
- the group IDroleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching user group group role could not be foundUserGroupGroupRole[] findByG_R_PrevAndNext(long userGroupGroupRoleId, long groupId, long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException
userGroupGroupRoleId
- the primary key of the current user group group rolegroupId
- the group IDroleId
- the role IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchUserGroupGroupRoleException
- if a user group group role with the primary key could not be foundvoid removeByG_R(long groupId, long roleId)
groupId
- the group IDroleId
- the role IDint countByG_R(long groupId, long roleId)
groupId
- the group IDroleId
- the role IDUserGroupGroupRole findByU_G_R(long userGroupId, long groupId, long roleId) throws NoSuchUserGroupGroupRoleException
NoSuchUserGroupGroupRoleException
if it could not be found.userGroupId
- the user group IDgroupId
- the group IDroleId
- the role IDNoSuchUserGroupGroupRoleException
- if a matching user group group role could not be foundUserGroupGroupRole fetchByU_G_R(long userGroupId, long groupId, long roleId)
null
if it could not be found. Uses the finder cache.userGroupId
- the user group IDgroupId
- the group IDroleId
- the role IDnull
if a matching user group group role could not be foundUserGroupGroupRole fetchByU_G_R(long userGroupId, long groupId, long roleId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.userGroupId
- the user group IDgroupId
- the group IDroleId
- the role IDuseFinderCache
- whether to use the finder cachenull
if a matching user group group role could not be foundUserGroupGroupRole removeByU_G_R(long userGroupId, long groupId, long roleId) throws NoSuchUserGroupGroupRoleException
userGroupId
- the user group IDgroupId
- the group IDroleId
- the role IDNoSuchUserGroupGroupRoleException
int countByU_G_R(long userGroupId, long groupId, long roleId)
userGroupId
- the user group IDgroupId
- the group IDroleId
- the role IDvoid cacheResult(UserGroupGroupRole userGroupGroupRole)
userGroupGroupRole
- the user group group rolevoid cacheResult(java.util.List<UserGroupGroupRole> userGroupGroupRoles)
userGroupGroupRoles
- the user group group rolesUserGroupGroupRole create(long userGroupGroupRoleId)
userGroupGroupRoleId
- the primary key for the new user group group roleUserGroupGroupRole remove(long userGroupGroupRoleId) throws NoSuchUserGroupGroupRoleException
userGroupGroupRoleId
- the primary key of the user group group roleNoSuchUserGroupGroupRoleException
- if a user group group role with the primary key could not be foundUserGroupGroupRole updateImpl(UserGroupGroupRole userGroupGroupRole)
UserGroupGroupRole findByPrimaryKey(long userGroupGroupRoleId) throws NoSuchUserGroupGroupRoleException
NoSuchUserGroupGroupRoleException
if it could not be found.userGroupGroupRoleId
- the primary key of the user group group roleNoSuchUserGroupGroupRoleException
- if a user group group role with the primary key could not be foundUserGroupGroupRole fetchByPrimaryKey(long userGroupGroupRoleId)
null
if it could not be found.userGroupGroupRoleId
- the primary key of the user group group rolenull
if a user group group role with the primary key could not be foundjava.util.List<UserGroupGroupRole> findAll()
java.util.List<UserGroupGroupRole> 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 UserGroupGroupRoleModelImpl
.
start
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)java.util.List<UserGroupGroupRole> findAll(int start, int end, OrderByComparator<UserGroupGroupRole> 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 UserGroupGroupRoleModelImpl
.
start
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<UserGroupGroupRole> findAll(int start, int end, OrderByComparator<UserGroupGroupRole> 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 UserGroupGroupRoleModelImpl
.
start
- the lower bound of the range of user group group rolesend
- the upper bound of the range of user group group roles (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()