@ProviderType
public class GroupUtil
extends Object
GroupPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
GroupPersistence
,
GroupPersistenceImpl
Constructor and Description |
---|
GroupUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addOrganization(long pk,
long organizationPK)
Adds an association between the group and the organization.
|
static void |
addOrganization(long pk,
Organization organization)
Adds an association between the group and the organization.
|
static void |
addOrganizations(long pk,
List<Organization> organizations)
Adds an association between the group and the organizations.
|
static void |
addOrganizations(long pk,
long[] organizationPKs)
Adds an association between the group and the organizations.
|
static void |
addRole(long pk,
long rolePK)
Adds an association between the group and the role.
|
static void |
addRole(long pk,
Role role)
Adds an association between the group and the role.
|
static void |
addRoles(long pk,
List<Role> roles)
Adds an association between the group and the roles.
|
static void |
addRoles(long pk,
long[] rolePKs)
Adds an association between the group and the roles.
|
static void |
addUser(long pk,
long userPK)
Adds an association between the group and the user.
|
static void |
addUser(long pk,
User user)
Adds an association between the group and the user.
|
static void |
addUserGroup(long pk,
long userGroupPK)
Adds an association between the group and the user group.
|
static void |
addUserGroup(long pk,
UserGroup userGroup)
Adds an association between the group and the user group.
|
static void |
addUserGroups(long pk,
List<UserGroup> userGroups)
Adds an association between the group and the user groups.
|
static void |
addUserGroups(long pk,
long[] userGroupPKs)
Adds an association between the group and the user groups.
|
static void |
addUsers(long pk,
List<User> users)
Adds an association between the group and the users.
|
static void |
addUsers(long pk,
long[] userPKs)
Adds an association between the group and the users.
|
static void |
cacheResult(Group group)
Caches the group in the entity cache if it is enabled.
|
static void |
cacheResult(List<Group> groups)
Caches the groups in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(Group group) |
static void |
clearOrganizations(long pk)
Clears all associations between the group and its organizations.
|
static void |
clearRoles(long pk)
Clears all associations between the group and its roles.
|
static void |
clearUserGroups(long pk)
Clears all associations between the group and its user groups.
|
static void |
clearUsers(long pk)
Clears all associations between the group and its users.
|
static boolean |
containsOrganization(long pk,
long organizationPK)
Returns
true if the organization is associated with the group. |
static boolean |
containsOrganizations(long pk)
Returns
true if the group has any organizations associated with it. |
static boolean |
containsRole(long pk,
long rolePK)
Returns
true if the role is associated with the group. |
static boolean |
containsRoles(long pk)
Returns
true if the group has any roles associated with it. |
static boolean |
containsUser(long pk,
long userPK)
Returns
true if the user is associated with the group. |
static boolean |
containsUserGroup(long pk,
long userGroupPK)
Returns
true if the user group is associated with the group. |
static boolean |
containsUserGroups(long pk)
Returns
true if the group has any user groups associated with it. |
static boolean |
containsUsers(long pk)
Returns
true if the group has any users associated with it. |
static int |
countAll()
Returns the number of groups.
|
static int |
countByC_A(long companyId,
boolean active)
Returns the number of groups where companyId = ? and active = ?.
|
static int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
Returns the number of groups where companyId = ? and classNameId = ? and classPK = ?.
|
static 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 = ?.
|
static int |
countByC_C_P(long companyId,
long classNameId,
long parentGroupId)
Returns the number of groups where companyId = ? and classNameId = ? and parentGroupId = ?.
|
static int |
countByC_C(long companyId,
long classNameId)
Returns the number of groups where companyId = ? and classNameId = ?.
|
static int |
countByC_CPK(long classNameId,
long classPK)
Returns the number of groups where classNameId = ? and classPK = ?.
|
static int |
countByC_F(long companyId,
String friendlyURL)
Returns the number of groups where companyId = ? and friendlyURL = ?.
|
static int |
countByC_GK(long companyId,
String groupKey)
Returns the number of groups where companyId = ? and groupKey = ?.
|
static int |
countByC_L_GK(long companyId,
long liveGroupId,
String groupKey)
Returns the number of groups where companyId = ? and liveGroupId = ? and groupKey = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static int |
countByC_P_S(long companyId,
long parentGroupId,
boolean site)
Returns the number of groups where companyId = ? and parentGroupId = ? and site = ?.
|
static int |
countByC_P(long companyId,
long parentGroupId)
Returns the number of groups where companyId = ? and parentGroupId = ?.
|
static int |
countByC_S(long companyId,
boolean site)
Returns the number of groups where companyId = ? and site = ?.
|
static int |
countByC_T_S(long companyId,
String treePath,
boolean site)
Returns the number of groups where companyId = ? and treePath LIKE ? and site = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of groups where companyId = ?.
|
static int |
countByG_C_C_P(long groupId,
long companyId,
long classNameId,
long parentGroupId)
Returns the number of groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
|
static int |
countByG_C_P_S(long groupId,
long companyId,
long parentGroupId,
boolean site)
Returns the number of groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
|
static int |
countByG_C_P(long groupId,
long companyId,
long parentGroupId)
Returns the number of groups where groupId > ? and companyId = ? and parentGroupId = ?.
|
static int |
countByLiveGroupId(long liveGroupId)
Returns the number of groups where liveGroupId = ?.
|
static int |
countByT_A(int type,
boolean active)
Returns the number of groups where type = ? and active = ?.
|
static int |
countByUuid_C(String uuid,
long companyId)
Returns the number of groups where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(String uuid,
long groupId)
Returns the number of groups where uuid = ? and groupId = ?.
|
static int |
countByUuid(String uuid)
Returns the number of groups where uuid = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static Group |
create(long groupId)
Creates a new group with the primary key.
|
static Group |
fetchByC_A_First(long companyId,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and active = ?.
|
static Group |
fetchByC_A_Last(long companyId,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and active = ?.
|
static 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. |
static Group |
fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
Returns the group where companyId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
static Group |
fetchByC_C_First(long companyId,
long classNameId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and classNameId = ?.
|
static 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. |
static Group |
fetchByC_C_L_GK(long companyId,
long classNameId,
long liveGroupId,
String groupKey,
boolean retrieveFromCache)
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. |
static Group |
fetchByC_C_Last(long companyId,
long classNameId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and classNameId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static Group |
fetchByC_CPK_First(long classNameId,
long classPK,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where classNameId = ? and classPK = ?.
|
static Group |
fetchByC_CPK_Last(long classNameId,
long classPK,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where classNameId = ? and classPK = ?.
|
static Group |
fetchByC_F(long companyId,
String friendlyURL)
Returns the group where companyId = ? and friendlyURL = ? or returns
null if it could not be found. |
static Group |
fetchByC_F(long companyId,
String friendlyURL,
boolean retrieveFromCache)
Returns the group where companyId = ? and friendlyURL = ? or returns
null if it could not be found, optionally using the finder cache. |
static Group |
fetchByC_GK(long companyId,
String groupKey)
Returns the group where companyId = ? and groupKey = ? or returns
null if it could not be found. |
static Group |
fetchByC_GK(long companyId,
String groupKey,
boolean retrieveFromCache)
Returns the group where companyId = ? and groupKey = ? or returns
null if it could not be found, optionally using the finder cache. |
static 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. |
static Group |
fetchByC_L_GK(long companyId,
long liveGroupId,
String groupKey,
boolean retrieveFromCache)
Returns the group where companyId = ? and liveGroupId = ? and groupKey = ? or returns
null if it could not be found, optionally using the finder cache. |
static Group |
fetchByC_P_First(long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and parentGroupId = ?.
|
static Group |
fetchByC_P_Last(long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and parentGroupId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static Group |
fetchByC_S_First(long companyId,
boolean site,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and site = ?.
|
static Group |
fetchByC_S_Last(long companyId,
boolean site,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and site = ?.
|
static Group |
fetchByC_T_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 = ?.
|
static Group |
fetchByC_T_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 = ?.
|
static Group |
fetchByCompanyId_First(long companyId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ?.
|
static Group |
fetchByCompanyId_Last(long companyId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ?.
|
static Group |
fetchByG_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 = ?.
|
static Group |
fetchByG_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 = ?.
|
static Group |
fetchByG_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 = ?.
|
static Group |
fetchByG_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 = ?.
|
static Group |
fetchByG_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 = ?.
|
static Group |
fetchByG_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 = ?.
|
static Group |
fetchByLiveGroupId(long liveGroupId)
Returns the group where liveGroupId = ? or returns
null if it could not be found. |
static Group |
fetchByLiveGroupId(long liveGroupId,
boolean retrieveFromCache)
Returns the group where liveGroupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static Group |
fetchByPrimaryKey(long groupId)
Returns the group with the primary key or returns
null if it could not be found. |
static Map<Serializable,Group> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
static Group |
fetchByT_A_First(int type,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where type = ? and active = ?.
|
static Group |
fetchByT_A_Last(int type,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where type = ? and active = ?.
|
static Group |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where uuid = ? and companyId = ?.
|
static Group |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where uuid = ? and companyId = ?.
|
static Group |
fetchByUuid_First(String uuid,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where uuid = ?.
|
static Group |
fetchByUUID_G(String uuid,
long groupId)
Returns the group where uuid = ? and groupId = ? or returns
null if it could not be found. |
static Group |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the group where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static Group |
fetchByUuid_Last(String uuid,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where uuid = ?.
|
static List<Group> |
findAll()
Returns all the groups.
|
static List<Group> |
findAll(int start,
int end)
Returns a range of all the groups.
|
static List<Group> |
findAll(int start,
int end,
OrderByComparator<Group> orderByComparator)
Returns an ordered range of all the groups.
|
static List<Group> |
findAll(int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups.
|
static Group |
findByC_A_First(long companyId,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and active = ?.
|
static Group |
findByC_A_Last(long companyId,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and active = ?.
|
static Group[] |
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 = ?.
|
static List<Group> |
findByC_A(long companyId,
boolean active)
Returns all the groups where companyId = ? and active = ?.
|
static List<Group> |
findByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the groups where companyId = ? and active = ?.
|
static 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 = ?.
|
static List<Group> |
findByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where companyId = ? and active = ?.
|
static Group |
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. |
static Group |
findByC_C_First(long companyId,
long classNameId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and classNameId = ?.
|
static Group |
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. |
static Group |
findByC_C_Last(long companyId,
long classNameId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and classNameId = ?.
|
static Group |
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 = ?.
|
static Group |
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 = ?.
|
static Group[] |
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 = ?.
|
static List<Group> |
findByC_C_P(long companyId,
long classNameId,
long parentGroupId)
Returns all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<Group> |
findByC_C_P(long companyId,
long classNameId,
long parentGroupId,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.
|
static Group[] |
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 = ?.
|
static List<Group> |
findByC_C(long companyId,
long classNameId)
Returns all the groups where companyId = ? and classNameId = ?.
|
static List<Group> |
findByC_C(long companyId,
long classNameId,
int start,
int end)
Returns a range of all the groups where companyId = ? and classNameId = ?.
|
static 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 = ?.
|
static List<Group> |
findByC_C(long companyId,
long classNameId,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where companyId = ? and classNameId = ?.
|
static Group |
findByC_CPK_First(long classNameId,
long classPK,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where classNameId = ? and classPK = ?.
|
static Group |
findByC_CPK_Last(long classNameId,
long classPK,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where classNameId = ? and classPK = ?.
|
static Group[] |
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 = ?.
|
static List<Group> |
findByC_CPK(long classNameId,
long classPK)
Returns all the groups where classNameId = ? and classPK = ?.
|
static List<Group> |
findByC_CPK(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the groups where classNameId = ? and classPK = ?.
|
static 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 = ?.
|
static List<Group> |
findByC_CPK(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where classNameId = ? and classPK = ?.
|
static Group |
findByC_F(long companyId,
String friendlyURL)
Returns the group where companyId = ? and friendlyURL = ? or throws a
NoSuchGroupException if it could not be found. |
static Group |
findByC_GK(long companyId,
String groupKey)
Returns the group where companyId = ? and groupKey = ? or throws a
NoSuchGroupException if it could not be found. |
static Group |
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. |
static Group |
findByC_P_First(long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and parentGroupId = ?.
|
static Group |
findByC_P_Last(long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and parentGroupId = ?.
|
static Group |
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 = ?.
|
static Group |
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 = ?.
|
static Group[] |
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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<Group> |
findByC_P_LikeN_S(long companyId,
long parentGroupId,
String name,
boolean site,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
|
static Group[] |
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 = ?.
|
static Group |
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 = ?.
|
static Group |
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 = ?.
|
static Group |
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 = ?.
|
static Group[] |
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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<Group> |
findByC_P_S_I(long companyId,
long parentGroupId,
boolean site,
boolean inheritContent,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
|
static Group |
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 = ?.
|
static Group[] |
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 = ?.
|
static List<Group> |
findByC_P_S(long companyId,
long parentGroupId,
boolean site)
Returns all the groups where companyId = ? and parentGroupId = ? and site = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static List<Group> |
findByC_P_S(long companyId,
long parentGroupId,
boolean site,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ?.
|
static List<Group> |
findByC_P(long companyId,
long parentGroupId)
Returns all the groups where companyId = ? and parentGroupId = ?.
|
static List<Group> |
findByC_P(long companyId,
long parentGroupId,
int start,
int end)
Returns a range of all the groups where companyId = ? and parentGroupId = ?.
|
static 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 = ?.
|
static List<Group> |
findByC_P(long companyId,
long parentGroupId,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where companyId = ? and parentGroupId = ?.
|
static Group |
findByC_S_First(long companyId,
boolean site,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and site = ?.
|
static Group |
findByC_S_Last(long companyId,
boolean site,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and site = ?.
|
static Group[] |
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 = ?.
|
static List<Group> |
findByC_S(long companyId,
boolean site)
Returns all the groups where companyId = ? and site = ?.
|
static List<Group> |
findByC_S(long companyId,
boolean site,
int start,
int end)
Returns a range of all the groups where companyId = ? and site = ?.
|
static 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 = ?.
|
static List<Group> |
findByC_S(long companyId,
boolean site,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where companyId = ? and site = ?.
|
static Group |
findByC_T_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 = ?.
|
static Group |
findByC_T_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 = ?.
|
static Group[] |
findByC_T_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 = ?.
|
static List<Group> |
findByC_T_S(long companyId,
String treePath,
boolean site)
Returns all the groups where companyId = ? and treePath LIKE ? and site = ?.
|
static List<Group> |
findByC_T_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 = ?.
|
static List<Group> |
findByC_T_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 = ?.
|
static List<Group> |
findByC_T_S(long companyId,
String treePath,
boolean site,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where companyId = ? and treePath LIKE ? and site = ?.
|
static Group |
findByCompanyId_First(long companyId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ?.
|
static Group |
findByCompanyId_Last(long companyId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ?.
|
static Group[] |
findByCompanyId_PrevAndNext(long groupId,
long companyId,
OrderByComparator<Group> orderByComparator)
Returns the groups before and after the current group in the ordered set where companyId = ?.
|
static List<Group> |
findByCompanyId(long companyId)
Returns all the groups where companyId = ?.
|
static List<Group> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the groups where companyId = ?.
|
static List<Group> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<Group> orderByComparator)
Returns an ordered range of all the groups where companyId = ?.
|
static List<Group> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where companyId = ?.
|
static Group |
findByG_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 = ?.
|
static Group |
findByG_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 = ?.
|
static List<Group> |
findByG_C_C_P(long groupId,
long companyId,
long classNameId,
long parentGroupId)
Returns all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
|
static List<Group> |
findByG_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 = ?.
|
static List<Group> |
findByG_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 = ?.
|
static List<Group> |
findByG_C_C_P(long groupId,
long companyId,
long classNameId,
long parentGroupId,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
|
static Group |
findByG_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 = ?.
|
static Group |
findByG_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 = ?.
|
static Group |
findByG_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 = ?.
|
static Group |
findByG_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 = ?.
|
static List<Group> |
findByG_C_P_S(long groupId,
long companyId,
long parentGroupId,
boolean site)
Returns all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
|
static List<Group> |
findByG_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 = ?.
|
static List<Group> |
findByG_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 = ?.
|
static List<Group> |
findByG_C_P_S(long groupId,
long companyId,
long parentGroupId,
boolean site,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
|
static List<Group> |
findByG_C_P(long groupId,
long companyId,
long parentGroupId)
Returns all the groups where groupId > ? and companyId = ? and parentGroupId = ?.
|
static List<Group> |
findByG_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 = ?.
|
static List<Group> |
findByG_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 = ?.
|
static List<Group> |
findByG_C_P(long groupId,
long companyId,
long parentGroupId,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ?.
|
static Group |
findByLiveGroupId(long liveGroupId)
Returns the group where liveGroupId = ? or throws a
NoSuchGroupException if it could not be found. |
static Group |
findByPrimaryKey(long groupId)
Returns the group with the primary key or throws a
NoSuchGroupException if it could not be found. |
static Group |
findByT_A_First(int type,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where type = ? and active = ?.
|
static Group |
findByT_A_Last(int type,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where type = ? and active = ?.
|
static Group[] |
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 = ?.
|
static List<Group> |
findByT_A(int type,
boolean active)
Returns all the groups where type = ? and active = ?.
|
static List<Group> |
findByT_A(int type,
boolean active,
int start,
int end)
Returns a range of all the groups where type = ? and active = ?.
|
static 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 = ?.
|
static List<Group> |
findByT_A(int type,
boolean active,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where type = ? and active = ?.
|
static Group |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where uuid = ? and companyId = ?.
|
static Group |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where uuid = ? and companyId = ?.
|
static Group[] |
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 = ?.
|
static List<Group> |
findByUuid_C(String uuid,
long companyId)
Returns all the groups where uuid = ? and companyId = ?.
|
static List<Group> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the groups where uuid = ? and companyId = ?.
|
static 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 = ?.
|
static List<Group> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where uuid = ? and companyId = ?.
|
static Group |
findByUuid_First(String uuid,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where uuid = ?.
|
static Group |
findByUUID_G(String uuid,
long groupId)
Returns the group where uuid = ? and groupId = ? or throws a
NoSuchGroupException if it could not be found. |
static Group |
findByUuid_Last(String uuid,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where uuid = ?.
|
static Group[] |
findByUuid_PrevAndNext(long groupId,
String uuid,
OrderByComparator<Group> orderByComparator)
Returns the groups before and after the current group in the ordered set where uuid = ?.
|
static List<Group> |
findByUuid(String uuid)
Returns all the groups where uuid = ?.
|
static List<Group> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the groups where uuid = ?.
|
static List<Group> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<Group> orderByComparator)
Returns an ordered range of all the groups where uuid = ?.
|
static List<Group> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where uuid = ?.
|
static List<Group> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static List<Group> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static List<Group> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<Group> orderByComparator) |
static Set<String> |
getBadColumnNames() |
static long[] |
getOrganizationPrimaryKeys(long pk)
Returns the primaryKeys of organizations associated with the group.
|
static List<Organization> |
getOrganizations(long pk)
Returns all the organizations associated with the group.
|
static List<Organization> |
getOrganizations(long pk,
int start,
int end)
Returns a range of all the organizations associated with the group.
|
static List<Organization> |
getOrganizations(long pk,
int start,
int end,
OrderByComparator<Organization> orderByComparator)
Returns an ordered range of all the organizations associated with the group.
|
static int |
getOrganizationsSize(long pk)
Returns the number of organizations associated with the group.
|
static GroupPersistence |
getPersistence() |
static long[] |
getRolePrimaryKeys(long pk)
Returns the primaryKeys of roles associated with the group.
|
static List<Role> |
getRoles(long pk)
Returns all the roles associated with the group.
|
static List<Role> |
getRoles(long pk,
int start,
int end)
Returns a range of all the roles associated with the group.
|
static List<Role> |
getRoles(long pk,
int start,
int end,
OrderByComparator<Role> orderByComparator)
Returns an ordered range of all the roles associated with the group.
|
static int |
getRolesSize(long pk)
Returns the number of roles associated with the group.
|
static long[] |
getUserGroupPrimaryKeys(long pk)
Returns the primaryKeys of user groups associated with the group.
|
static List<UserGroup> |
getUserGroups(long pk)
Returns all the user groups associated with the group.
|
static List<UserGroup> |
getUserGroups(long pk,
int start,
int end)
Returns a range of all the user groups associated with the group.
|
static 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.
|
static int |
getUserGroupsSize(long pk)
Returns the number of user groups associated with the group.
|
static long[] |
getUserPrimaryKeys(long pk)
Returns the primaryKeys of users associated with the group.
|
static List<User> |
getUsers(long pk)
Returns all the users associated with the group.
|
static List<User> |
getUsers(long pk,
int start,
int end)
Returns a range of all the users associated with the group.
|
static List<User> |
getUsers(long pk,
int start,
int end,
OrderByComparator<User> orderByComparator)
Returns an ordered range of all the users associated with the group.
|
static int |
getUsersSize(long pk)
Returns the number of users associated with the group.
|
static Group |
remove(long groupId)
Removes the group with the primary key from the database.
|
static void |
removeAll()
Removes all the groups from the database.
|
static void |
removeByC_A(long companyId,
boolean active)
Removes all the groups where companyId = ? and active = ? from the database.
|
static Group |
removeByC_C_C(long companyId,
long classNameId,
long classPK)
Removes the group where companyId = ? and classNameId = ? and classPK = ? from the database.
|
static Group |
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.
|
static void |
removeByC_C_P(long companyId,
long classNameId,
long parentGroupId)
Removes all the groups where companyId = ? and classNameId = ? and parentGroupId = ? from the database.
|
static void |
removeByC_C(long companyId,
long classNameId)
Removes all the groups where companyId = ? and classNameId = ? from the database.
|
static void |
removeByC_CPK(long classNameId,
long classPK)
Removes all the groups where classNameId = ? and classPK = ? from the database.
|
static Group |
removeByC_F(long companyId,
String friendlyURL)
Removes the group where companyId = ? and friendlyURL = ? from the database.
|
static Group |
removeByC_GK(long companyId,
String groupKey)
Removes the group where companyId = ? and groupKey = ? from the database.
|
static Group |
removeByC_L_GK(long companyId,
long liveGroupId,
String groupKey)
Removes the group where companyId = ? and liveGroupId = ? and groupKey = ? from the database.
|
static 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.
|
static 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.
|
static void |
removeByC_P_S(long companyId,
long parentGroupId,
boolean site)
Removes all the groups where companyId = ? and parentGroupId = ? and site = ? from the database.
|
static void |
removeByC_P(long companyId,
long parentGroupId)
Removes all the groups where companyId = ? and parentGroupId = ? from the database.
|
static void |
removeByC_S(long companyId,
boolean site)
Removes all the groups where companyId = ? and site = ? from the database.
|
static void |
removeByC_T_S(long companyId,
String treePath,
boolean site)
Removes all the groups where companyId = ? and treePath LIKE ? and site = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the groups where companyId = ? from the database.
|
static void |
removeByG_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.
|
static void |
removeByG_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.
|
static void |
removeByG_C_P(long groupId,
long companyId,
long parentGroupId)
Removes all the groups where groupId > ? and companyId = ? and parentGroupId = ? from the database.
|
static Group |
removeByLiveGroupId(long liveGroupId)
Removes the group where liveGroupId = ? from the database.
|
static void |
removeByT_A(int type,
boolean active)
Removes all the groups where type = ? and active = ? from the database.
|
static void |
removeByUuid_C(String uuid,
long companyId)
Removes all the groups where uuid = ? and companyId = ? from the database.
|
static Group |
removeByUUID_G(String uuid,
long groupId)
Removes the group where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(String uuid)
Removes all the groups where uuid = ? from the database.
|
static void |
removeOrganization(long pk,
long organizationPK)
Removes the association between the group and the organization.
|
static void |
removeOrganization(long pk,
Organization organization)
Removes the association between the group and the organization.
|
static void |
removeOrganizations(long pk,
List<Organization> organizations)
Removes the association between the group and the organizations.
|
static void |
removeOrganizations(long pk,
long[] organizationPKs)
Removes the association between the group and the organizations.
|
static void |
removeRole(long pk,
long rolePK)
Removes the association between the group and the role.
|
static void |
removeRole(long pk,
Role role)
Removes the association between the group and the role.
|
static void |
removeRoles(long pk,
List<Role> roles)
Removes the association between the group and the roles.
|
static void |
removeRoles(long pk,
long[] rolePKs)
Removes the association between the group and the roles.
|
static void |
removeUser(long pk,
long userPK)
Removes the association between the group and the user.
|
static void |
removeUser(long pk,
User user)
Removes the association between the group and the user.
|
static void |
removeUserGroup(long pk,
long userGroupPK)
Removes the association between the group and the user group.
|
static void |
removeUserGroup(long pk,
UserGroup userGroup)
Removes the association between the group and the user group.
|
static void |
removeUserGroups(long pk,
List<UserGroup> userGroups)
Removes the association between the group and the user groups.
|
static void |
removeUserGroups(long pk,
long[] userGroupPKs)
Removes the association between the group and the user groups.
|
static void |
removeUsers(long pk,
List<User> users)
Removes the association between the group and the users.
|
static void |
removeUsers(long pk,
long[] userPKs)
Removes the association between the group and the users.
|
static void |
setOrganizations(long pk,
List<Organization> organizations)
Sets the organizations associated with the group, removing and adding associations as necessary.
|
static void |
setOrganizations(long pk,
long[] organizationPKs)
Sets the organizations associated with the group, removing and adding associations as necessary.
|
static void |
setRoles(long pk,
List<Role> roles)
Sets the roles associated with the group, removing and adding associations as necessary.
|
static void |
setRoles(long pk,
long[] rolePKs)
Sets the roles associated with the group, removing and adding associations as necessary.
|
static void |
setUserGroups(long pk,
List<UserGroup> userGroups)
Sets the user groups associated with the group, removing and adding associations as necessary.
|
static void |
setUserGroups(long pk,
long[] userGroupPKs)
Sets the user groups associated with the group, removing and adding associations as necessary.
|
static void |
setUsers(long pk,
List<User> users)
Sets the users associated with the group, removing and adding associations as necessary.
|
static void |
setUsers(long pk,
long[] userPKs)
Sets the users associated with the group, removing and adding associations as necessary.
|
static Group |
update(Group group) |
static Group |
update(Group group,
ServiceContext serviceContext) |
static Group |
updateImpl(Group group) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(Group group)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
public static List<Group> findWithDynamicQuery(DynamicQuery dynamicQuery)
public static List<Group> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
public static List<Group> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<Group> orderByComparator)
public static Group update(Group group, ServiceContext serviceContext)
public static List<Group> findByUuid(String uuid)
uuid
- the uuidpublic static List<Group> findByUuid(String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByUuid(String uuid, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByUuid(String uuid, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByUuid_First(String uuid, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByUuid_First(String uuid, OrderByComparator<Group> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByUuid_Last(String uuid, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByUuid_Last(String uuid, OrderByComparator<Group> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group[] findByUuid_PrevAndNext(long groupId, String uuid, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the primary key of the current groupuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a group with the primary key could not be foundpublic static void removeByUuid(String uuid)
uuid
- the uuidpublic static int countByUuid(String uuid)
uuid
- the uuidpublic static Group findByUUID_G(String uuid, long groupId) throws NoSuchGroupException
NoSuchGroupException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByUUID_G(String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching group could not be foundpublic static Group fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching group could not be foundpublic static Group removeByUUID_G(String uuid, long groupId) throws NoSuchGroupException
uuid
- the uuidgroupId
- the group IDNoSuchGroupException
public static int countByUUID_G(String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static List<Group> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static List<Group> findByUuid_C(String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByUuid_C_First(String uuid, long companyId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<Group> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByUuid_C_Last(String uuid, long companyId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<Group> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group[] findByUuid_C_PrevAndNext(long groupId, String uuid, long companyId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the primary key of the current groupuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a group with the primary key could not be foundpublic static void removeByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static List<Group> findByCompanyId(long companyId)
companyId
- the company IDpublic static List<Group> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByCompanyId(long companyId, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByCompanyId(long companyId, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByCompanyId_First(long companyId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByCompanyId_First(long companyId, OrderByComparator<Group> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByCompanyId_Last(long companyId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByCompanyId_Last(long companyId, OrderByComparator<Group> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group[] findByCompanyId_PrevAndNext(long groupId, long companyId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the primary key of the current groupcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a group with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static Group findByLiveGroupId(long liveGroupId) throws NoSuchGroupException
NoSuchGroupException
if it could not be found.liveGroupId
- the live group IDNoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByLiveGroupId(long liveGroupId)
null
if it could not be found. Uses the finder cache.liveGroupId
- the live group IDnull
if a matching group could not be foundpublic static Group fetchByLiveGroupId(long liveGroupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.liveGroupId
- the live group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching group could not be foundpublic static Group removeByLiveGroupId(long liveGroupId) throws NoSuchGroupException
liveGroupId
- the live group IDNoSuchGroupException
public static int countByLiveGroupId(long liveGroupId)
liveGroupId
- the live group IDpublic static List<Group> findByC_C(long companyId, long classNameId)
companyId
- the company IDclassNameId
- the class name IDpublic static List<Group> findByC_C(long companyId, long classNameId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByC_C(long companyId, long classNameId, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByC_C(long companyId, long classNameId, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByC_C_First(long companyId, long classNameId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_C_First(long companyId, long classNameId, OrderByComparator<Group> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByC_C_Last(long companyId, long classNameId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_C_Last(long companyId, long classNameId, OrderByComparator<Group> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group[] findByC_C_PrevAndNext(long groupId, long companyId, long classNameId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the primary key of the current groupcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a group with the primary key could not be foundpublic static void removeByC_C(long companyId, long classNameId)
companyId
- the company IDclassNameId
- the class name IDpublic static int countByC_C(long companyId, long classNameId)
companyId
- the company IDclassNameId
- the class name IDpublic static List<Group> findByC_P(long companyId, long parentGroupId)
companyId
- the company IDparentGroupId
- the parent group IDpublic static List<Group> findByC_P(long companyId, long parentGroupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByC_P(long companyId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByC_P(long companyId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByC_P_First(long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_P_First(long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
companyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByC_P_Last(long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_P_Last(long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
companyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group[] findByC_P_PrevAndNext(long groupId, long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the primary key of the current groupcompanyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a group with the primary key could not be foundpublic static void removeByC_P(long companyId, long parentGroupId)
companyId
- the company IDparentGroupId
- the parent group IDpublic static int countByC_P(long companyId, long parentGroupId)
companyId
- the company IDparentGroupId
- the parent group IDpublic static Group findByC_GK(long companyId, String groupKey) throws NoSuchGroupException
NoSuchGroupException
if it could not be found.companyId
- the company IDgroupKey
- the group keyNoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_GK(long companyId, String groupKey)
null
if it could not be found. Uses the finder cache.companyId
- the company IDgroupKey
- the group keynull
if a matching group could not be foundpublic static Group fetchByC_GK(long companyId, String groupKey, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDgroupKey
- the group keyretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching group could not be foundpublic static Group removeByC_GK(long companyId, String groupKey) throws NoSuchGroupException
companyId
- the company IDgroupKey
- the group keyNoSuchGroupException
public static int countByC_GK(long companyId, String groupKey)
companyId
- the company IDgroupKey
- the group keypublic static Group findByC_F(long companyId, String friendlyURL) throws NoSuchGroupException
NoSuchGroupException
if it could not be found.companyId
- the company IDfriendlyURL
- the friendly urlNoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_F(long companyId, String friendlyURL)
null
if it could not be found. Uses the finder cache.companyId
- the company IDfriendlyURL
- the friendly urlnull
if a matching group could not be foundpublic static Group fetchByC_F(long companyId, String friendlyURL, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDfriendlyURL
- the friendly urlretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching group could not be foundpublic static Group removeByC_F(long companyId, String friendlyURL) throws NoSuchGroupException
companyId
- the company IDfriendlyURL
- the friendly urlNoSuchGroupException
public static int countByC_F(long companyId, String friendlyURL)
companyId
- the company IDfriendlyURL
- the friendly urlpublic static List<Group> findByC_S(long companyId, boolean site)
companyId
- the company IDsite
- the sitepublic static List<Group> findByC_S(long companyId, boolean site, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByC_S(long companyId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByC_S(long companyId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByC_S_First(long companyId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_S_First(long companyId, boolean site, OrderByComparator<Group> orderByComparator)
companyId
- the company IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByC_S_Last(long companyId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_S_Last(long companyId, boolean site, OrderByComparator<Group> orderByComparator)
companyId
- the company IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group[] findByC_S_PrevAndNext(long groupId, long companyId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the primary key of the current groupcompanyId
- the company IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a group with the primary key could not be foundpublic static void removeByC_S(long companyId, boolean site)
companyId
- the company IDsite
- the sitepublic static int countByC_S(long companyId, boolean site)
companyId
- the company IDsite
- the sitepublic static List<Group> findByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static List<Group> findByC_A(long companyId, boolean active, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByC_A(long companyId, boolean active, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByC_A(long companyId, boolean active, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByC_A_First(long companyId, boolean active, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_A_First(long companyId, boolean active, OrderByComparator<Group> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByC_A_Last(long companyId, boolean active, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_A_Last(long companyId, boolean active, OrderByComparator<Group> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group[] findByC_A_PrevAndNext(long groupId, long companyId, boolean active, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the primary key of the current groupcompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a group with the primary key could not be foundpublic static void removeByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static int countByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static List<Group> findByC_CPK(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static List<Group> findByC_CPK(long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByC_CPK(long classNameId, long classPK, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByC_CPK(long classNameId, long classPK, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByC_CPK_First(long classNameId, long classPK, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_CPK_First(long classNameId, long classPK, OrderByComparator<Group> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByC_CPK_Last(long classNameId, long classPK, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_CPK_Last(long classNameId, long classPK, OrderByComparator<Group> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group[] findByC_CPK_PrevAndNext(long groupId, long classNameId, long classPK, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the primary key of the current groupclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a group with the primary key could not be foundpublic static void removeByC_CPK(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static int countByC_CPK(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static List<Group> findByT_A(int type, boolean active)
type
- the typeactive
- the activepublic static List<Group> findByT_A(int type, boolean active, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
type
- the typeactive
- the activestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByT_A(int type, boolean active, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
type
- the typeactive
- the activestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByT_A(int type, boolean active, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
type
- the typeactive
- the activestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByT_A_First(int type, boolean active, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
type
- the typeactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByT_A_First(int type, boolean active, OrderByComparator<Group> orderByComparator)
type
- the typeactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByT_A_Last(int type, boolean active, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
type
- the typeactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByT_A_Last(int type, boolean active, OrderByComparator<Group> orderByComparator)
type
- the typeactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group[] findByT_A_PrevAndNext(long groupId, int type, boolean active, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the primary key of the current grouptype
- the typeactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a group with the primary key could not be foundpublic static void removeByT_A(int type, boolean active)
type
- the typeactive
- the activepublic static int countByT_A(int type, boolean active)
type
- the typeactive
- the activepublic static List<Group> findByG_C_P(long groupId, long companyId, long parentGroupId)
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDpublic static List<Group> findByG_C_P(long groupId, long companyId, long parentGroupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByG_C_P(long groupId, long companyId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByG_C_P(long groupId, long companyId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByG_C_P_First(long groupId, long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByG_C_P_First(long groupId, long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByG_C_P_Last(long groupId, long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByG_C_P_Last(long groupId, long companyId, long parentGroupId, OrderByComparator<Group> orderByComparator)
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static void removeByG_C_P(long groupId, long companyId, long parentGroupId)
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDpublic static int countByG_C_P(long groupId, long companyId, long parentGroupId)
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDpublic static Group findByC_C_C(long companyId, long classNameId, long classPK) throws NoSuchGroupException
NoSuchGroupException
if it could not be found.companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkNoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_C_C(long companyId, long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pknull
if a matching group could not be foundpublic static Group fetchByC_C_C(long companyId, long classNameId, long classPK, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching group could not be foundpublic static Group removeByC_C_C(long companyId, long classNameId, long classPK) throws NoSuchGroupException
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkNoSuchGroupException
public static int countByC_C_C(long companyId, long classNameId, long classPK)
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class pkpublic static List<Group> findByC_C_P(long companyId, long classNameId, long parentGroupId)
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDpublic static List<Group> findByC_C_P(long companyId, long classNameId, long parentGroupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByC_C_P(long companyId, long classNameId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByC_C_P(long companyId, long classNameId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByC_C_P_First(long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_C_P_First(long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByC_C_P_Last(long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_C_P_Last(long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group[] findByC_C_P_PrevAndNext(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the primary key of the current groupcompanyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a group with the primary key could not be foundpublic static void removeByC_C_P(long companyId, long classNameId, long parentGroupId)
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDpublic static int countByC_C_P(long companyId, long classNameId, long parentGroupId)
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDpublic static List<Group> findByC_P_S(long companyId, long parentGroupId, boolean site)
companyId
- the company IDparentGroupId
- the parent group IDsite
- the sitepublic static List<Group> findByC_P_S(long companyId, long parentGroupId, boolean site, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByC_P_S(long companyId, long parentGroupId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByC_P_S(long companyId, long parentGroupId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByC_P_S_First(long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_P_S_First(long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByC_P_S_Last(long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_P_S_Last(long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group[] findByC_P_S_PrevAndNext(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the primary key of the current groupcompanyId
- the company IDparentGroupId
- the parent group IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a group with the primary key could not be foundpublic static void removeByC_P_S(long companyId, long parentGroupId, boolean site)
companyId
- the company IDparentGroupId
- the parent group IDsite
- the sitepublic static int countByC_P_S(long companyId, long parentGroupId, boolean site)
companyId
- the company IDparentGroupId
- the parent group IDsite
- the sitepublic static Group findByC_L_GK(long companyId, long liveGroupId, String groupKey) throws NoSuchGroupException
NoSuchGroupException
if it could not be found.companyId
- the company IDliveGroupId
- the live group IDgroupKey
- the group keyNoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_L_GK(long companyId, long liveGroupId, String groupKey)
null
if it could not be found. Uses the finder cache.companyId
- the company IDliveGroupId
- the live group IDgroupKey
- the group keynull
if a matching group could not be foundpublic static Group fetchByC_L_GK(long companyId, long liveGroupId, String groupKey, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDliveGroupId
- the live group IDgroupKey
- the group keyretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching group could not be foundpublic static Group removeByC_L_GK(long companyId, long liveGroupId, String groupKey) throws NoSuchGroupException
companyId
- the company IDliveGroupId
- the live group IDgroupKey
- the group keyNoSuchGroupException
public static int countByC_L_GK(long companyId, long liveGroupId, String groupKey)
companyId
- the company IDliveGroupId
- the live group IDgroupKey
- the group keypublic static List<Group> findByC_T_S(long companyId, String treePath, boolean site)
companyId
- the company IDtreePath
- the tree pathsite
- the sitepublic static List<Group> findByC_T_S(long companyId, String treePath, boolean site, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDtreePath
- the tree pathsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByC_T_S(long companyId, String treePath, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDtreePath
- the tree pathsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByC_T_S(long companyId, String treePath, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDtreePath
- the tree pathsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByC_T_S_First(long companyId, String treePath, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDtreePath
- the tree pathsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_T_S_First(long companyId, String treePath, boolean site, OrderByComparator<Group> orderByComparator)
companyId
- the company IDtreePath
- the tree pathsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByC_T_S_Last(long companyId, String treePath, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDtreePath
- the tree pathsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_T_S_Last(long companyId, String treePath, boolean site, OrderByComparator<Group> orderByComparator)
companyId
- the company IDtreePath
- the tree pathsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group[] findByC_T_S_PrevAndNext(long groupId, long companyId, String treePath, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the primary key of the current groupcompanyId
- the company IDtreePath
- the tree pathsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a group with the primary key could not be foundpublic static void removeByC_T_S(long companyId, String treePath, boolean site)
companyId
- the company IDtreePath
- the tree pathsite
- the sitepublic static int countByC_T_S(long companyId, String treePath, boolean site)
companyId
- the company IDtreePath
- the tree pathsite
- the sitepublic static List<Group> findByG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDpublic static List<Group> findByG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByG_C_C_P_First(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByG_C_C_P_First(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByG_C_C_P_Last(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByG_C_C_P_Last(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator<Group> orderByComparator)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static void removeByG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDpublic static int countByG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId)
groupId
- the group IDcompanyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDpublic static List<Group> findByG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site)
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDsite
- the sitepublic static List<Group> findByG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByG_C_P_S_First(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByG_C_P_S_First(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByG_C_P_S_Last(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByG_C_P_S_Last(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator<Group> orderByComparator)
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static void removeByG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site)
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDsite
- the sitepublic static int countByG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site)
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDsite
- the sitepublic static Group findByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey) throws NoSuchGroupException
NoSuchGroupException
if it could not be found.companyId
- the company IDclassNameId
- the class name IDliveGroupId
- the live group IDgroupKey
- the group keyNoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey)
null
if it could not be found. Uses the finder cache.companyId
- the company IDclassNameId
- the class name IDliveGroupId
- the live group IDgroupKey
- the group keynull
if a matching group could not be foundpublic static Group fetchByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDclassNameId
- the class name IDliveGroupId
- the live group IDgroupKey
- the group keyretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching group could not be foundpublic static Group removeByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey) throws NoSuchGroupException
companyId
- the company IDclassNameId
- the class name IDliveGroupId
- the live group IDgroupKey
- the group keyNoSuchGroupException
public static int countByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey)
companyId
- the company IDclassNameId
- the class name IDliveGroupId
- the live group IDgroupKey
- the group keypublic static List<Group> findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site)
companyId
- the company IDparentGroupId
- the parent group IDname
- the namesite
- the sitepublic static List<Group> findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDname
- the namesite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDname
- the namesite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDname
- the namesite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByC_P_LikeN_S_First(long companyId, long parentGroupId, String name, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDparentGroupId
- the parent group IDname
- the namesite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_P_LikeN_S_First(long companyId, long parentGroupId, String name, boolean site, OrderByComparator<Group> orderByComparator)
companyId
- the company IDparentGroupId
- the parent group IDname
- the namesite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByC_P_LikeN_S_Last(long companyId, long parentGroupId, String name, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDparentGroupId
- the parent group IDname
- the namesite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_P_LikeN_S_Last(long companyId, long parentGroupId, String name, boolean site, OrderByComparator<Group> orderByComparator)
companyId
- the company IDparentGroupId
- the parent group IDname
- the namesite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group[] findByC_P_LikeN_S_PrevAndNext(long groupId, long companyId, long parentGroupId, String name, boolean site, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the primary key of the current groupcompanyId
- the company IDparentGroupId
- the parent group IDname
- the namesite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a group with the primary key could not be foundpublic static void removeByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site)
companyId
- the company IDparentGroupId
- the parent group IDname
- the namesite
- the sitepublic static int countByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site)
companyId
- the company IDparentGroupId
- the parent group IDname
- the namesite
- the sitepublic static List<Group> findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent)
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteinheritContent
- the inherit contentpublic static List<Group> findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteinheritContent
- the inherit contentstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent, int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteinheritContent
- the inherit contentstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent, int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteinheritContent
- the inherit contentstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static Group findByC_P_S_I_First(long companyId, long parentGroupId, boolean site, boolean inheritContent, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteinheritContent
- the inherit contentorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_P_S_I_First(long companyId, long parentGroupId, boolean site, boolean inheritContent, OrderByComparator<Group> orderByComparator)
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteinheritContent
- the inherit contentorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group findByC_P_S_I_Last(long companyId, long parentGroupId, boolean site, boolean inheritContent, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteinheritContent
- the inherit contentorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a matching group could not be foundpublic static Group fetchByC_P_S_I_Last(long companyId, long parentGroupId, boolean site, boolean inheritContent, OrderByComparator<Group> orderByComparator)
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteinheritContent
- the inherit contentorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching group could not be foundpublic static Group[] findByC_P_S_I_PrevAndNext(long groupId, long companyId, long parentGroupId, boolean site, boolean inheritContent, OrderByComparator<Group> orderByComparator) throws NoSuchGroupException
groupId
- the primary key of the current groupcompanyId
- the company IDparentGroupId
- the parent group IDsite
- the siteinheritContent
- the inherit contentorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupException
- if a group with the primary key could not be foundpublic static void removeByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent)
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteinheritContent
- the inherit contentpublic static int countByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent)
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteinheritContent
- the inherit contentpublic static void cacheResult(Group group)
group
- the grouppublic static void cacheResult(List<Group> groups)
groups
- the groupspublic static Group create(long groupId)
groupId
- the primary key for the new grouppublic static Group remove(long groupId) throws NoSuchGroupException
groupId
- the primary key of the groupNoSuchGroupException
- if a group with the primary key could not be foundpublic static Group findByPrimaryKey(long groupId) throws NoSuchGroupException
NoSuchGroupException
if it could not be found.groupId
- the primary key of the groupNoSuchGroupException
- if a group with the primary key could not be foundpublic static Group fetchByPrimaryKey(long groupId)
null
if it could not be found.groupId
- the primary key of the groupnull
if a group with the primary key could not be foundpublic static Map<Serializable,Group> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
public static List<Group> findAll()
public static List<Group> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Group> findAll(int start, int end, OrderByComparator<Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<Group> findAll(int start, int end, OrderByComparator<Group> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static long[] getOrganizationPrimaryKeys(long pk)
pk
- the primary key of the grouppublic static List<Organization> getOrganizations(long pk)
pk
- the primary key of the grouppublic static List<Organization> getOrganizations(long pk, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Organization> getOrganizations(long pk, int start, int end, OrderByComparator<Organization> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static int getOrganizationsSize(long pk)
pk
- the primary key of the grouppublic static boolean containsOrganization(long pk, long organizationPK)
true
if the organization is associated with the group.pk
- the primary key of the grouporganizationPK
- the primary key of the organizationtrue
if the organization is associated with the group; false
otherwisepublic static boolean containsOrganizations(long pk)
true
if the group has any organizations associated with it.pk
- the primary key of the group to check for associations with organizationstrue
if the group has any organizations associated with it; false
otherwisepublic static void addOrganization(long pk, long organizationPK)
pk
- the primary key of the grouporganizationPK
- the primary key of the organizationpublic static void addOrganization(long pk, Organization organization)
pk
- the primary key of the grouporganization
- the organizationpublic static void addOrganizations(long pk, long[] organizationPKs)
pk
- the primary key of the grouporganizationPKs
- the primary keys of the organizationspublic static void addOrganizations(long pk, List<Organization> organizations)
pk
- the primary key of the grouporganizations
- the organizationspublic static void clearOrganizations(long pk)
pk
- the primary key of the group to clear the associated organizations frompublic static void removeOrganization(long pk, long organizationPK)
pk
- the primary key of the grouporganizationPK
- the primary key of the organizationpublic static void removeOrganization(long pk, Organization organization)
pk
- the primary key of the grouporganization
- the organizationpublic static void removeOrganizations(long pk, long[] organizationPKs)
pk
- the primary key of the grouporganizationPKs
- the primary keys of the organizationspublic static void removeOrganizations(long pk, List<Organization> organizations)
pk
- the primary key of the grouporganizations
- the organizationspublic static void setOrganizations(long pk, long[] organizationPKs)
pk
- the primary key of the grouporganizationPKs
- the primary keys of the organizations to be associated with the grouppublic static void setOrganizations(long pk, List<Organization> organizations)
pk
- the primary key of the grouporganizations
- the organizations to be associated with the grouppublic static long[] getRolePrimaryKeys(long pk)
pk
- the primary key of the grouppublic static List<Role> getRoles(long pk)
pk
- the primary key of the grouppublic static List<Role> getRoles(long pk, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<Role> getRoles(long pk, int start, int end, OrderByComparator<Role> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static int getRolesSize(long pk)
pk
- the primary key of the grouppublic static boolean containsRole(long pk, long rolePK)
true
if the role is associated with the group.pk
- the primary key of the grouprolePK
- the primary key of the roletrue
if the role is associated with the group; false
otherwisepublic static boolean containsRoles(long pk)
true
if the group has any roles associated with it.pk
- the primary key of the group to check for associations with rolestrue
if the group has any roles associated with it; false
otherwisepublic static void addRole(long pk, long rolePK)
pk
- the primary key of the grouprolePK
- the primary key of the rolepublic static void addRole(long pk, Role role)
pk
- the primary key of the grouprole
- the rolepublic static void addRoles(long pk, long[] rolePKs)
pk
- the primary key of the grouprolePKs
- the primary keys of the rolespublic static void addRoles(long pk, List<Role> roles)
pk
- the primary key of the grouproles
- the rolespublic static void clearRoles(long pk)
pk
- the primary key of the group to clear the associated roles frompublic static void removeRole(long pk, long rolePK)
pk
- the primary key of the grouprolePK
- the primary key of the rolepublic static void removeRole(long pk, Role role)
pk
- the primary key of the grouprole
- the rolepublic static void removeRoles(long pk, long[] rolePKs)
pk
- the primary key of the grouprolePKs
- the primary keys of the rolespublic static void removeRoles(long pk, List<Role> roles)
pk
- the primary key of the grouproles
- the rolespublic static void setRoles(long pk, long[] rolePKs)
pk
- the primary key of the grouprolePKs
- the primary keys of the roles to be associated with the grouppublic static void setRoles(long pk, List<Role> roles)
pk
- the primary key of the grouproles
- the roles to be associated with the grouppublic static long[] getUserGroupPrimaryKeys(long pk)
pk
- the primary key of the grouppublic static List<UserGroup> getUserGroups(long pk)
pk
- the primary key of the grouppublic static List<UserGroup> getUserGroups(long pk, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<UserGroup> getUserGroups(long pk, int start, int end, OrderByComparator<UserGroup> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static int getUserGroupsSize(long pk)
pk
- the primary key of the grouppublic static boolean containsUserGroup(long pk, long userGroupPK)
true
if the user group is associated with the group.pk
- the primary key of the groupuserGroupPK
- the primary key of the user grouptrue
if the user group is associated with the group; false
otherwisepublic static boolean containsUserGroups(long pk)
true
if the group has any user groups associated with it.pk
- the primary key of the group to check for associations with user groupstrue
if the group has any user groups associated with it; false
otherwisepublic static void addUserGroup(long pk, long userGroupPK)
pk
- the primary key of the groupuserGroupPK
- the primary key of the user grouppublic static void addUserGroup(long pk, UserGroup userGroup)
pk
- the primary key of the groupuserGroup
- the user grouppublic static void addUserGroups(long pk, long[] userGroupPKs)
pk
- the primary key of the groupuserGroupPKs
- the primary keys of the user groupspublic static void addUserGroups(long pk, List<UserGroup> userGroups)
pk
- the primary key of the groupuserGroups
- the user groupspublic static void clearUserGroups(long pk)
pk
- the primary key of the group to clear the associated user groups frompublic static void removeUserGroup(long pk, long userGroupPK)
pk
- the primary key of the groupuserGroupPK
- the primary key of the user grouppublic static void removeUserGroup(long pk, UserGroup userGroup)
pk
- the primary key of the groupuserGroup
- the user grouppublic static void removeUserGroups(long pk, long[] userGroupPKs)
pk
- the primary key of the groupuserGroupPKs
- the primary keys of the user groupspublic static void removeUserGroups(long pk, List<UserGroup> userGroups)
pk
- the primary key of the groupuserGroups
- the user groupspublic static void setUserGroups(long pk, long[] userGroupPKs)
pk
- the primary key of the groupuserGroupPKs
- the primary keys of the user groups to be associated with the grouppublic static void setUserGroups(long pk, List<UserGroup> userGroups)
pk
- the primary key of the groupuserGroups
- the user groups to be associated with the grouppublic static long[] getUserPrimaryKeys(long pk)
pk
- the primary key of the grouppublic static List<User> getUsers(long pk)
pk
- the primary key of the grouppublic static List<User> getUsers(long pk, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)public static List<User> getUsers(long pk, int start, int end, OrderByComparator<User> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static int getUsersSize(long pk)
pk
- the primary key of the grouppublic static boolean containsUser(long pk, long userPK)
true
if the user is associated with the group.pk
- the primary key of the groupuserPK
- the primary key of the usertrue
if the user is associated with the group; false
otherwisepublic static boolean containsUsers(long pk)
true
if the group has any users associated with it.pk
- the primary key of the group to check for associations with userstrue
if the group has any users associated with it; false
otherwisepublic static void addUser(long pk, long userPK)
pk
- the primary key of the groupuserPK
- the primary key of the userpublic static void addUser(long pk, User user)
pk
- the primary key of the groupuser
- the userpublic static void addUsers(long pk, long[] userPKs)
pk
- the primary key of the groupuserPKs
- the primary keys of the userspublic static void addUsers(long pk, List<User> users)
pk
- the primary key of the groupusers
- the userspublic static void clearUsers(long pk)
pk
- the primary key of the group to clear the associated users frompublic static void removeUser(long pk, long userPK)
pk
- the primary key of the groupuserPK
- the primary key of the userpublic static void removeUser(long pk, User user)
pk
- the primary key of the groupuser
- the userpublic static void removeUsers(long pk, long[] userPKs)
pk
- the primary key of the groupuserPKs
- the primary keys of the userspublic static void removeUsers(long pk, List<User> users)
pk
- the primary key of the groupusers
- the userspublic static void setUsers(long pk, long[] userPKs)
pk
- the primary key of the groupuserPKs
- the primary keys of the users to be associated with the grouppublic static void setUsers(long pk, List<User> users)
pk
- the primary key of the groupusers
- the users to be associated with the grouppublic static Set<String> getBadColumnNames()
public static GroupPersistence getPersistence()