Class UserGroupGroupRoleUtil
com.liferay.portal.service.persistence.impl.UserGroupGroupRolePersistenceImpl 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
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(UserGroupGroupRole userGroupGroupRole) Caches the user group group role in the entity cache if it is enabled.static voidcacheResult(List<UserGroupGroupRole> userGroupGroupRoles) Caches the user group group roles in the entity cache if it is enabled.static voidstatic voidclearCache(UserGroupGroupRole userGroupGroupRole) static intcountAll()Returns the number of user group group roles.static intcountByG_R(long groupId, long roleId) Returns the number of user group group roles where groupId = ? and roleId = ?.static intcountByGroupId(long groupId) Returns the number of user group group roles where groupId = ?.static intcountByRoleId(long roleId) Returns the number of user group group roles where roleId = ?.static intcountByU_G(long userGroupId, long groupId) Returns the number of user group group roles where userGroupId = ? and groupId = ?.static intcountByU_G_R(long userGroupId, long groupId, long roleId) Returns the number of user group group roles where userGroupId = ? and groupId = ? and roleId = ?.static intcountByUserGroupId(long userGroupId) Returns the number of user group group roles where userGroupId = ?.static longcountWithDynamicQuery(DynamicQuery dynamicQuery) static UserGroupGroupRolecreate(long userGroupGroupRoleId) Creates a new user group group role with the primary key.static UserGroupGroupRolefetchByG_R_First(long groupId, long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the first user group group role in the ordered set where groupId = ? and roleId = ?.static UserGroupGroupRolefetchByG_R_Last(long groupId, long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the last user group group role in the ordered set where groupId = ? and roleId = ?.static UserGroupGroupRolefetchByGroupId_First(long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the first user group group role in the ordered set where groupId = ?.static UserGroupGroupRolefetchByGroupId_Last(long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the last user group group role in the ordered set where groupId = ?.static UserGroupGroupRolefetchByPrimaryKey(long userGroupGroupRoleId) Returns the user group group role with the primary key or returnsnullif it could not be found.static Map<Serializable,UserGroupGroupRole> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static UserGroupGroupRolefetchByRoleId_First(long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the first user group group role in the ordered set where roleId = ?.static UserGroupGroupRolefetchByRoleId_Last(long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the last user group group role in the ordered set where roleId = ?.static UserGroupGroupRolefetchByU_G_First(long userGroupId, long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the first user group group role in the ordered set where userGroupId = ? and groupId = ?.static UserGroupGroupRolefetchByU_G_Last(long userGroupId, long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the last user group group role in the ordered set where userGroupId = ? and groupId = ?.static UserGroupGroupRolefetchByU_G_R(long userGroupId, long groupId, long roleId) Returns the user group group role where userGroupId = ? and groupId = ? and roleId = ? or returnsnullif it could not be found.static UserGroupGroupRolefetchByU_G_R(long userGroupId, long groupId, long roleId, boolean useFinderCache) Returns the user group group role where userGroupId = ? and groupId = ? and roleId = ? or returnsnullif it could not be found, optionally using the finder cache.static UserGroupGroupRolefetchByUserGroupId_First(long userGroupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the first user group group role in the ordered set where userGroupId = ?.static UserGroupGroupRolefetchByUserGroupId_Last(long userGroupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the last user group group role in the ordered set where userGroupId = ?.static List<UserGroupGroupRole>findAll()Returns all the user group group roles.static List<UserGroupGroupRole>findAll(int start, int end) Returns a range of all the user group group roles.static List<UserGroupGroupRole>findAll(int start, int end, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns an ordered range of all the user group group roles.static List<UserGroupGroupRole>findAll(int start, int end, OrderByComparator<UserGroupGroupRole> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user group group roles.static List<UserGroupGroupRole>findByG_R(long groupId, long roleId) Returns all the user group group roles where groupId = ? and roleId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static UserGroupGroupRolefindByG_R_First(long groupId, long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the first user group group role in the ordered set where groupId = ? and roleId = ?.static UserGroupGroupRolefindByG_R_Last(long groupId, long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the last user group group role in the ordered set where groupId = ? and roleId = ?.static 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 = ?.static List<UserGroupGroupRole>findByGroupId(long groupId) Returns all the user group group roles where groupId = ?.static List<UserGroupGroupRole>findByGroupId(long groupId, int start, int end) Returns a range of all the user group group roles where groupId = ?.static 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 = ?.static 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 = ?.static UserGroupGroupRolefindByGroupId_First(long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the first user group group role in the ordered set where groupId = ?.static UserGroupGroupRolefindByGroupId_Last(long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the last user group group role in the ordered set where groupId = ?.static 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 = ?.static UserGroupGroupRolefindByPrimaryKey(long userGroupGroupRoleId) Returns the user group group role with the primary key or throws aNoSuchUserGroupGroupRoleExceptionif it could not be found.static List<UserGroupGroupRole>findByRoleId(long roleId) Returns all the user group group roles where roleId = ?.static List<UserGroupGroupRole>findByRoleId(long roleId, int start, int end) Returns a range of all the user group group roles where roleId = ?.static 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 = ?.static 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 = ?.static UserGroupGroupRolefindByRoleId_First(long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the first user group group role in the ordered set where roleId = ?.static UserGroupGroupRolefindByRoleId_Last(long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the last user group group role in the ordered set where roleId = ?.static 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 = ?.static List<UserGroupGroupRole>findByU_G(long userGroupId, long groupId) Returns all the user group group roles where userGroupId = ? and groupId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static UserGroupGroupRolefindByU_G_First(long userGroupId, long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the first user group group role in the ordered set where userGroupId = ? and groupId = ?.static UserGroupGroupRolefindByU_G_Last(long userGroupId, long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the last user group group role in the ordered set where userGroupId = ? and groupId = ?.static 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 = ?.static UserGroupGroupRolefindByU_G_R(long userGroupId, long groupId, long roleId) Returns the user group group role where userGroupId = ? and groupId = ? and roleId = ? or throws aNoSuchUserGroupGroupRoleExceptionif it could not be found.static List<UserGroupGroupRole>findByUserGroupId(long userGroupId) Returns all the user group group roles where userGroupId = ?.static List<UserGroupGroupRole>findByUserGroupId(long userGroupId, int start, int end) Returns a range of all the user group group roles where userGroupId = ?.static 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 = ?.static 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 = ?.static UserGroupGroupRolefindByUserGroupId_First(long userGroupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the first user group group role in the ordered set where userGroupId = ?.static UserGroupGroupRolefindByUserGroupId_Last(long userGroupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the last user group group role in the ordered set where userGroupId = ?.static 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 = ?.static List<UserGroupGroupRole>findWithDynamicQuery(DynamicQuery dynamicQuery) static List<UserGroupGroupRole>findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) static List<UserGroupGroupRole>findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<UserGroupGroupRole> orderByComparator) static UserGroupGroupRoleremove(long userGroupGroupRoleId) Removes the user group group role with the primary key from the database.static voidRemoves all the user group group roles from the database.static voidremoveByG_R(long groupId, long roleId) Removes all the user group group roles where groupId = ? and roleId = ? from the database.static voidremoveByGroupId(long groupId) Removes all the user group group roles where groupId = ? from the database.static voidremoveByRoleId(long roleId) Removes all the user group group roles where roleId = ? from the database.static voidremoveByU_G(long userGroupId, long groupId) Removes all the user group group roles where userGroupId = ? and groupId = ? from the database.static UserGroupGroupRoleremoveByU_G_R(long userGroupId, long groupId, long roleId) Removes the user group group role where userGroupId = ? and groupId = ? and roleId = ? from the database.static voidremoveByUserGroupId(long userGroupId) Removes all the user group group roles where userGroupId = ? from the database.static voidsetPersistence(UserGroupGroupRolePersistence persistence) static UserGroupGroupRoleupdate(UserGroupGroupRole userGroupGroupRole) static UserGroupGroupRoleupdate(UserGroupGroupRole userGroupGroupRole, ServiceContext serviceContext) static UserGroupGroupRoleupdateImpl(UserGroupGroupRole userGroupGroupRole)
-
Constructor Details
-
UserGroupGroupRoleUtil
public UserGroupGroupRoleUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
-
countWithDynamicQuery
-
fetchByPrimaryKeys
public static Map<Serializable,UserGroupGroupRole> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
-
findWithDynamicQuery
public static List<UserGroupGroupRole> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) -
findWithDynamicQuery
public static List<UserGroupGroupRole> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<UserGroupGroupRole> orderByComparator) -
update
-
update
public static UserGroupGroupRole update(UserGroupGroupRole userGroupGroupRole, ServiceContext serviceContext) -
findByUserGroupId
Returns all the user group group roles where userGroupId = ?.- Parameters:
userGroupId- the user group ID- Returns:
- the matching user group group roles
-
findByUserGroupId
Returns a range of all the user group group roles where userGroupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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)- Returns:
- the range of matching user group group roles
-
findByUserGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching user group group roles
-
findByUserGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching user group group roles
-
findByUserGroupId_First
public static UserGroupGroupRole findByUserGroupId_First(long userGroupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException Returns the first user group group role in the ordered set where userGroupId = ?.- Parameters:
userGroupId- the user group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a matching user group group role could not be foundNoSuchUserGroupGroupRoleException
-
fetchByUserGroupId_First
public static UserGroupGroupRole fetchByUserGroupId_First(long userGroupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the first user group group role in the ordered set where userGroupId = ?.- Parameters:
userGroupId- the user group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching user group group role, or
nullif a matching user group group role could not be found
-
findByUserGroupId_Last
public static UserGroupGroupRole findByUserGroupId_Last(long userGroupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException Returns the last user group group role in the ordered set where userGroupId = ?.- Parameters:
userGroupId- the user group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a matching user group group role could not be foundNoSuchUserGroupGroupRoleException
-
fetchByUserGroupId_Last
public static UserGroupGroupRole fetchByUserGroupId_Last(long userGroupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the last user group group role in the ordered set where userGroupId = ?.- Parameters:
userGroupId- the user group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching user group group role, or
nullif a matching user group group role could not be found
-
findByUserGroupId_PrevAndNext
public static UserGroupGroupRole[] findByUserGroupId_PrevAndNext(long userGroupGroupRoleId, long userGroupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException Returns the user group group roles before and after the current user group group role in the ordered set where userGroupId = ?.- Parameters:
userGroupGroupRoleId- the primary key of the current user group group roleuserGroupId- the user group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a user group group role with the primary key could not be foundNoSuchUserGroupGroupRoleException
-
removeByUserGroupId
public static void removeByUserGroupId(long userGroupId) Removes all the user group group roles where userGroupId = ? from the database.- Parameters:
userGroupId- the user group ID
-
countByUserGroupId
public static int countByUserGroupId(long userGroupId) Returns the number of user group group roles where userGroupId = ?.- Parameters:
userGroupId- the user group ID- Returns:
- the number of matching user group group roles
-
findByGroupId
Returns all the user group group roles where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching user group group roles
-
findByGroupId
Returns a range of all the user group group roles where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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)- Returns:
- the range of matching user group group roles
-
findByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching user group group roles
-
findByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching user group group roles
-
findByGroupId_First
public static UserGroupGroupRole findByGroupId_First(long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException Returns the first user group group role in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a matching user group group role could not be foundNoSuchUserGroupGroupRoleException
-
fetchByGroupId_First
public static UserGroupGroupRole fetchByGroupId_First(long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the first user group group role in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching user group group role, or
nullif a matching user group group role could not be found
-
findByGroupId_Last
public static UserGroupGroupRole findByGroupId_Last(long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException Returns the last user group group role in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a matching user group group role could not be foundNoSuchUserGroupGroupRoleException
-
fetchByGroupId_Last
public static UserGroupGroupRole fetchByGroupId_Last(long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the last user group group role in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching user group group role, or
nullif a matching user group group role could not be found
-
findByGroupId_PrevAndNext
public static UserGroupGroupRole[] findByGroupId_PrevAndNext(long userGroupGroupRoleId, long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException Returns the user group group roles before and after the current user group group role in the ordered set where groupId = ?.- Parameters:
userGroupGroupRoleId- the primary key of the current user group group rolegroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a user group group role with the primary key could not be foundNoSuchUserGroupGroupRoleException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the user group group roles where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of user group group roles where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching user group group roles
-
findByRoleId
Returns all the user group group roles where roleId = ?.- Parameters:
roleId- the role ID- Returns:
- the matching user group group roles
-
findByRoleId
Returns a range of all the user group group roles where roleId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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)- Returns:
- the range of matching user group group roles
-
findByRoleId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching user group group roles
-
findByRoleId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching user group group roles
-
findByRoleId_First
public static UserGroupGroupRole findByRoleId_First(long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException Returns the first user group group role in the ordered set where roleId = ?.- Parameters:
roleId- the role IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a matching user group group role could not be foundNoSuchUserGroupGroupRoleException
-
fetchByRoleId_First
public static UserGroupGroupRole fetchByRoleId_First(long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the first user group group role in the ordered set where roleId = ?.- Parameters:
roleId- the role IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching user group group role, or
nullif a matching user group group role could not be found
-
findByRoleId_Last
public static UserGroupGroupRole findByRoleId_Last(long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException Returns the last user group group role in the ordered set where roleId = ?.- Parameters:
roleId- the role IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a matching user group group role could not be foundNoSuchUserGroupGroupRoleException
-
fetchByRoleId_Last
public static UserGroupGroupRole fetchByRoleId_Last(long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns the last user group group role in the ordered set where roleId = ?.- Parameters:
roleId- the role IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching user group group role, or
nullif a matching user group group role could not be found
-
findByRoleId_PrevAndNext
public static UserGroupGroupRole[] findByRoleId_PrevAndNext(long userGroupGroupRoleId, long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException Returns the user group group roles before and after the current user group group role in the ordered set where roleId = ?.- Parameters:
userGroupGroupRoleId- the primary key of the current user group group roleroleId- the role IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a user group group role with the primary key could not be foundNoSuchUserGroupGroupRoleException
-
removeByRoleId
public static void removeByRoleId(long roleId) Removes all the user group group roles where roleId = ? from the database.- Parameters:
roleId- the role ID
-
countByRoleId
public static int countByRoleId(long roleId) Returns the number of user group group roles where roleId = ?.- Parameters:
roleId- the role ID- Returns:
- the number of matching user group group roles
-
findByU_G
Returns all the user group group roles where userGroupId = ? and groupId = ?.- Parameters:
userGroupId- the user group IDgroupId- the group ID- Returns:
- the matching user group group roles
-
findByU_G
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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)- Returns:
- the range of matching user group group roles
-
findByU_G
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching user group group roles
-
findByU_G
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching user group group roles
-
findByU_G_First
public static UserGroupGroupRole findByU_G_First(long userGroupId, long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException Returns the first user group group role in the ordered set where userGroupId = ? and groupId = ?.- Parameters:
userGroupId- the user group IDgroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a matching user group group role could not be foundNoSuchUserGroupGroupRoleException
-
fetchByU_G_First
public static 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 = ?.- Parameters:
userGroupId- the user group IDgroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching user group group role, or
nullif a matching user group group role could not be found
-
findByU_G_Last
public static UserGroupGroupRole findByU_G_Last(long userGroupId, long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException Returns the last user group group role in the ordered set where userGroupId = ? and groupId = ?.- Parameters:
userGroupId- the user group IDgroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a matching user group group role could not be foundNoSuchUserGroupGroupRoleException
-
fetchByU_G_Last
public static 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 = ?.- Parameters:
userGroupId- the user group IDgroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching user group group role, or
nullif a matching user group group role could not be found
-
findByU_G_PrevAndNext
public static UserGroupGroupRole[] findByU_G_PrevAndNext(long userGroupGroupRoleId, long userGroupId, long groupId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException Returns the user group group roles before and after the current user group group role in the ordered set where userGroupId = ? and groupId = ?.- Parameters:
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 (optionallynull)- Returns:
- the previous, current, and next user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a user group group role with the primary key could not be foundNoSuchUserGroupGroupRoleException
-
removeByU_G
public static void removeByU_G(long userGroupId, long groupId) Removes all the user group group roles where userGroupId = ? and groupId = ? from the database.- Parameters:
userGroupId- the user group IDgroupId- the group ID
-
countByU_G
public static int countByU_G(long userGroupId, long groupId) Returns the number of user group group roles where userGroupId = ? and groupId = ?.- Parameters:
userGroupId- the user group IDgroupId- the group ID- Returns:
- the number of matching user group group roles
-
findByG_R
Returns all the user group group roles where groupId = ? and roleId = ?.- Parameters:
groupId- the group IDroleId- the role ID- Returns:
- the matching user group group roles
-
findByG_R
Returns a range of all the user group group roles where groupId = ? and roleId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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)- Returns:
- the range of matching user group group roles
-
findByG_R
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching user group group roles
-
findByG_R
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching user group group roles
-
findByG_R_First
public static UserGroupGroupRole findByG_R_First(long groupId, long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException Returns the first user group group role in the ordered set where groupId = ? and roleId = ?.- Parameters:
groupId- the group IDroleId- the role IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a matching user group group role could not be foundNoSuchUserGroupGroupRoleException
-
fetchByG_R_First
public static 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 = ?.- Parameters:
groupId- the group IDroleId- the role IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching user group group role, or
nullif a matching user group group role could not be found
-
findByG_R_Last
public static UserGroupGroupRole findByG_R_Last(long groupId, long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException Returns the last user group group role in the ordered set where groupId = ? and roleId = ?.- Parameters:
groupId- the group IDroleId- the role IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a matching user group group role could not be foundNoSuchUserGroupGroupRoleException
-
fetchByG_R_Last
public static 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 = ?.- Parameters:
groupId- the group IDroleId- the role IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching user group group role, or
nullif a matching user group group role could not be found
-
findByG_R_PrevAndNext
public static UserGroupGroupRole[] findByG_R_PrevAndNext(long userGroupGroupRoleId, long groupId, long roleId, OrderByComparator<UserGroupGroupRole> orderByComparator) throws NoSuchUserGroupGroupRoleException Returns the user group group roles before and after the current user group group role in the ordered set where groupId = ? and roleId = ?.- Parameters:
userGroupGroupRoleId- the primary key of the current user group group rolegroupId- the group IDroleId- the role IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a user group group role with the primary key could not be foundNoSuchUserGroupGroupRoleException
-
removeByG_R
public static void removeByG_R(long groupId, long roleId) Removes all the user group group roles where groupId = ? and roleId = ? from the database.- Parameters:
groupId- the group IDroleId- the role ID
-
countByG_R
public static int countByG_R(long groupId, long roleId) Returns the number of user group group roles where groupId = ? and roleId = ?.- Parameters:
groupId- the group IDroleId- the role ID- Returns:
- the number of matching user group group roles
-
findByU_G_R
public static UserGroupGroupRole findByU_G_R(long userGroupId, long groupId, long roleId) throws NoSuchUserGroupGroupRoleException Returns the user group group role where userGroupId = ? and groupId = ? and roleId = ? or throws aNoSuchUserGroupGroupRoleExceptionif it could not be found.- Parameters:
userGroupId- the user group IDgroupId- the group IDroleId- the role ID- Returns:
- the matching user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a matching user group group role could not be foundNoSuchUserGroupGroupRoleException
-
fetchByU_G_R
Returns the user group group role where userGroupId = ? and groupId = ? and roleId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
userGroupId- the user group IDgroupId- the group IDroleId- the role ID- Returns:
- the matching user group group role, or
nullif a matching user group group role could not be found
-
fetchByU_G_R
public static 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 returnsnullif it could not be found, optionally using the finder cache.- Parameters:
userGroupId- the user group IDgroupId- the group IDroleId- the role IDuseFinderCache- whether to use the finder cache- Returns:
- the matching user group group role, or
nullif a matching user group group role could not be found
-
removeByU_G_R
public static UserGroupGroupRole removeByU_G_R(long userGroupId, long groupId, long roleId) throws NoSuchUserGroupGroupRoleException Removes the user group group role where userGroupId = ? and groupId = ? and roleId = ? from the database.- Parameters:
userGroupId- the user group IDgroupId- the group IDroleId- the role ID- Returns:
- the user group group role that was removed
- Throws:
NoSuchUserGroupGroupRoleException
-
countByU_G_R
public static int countByU_G_R(long userGroupId, long groupId, long roleId) Returns the number of user group group roles where userGroupId = ? and groupId = ? and roleId = ?.- Parameters:
userGroupId- the user group IDgroupId- the group IDroleId- the role ID- Returns:
- the number of matching user group group roles
-
cacheResult
Caches the user group group role in the entity cache if it is enabled.- Parameters:
userGroupGroupRole- the user group group role
-
cacheResult
Caches the user group group roles in the entity cache if it is enabled.- Parameters:
userGroupGroupRoles- the user group group roles
-
create
Creates a new user group group role with the primary key. Does not add the user group group role to the database.- Parameters:
userGroupGroupRoleId- the primary key for the new user group group role- Returns:
- the new user group group role
-
remove
public static UserGroupGroupRole remove(long userGroupGroupRoleId) throws NoSuchUserGroupGroupRoleException Removes the user group group role with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
userGroupGroupRoleId- the primary key of the user group group role- Returns:
- the user group group role that was removed
- Throws:
NoSuchUserGroupGroupRoleException- if a user group group role with the primary key could not be foundNoSuchUserGroupGroupRoleException
-
updateImpl
-
findByPrimaryKey
public static UserGroupGroupRole findByPrimaryKey(long userGroupGroupRoleId) throws NoSuchUserGroupGroupRoleException Returns the user group group role with the primary key or throws aNoSuchUserGroupGroupRoleExceptionif it could not be found.- Parameters:
userGroupGroupRoleId- the primary key of the user group group role- Returns:
- the user group group role
- Throws:
NoSuchUserGroupGroupRoleException- if a user group group role with the primary key could not be foundNoSuchUserGroupGroupRoleException
-
fetchByPrimaryKey
Returns the user group group role with the primary key or returnsnullif it could not be found.- Parameters:
userGroupGroupRoleId- the primary key of the user group group role- Returns:
- the user group group role, or
nullif a user group group role with the primary key could not be found
-
findAll
Returns all the user group group roles.- Returns:
- the user group group roles
-
findAll
Returns a range of all the user group group roles.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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)- Returns:
- the range of user group group roles
-
findAll
public static List<UserGroupGroupRole> findAll(int start, int end, OrderByComparator<UserGroupGroupRole> orderByComparator) Returns an ordered range of all the user group group roles.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of user group group roles
-
findAll
public static List<UserGroupGroupRole> findAll(int start, int end, OrderByComparator<UserGroupGroupRole> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user group group roles.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserGroupGroupRoleModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of user group group roles
-
removeAll
public static void removeAll()Removes all the user group group roles from the database. -
countAll
public static int countAll()Returns the number of user group group roles.- Returns:
- the number of user group group roles
-
getPersistence
-
setPersistence
-