Interface GroupPersistence

All Superinterfaces:
BasePersistence<Group>, CTPersistence<Group>

@ProviderType public interface GroupPersistence extends BasePersistence<Group>, CTPersistence<Group>
The persistence interface for the group service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    addOrganization(long pk, long organizationPK)
    Adds an association between the group and the organization.
    boolean
    addOrganization(long pk, Organization organization)
    Adds an association between the group and the organization.
    boolean
    addOrganizations(long pk, long[] organizationPKs)
    Adds an association between the group and the organizations.
    boolean
    addOrganizations(long pk, List<Organization> organizations)
    Adds an association between the group and the organizations.
    boolean
    addRole(long pk, long rolePK)
    Adds an association between the group and the role.
    boolean
    addRole(long pk, Role role)
    Adds an association between the group and the role.
    boolean
    addRoles(long pk, long[] rolePKs)
    Adds an association between the group and the roles.
    boolean
    addRoles(long pk, List<Role> roles)
    Adds an association between the group and the roles.
    boolean
    addUser(long pk, long userPK)
    Adds an association between the group and the user.
    boolean
    addUser(long pk, User user)
    Adds an association between the group and the user.
    boolean
    addUserGroup(long pk, long userGroupPK)
    Adds an association between the group and the user group.
    boolean
    addUserGroup(long pk, UserGroup userGroup)
    Adds an association between the group and the user group.
    boolean
    addUserGroups(long pk, long[] userGroupPKs)
    Adds an association between the group and the user groups.
    boolean
    addUserGroups(long pk, List<UserGroup> userGroups)
    Adds an association between the group and the user groups.
    boolean
    addUsers(long pk, long[] userPKs)
    Adds an association between the group and the users.
    boolean
    addUsers(long pk, List<User> users)
    Adds an association between the group and the users.
    void
    Caches the group in the entity cache if it is enabled.
    void
    Caches the groups in the entity cache if it is enabled.
    void
    Clears all associations between the group and its organizations.
    void
    clearRoles(long pk)
    Clears all associations between the group and its roles.
    void
    clearUserGroups(long pk)
    Clears all associations between the group and its user groups.
    void
    clearUsers(long pk)
    Clears all associations between the group and its users.
    boolean
    containsOrganization(long pk, long organizationPK)
    Returns true if the organization is associated with the group.
    boolean
    Returns true if the group has any organizations associated with it.
    boolean
    containsRole(long pk, long rolePK)
    Returns true if the role is associated with the group.
    boolean
    containsRoles(long pk)
    Returns true if the group has any roles associated with it.
    boolean
    containsUser(long pk, long userPK)
    Returns true if the user is associated with the group.
    boolean
    containsUserGroup(long pk, long userGroupPK)
    Returns true if the user group is associated with the group.
    boolean
    Returns true if the group has any user groups associated with it.
    boolean
    containsUsers(long pk)
    Returns true if the group has any users associated with it.
    int
    Returns the number of groups.
    int
    countByC_A(long companyId, boolean active)
    Returns the number of groups where companyId = ? and active = ?.
    int
    countByC_C(long companyId, long classNameId)
    Returns the number of groups where companyId = ? and classNameId = ?.
    int
    countByC_C_C(long companyId, long classNameId, long classPK)
    Returns the number of groups where companyId = ? and classNameId = ? and classPK = ?.
    int
    countByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey)
    Returns the number of groups where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ?.
    int
    countByC_C_P(long companyId, long classNameId, long parentGroupId)
    Returns the number of groups where companyId = ? and classNameId = ? and parentGroupId = ?.
    int
    countByC_C_S(long companyId, long classNameId, boolean site)
    Returns the number of groups where companyId = ? and classNameId = ? and site = ?.
    int
    countByC_CPK(long classNameId, long classPK)
    Returns the number of groups where classNameId = ? and classPK = ?.
    int
    countByC_F(long companyId, String friendlyURL)
    Returns the number of groups where companyId = ? and friendlyURL = ?.
    int
    countByC_GK(long companyId, String groupKey)
    Returns the number of groups where companyId = ? and groupKey = ?.
    int
    countByC_GK(long companyId, String[] groupKeys)
    Returns the number of groups where companyId = ? and groupKey = any ?.
    int
    countByC_L_GK(long companyId, long liveGroupId, String groupKey)
    Returns the number of groups where companyId = ? and liveGroupId = ? and groupKey = ?.
    int
    countByC_LikeN_S(long companyId, String name, boolean site)
    Returns the number of groups where companyId = ? and name LIKE ? and site = ?.
    int
    countByC_LikeT_S(long companyId, String treePath, boolean site)
    Returns the number of groups where companyId = ? and treePath LIKE ? and site = ?.
    int
    countByC_P(long companyId, long parentGroupId)
    Returns the number of groups where companyId = ? and parentGroupId = ?.
    int
    countByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site)
    Returns the number of groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
    int
    countByC_P_S(long companyId, long parentGroupId, boolean site)
    Returns the number of groups where companyId = ? and parentGroupId = ? and site = ?.
    int
    countByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent)
    Returns the number of groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
    int
    countByC_S(long companyId, boolean site)
    Returns the number of groups where companyId = ? and site = ?.
    int
    countByC_S_A(long companyId, boolean site, boolean active)
    Returns the number of groups where companyId = ? and site = ? and active = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of groups where companyId = ?.
    int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of groups where externalReferenceCode = ? and companyId = ?.
    int
    countByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId)
    Returns the number of groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
    int
    countByGtG_C_P(long groupId, long companyId, long parentGroupId)
    Returns the number of groups where groupId > ? and companyId = ? and parentGroupId = ?.
    int
    countByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site)
    Returns the number of groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
    int
    countByLiveGroupId(long liveGroupId)
    Returns the number of groups where liveGroupId = ?.
    int
    countByT_A(int type, boolean active)
    Returns the number of groups where type = ? and active = ?.
    int
    Returns the number of groups where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of groups where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of groups where uuid = ? and groupId = ?.
    create(long groupId)
    Creates a new group with the primary key.
    fetchByC_A_First(long companyId, boolean active, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and active = ?.
    fetchByC_A_Last(long companyId, boolean active, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and active = ?.
    fetchByC_C_C(long companyId, long classNameId, long classPK)
    Returns the group where companyId = ? and classNameId = ? and classPK = ? or returns null if it could not be found.
    fetchByC_C_C(long companyId, long classNameId, long classPK, boolean useFinderCache)
    Returns the group where companyId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_C_First(long companyId, long classNameId, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and classNameId = ?.
    fetchByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey)
    Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? or returns null if it could not be found.
    fetchByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey, boolean useFinderCache)
    Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_C_Last(long companyId, long classNameId, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and classNameId = ?.
    fetchByC_C_P_First(long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
    fetchByC_C_P_Last(long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
    fetchByC_C_S_First(long companyId, long classNameId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and classNameId = ? and site = ?.
    fetchByC_C_S_Last(long companyId, long classNameId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and classNameId = ? and site = ?.
    fetchByC_CPK_First(long classNameId, long classPK, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where classNameId = ? and classPK = ?.
    fetchByC_CPK_Last(long classNameId, long classPK, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where classNameId = ? and classPK = ?.
    fetchByC_F(long companyId, String friendlyURL)
    Returns the group where companyId = ? and friendlyURL = ? or returns null if it could not be found.
    fetchByC_F(long companyId, String friendlyURL, boolean useFinderCache)
    Returns the group where companyId = ? and friendlyURL = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_GK(long companyId, String groupKey)
    Returns the group where companyId = ? and groupKey = ? or returns null if it could not be found.
    fetchByC_GK(long companyId, String groupKey, boolean useFinderCache)
    Returns the group where companyId = ? and groupKey = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_L_GK(long companyId, long liveGroupId, String groupKey)
    Returns the group where companyId = ? and liveGroupId = ? and groupKey = ? or returns null if it could not be found.
    fetchByC_L_GK(long companyId, long liveGroupId, String groupKey, boolean useFinderCache)
    Returns the group where companyId = ? and liveGroupId = ? and groupKey = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_LikeN_S_First(long companyId, String name, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and name LIKE ? and site = ?.
    fetchByC_LikeN_S_Last(long companyId, String name, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and name LIKE ? and site = ?.
    fetchByC_LikeT_S_First(long companyId, String treePath, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.
    fetchByC_LikeT_S_Last(long companyId, String treePath, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.
    fetchByC_P_First(long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and parentGroupId = ?.
    fetchByC_P_Last(long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and parentGroupId = ?.
    fetchByC_P_LikeN_S_First(long companyId, long parentGroupId, String name, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
    fetchByC_P_LikeN_S_Last(long companyId, long parentGroupId, String name, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
    fetchByC_P_S_First(long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
    fetchByC_P_S_I_First(long companyId, long parentGroupId, boolean site, boolean inheritContent, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
    fetchByC_P_S_I_Last(long companyId, long parentGroupId, boolean site, boolean inheritContent, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
    fetchByC_P_S_Last(long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
    fetchByC_S_A_First(long companyId, boolean site, boolean active, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and site = ? and active = ?.
    fetchByC_S_A_Last(long companyId, boolean site, boolean active, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and site = ? and active = ?.
    fetchByC_S_First(long companyId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and site = ?.
    fetchByC_S_Last(long companyId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and site = ?.
    fetchByCompanyId_First(long companyId, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the group where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the group where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByGtG_C_C_P_First(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
    fetchByGtG_C_C_P_Last(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
    fetchByGtG_C_P_First(long groupId, long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.
    fetchByGtG_C_P_Last(long groupId, long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.
    fetchByGtG_C_P_S_First(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
    fetchByGtG_C_P_S_Last(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
    fetchByLiveGroupId(long liveGroupId)
    Returns the group where liveGroupId = ? or returns null if it could not be found.
    fetchByLiveGroupId(long liveGroupId, boolean useFinderCache)
    Returns the group where liveGroupId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long groupId)
    Returns the group with the primary key or returns null if it could not be found.
    fetchByT_A_First(int type, boolean active, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where type = ? and active = ?.
    fetchByT_A_Last(int type, boolean active, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where type = ? and active = ?.
    fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the group where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the group where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByUuid_Last(String uuid, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where uuid = ?.
    Returns all the groups.
    findAll(int start, int end)
    Returns a range of all the groups.
    findAll(int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups.
    findAll(int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups.
    findByC_A(long companyId, boolean active)
    Returns all the groups where companyId = ? and active = ?.
    findByC_A(long companyId, boolean active, int start, int end)
    Returns a range of all the groups where companyId = ? and active = ?.
    findByC_A(long companyId, boolean active, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where companyId = ? and active = ?.
    findByC_A(long companyId, boolean active, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where companyId = ? and active = ?.
    findByC_A_First(long companyId, boolean active, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and active = ?.
    findByC_A_Last(long companyId, boolean active, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and active = ?.
    findByC_A_PrevAndNext(long groupId, long companyId, boolean active, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where companyId = ? and active = ?.
    findByC_C(long companyId, long classNameId)
    Returns all the groups where companyId = ? and classNameId = ?.
    findByC_C(long companyId, long classNameId, int start, int end)
    Returns a range of all the groups where companyId = ? and classNameId = ?.
    findByC_C(long companyId, long classNameId, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where companyId = ? and classNameId = ?.
    findByC_C(long companyId, long classNameId, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where companyId = ? and classNameId = ?.
    findByC_C_C(long companyId, long classNameId, long classPK)
    Returns the group where companyId = ? and classNameId = ? and classPK = ? or throws a NoSuchGroupException if it could not be found.
    findByC_C_First(long companyId, long classNameId, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and classNameId = ?.
    findByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey)
    Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? or throws a NoSuchGroupException if it could not be found.
    findByC_C_Last(long companyId, long classNameId, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and classNameId = ?.
    findByC_C_P(long companyId, long classNameId, long parentGroupId)
    Returns all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.
    findByC_C_P(long companyId, long classNameId, long parentGroupId, int start, int end)
    Returns a range of all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.
    findByC_C_P(long companyId, long classNameId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.
    findByC_C_P(long companyId, long classNameId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.
    findByC_C_P_First(long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
    findByC_C_P_Last(long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
    findByC_C_P_PrevAndNext(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
    findByC_C_PrevAndNext(long groupId, long companyId, long classNameId, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ?.
    findByC_C_S(long companyId, long classNameId, boolean site)
    Returns all the groups where companyId = ? and classNameId = ? and site = ?.
    findByC_C_S(long companyId, long classNameId, boolean site, int start, int end)
    Returns a range of all the groups where companyId = ? and classNameId = ? and site = ?.
    findByC_C_S(long companyId, long classNameId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where companyId = ? and classNameId = ? and site = ?.
    findByC_C_S(long companyId, long classNameId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where companyId = ? and classNameId = ? and site = ?.
    findByC_C_S_First(long companyId, long classNameId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and classNameId = ? and site = ?.
    findByC_C_S_Last(long companyId, long classNameId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and classNameId = ? and site = ?.
    findByC_C_S_PrevAndNext(long groupId, long companyId, long classNameId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ? and site = ?.
    findByC_CPK(long classNameId, long classPK)
    Returns all the groups where classNameId = ? and classPK = ?.
    findByC_CPK(long classNameId, long classPK, int start, int end)
    Returns a range of all the groups where classNameId = ? and classPK = ?.
    findByC_CPK(long classNameId, long classPK, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where classNameId = ? and classPK = ?.
    findByC_CPK(long classNameId, long classPK, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where classNameId = ? and classPK = ?.
    findByC_CPK_First(long classNameId, long classPK, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where classNameId = ? and classPK = ?.
    findByC_CPK_Last(long classNameId, long classPK, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where classNameId = ? and classPK = ?.
    findByC_CPK_PrevAndNext(long groupId, long classNameId, long classPK, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where classNameId = ? and classPK = ?.
    findByC_F(long companyId, String friendlyURL)
    Returns the group where companyId = ? and friendlyURL = ? or throws a NoSuchGroupException if it could not be found.
    findByC_GK(long companyId, String groupKey)
    Returns the group where companyId = ? and groupKey = ? or throws a NoSuchGroupException if it could not be found.
    findByC_GK(long companyId, String[] groupKeys)
    Returns all the groups where companyId = ? and groupKey = any ?.
    findByC_GK(long companyId, String[] groupKeys, int start, int end)
    Returns a range of all the groups where companyId = ? and groupKey = any ?.
    findByC_GK(long companyId, String[] groupKeys, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where companyId = ? and groupKey = any ?.
    findByC_GK(long companyId, String[] groupKeys, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where companyId = ? and groupKey = ?, optionally using the finder cache.
    findByC_L_GK(long companyId, long liveGroupId, String groupKey)
    Returns the group where companyId = ? and liveGroupId = ? and groupKey = ? or throws a NoSuchGroupException if it could not be found.
    findByC_LikeN_S(long companyId, String name, boolean site)
    Returns all the groups where companyId = ? and name LIKE ? and site = ?.
    findByC_LikeN_S(long companyId, String name, boolean site, int start, int end)
    Returns a range of all the groups where companyId = ? and name LIKE ? and site = ?.
    findByC_LikeN_S(long companyId, String name, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where companyId = ? and name LIKE ? and site = ?.
    findByC_LikeN_S(long companyId, String name, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where companyId = ? and name LIKE ? and site = ?.
    findByC_LikeN_S_First(long companyId, String name, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and name LIKE ? and site = ?.
    findByC_LikeN_S_Last(long companyId, String name, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and name LIKE ? and site = ?.
    findByC_LikeN_S_PrevAndNext(long groupId, long companyId, String name, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where companyId = ? and name LIKE ? and site = ?.
    findByC_LikeT_S(long companyId, String treePath, boolean site)
    Returns all the groups where companyId = ? and treePath LIKE ? and site = ?.
    findByC_LikeT_S(long companyId, String treePath, boolean site, int start, int end)
    Returns a range of all the groups where companyId = ? and treePath LIKE ? and site = ?.
    findByC_LikeT_S(long companyId, String treePath, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where companyId = ? and treePath LIKE ? and site = ?.
    findByC_LikeT_S(long companyId, String treePath, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where companyId = ? and treePath LIKE ? and site = ?.
    findByC_LikeT_S_First(long companyId, String treePath, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.
    findByC_LikeT_S_Last(long companyId, String treePath, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.
    findByC_LikeT_S_PrevAndNext(long groupId, long companyId, String treePath, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.
    findByC_P(long companyId, long parentGroupId)
    Returns all the groups where companyId = ? and parentGroupId = ?.
    findByC_P(long companyId, long parentGroupId, int start, int end)
    Returns a range of all the groups where companyId = ? and parentGroupId = ?.
    findByC_P(long companyId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where companyId = ? and parentGroupId = ?.
    findByC_P(long companyId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where companyId = ? and parentGroupId = ?.
    findByC_P_First(long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and parentGroupId = ?.
    findByC_P_Last(long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and parentGroupId = ?.
    findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site)
    Returns all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
    findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site, int start, int end)
    Returns a range of all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
    findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
    findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
    findByC_P_LikeN_S_First(long companyId, long parentGroupId, String name, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
    findByC_P_LikeN_S_Last(long companyId, long parentGroupId, String name, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
    findByC_P_LikeN_S_PrevAndNext(long groupId, long companyId, long parentGroupId, String name, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
    findByC_P_PrevAndNext(long groupId, long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ?.
    findByC_P_S(long companyId, long parentGroupId, boolean site)
    Returns all the groups where companyId = ? and parentGroupId = ? and site = ?.
    findByC_P_S(long companyId, long parentGroupId, boolean site, int start, int end)
    Returns a range of all the groups where companyId = ? and parentGroupId = ? and site = ?.
    findByC_P_S(long companyId, long parentGroupId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ?.
    findByC_P_S(long companyId, long parentGroupId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ?.
    findByC_P_S_First(long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
    findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent)
    Returns all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
    findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent, int start, int end)
    Returns a range of all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
    findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
    findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
    findByC_P_S_I_First(long companyId, long parentGroupId, boolean site, boolean inheritContent, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
    findByC_P_S_I_Last(long companyId, long parentGroupId, boolean site, boolean inheritContent, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
    findByC_P_S_I_PrevAndNext(long groupId, long companyId, long parentGroupId, boolean site, boolean inheritContent, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
    findByC_P_S_Last(long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
    findByC_P_S_PrevAndNext(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
    findByC_S(long companyId, boolean site)
    Returns all the groups where companyId = ? and site = ?.
    findByC_S(long companyId, boolean site, int start, int end)
    Returns a range of all the groups where companyId = ? and site = ?.
    findByC_S(long companyId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where companyId = ? and site = ?.
    findByC_S(long companyId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where companyId = ? and site = ?.
    findByC_S_A(long companyId, boolean site, boolean active)
    Returns all the groups where companyId = ? and site = ? and active = ?.
    findByC_S_A(long companyId, boolean site, boolean active, int start, int end)
    Returns a range of all the groups where companyId = ? and site = ? and active = ?.
    findByC_S_A(long companyId, boolean site, boolean active, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where companyId = ? and site = ? and active = ?.
    findByC_S_A(long companyId, boolean site, boolean active, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where companyId = ? and site = ? and active = ?.
    findByC_S_A_First(long companyId, boolean site, boolean active, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and site = ? and active = ?.
    findByC_S_A_Last(long companyId, boolean site, boolean active, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and site = ? and active = ?.
    findByC_S_A_PrevAndNext(long groupId, long companyId, boolean site, boolean active, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where companyId = ? and site = ? and active = ?.
    findByC_S_First(long companyId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ? and site = ?.
    findByC_S_Last(long companyId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ? and site = ?.
    findByC_S_PrevAndNext(long groupId, long companyId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where companyId = ? and site = ?.
    findByCompanyId(long companyId)
    Returns all the groups where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the groups where companyId = ?.
    findByCompanyId(long companyId, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where companyId = ?.
    findByCompanyId(long companyId, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where companyId = ?.
    findByCompanyId_First(long companyId, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where companyId = ?.
    findByCompanyId_PrevAndNext(long groupId, long companyId, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where companyId = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the group where externalReferenceCode = ? and companyId = ? or throws a NoSuchGroupException if it could not be found.
    findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId)
    Returns all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
    findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId, int start, int end)
    Returns a range of all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
    findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
    findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
    findByGtG_C_C_P_First(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
    findByGtG_C_C_P_Last(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
    findByGtG_C_P(long groupId, long companyId, long parentGroupId)
    Returns all the groups where groupId > ? and companyId = ? and parentGroupId = ?.
    findByGtG_C_P(long groupId, long companyId, long parentGroupId, int start, int end)
    Returns a range of all the groups where groupId > ? and companyId = ? and parentGroupId = ?.
    findByGtG_C_P(long groupId, long companyId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ?.
    findByGtG_C_P(long groupId, long companyId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ?.
    findByGtG_C_P_First(long groupId, long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.
    findByGtG_C_P_Last(long groupId, long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.
    findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site)
    Returns all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
    findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site, int start, int end)
    Returns a range of all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
    findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
    findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
    findByGtG_C_P_S_First(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
    findByGtG_C_P_S_Last(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
    findByLiveGroupId(long liveGroupId)
    Returns the group where liveGroupId = ? or throws a NoSuchGroupException if it could not be found.
    findByPrimaryKey(long groupId)
    Returns the group with the primary key or throws a NoSuchGroupException if it could not be found.
    findByT_A(int type, boolean active)
    Returns all the groups where type = ? and active = ?.
    findByT_A(int type, boolean active, int start, int end)
    Returns a range of all the groups where type = ? and active = ?.
    findByT_A(int type, boolean active, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where type = ? and active = ?.
    findByT_A(int type, boolean active, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where type = ? and active = ?.
    findByT_A_First(int type, boolean active, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where type = ? and active = ?.
    findByT_A_Last(int type, boolean active, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where type = ? and active = ?.
    findByT_A_PrevAndNext(long groupId, int type, boolean active, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where type = ? and active = ?.
    Returns all the groups where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the groups where uuid = ?.
    findByUuid(String uuid, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where uuid = ?.
    findByUuid(String uuid, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the groups where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the groups where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Group> orderByComparator)
    Returns an ordered range of all the groups where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the groups where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long groupId, String uuid, long companyId, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, OrderByComparator<Group> orderByComparator)
    Returns the first group in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the group where uuid = ? and groupId = ? or throws a NoSuchGroupException if it could not be found.
    findByUuid_Last(String uuid, OrderByComparator<Group> orderByComparator)
    Returns the last group in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long groupId, String uuid, OrderByComparator<Group> orderByComparator)
    Returns the groups before and after the current group in the ordered set where uuid = ?.
    long[]
    Returns the primaryKeys of organizations associated with the group.
    Returns all the organizations associated with the group.
    getOrganizations(long pk, int start, int end)
    Returns a range of all the organizations associated with the group.
    getOrganizations(long pk, int start, int end, OrderByComparator<Organization> orderByComparator)
    Returns an ordered range of all the organizations associated with the group.
    int
    Returns the number of organizations associated with the group.
    long[]
    Returns the primaryKeys of roles associated with the group.
    getRoles(long pk)
    Returns all the roles associated with the group.
    getRoles(long pk, int start, int end)
    Returns a range of all the roles associated with the group.
    getRoles(long pk, int start, int end, OrderByComparator<Role> orderByComparator)
    Returns an ordered range of all the roles associated with the group.
    int
    getRolesSize(long pk)
    Returns the number of roles associated with the group.
    long[]
    Returns the primaryKeys of user groups associated with the group.
    getUserGroups(long pk)
    Returns all the user groups associated with the group.
    getUserGroups(long pk, int start, int end)
    Returns a range of all the user groups associated with the group.
    getUserGroups(long pk, int start, int end, OrderByComparator<UserGroup> orderByComparator)
    Returns an ordered range of all the user groups associated with the group.
    int
    Returns the number of user groups associated with the group.
    long[]
    Returns the primaryKeys of users associated with the group.
    getUsers(long pk)
    Returns all the users associated with the group.
    getUsers(long pk, int start, int end)
    Returns a range of all the users associated with the group.
    getUsers(long pk, int start, int end, OrderByComparator<User> orderByComparator)
    Returns an ordered range of all the users associated with the group.
    int
    getUsersSize(long pk)
    Returns the number of users associated with the group.
    remove(long groupId)
    Removes the group with the primary key from the database.
    void
    Removes all the groups from the database.
    void
    removeByC_A(long companyId, boolean active)
    Removes all the groups where companyId = ? and active = ? from the database.
    void
    removeByC_C(long companyId, long classNameId)
    Removes all the groups where companyId = ? and classNameId = ? from the database.
    removeByC_C_C(long companyId, long classNameId, long classPK)
    Removes the group where companyId = ? and classNameId = ? and classPK = ? from the database.
    removeByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey)
    Removes the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? from the database.
    void
    removeByC_C_P(long companyId, long classNameId, long parentGroupId)
    Removes all the groups where companyId = ? and classNameId = ? and parentGroupId = ? from the database.
    void
    removeByC_C_S(long companyId, long classNameId, boolean site)
    Removes all the groups where companyId = ? and classNameId = ? and site = ? from the database.
    void
    removeByC_CPK(long classNameId, long classPK)
    Removes all the groups where classNameId = ? and classPK = ? from the database.
    removeByC_F(long companyId, String friendlyURL)
    Removes the group where companyId = ? and friendlyURL = ? from the database.
    removeByC_GK(long companyId, String groupKey)
    Removes the group where companyId = ? and groupKey = ? from the database.
    removeByC_L_GK(long companyId, long liveGroupId, String groupKey)
    Removes the group where companyId = ? and liveGroupId = ? and groupKey = ? from the database.
    void
    removeByC_LikeN_S(long companyId, String name, boolean site)
    Removes all the groups where companyId = ? and name LIKE ? and site = ? from the database.
    void
    removeByC_LikeT_S(long companyId, String treePath, boolean site)
    Removes all the groups where companyId = ? and treePath LIKE ? and site = ? from the database.
    void
    removeByC_P(long companyId, long parentGroupId)
    Removes all the groups where companyId = ? and parentGroupId = ? from the database.
    void
    removeByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site)
    Removes all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ? from the database.
    void
    removeByC_P_S(long companyId, long parentGroupId, boolean site)
    Removes all the groups where companyId = ? and parentGroupId = ? and site = ? from the database.
    void
    removeByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent)
    Removes all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ? from the database.
    void
    removeByC_S(long companyId, boolean site)
    Removes all the groups where companyId = ? and site = ? from the database.
    void
    removeByC_S_A(long companyId, boolean site, boolean active)
    Removes all the groups where companyId = ? and site = ? and active = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the groups where companyId = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the group where externalReferenceCode = ? and companyId = ? from the database.
    void
    removeByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId)
    Removes all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ? from the database.
    void
    removeByGtG_C_P(long groupId, long companyId, long parentGroupId)
    Removes all the groups where groupId > ? and companyId = ? and parentGroupId = ? from the database.
    void
    removeByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site)
    Removes all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ? from the database.
    removeByLiveGroupId(long liveGroupId)
    Removes the group where liveGroupId = ? from the database.
    void
    removeByT_A(int type, boolean active)
    Removes all the groups where type = ? and active = ? from the database.
    void
    Removes all the groups where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the groups where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the group where uuid = ? and groupId = ? from the database.
    void
    removeOrganization(long pk, long organizationPK)
    Removes the association between the group and the organization.
    void
    removeOrganization(long pk, Organization organization)
    Removes the association between the group and the organization.
    void
    removeOrganizations(long pk, long[] organizationPKs)
    Removes the association between the group and the organizations.
    void
    removeOrganizations(long pk, List<Organization> organizations)
    Removes the association between the group and the organizations.
    void
    removeRole(long pk, long rolePK)
    Removes the association between the group and the role.
    void
    removeRole(long pk, Role role)
    Removes the association between the group and the role.
    void
    removeRoles(long pk, long[] rolePKs)
    Removes the association between the group and the roles.
    void
    removeRoles(long pk, List<Role> roles)
    Removes the association between the group and the roles.
    void
    removeUser(long pk, long userPK)
    Removes the association between the group and the user.
    void
    removeUser(long pk, User user)
    Removes the association between the group and the user.
    void
    removeUserGroup(long pk, long userGroupPK)
    Removes the association between the group and the user group.
    void
    removeUserGroup(long pk, UserGroup userGroup)
    Removes the association between the group and the user group.
    void
    removeUserGroups(long pk, long[] userGroupPKs)
    Removes the association between the group and the user groups.
    void
    removeUserGroups(long pk, List<UserGroup> userGroups)
    Removes the association between the group and the user groups.
    void
    removeUsers(long pk, long[] userPKs)
    Removes the association between the group and the users.
    void
    removeUsers(long pk, List<User> users)
    Removes the association between the group and the users.
    void
    setOrganizations(long pk, long[] organizationPKs)
    Sets the organizations associated with the group, removing and adding associations as necessary.
    void
    setOrganizations(long pk, List<Organization> organizations)
    Sets the organizations associated with the group, removing and adding associations as necessary.
    void
    setRoles(long pk, long[] rolePKs)
    Sets the roles associated with the group, removing and adding associations as necessary.
    void
    setRoles(long pk, List<Role> roles)
    Sets the roles associated with the group, removing and adding associations as necessary.
    void
    setUserGroups(long pk, long[] userGroupPKs)
    Sets the user groups associated with the group, removing and adding associations as necessary.
    void
    setUserGroups(long pk, List<UserGroup> userGroups)
    Sets the user groups associated with the group, removing and adding associations as necessary.
    void
    setUsers(long pk, long[] userPKs)
    Sets the users associated with the group, removing and adding associations as necessary.
    void
    setUsers(long pk, List<User> users)
    Sets the users associated with the group, removing and adding associations as necessary.
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByUuid

      List<Group> findByUuid(String uuid)
      Returns all the groups where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching groups
    • findByUuid

      List<Group> findByUuid(String uuid, int start, int end)
      Returns a range of all the groups where uuid = ?.

      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 GroupModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByUuid

      List<Group> findByUuid(String uuid, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where uuid = ?.

      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 GroupModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByUuid

      List<Group> findByUuid(String uuid, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where uuid = ?.

      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 GroupModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByUuid_First

      Group findByUuid_First(String uuid, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByUuid_First

      Group fetchByUuid_First(String uuid, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByUuid_Last

      Group findByUuid_Last(String uuid, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByUuid_Last

      Group fetchByUuid_Last(String uuid, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByUuid_PrevAndNext

      Group[] findByUuid_PrevAndNext(long groupId, String uuid, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where uuid = ?.
      Parameters:
      groupId - the primary key of the current group
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the groups where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of groups where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching groups
    • findByUUID_G

      Group findByUUID_G(String uuid, long groupId) throws NoSuchGroupException
      Returns the group where uuid = ? and groupId = ? or throws a NoSuchGroupException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByUUID_G

      Group fetchByUUID_G(String uuid, long groupId)
      Returns the group where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching group, or null if a matching group could not be found
    • fetchByUUID_G

      Group fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the group where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching group, or null if a matching group could not be found
    • removeByUUID_G

      Group removeByUUID_G(String uuid, long groupId) throws NoSuchGroupException
      Removes the group where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the group that was removed
      Throws:
      NoSuchGroupException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of groups where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching groups
    • findByUuid_C

      List<Group> findByUuid_C(String uuid, long companyId)
      Returns all the groups where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching groups
    • findByUuid_C

      List<Group> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the groups where uuid = ? and companyId = ?.

      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 GroupModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByUuid_C

      List<Group> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where uuid = ? and companyId = ?.

      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 GroupModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByUuid_C

      List<Group> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where uuid = ? and companyId = ?.

      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 GroupModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByUuid_C_First

      Group findByUuid_C_First(String uuid, long companyId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByUuid_C_First

      Group fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByUuid_C_Last

      Group findByUuid_C_Last(String uuid, long companyId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByUuid_C_Last

      Group fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByUuid_C_PrevAndNext

      Group[] findByUuid_C_PrevAndNext(long groupId, String uuid, long companyId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      groupId - the primary key of the current group
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the groups where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of groups where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching groups
    • findByCompanyId

      List<Group> findByCompanyId(long companyId)
      Returns all the groups where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching groups
    • findByCompanyId

      List<Group> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the groups where companyId = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByCompanyId

      List<Group> findByCompanyId(long companyId, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where companyId = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByCompanyId

      List<Group> findByCompanyId(long companyId, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where companyId = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByCompanyId_First

      Group findByCompanyId_First(long companyId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByCompanyId_First

      Group fetchByCompanyId_First(long companyId, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByCompanyId_Last

      Group findByCompanyId_Last(long companyId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByCompanyId_Last

      Group fetchByCompanyId_Last(long companyId, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByCompanyId_PrevAndNext

      Group[] findByCompanyId_PrevAndNext(long groupId, long companyId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where companyId = ?.
      Parameters:
      groupId - the primary key of the current group
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the groups where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of groups where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching groups
    • findByLiveGroupId

      Group findByLiveGroupId(long liveGroupId) throws NoSuchGroupException
      Returns the group where liveGroupId = ? or throws a NoSuchGroupException if it could not be found.
      Parameters:
      liveGroupId - the live group ID
      Returns:
      the matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByLiveGroupId

      Group fetchByLiveGroupId(long liveGroupId)
      Returns the group where liveGroupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      liveGroupId - the live group ID
      Returns:
      the matching group, or null if a matching group could not be found
    • fetchByLiveGroupId

      Group fetchByLiveGroupId(long liveGroupId, boolean useFinderCache)
      Returns the group where liveGroupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      liveGroupId - the live group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching group, or null if a matching group could not be found
    • removeByLiveGroupId

      Group removeByLiveGroupId(long liveGroupId) throws NoSuchGroupException
      Removes the group where liveGroupId = ? from the database.
      Parameters:
      liveGroupId - the live group ID
      Returns:
      the group that was removed
      Throws:
      NoSuchGroupException
    • countByLiveGroupId

      int countByLiveGroupId(long liveGroupId)
      Returns the number of groups where liveGroupId = ?.
      Parameters:
      liveGroupId - the live group ID
      Returns:
      the number of matching groups
    • findByC_C

      List<Group> findByC_C(long companyId, long classNameId)
      Returns all the groups where companyId = ? and classNameId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      Returns:
      the matching groups
    • findByC_C

      List<Group> findByC_C(long companyId, long classNameId, int start, int end)
      Returns a range of all the groups where companyId = ? and classNameId = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByC_C

      List<Group> findByC_C(long companyId, long classNameId, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where companyId = ? and classNameId = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByC_C

      List<Group> findByC_C(long companyId, long classNameId, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where companyId = ? and classNameId = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByC_C_First

      Group findByC_C_First(long companyId, long classNameId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where companyId = ? and classNameId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_C_First

      Group fetchByC_C_First(long companyId, long classNameId, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where companyId = ? and classNameId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByC_C_Last

      Group findByC_C_Last(long companyId, long classNameId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where companyId = ? and classNameId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_C_Last

      Group fetchByC_C_Last(long companyId, long classNameId, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where companyId = ? and classNameId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByC_C_PrevAndNext

      Group[] findByC_C_PrevAndNext(long groupId, long companyId, long classNameId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ?.
      Parameters:
      groupId - the primary key of the current group
      companyId - the company ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByC_C

      void removeByC_C(long companyId, long classNameId)
      Removes all the groups where companyId = ? and classNameId = ? from the database.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
    • countByC_C

      int countByC_C(long companyId, long classNameId)
      Returns the number of groups where companyId = ? and classNameId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      Returns:
      the number of matching groups
    • findByC_P

      List<Group> findByC_P(long companyId, long parentGroupId)
      Returns all the groups where companyId = ? and parentGroupId = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      Returns:
      the matching groups
    • findByC_P

      List<Group> findByC_P(long companyId, long parentGroupId, int start, int end)
      Returns a range of all the groups where companyId = ? and parentGroupId = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByC_P

      List<Group> findByC_P(long companyId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where companyId = ? and parentGroupId = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByC_P

      List<Group> findByC_P(long companyId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where companyId = ? and parentGroupId = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByC_P_First

      Group findByC_P_First(long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where companyId = ? and parentGroupId = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_P_First

      Group fetchByC_P_First(long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where companyId = ? and parentGroupId = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByC_P_Last

      Group findByC_P_Last(long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where companyId = ? and parentGroupId = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_P_Last

      Group fetchByC_P_Last(long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where companyId = ? and parentGroupId = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByC_P_PrevAndNext

      Group[] findByC_P_PrevAndNext(long groupId, long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ?.
      Parameters:
      groupId - the primary key of the current group
      companyId - the company ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByC_P

      void removeByC_P(long companyId, long parentGroupId)
      Removes all the groups where companyId = ? and parentGroupId = ? from the database.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
    • countByC_P

      int countByC_P(long companyId, long parentGroupId)
      Returns the number of groups where companyId = ? and parentGroupId = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      Returns:
      the number of matching groups
    • findByC_GK

      List<Group> findByC_GK(long companyId, String[] groupKeys)
      Returns all the groups where companyId = ? and groupKey = any ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      groupKeys - the group keys
      Returns:
      the matching groups
    • findByC_GK

      List<Group> findByC_GK(long companyId, String[] groupKeys, int start, int end)
      Returns a range of all the groups where companyId = ? and groupKey = any ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      groupKeys - the group keys
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByC_GK

      List<Group> findByC_GK(long companyId, String[] groupKeys, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where companyId = ? and groupKey = any ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      groupKeys - the group keys
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByC_GK

      List<Group> findByC_GK(long companyId, String[] groupKeys, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where companyId = ? and groupKey = ?, optionally using the finder cache.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      groupKeys - the group keys
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByC_GK

      Group findByC_GK(long companyId, String groupKey) throws NoSuchGroupException
      Returns the group where companyId = ? and groupKey = ? or throws a NoSuchGroupException if it could not be found.
      Parameters:
      companyId - the company ID
      groupKey - the group key
      Returns:
      the matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_GK

      Group fetchByC_GK(long companyId, String groupKey)
      Returns the group where companyId = ? and groupKey = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      groupKey - the group key
      Returns:
      the matching group, or null if a matching group could not be found
    • fetchByC_GK

      Group fetchByC_GK(long companyId, String groupKey, boolean useFinderCache)
      Returns the group where companyId = ? and groupKey = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      groupKey - the group key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching group, or null if a matching group could not be found
    • removeByC_GK

      Group removeByC_GK(long companyId, String groupKey) throws NoSuchGroupException
      Removes the group where companyId = ? and groupKey = ? from the database.
      Parameters:
      companyId - the company ID
      groupKey - the group key
      Returns:
      the group that was removed
      Throws:
      NoSuchGroupException
    • countByC_GK

      int countByC_GK(long companyId, String groupKey)
      Returns the number of groups where companyId = ? and groupKey = ?.
      Parameters:
      companyId - the company ID
      groupKey - the group key
      Returns:
      the number of matching groups
    • countByC_GK

      int countByC_GK(long companyId, String[] groupKeys)
      Returns the number of groups where companyId = ? and groupKey = any ?.
      Parameters:
      companyId - the company ID
      groupKeys - the group keys
      Returns:
      the number of matching groups
    • findByC_F

      Group findByC_F(long companyId, String friendlyURL) throws NoSuchGroupException
      Returns the group where companyId = ? and friendlyURL = ? or throws a NoSuchGroupException if it could not be found.
      Parameters:
      companyId - the company ID
      friendlyURL - the friendly url
      Returns:
      the matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_F

      Group fetchByC_F(long companyId, String friendlyURL)
      Returns the group where companyId = ? and friendlyURL = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      friendlyURL - the friendly url
      Returns:
      the matching group, or null if a matching group could not be found
    • fetchByC_F

      Group fetchByC_F(long companyId, String friendlyURL, boolean useFinderCache)
      Returns the group where companyId = ? and friendlyURL = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      friendlyURL - the friendly url
      useFinderCache - whether to use the finder cache
      Returns:
      the matching group, or null if a matching group could not be found
    • removeByC_F

      Group removeByC_F(long companyId, String friendlyURL) throws NoSuchGroupException
      Removes the group where companyId = ? and friendlyURL = ? from the database.
      Parameters:
      companyId - the company ID
      friendlyURL - the friendly url
      Returns:
      the group that was removed
      Throws:
      NoSuchGroupException
    • countByC_F

      int countByC_F(long companyId, String friendlyURL)
      Returns the number of groups where companyId = ? and friendlyURL = ?.
      Parameters:
      companyId - the company ID
      friendlyURL - the friendly url
      Returns:
      the number of matching groups
    • findByC_S

      List<Group> findByC_S(long companyId, boolean site)
      Returns all the groups where companyId = ? and site = ?.
      Parameters:
      companyId - the company ID
      site - the site
      Returns:
      the matching groups
    • findByC_S

      List<Group> findByC_S(long companyId, boolean site, int start, int end)
      Returns a range of all the groups where companyId = ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByC_S

      List<Group> findByC_S(long companyId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where companyId = ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByC_S

      List<Group> findByC_S(long companyId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where companyId = ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByC_S_First

      Group findByC_S_First(long companyId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where companyId = ? and site = ?.
      Parameters:
      companyId - the company ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_S_First

      Group fetchByC_S_First(long companyId, boolean site, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where companyId = ? and site = ?.
      Parameters:
      companyId - the company ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByC_S_Last

      Group findByC_S_Last(long companyId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where companyId = ? and site = ?.
      Parameters:
      companyId - the company ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_S_Last

      Group fetchByC_S_Last(long companyId, boolean site, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where companyId = ? and site = ?.
      Parameters:
      companyId - the company ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByC_S_PrevAndNext

      Group[] findByC_S_PrevAndNext(long groupId, long companyId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where companyId = ? and site = ?.
      Parameters:
      groupId - the primary key of the current group
      companyId - the company ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByC_S

      void removeByC_S(long companyId, boolean site)
      Removes all the groups where companyId = ? and site = ? from the database.
      Parameters:
      companyId - the company ID
      site - the site
    • countByC_S

      int countByC_S(long companyId, boolean site)
      Returns the number of groups where companyId = ? and site = ?.
      Parameters:
      companyId - the company ID
      site - the site
      Returns:
      the number of matching groups
    • findByC_A

      List<Group> findByC_A(long companyId, boolean active)
      Returns all the groups where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      Returns:
      the matching groups
    • findByC_A

      List<Group> findByC_A(long companyId, boolean active, int start, int end)
      Returns a range of all the groups where companyId = ? and active = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByC_A

      List<Group> findByC_A(long companyId, boolean active, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where companyId = ? and active = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByC_A

      List<Group> findByC_A(long companyId, boolean active, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where companyId = ? and active = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByC_A_First

      Group findByC_A_First(long companyId, boolean active, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_A_First

      Group fetchByC_A_First(long companyId, boolean active, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByC_A_Last

      Group findByC_A_Last(long companyId, boolean active, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_A_Last

      Group fetchByC_A_Last(long companyId, boolean active, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByC_A_PrevAndNext

      Group[] findByC_A_PrevAndNext(long groupId, long companyId, boolean active, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where companyId = ? and active = ?.
      Parameters:
      groupId - the primary key of the current group
      companyId - the company ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByC_A

      void removeByC_A(long companyId, boolean active)
      Removes all the groups where companyId = ? and active = ? from the database.
      Parameters:
      companyId - the company ID
      active - the active
    • countByC_A

      int countByC_A(long companyId, boolean active)
      Returns the number of groups where companyId = ? and active = ?.
      Parameters:
      companyId - the company ID
      active - the active
      Returns:
      the number of matching groups
    • findByC_CPK

      List<Group> findByC_CPK(long classNameId, long classPK)
      Returns all the groups where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching groups
    • findByC_CPK

      List<Group> findByC_CPK(long classNameId, long classPK, int start, int end)
      Returns a range of all the groups where classNameId = ? and classPK = ?.

      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 GroupModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByC_CPK

      List<Group> findByC_CPK(long classNameId, long classPK, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where classNameId = ? and classPK = ?.

      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 GroupModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByC_CPK

      List<Group> findByC_CPK(long classNameId, long classPK, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where classNameId = ? and classPK = ?.

      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 GroupModelImpl.

      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByC_CPK_First

      Group findByC_CPK_First(long classNameId, long classPK, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_CPK_First

      Group fetchByC_CPK_First(long classNameId, long classPK, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByC_CPK_Last

      Group findByC_CPK_Last(long classNameId, long classPK, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_CPK_Last

      Group fetchByC_CPK_Last(long classNameId, long classPK, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByC_CPK_PrevAndNext

      Group[] findByC_CPK_PrevAndNext(long groupId, long classNameId, long classPK, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where classNameId = ? and classPK = ?.
      Parameters:
      groupId - the primary key of the current group
      classNameId - the class name ID
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByC_CPK

      void removeByC_CPK(long classNameId, long classPK)
      Removes all the groups where classNameId = ? and classPK = ? from the database.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
    • countByC_CPK

      int countByC_CPK(long classNameId, long classPK)
      Returns the number of groups where classNameId = ? and classPK = ?.
      Parameters:
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching groups
    • findByT_A

      List<Group> findByT_A(int type, boolean active)
      Returns all the groups where type = ? and active = ?.
      Parameters:
      type - the type
      active - the active
      Returns:
      the matching groups
    • findByT_A

      List<Group> findByT_A(int type, boolean active, int start, int end)
      Returns a range of all the groups where type = ? and active = ?.

      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 GroupModelImpl.

      Parameters:
      type - the type
      active - the active
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByT_A

      List<Group> findByT_A(int type, boolean active, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where type = ? and active = ?.

      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 GroupModelImpl.

      Parameters:
      type - the type
      active - the active
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByT_A

      List<Group> findByT_A(int type, boolean active, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where type = ? and active = ?.

      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 GroupModelImpl.

      Parameters:
      type - the type
      active - the active
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByT_A_First

      Group findByT_A_First(int type, boolean active, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where type = ? and active = ?.
      Parameters:
      type - the type
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByT_A_First

      Group fetchByT_A_First(int type, boolean active, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where type = ? and active = ?.
      Parameters:
      type - the type
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByT_A_Last

      Group findByT_A_Last(int type, boolean active, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where type = ? and active = ?.
      Parameters:
      type - the type
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByT_A_Last

      Group fetchByT_A_Last(int type, boolean active, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where type = ? and active = ?.
      Parameters:
      type - the type
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByT_A_PrevAndNext

      Group[] findByT_A_PrevAndNext(long groupId, int type, boolean active, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where type = ? and active = ?.
      Parameters:
      groupId - the primary key of the current group
      type - the type
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByT_A

      void removeByT_A(int type, boolean active)
      Removes all the groups where type = ? and active = ? from the database.
      Parameters:
      type - the type
      active - the active
    • countByT_A

      int countByT_A(int type, boolean active)
      Returns the number of groups where type = ? and active = ?.
      Parameters:
      type - the type
      active - the active
      Returns:
      the number of matching groups
    • findByGtG_C_P

      List<Group> findByGtG_C_P(long groupId, long companyId, long parentGroupId)
      Returns all the groups where groupId > ? and companyId = ? and parentGroupId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      Returns:
      the matching groups
    • findByGtG_C_P

      List<Group> findByGtG_C_P(long groupId, long companyId, long parentGroupId, int start, int end)
      Returns a range of all the groups where groupId > ? and companyId = ? and parentGroupId = ?.

      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 GroupModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByGtG_C_P

      List<Group> findByGtG_C_P(long groupId, long companyId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ?.

      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 GroupModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByGtG_C_P

      List<Group> findByGtG_C_P(long groupId, long companyId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ?.

      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 GroupModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByGtG_C_P_First

      Group findByGtG_C_P_First(long groupId, long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByGtG_C_P_First

      Group fetchByGtG_C_P_First(long groupId, long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByGtG_C_P_Last

      Group findByGtG_C_P_Last(long groupId, long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByGtG_C_P_Last

      Group fetchByGtG_C_P_Last(long groupId, long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • removeByGtG_C_P

      void removeByGtG_C_P(long groupId, long companyId, long parentGroupId)
      Removes all the groups where groupId > ? and companyId = ? and parentGroupId = ? from the database.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
    • countByGtG_C_P

      int countByGtG_C_P(long groupId, long companyId, long parentGroupId)
      Returns the number of groups where groupId > ? and companyId = ? and parentGroupId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      Returns:
      the number of matching groups
    • findByC_C_C

      Group findByC_C_C(long companyId, long classNameId, long classPK) throws NoSuchGroupException
      Returns the group where companyId = ? and classNameId = ? and classPK = ? or throws a NoSuchGroupException if it could not be found.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_C_C

      Group fetchByC_C_C(long companyId, long classNameId, long classPK)
      Returns the group where companyId = ? and classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the matching group, or null if a matching group could not be found
    • fetchByC_C_C

      Group fetchByC_C_C(long companyId, long classNameId, long classPK, boolean useFinderCache)
      Returns the group where companyId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      useFinderCache - whether to use the finder cache
      Returns:
      the matching group, or null if a matching group could not be found
    • removeByC_C_C

      Group removeByC_C_C(long companyId, long classNameId, long classPK) throws NoSuchGroupException
      Removes the group where companyId = ? and classNameId = ? and classPK = ? from the database.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the group that was removed
      Throws:
      NoSuchGroupException
    • countByC_C_C

      int countByC_C_C(long companyId, long classNameId, long classPK)
      Returns the number of groups where companyId = ? and classNameId = ? and classPK = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      classPK - the class pk
      Returns:
      the number of matching groups
    • findByC_C_P

      List<Group> findByC_C_P(long companyId, long classNameId, long parentGroupId)
      Returns all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      Returns:
      the matching groups
    • findByC_C_P

      List<Group> findByC_C_P(long companyId, long classNameId, long parentGroupId, int start, int end)
      Returns a range of all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByC_C_P

      List<Group> findByC_C_P(long companyId, long classNameId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByC_C_P

      List<Group> findByC_C_P(long companyId, long classNameId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByC_C_P_First

      Group findByC_C_P_First(long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_C_P_First

      Group fetchByC_C_P_First(long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByC_C_P_Last

      Group findByC_C_P_Last(long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_C_P_Last

      Group fetchByC_C_P_Last(long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByC_C_P_PrevAndNext

      Group[] findByC_C_P_PrevAndNext(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
      Parameters:
      groupId - the primary key of the current group
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByC_C_P

      void removeByC_C_P(long companyId, long classNameId, long parentGroupId)
      Removes all the groups where companyId = ? and classNameId = ? and parentGroupId = ? from the database.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
    • countByC_C_P

      int countByC_C_P(long companyId, long classNameId, long parentGroupId)
      Returns the number of groups where companyId = ? and classNameId = ? and parentGroupId = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      Returns:
      the number of matching groups
    • findByC_C_S

      List<Group> findByC_C_S(long companyId, long classNameId, boolean site)
      Returns all the groups where companyId = ? and classNameId = ? and site = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      site - the site
      Returns:
      the matching groups
    • findByC_C_S

      List<Group> findByC_C_S(long companyId, long classNameId, boolean site, int start, int end)
      Returns a range of all the groups where companyId = ? and classNameId = ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByC_C_S

      List<Group> findByC_C_S(long companyId, long classNameId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where companyId = ? and classNameId = ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByC_C_S

      List<Group> findByC_C_S(long companyId, long classNameId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where companyId = ? and classNameId = ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByC_C_S_First

      Group findByC_C_S_First(long companyId, long classNameId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where companyId = ? and classNameId = ? and site = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_C_S_First

      Group fetchByC_C_S_First(long companyId, long classNameId, boolean site, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where companyId = ? and classNameId = ? and site = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByC_C_S_Last

      Group findByC_C_S_Last(long companyId, long classNameId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where companyId = ? and classNameId = ? and site = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_C_S_Last

      Group fetchByC_C_S_Last(long companyId, long classNameId, boolean site, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where companyId = ? and classNameId = ? and site = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByC_C_S_PrevAndNext

      Group[] findByC_C_S_PrevAndNext(long groupId, long companyId, long classNameId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ? and site = ?.
      Parameters:
      groupId - the primary key of the current group
      companyId - the company ID
      classNameId - the class name ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByC_C_S

      void removeByC_C_S(long companyId, long classNameId, boolean site)
      Removes all the groups where companyId = ? and classNameId = ? and site = ? from the database.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      site - the site
    • countByC_C_S

      int countByC_C_S(long companyId, long classNameId, boolean site)
      Returns the number of groups where companyId = ? and classNameId = ? and site = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      site - the site
      Returns:
      the number of matching groups
    • findByC_P_S

      List<Group> findByC_P_S(long companyId, long parentGroupId, boolean site)
      Returns all the groups where companyId = ? and parentGroupId = ? and site = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      Returns:
      the matching groups
    • findByC_P_S

      List<Group> findByC_P_S(long companyId, long parentGroupId, boolean site, int start, int end)
      Returns a range of all the groups where companyId = ? and parentGroupId = ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByC_P_S

      List<Group> findByC_P_S(long companyId, long parentGroupId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByC_P_S

      List<Group> findByC_P_S(long companyId, long parentGroupId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByC_P_S_First

      Group findByC_P_S_First(long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_P_S_First

      Group fetchByC_P_S_First(long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByC_P_S_Last

      Group findByC_P_S_Last(long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_P_S_Last

      Group fetchByC_P_S_Last(long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByC_P_S_PrevAndNext

      Group[] findByC_P_S_PrevAndNext(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
      Parameters:
      groupId - the primary key of the current group
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByC_P_S

      void removeByC_P_S(long companyId, long parentGroupId, boolean site)
      Removes all the groups where companyId = ? and parentGroupId = ? and site = ? from the database.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
    • countByC_P_S

      int countByC_P_S(long companyId, long parentGroupId, boolean site)
      Returns the number of groups where companyId = ? and parentGroupId = ? and site = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      Returns:
      the number of matching groups
    • findByC_L_GK

      Group findByC_L_GK(long companyId, long liveGroupId, String groupKey) throws NoSuchGroupException
      Returns the group where companyId = ? and liveGroupId = ? and groupKey = ? or throws a NoSuchGroupException if it could not be found.
      Parameters:
      companyId - the company ID
      liveGroupId - the live group ID
      groupKey - the group key
      Returns:
      the matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_L_GK

      Group fetchByC_L_GK(long companyId, long liveGroupId, String groupKey)
      Returns the group where companyId = ? and liveGroupId = ? and groupKey = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      liveGroupId - the live group ID
      groupKey - the group key
      Returns:
      the matching group, or null if a matching group could not be found
    • fetchByC_L_GK

      Group fetchByC_L_GK(long companyId, long liveGroupId, String groupKey, boolean useFinderCache)
      Returns the group where companyId = ? and liveGroupId = ? and groupKey = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      liveGroupId - the live group ID
      groupKey - the group key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching group, or null if a matching group could not be found
    • removeByC_L_GK

      Group removeByC_L_GK(long companyId, long liveGroupId, String groupKey) throws NoSuchGroupException
      Removes the group where companyId = ? and liveGroupId = ? and groupKey = ? from the database.
      Parameters:
      companyId - the company ID
      liveGroupId - the live group ID
      groupKey - the group key
      Returns:
      the group that was removed
      Throws:
      NoSuchGroupException
    • countByC_L_GK

      int countByC_L_GK(long companyId, long liveGroupId, String groupKey)
      Returns the number of groups where companyId = ? and liveGroupId = ? and groupKey = ?.
      Parameters:
      companyId - the company ID
      liveGroupId - the live group ID
      groupKey - the group key
      Returns:
      the number of matching groups
    • findByC_LikeT_S

      List<Group> findByC_LikeT_S(long companyId, String treePath, boolean site)
      Returns all the groups where companyId = ? and treePath LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      treePath - the tree path
      site - the site
      Returns:
      the matching groups
    • findByC_LikeT_S

      List<Group> findByC_LikeT_S(long companyId, String treePath, boolean site, int start, int end)
      Returns a range of all the groups where companyId = ? and treePath LIKE ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      treePath - the tree path
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByC_LikeT_S

      List<Group> findByC_LikeT_S(long companyId, String treePath, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where companyId = ? and treePath LIKE ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      treePath - the tree path
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByC_LikeT_S

      List<Group> findByC_LikeT_S(long companyId, String treePath, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where companyId = ? and treePath LIKE ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      treePath - the tree path
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByC_LikeT_S_First

      Group findByC_LikeT_S_First(long companyId, String treePath, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      treePath - the tree path
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_LikeT_S_First

      Group fetchByC_LikeT_S_First(long companyId, String treePath, boolean site, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      treePath - the tree path
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByC_LikeT_S_Last

      Group findByC_LikeT_S_Last(long companyId, String treePath, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      treePath - the tree path
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_LikeT_S_Last

      Group fetchByC_LikeT_S_Last(long companyId, String treePath, boolean site, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      treePath - the tree path
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByC_LikeT_S_PrevAndNext

      Group[] findByC_LikeT_S_PrevAndNext(long groupId, long companyId, String treePath, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.
      Parameters:
      groupId - the primary key of the current group
      companyId - the company ID
      treePath - the tree path
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByC_LikeT_S

      void removeByC_LikeT_S(long companyId, String treePath, boolean site)
      Removes all the groups where companyId = ? and treePath LIKE ? and site = ? from the database.
      Parameters:
      companyId - the company ID
      treePath - the tree path
      site - the site
    • countByC_LikeT_S

      int countByC_LikeT_S(long companyId, String treePath, boolean site)
      Returns the number of groups where companyId = ? and treePath LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      treePath - the tree path
      site - the site
      Returns:
      the number of matching groups
    • findByC_LikeN_S

      List<Group> findByC_LikeN_S(long companyId, String name, boolean site)
      Returns all the groups where companyId = ? and name LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      name - the name
      site - the site
      Returns:
      the matching groups
    • findByC_LikeN_S

      List<Group> findByC_LikeN_S(long companyId, String name, boolean site, int start, int end)
      Returns a range of all the groups where companyId = ? and name LIKE ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      name - the name
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByC_LikeN_S

      List<Group> findByC_LikeN_S(long companyId, String name, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where companyId = ? and name LIKE ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      name - the name
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByC_LikeN_S

      List<Group> findByC_LikeN_S(long companyId, String name, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where companyId = ? and name LIKE ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      name - the name
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByC_LikeN_S_First

      Group findByC_LikeN_S_First(long companyId, String name, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where companyId = ? and name LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      name - the name
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_LikeN_S_First

      Group fetchByC_LikeN_S_First(long companyId, String name, boolean site, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where companyId = ? and name LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      name - the name
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByC_LikeN_S_Last

      Group findByC_LikeN_S_Last(long companyId, String name, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where companyId = ? and name LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      name - the name
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_LikeN_S_Last

      Group fetchByC_LikeN_S_Last(long companyId, String name, boolean site, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where companyId = ? and name LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      name - the name
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByC_LikeN_S_PrevAndNext

      Group[] findByC_LikeN_S_PrevAndNext(long groupId, long companyId, String name, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where companyId = ? and name LIKE ? and site = ?.
      Parameters:
      groupId - the primary key of the current group
      companyId - the company ID
      name - the name
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByC_LikeN_S

      void removeByC_LikeN_S(long companyId, String name, boolean site)
      Removes all the groups where companyId = ? and name LIKE ? and site = ? from the database.
      Parameters:
      companyId - the company ID
      name - the name
      site - the site
    • countByC_LikeN_S

      int countByC_LikeN_S(long companyId, String name, boolean site)
      Returns the number of groups where companyId = ? and name LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      name - the name
      site - the site
      Returns:
      the number of matching groups
    • findByC_S_A

      List<Group> findByC_S_A(long companyId, boolean site, boolean active)
      Returns all the groups where companyId = ? and site = ? and active = ?.
      Parameters:
      companyId - the company ID
      site - the site
      active - the active
      Returns:
      the matching groups
    • findByC_S_A

      List<Group> findByC_S_A(long companyId, boolean site, boolean active, int start, int end)
      Returns a range of all the groups where companyId = ? and site = ? and active = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      site - the site
      active - the active
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByC_S_A

      List<Group> findByC_S_A(long companyId, boolean site, boolean active, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where companyId = ? and site = ? and active = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      site - the site
      active - the active
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByC_S_A

      List<Group> findByC_S_A(long companyId, boolean site, boolean active, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where companyId = ? and site = ? and active = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      site - the site
      active - the active
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByC_S_A_First

      Group findByC_S_A_First(long companyId, boolean site, boolean active, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where companyId = ? and site = ? and active = ?.
      Parameters:
      companyId - the company ID
      site - the site
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_S_A_First

      Group fetchByC_S_A_First(long companyId, boolean site, boolean active, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where companyId = ? and site = ? and active = ?.
      Parameters:
      companyId - the company ID
      site - the site
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByC_S_A_Last

      Group findByC_S_A_Last(long companyId, boolean site, boolean active, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where companyId = ? and site = ? and active = ?.
      Parameters:
      companyId - the company ID
      site - the site
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_S_A_Last

      Group fetchByC_S_A_Last(long companyId, boolean site, boolean active, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where companyId = ? and site = ? and active = ?.
      Parameters:
      companyId - the company ID
      site - the site
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByC_S_A_PrevAndNext

      Group[] findByC_S_A_PrevAndNext(long groupId, long companyId, boolean site, boolean active, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where companyId = ? and site = ? and active = ?.
      Parameters:
      groupId - the primary key of the current group
      companyId - the company ID
      site - the site
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByC_S_A

      void removeByC_S_A(long companyId, boolean site, boolean active)
      Removes all the groups where companyId = ? and site = ? and active = ? from the database.
      Parameters:
      companyId - the company ID
      site - the site
      active - the active
    • countByC_S_A

      int countByC_S_A(long companyId, boolean site, boolean active)
      Returns the number of groups where companyId = ? and site = ? and active = ?.
      Parameters:
      companyId - the company ID
      site - the site
      active - the active
      Returns:
      the number of matching groups
    • findByGtG_C_C_P

      List<Group> findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId)
      Returns all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      Returns:
      the matching groups
    • findByGtG_C_C_P

      List<Group> findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId, int start, int end)
      Returns a range of all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.

      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 GroupModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByGtG_C_C_P

      List<Group> findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.

      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 GroupModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByGtG_C_C_P

      List<Group> findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.

      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 GroupModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByGtG_C_C_P_First

      Group findByGtG_C_C_P_First(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByGtG_C_C_P_First

      Group fetchByGtG_C_C_P_First(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByGtG_C_C_P_Last

      Group findByGtG_C_C_P_Last(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByGtG_C_C_P_Last

      Group fetchByGtG_C_C_P_Last(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • removeByGtG_C_C_P

      void removeByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId)
      Removes all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ? from the database.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
    • countByGtG_C_C_P

      int countByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId)
      Returns the number of groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      classNameId - the class name ID
      parentGroupId - the parent group ID
      Returns:
      the number of matching groups
    • findByGtG_C_P_S

      List<Group> findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site)
      Returns all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      Returns:
      the matching groups
    • findByGtG_C_P_S

      List<Group> findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site, int start, int end)
      Returns a range of all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByGtG_C_P_S

      List<Group> findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByGtG_C_P_S

      List<Group> findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByGtG_C_P_S_First

      Group findByGtG_C_P_S_First(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByGtG_C_P_S_First

      Group fetchByGtG_C_P_S_First(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByGtG_C_P_S_Last

      Group findByGtG_C_P_S_Last(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByGtG_C_P_S_Last

      Group fetchByGtG_C_P_S_Last(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • removeByGtG_C_P_S

      void removeByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site)
      Removes all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ? from the database.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
    • countByGtG_C_P_S

      int countByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site)
      Returns the number of groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
      Parameters:
      groupId - the group ID
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      Returns:
      the number of matching groups
    • findByC_C_L_GK

      Group findByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey) throws NoSuchGroupException
      Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? or throws a NoSuchGroupException if it could not be found.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      liveGroupId - the live group ID
      groupKey - the group key
      Returns:
      the matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_C_L_GK

      Group fetchByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey)
      Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      liveGroupId - the live group ID
      groupKey - the group key
      Returns:
      the matching group, or null if a matching group could not be found
    • fetchByC_C_L_GK

      Group fetchByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey, boolean useFinderCache)
      Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      liveGroupId - the live group ID
      groupKey - the group key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching group, or null if a matching group could not be found
    • removeByC_C_L_GK

      Group removeByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey) throws NoSuchGroupException
      Removes the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? from the database.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      liveGroupId - the live group ID
      groupKey - the group key
      Returns:
      the group that was removed
      Throws:
      NoSuchGroupException
    • countByC_C_L_GK

      int countByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey)
      Returns the number of groups where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ?.
      Parameters:
      companyId - the company ID
      classNameId - the class name ID
      liveGroupId - the live group ID
      groupKey - the group key
      Returns:
      the number of matching groups
    • findByC_P_LikeN_S

      List<Group> findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site)
      Returns all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      name - the name
      site - the site
      Returns:
      the matching groups
    • findByC_P_LikeN_S

      List<Group> findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site, int start, int end)
      Returns a range of all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      name - the name
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByC_P_LikeN_S

      List<Group> findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      name - the name
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByC_P_LikeN_S

      List<Group> findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      name - the name
      site - the site
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByC_P_LikeN_S_First

      Group findByC_P_LikeN_S_First(long companyId, long parentGroupId, String name, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      name - the name
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_P_LikeN_S_First

      Group fetchByC_P_LikeN_S_First(long companyId, long parentGroupId, String name, boolean site, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      name - the name
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByC_P_LikeN_S_Last

      Group findByC_P_LikeN_S_Last(long companyId, long parentGroupId, String name, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      name - the name
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_P_LikeN_S_Last

      Group fetchByC_P_LikeN_S_Last(long companyId, long parentGroupId, String name, boolean site, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      name - the name
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByC_P_LikeN_S_PrevAndNext

      Group[] findByC_P_LikeN_S_PrevAndNext(long groupId, long companyId, long parentGroupId, String name, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
      Parameters:
      groupId - the primary key of the current group
      companyId - the company ID
      parentGroupId - the parent group ID
      name - the name
      site - the site
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByC_P_LikeN_S

      void removeByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site)
      Removes all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ? from the database.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      name - the name
      site - the site
    • countByC_P_LikeN_S

      int countByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site)
      Returns the number of groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      name - the name
      site - the site
      Returns:
      the number of matching groups
    • findByC_P_S_I

      List<Group> findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent)
      Returns all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      inheritContent - the inherit content
      Returns:
      the matching groups
    • findByC_P_S_I

      List<Group> findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent, int start, int end)
      Returns a range of all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      inheritContent - the inherit content
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of matching groups
    • findByC_P_S_I

      List<Group> findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent, int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      inheritContent - the inherit content
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching groups
    • findByC_P_S_I

      List<Group> findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent, int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.

      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 GroupModelImpl.

      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      inheritContent - the inherit content
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching groups
    • findByC_P_S_I_First

      Group findByC_P_S_I_First(long companyId, long parentGroupId, boolean site, boolean inheritContent, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      inheritContent - the inherit content
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_P_S_I_First

      Group fetchByC_P_S_I_First(long companyId, long parentGroupId, boolean site, boolean inheritContent, OrderByComparator<Group> orderByComparator)
      Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      inheritContent - the inherit content
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching group, or null if a matching group could not be found
    • findByC_P_S_I_Last

      Group findByC_P_S_I_Last(long companyId, long parentGroupId, boolean site, boolean inheritContent, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      inheritContent - the inherit content
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByC_P_S_I_Last

      Group fetchByC_P_S_I_Last(long companyId, long parentGroupId, boolean site, boolean inheritContent, OrderByComparator<Group> orderByComparator)
      Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      inheritContent - the inherit content
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching group, or null if a matching group could not be found
    • findByC_P_S_I_PrevAndNext

      Group[] findByC_P_S_I_PrevAndNext(long groupId, long companyId, long parentGroupId, boolean site, boolean inheritContent, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
      Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
      Parameters:
      groupId - the primary key of the current group
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      inheritContent - the inherit content
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • removeByC_P_S_I

      void removeByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent)
      Removes all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ? from the database.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      inheritContent - the inherit content
    • countByC_P_S_I

      int countByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent)
      Returns the number of groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
      Parameters:
      companyId - the company ID
      parentGroupId - the parent group ID
      site - the site
      inheritContent - the inherit content
      Returns:
      the number of matching groups
    • findByERC_C

      Group findByERC_C(String externalReferenceCode, long companyId) throws NoSuchGroupException
      Returns the group where externalReferenceCode = ? and companyId = ? or throws a NoSuchGroupException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching group
      Throws:
      NoSuchGroupException - if a matching group could not be found
    • fetchByERC_C

      Group fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the group where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching group, or null if a matching group could not be found
    • fetchByERC_C

      Group fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the group where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching group, or null if a matching group could not be found
    • removeByERC_C

      Group removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchGroupException
      Removes the group where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the group that was removed
      Throws:
      NoSuchGroupException
    • countByERC_C

      int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of groups where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching groups
    • cacheResult

      void cacheResult(Group group)
      Caches the group in the entity cache if it is enabled.
      Parameters:
      group - the group
    • cacheResult

      void cacheResult(List<Group> groups)
      Caches the groups in the entity cache if it is enabled.
      Parameters:
      groups - the groups
    • create

      Group create(long groupId)
      Creates a new group with the primary key. Does not add the group to the database.
      Parameters:
      groupId - the primary key for the new group
      Returns:
      the new group
    • remove

      Group remove(long groupId) throws NoSuchGroupException
      Removes the group with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      groupId - the primary key of the group
      Returns:
      the group that was removed
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • updateImpl

      Group updateImpl(Group group)
    • findByPrimaryKey

      Group findByPrimaryKey(long groupId) throws NoSuchGroupException
      Returns the group with the primary key or throws a NoSuchGroupException if it could not be found.
      Parameters:
      groupId - the primary key of the group
      Returns:
      the group
      Throws:
      NoSuchGroupException - if a group with the primary key could not be found
    • fetchByPrimaryKey

      Group fetchByPrimaryKey(long groupId)
      Returns the group with the primary key or returns null if it could not be found.
      Parameters:
      groupId - the primary key of the group
      Returns:
      the group, or null if a group with the primary key could not be found
    • findAll

      List<Group> findAll()
      Returns all the groups.
      Returns:
      the groups
    • findAll

      List<Group> findAll(int start, int end)
      Returns a range of all the groups.

      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 GroupModelImpl.

      Parameters:
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of groups
    • findAll

      List<Group> findAll(int start, int end, OrderByComparator<Group> orderByComparator)
      Returns an ordered range of all the groups.

      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 GroupModelImpl.

      Parameters:
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of groups
    • findAll

      List<Group> findAll(int start, int end, OrderByComparator<Group> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the groups.

      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 GroupModelImpl.

      Parameters:
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of groups
    • removeAll

      void removeAll()
      Removes all the groups from the database.
    • countAll

      int countAll()
      Returns the number of groups.
      Returns:
      the number of groups
    • getOrganizationPrimaryKeys

      long[] getOrganizationPrimaryKeys(long pk)
      Returns the primaryKeys of organizations associated with the group.
      Parameters:
      pk - the primary key of the group
      Returns:
      long[] of the primaryKeys of organizations associated with the group
    • getOrganizations

      List<Organization> getOrganizations(long pk)
      Returns all the organizations associated with the group.
      Parameters:
      pk - the primary key of the group
      Returns:
      the organizations associated with the group
    • getOrganizations

      List<Organization> getOrganizations(long pk, int start, int end)
      Returns a range of all the organizations associated with the group.

      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 GroupModelImpl.

      Parameters:
      pk - the primary key of the group
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of organizations associated with the group
    • getOrganizations

      List<Organization> getOrganizations(long pk, int start, int end, OrderByComparator<Organization> orderByComparator)
      Returns an ordered range of all the organizations associated with the group.

      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 GroupModelImpl.

      Parameters:
      pk - the primary key of the group
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of organizations associated with the group
    • getOrganizationsSize

      int getOrganizationsSize(long pk)
      Returns the number of organizations associated with the group.
      Parameters:
      pk - the primary key of the group
      Returns:
      the number of organizations associated with the group
    • containsOrganization

      boolean containsOrganization(long pk, long organizationPK)
      Returns true if the organization is associated with the group.
      Parameters:
      pk - the primary key of the group
      organizationPK - the primary key of the organization
      Returns:
      true if the organization is associated with the group; false otherwise
    • containsOrganizations

      boolean containsOrganizations(long pk)
      Returns true if the group has any organizations associated with it.
      Parameters:
      pk - the primary key of the group to check for associations with organizations
      Returns:
      true if the group has any organizations associated with it; false otherwise
    • addOrganization

      boolean addOrganization(long pk, long organizationPK)
      Adds an association between the group and the organization. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      organizationPK - the primary key of the organization
      Returns:
      true if an association between the group and the organization was added; false if they were already associated
    • addOrganization

      boolean addOrganization(long pk, Organization organization)
      Adds an association between the group and the organization. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      organization - the organization
      Returns:
      true if an association between the group and the organization was added; false if they were already associated
    • addOrganizations

      boolean addOrganizations(long pk, long[] organizationPKs)
      Adds an association between the group and the organizations. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      organizationPKs - the primary keys of the organizations
      Returns:
      true if at least one association between the group and the organizations was added; false if they were all already associated
    • addOrganizations

      boolean addOrganizations(long pk, List<Organization> organizations)
      Adds an association between the group and the organizations. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      organizations - the organizations
      Returns:
      true if at least one association between the group and the organizations was added; false if they were all already associated
    • clearOrganizations

      void clearOrganizations(long pk)
      Clears all associations between the group and its organizations. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group to clear the associated organizations from
    • removeOrganization

      void removeOrganization(long pk, long organizationPK)
      Removes the association between the group and the organization. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      organizationPK - the primary key of the organization
    • removeOrganization

      void removeOrganization(long pk, Organization organization)
      Removes the association between the group and the organization. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      organization - the organization
    • removeOrganizations

      void removeOrganizations(long pk, long[] organizationPKs)
      Removes the association between the group and the organizations. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      organizationPKs - the primary keys of the organizations
    • removeOrganizations

      void removeOrganizations(long pk, List<Organization> organizations)
      Removes the association between the group and the organizations. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      organizations - the organizations
    • setOrganizations

      void setOrganizations(long pk, long[] organizationPKs)
      Sets the organizations associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      organizationPKs - the primary keys of the organizations to be associated with the group
    • setOrganizations

      void setOrganizations(long pk, List<Organization> organizations)
      Sets the organizations associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      organizations - the organizations to be associated with the group
    • getRolePrimaryKeys

      long[] getRolePrimaryKeys(long pk)
      Returns the primaryKeys of roles associated with the group.
      Parameters:
      pk - the primary key of the group
      Returns:
      long[] of the primaryKeys of roles associated with the group
    • getRoles

      List<Role> getRoles(long pk)
      Returns all the roles associated with the group.
      Parameters:
      pk - the primary key of the group
      Returns:
      the roles associated with the group
    • getRoles

      List<Role> getRoles(long pk, int start, int end)
      Returns a range of all the roles associated with the group.

      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 GroupModelImpl.

      Parameters:
      pk - the primary key of the group
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of roles associated with the group
    • getRoles

      List<Role> getRoles(long pk, int start, int end, OrderByComparator<Role> orderByComparator)
      Returns an ordered range of all the roles associated with the group.

      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 GroupModelImpl.

      Parameters:
      pk - the primary key of the group
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of roles associated with the group
    • getRolesSize

      int getRolesSize(long pk)
      Returns the number of roles associated with the group.
      Parameters:
      pk - the primary key of the group
      Returns:
      the number of roles associated with the group
    • containsRole

      boolean containsRole(long pk, long rolePK)
      Returns true if the role is associated with the group.
      Parameters:
      pk - the primary key of the group
      rolePK - the primary key of the role
      Returns:
      true if the role is associated with the group; false otherwise
    • containsRoles

      boolean containsRoles(long pk)
      Returns true if the group has any roles associated with it.
      Parameters:
      pk - the primary key of the group to check for associations with roles
      Returns:
      true if the group has any roles associated with it; false otherwise
    • addRole

      boolean addRole(long pk, long rolePK)
      Adds an association between the group and the role. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      rolePK - the primary key of the role
      Returns:
      true if an association between the group and the role was added; false if they were already associated
    • addRole

      boolean addRole(long pk, Role role)
      Adds an association between the group and the role. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      role - the role
      Returns:
      true if an association between the group and the role was added; false if they were already associated
    • addRoles

      boolean addRoles(long pk, long[] rolePKs)
      Adds an association between the group and the roles. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      rolePKs - the primary keys of the roles
      Returns:
      true if at least one association between the group and the roles was added; false if they were all already associated
    • addRoles

      boolean addRoles(long pk, List<Role> roles)
      Adds an association between the group and the roles. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      roles - the roles
      Returns:
      true if at least one association between the group and the roles was added; false if they were all already associated
    • clearRoles

      void clearRoles(long pk)
      Clears all associations between the group and its roles. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group to clear the associated roles from
    • removeRole

      void removeRole(long pk, long rolePK)
      Removes the association between the group and the role. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      rolePK - the primary key of the role
    • removeRole

      void removeRole(long pk, Role role)
      Removes the association between the group and the role. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      role - the role
    • removeRoles

      void removeRoles(long pk, long[] rolePKs)
      Removes the association between the group and the roles. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      rolePKs - the primary keys of the roles
    • removeRoles

      void removeRoles(long pk, List<Role> roles)
      Removes the association between the group and the roles. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      roles - the roles
    • setRoles

      void setRoles(long pk, long[] rolePKs)
      Sets the roles associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      rolePKs - the primary keys of the roles to be associated with the group
    • setRoles

      void setRoles(long pk, List<Role> roles)
      Sets the roles associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      roles - the roles to be associated with the group
    • getUserGroupPrimaryKeys

      long[] getUserGroupPrimaryKeys(long pk)
      Returns the primaryKeys of user groups associated with the group.
      Parameters:
      pk - the primary key of the group
      Returns:
      long[] of the primaryKeys of user groups associated with the group
    • getUserGroups

      List<UserGroup> getUserGroups(long pk)
      Returns all the user groups associated with the group.
      Parameters:
      pk - the primary key of the group
      Returns:
      the user groups associated with the group
    • getUserGroups

      List<UserGroup> getUserGroups(long pk, int start, int end)
      Returns a range of all the user groups associated with the group.

      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 GroupModelImpl.

      Parameters:
      pk - the primary key of the group
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of user groups associated with the group
    • getUserGroups

      List<UserGroup> getUserGroups(long pk, int start, int end, OrderByComparator<UserGroup> orderByComparator)
      Returns an ordered range of all the user groups associated with the group.

      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 GroupModelImpl.

      Parameters:
      pk - the primary key of the group
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of user groups associated with the group
    • getUserGroupsSize

      int getUserGroupsSize(long pk)
      Returns the number of user groups associated with the group.
      Parameters:
      pk - the primary key of the group
      Returns:
      the number of user groups associated with the group
    • containsUserGroup

      boolean containsUserGroup(long pk, long userGroupPK)
      Returns true if the user group is associated with the group.
      Parameters:
      pk - the primary key of the group
      userGroupPK - the primary key of the user group
      Returns:
      true if the user group is associated with the group; false otherwise
    • containsUserGroups

      boolean containsUserGroups(long pk)
      Returns true if the group has any user groups associated with it.
      Parameters:
      pk - the primary key of the group to check for associations with user groups
      Returns:
      true if the group has any user groups associated with it; false otherwise
    • addUserGroup

      boolean addUserGroup(long pk, long userGroupPK)
      Adds an association between the group and the user group. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      userGroupPK - the primary key of the user group
      Returns:
      true if an association between the group and the user group was added; false if they were already associated
    • addUserGroup

      boolean addUserGroup(long pk, UserGroup userGroup)
      Adds an association between the group and the user group. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      userGroup - the user group
      Returns:
      true if an association between the group and the user group was added; false if they were already associated
    • addUserGroups

      boolean addUserGroups(long pk, long[] userGroupPKs)
      Adds an association between the group and the user groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      userGroupPKs - the primary keys of the user groups
      Returns:
      true if at least one association between the group and the user groups was added; false if they were all already associated
    • addUserGroups

      boolean addUserGroups(long pk, List<UserGroup> userGroups)
      Adds an association between the group and the user groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      userGroups - the user groups
      Returns:
      true if at least one association between the group and the user groups was added; false if they were all already associated
    • clearUserGroups

      void clearUserGroups(long pk)
      Clears all associations between the group and its user groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group to clear the associated user groups from
    • removeUserGroup

      void removeUserGroup(long pk, long userGroupPK)
      Removes the association between the group and the user group. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      userGroupPK - the primary key of the user group
    • removeUserGroup

      void removeUserGroup(long pk, UserGroup userGroup)
      Removes the association between the group and the user group. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      userGroup - the user group
    • removeUserGroups

      void removeUserGroups(long pk, long[] userGroupPKs)
      Removes the association between the group and the user groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      userGroupPKs - the primary keys of the user groups
    • removeUserGroups

      void removeUserGroups(long pk, List<UserGroup> userGroups)
      Removes the association between the group and the user groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      userGroups - the user groups
    • setUserGroups

      void setUserGroups(long pk, long[] userGroupPKs)
      Sets the user groups associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      userGroupPKs - the primary keys of the user groups to be associated with the group
    • setUserGroups

      void setUserGroups(long pk, List<UserGroup> userGroups)
      Sets the user groups associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      userGroups - the user groups to be associated with the group
    • getUserPrimaryKeys

      long[] getUserPrimaryKeys(long pk)
      Returns the primaryKeys of users associated with the group.
      Parameters:
      pk - the primary key of the group
      Returns:
      long[] of the primaryKeys of users associated with the group
    • getUsers

      List<User> getUsers(long pk)
      Returns all the users associated with the group.
      Parameters:
      pk - the primary key of the group
      Returns:
      the users associated with the group
    • getUsers

      List<User> getUsers(long pk, int start, int end)
      Returns a range of all the users associated with the group.

      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 GroupModelImpl.

      Parameters:
      pk - the primary key of the group
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      Returns:
      the range of users associated with the group
    • getUsers

      List<User> getUsers(long pk, int start, int end, OrderByComparator<User> orderByComparator)
      Returns an ordered range of all the users associated with the group.

      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 GroupModelImpl.

      Parameters:
      pk - the primary key of the group
      start - the lower bound of the range of groups
      end - the upper bound of the range of groups (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of users associated with the group
    • getUsersSize

      int getUsersSize(long pk)
      Returns the number of users associated with the group.
      Parameters:
      pk - the primary key of the group
      Returns:
      the number of users associated with the group
    • containsUser

      boolean containsUser(long pk, long userPK)
      Returns true if the user is associated with the group.
      Parameters:
      pk - the primary key of the group
      userPK - the primary key of the user
      Returns:
      true if the user is associated with the group; false otherwise
    • containsUsers

      boolean containsUsers(long pk)
      Returns true if the group has any users associated with it.
      Parameters:
      pk - the primary key of the group to check for associations with users
      Returns:
      true if the group has any users associated with it; false otherwise
    • addUser

      boolean addUser(long pk, long userPK)
      Adds an association between the group and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      userPK - the primary key of the user
      Returns:
      true if an association between the group and the user was added; false if they were already associated
    • addUser

      boolean addUser(long pk, User user)
      Adds an association between the group and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      user - the user
      Returns:
      true if an association between the group and the user was added; false if they were already associated
    • addUsers

      boolean addUsers(long pk, long[] userPKs)
      Adds an association between the group and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      userPKs - the primary keys of the users
      Returns:
      true if at least one association between the group and the users was added; false if they were all already associated
    • addUsers

      boolean addUsers(long pk, List<User> users)
      Adds an association between the group and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      users - the users
      Returns:
      true if at least one association between the group and the users was added; false if they were all already associated
    • clearUsers

      void clearUsers(long pk)
      Clears all associations between the group and its users. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group to clear the associated users from
    • removeUser

      void removeUser(long pk, long userPK)
      Removes the association between the group and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      userPK - the primary key of the user
    • removeUser

      void removeUser(long pk, User user)
      Removes the association between the group and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      user - the user
    • removeUsers

      void removeUsers(long pk, long[] userPKs)
      Removes the association between the group and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      userPKs - the primary keys of the users
    • removeUsers

      void removeUsers(long pk, List<User> users)
      Removes the association between the group and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      users - the users
    • setUsers

      void setUsers(long pk, long[] userPKs)
      Sets the users associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      userPKs - the primary keys of the users to be associated with the group
    • setUsers

      void setUsers(long pk, List<User> users)
      Sets the users associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
      Parameters:
      pk - the primary key of the group
      users - the users to be associated with the group