|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<Group>
com.liferay.portal.service.persistence.impl.GroupPersistenceImpl
@ProviderType public class GroupPersistenceImpl
The persistence implementation for the group service.
Caching information and settings can be found in portal.properties
GroupPersistence,
GroupUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
GroupPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
addOrganization(long pk,
long organizationPK)
Adds an association between the group and the organization. |
void |
addOrganization(long pk,
Organization organization)
Adds an association between the group and the organization. |
void |
addOrganizations(long pk,
List<Organization> organizations)
Adds an association between the group and the organizations. |
void |
addOrganizations(long pk,
long[] organizationPKs)
Adds an association between the group and the organizations. |
void |
addRole(long pk,
long rolePK)
Adds an association between the group and the role. |
void |
addRole(long pk,
Role role)
Adds an association between the group and the role. |
void |
addRoles(long pk,
List<Role> roles)
Adds an association between the group and the roles. |
void |
addRoles(long pk,
long[] rolePKs)
Adds an association between the group and the roles. |
void |
addUser(long pk,
long userPK)
Adds an association between the group and the user. |
void |
addUser(long pk,
User user)
Adds an association between the group and the user. |
void |
addUserGroup(long pk,
long userGroupPK)
Adds an association between the group and the user group. |
void |
addUserGroup(long pk,
UserGroup userGroup)
Adds an association between the group and the user group. |
void |
addUserGroups(long pk,
List<UserGroup> userGroups)
Adds an association between the group and the user groups. |
void |
addUserGroups(long pk,
long[] userGroupPKs)
Adds an association between the group and the user groups. |
void |
addUsers(long pk,
List<User> users)
Adds an association between the group and the users. |
void |
addUsers(long pk,
long[] userPKs)
Adds an association between the group and the users. |
void |
afterPropertiesSet()
Initializes the group persistence. |
void |
cacheResult(Group group)
Caches the group in the entity cache if it is enabled. |
void |
cacheResult(List<Group> groups)
Caches the groups in the entity cache if it is enabled. |
protected void |
cacheUniqueFindersCache(GroupModelImpl groupModelImpl,
boolean isNew)
|
void |
clearCache()
Clears the cache for all groups. |
void |
clearCache(Group group)
Clears the cache for the group. |
void |
clearCache(List<Group> groups)
Clears the cache for a List instances of this model. |
void |
clearOrganizations(long pk)
Clears all associations between the group and its organizations. |
void |
clearRoles(long pk)
Clears all associations between the group and its roles. |
protected void |
clearUniqueFindersCache(GroupModelImpl groupModelImpl)
|
void |
clearUserGroups(long pk)
Clears all associations between the group and its user groups. |
void |
clearUsers(long pk)
Clears all associations between the group and its users. |
boolean |
containsOrganization(long pk,
long organizationPK)
Returns true if the organization is associated with the group. |
boolean |
containsOrganizations(long pk)
Returns true if the group has any organizations associated with it. |
boolean |
containsRole(long pk,
long rolePK)
Returns true if the role is associated with the group. |
boolean |
containsRoles(long pk)
Returns true if the group has any roles associated with it. |
boolean |
containsUser(long pk,
long userPK)
Returns true if the user is associated with the group. |
boolean |
containsUserGroup(long pk,
long userGroupPK)
Returns true if the user group is associated with the group. |
boolean |
containsUserGroups(long pk)
Returns true if the group has any user groups associated with it. |
boolean |
containsUsers(long pk)
Returns true if the group has any users associated with it. |
int |
countAll()
Returns the number of groups. |
int |
countByC_A(long companyId,
boolean active)
Returns the number of groups where companyId = ? and active = ?. |
int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
Returns the number of groups where companyId = ? and classNameId = ? and classPK = ?. |
int |
countByC_C_L_GK(long companyId,
long classNameId,
long liveGroupId,
String groupKey)
Returns the number of groups where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ?. |
int |
countByC_C_P(long companyId,
long classNameId,
long parentGroupId)
Returns the number of groups where companyId = ? and classNameId = ? and parentGroupId = ?. |
int |
countByC_C(long companyId,
long classNameId)
Returns the number of groups where companyId = ? and classNameId = ?. |
int |
countByC_F(long companyId,
String friendlyURL)
Returns the number of groups where companyId = ? and friendlyURL = ?. |
int |
countByC_GK(long companyId,
String groupKey)
Returns the number of groups where companyId = ? and groupKey = ?. |
int |
countByC_L_GK(long companyId,
long liveGroupId,
String groupKey)
Returns the number of groups where companyId = ? and liveGroupId = ? and groupKey = ?. |
int |
countByC_P_S_I(long companyId,
long parentGroupId,
boolean site,
boolean inheritContent)
Returns the number of groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?. |
int |
countByC_P_S(long companyId,
long parentGroupId,
boolean site)
Returns the number of groups where companyId = ? and parentGroupId = ? and site = ?. |
int |
countByC_P(long companyId,
long parentGroupId)
Returns the number of groups where companyId = ? and parentGroupId = ?. |
int |
countByC_S(long companyId,
boolean site)
Returns the number of groups where companyId = ? and site = ?. |
int |
countByCompanyId(long companyId)
Returns the number of groups where companyId = ?. |
int |
countByG_C_P(long groupId,
long companyId,
long parentGroupId)
Returns the number of groups where groupId > ? and companyId = ? and parentGroupId = ?. |
int |
countByLiveGroupId(long liveGroupId)
Returns the number of groups where liveGroupId = ?. |
int |
countByT_A(int type,
boolean active)
Returns the number of groups where type = ? and active = ?. |
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of groups where uuid = ? and companyId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of groups where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of groups where uuid = ?. |
Group |
create(long groupId)
Creates a new group with the primary key. |
void |
destroy()
|
Group |
fetchByC_A_First(long companyId,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and active = ?. |
Group |
fetchByC_A_Last(long companyId,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and active = ?. |
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. |
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. |
Group |
fetchByC_C_First(long companyId,
long classNameId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and classNameId = ?. |
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. |
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. |
Group |
fetchByC_C_Last(long companyId,
long classNameId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and classNameId = ?. |
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 = ?. |
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 = ?. |
Group |
fetchByC_F(long companyId,
String friendlyURL)
Returns the group where companyId = ? and friendlyURL = ? or returns null if it could not be found. |
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. |
Group |
fetchByC_GK(long companyId,
String groupKey)
Returns the group where companyId = ? and groupKey = ? or returns null if it could not be found. |
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. |
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. |
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. |
Group |
fetchByC_P_First(long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and parentGroupId = ?. |
Group |
fetchByC_P_Last(long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and parentGroupId = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
Group |
fetchByC_S_First(long companyId,
boolean site,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and site = ?. |
Group |
fetchByC_S_Last(long companyId,
boolean site,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and site = ?. |
Group |
fetchByCompanyId_First(long companyId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ?. |
Group |
fetchByCompanyId_Last(long companyId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ?. |
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 = ?. |
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 = ?. |
Group |
fetchByLiveGroupId(long liveGroupId)
Returns the group where liveGroupId = ? or returns null if it could not be found. |
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. |
Group |
fetchByPrimaryKey(long groupId)
Returns the group with the primary key or returns null if it could not be found. |
Group |
fetchByPrimaryKey(Serializable primaryKey)
Returns the group with the primary key or returns null if it could not be found. |
Map<Serializable,Group> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
Group |
fetchByT_A_First(int type,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where type = ? and active = ?. |
Group |
fetchByT_A_Last(int type,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where type = ? and active = ?. |
Group |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where uuid = ? and companyId = ?. |
Group |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where uuid = ? and companyId = ?. |
Group |
fetchByUuid_First(String uuid,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where uuid = ?. |
Group |
fetchByUUID_G(String uuid,
long groupId)
Returns the group where uuid = ? and groupId = ? or returns null if it could not be found. |
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. |
Group |
fetchByUuid_Last(String uuid,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where uuid = ?. |
List<Group> |
findAll()
Returns all the groups. |
List<Group> |
findAll(int start,
int end)
Returns a range of all the groups. |
List<Group> |
findAll(int start,
int end,
OrderByComparator<Group> orderByComparator)
Returns an ordered range of all the groups. |
List<Group> |
findAll(int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups. |
Group |
findByC_A_First(long companyId,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and active = ?. |
Group |
findByC_A_Last(long companyId,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and active = ?. |
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 = ?. |
List<Group> |
findByC_A(long companyId,
boolean active)
Returns all the groups where companyId = ? and active = ?. |
List<Group> |
findByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the groups where companyId = ? and active = ?. |
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 = ?. |
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 = ?. |
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. |
Group |
findByC_C_First(long companyId,
long classNameId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and classNameId = ?. |
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. |
Group |
findByC_C_Last(long companyId,
long classNameId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and classNameId = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
List<Group> |
findByC_C_P(long companyId,
long classNameId,
long parentGroupId)
Returns all the groups where companyId = ? and classNameId = ? and parentGroupId = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
List<Group> |
findByC_C(long companyId,
long classNameId)
Returns all the groups where companyId = ? and classNameId = ?. |
List<Group> |
findByC_C(long companyId,
long classNameId,
int start,
int end)
Returns a range of all the groups where companyId = ? and classNameId = ?. |
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 = ?. |
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 = ?. |
Group |
findByC_F(long companyId,
String friendlyURL)
Returns the group where companyId = ? and friendlyURL = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByC_GK(long companyId,
String groupKey)
Returns the group where companyId = ? and groupKey = ? or throws a NoSuchGroupException if it could not be found. |
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. |
Group |
findByC_P_First(long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and parentGroupId = ?. |
Group |
findByC_P_Last(long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and parentGroupId = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
List<Group> |
findByC_P_S(long companyId,
long parentGroupId,
boolean site)
Returns all the groups where companyId = ? and parentGroupId = ? and site = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
List<Group> |
findByC_P(long companyId,
long parentGroupId)
Returns all the groups where companyId = ? and parentGroupId = ?. |
List<Group> |
findByC_P(long companyId,
long parentGroupId,
int start,
int end)
Returns a range of all the groups where companyId = ? and parentGroupId = ?. |
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 = ?. |
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 = ?. |
Group |
findByC_S_First(long companyId,
boolean site,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ? and site = ?. |
Group |
findByC_S_Last(long companyId,
boolean site,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ? and site = ?. |
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 = ?. |
List<Group> |
findByC_S(long companyId,
boolean site)
Returns all the groups where companyId = ? and site = ?. |
List<Group> |
findByC_S(long companyId,
boolean site,
int start,
int end)
Returns a range of all the groups where companyId = ? and site = ?. |
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 = ?. |
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 = ?. |
Group |
findByCompanyId_First(long companyId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where companyId = ?. |
Group |
findByCompanyId_Last(long companyId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where companyId = ?. |
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 = ?. |
List<Group> |
findByCompanyId(long companyId)
Returns all the groups where companyId = ?. |
List<Group> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the groups where companyId = ?. |
List<Group> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<Group> orderByComparator)
Returns an ordered range of all the groups where companyId = ?. |
List<Group> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where companyId = ?. |
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 = ?. |
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 = ?. |
List<Group> |
findByG_C_P(long groupId,
long companyId,
long parentGroupId)
Returns all the groups where groupId > ? and companyId = ? and parentGroupId = ?. |
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 = ?. |
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 = ?. |
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 = ?. |
Group |
findByLiveGroupId(long liveGroupId)
Returns the group where liveGroupId = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByPrimaryKey(long groupId)
Returns the group with the primary key or throws a NoSuchGroupException if it could not be found. |
Group |
findByPrimaryKey(Serializable primaryKey)
Returns the group with the primary key or throws a NoSuchModelException if it could not be found. |
Group |
findByT_A_First(int type,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where type = ? and active = ?. |
Group |
findByT_A_Last(int type,
boolean active,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where type = ? and active = ?. |
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 = ?. |
List<Group> |
findByT_A(int type,
boolean active)
Returns all the groups where type = ? and active = ?. |
List<Group> |
findByT_A(int type,
boolean active,
int start,
int end)
Returns a range of all the groups where type = ? and active = ?. |
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 = ?. |
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 = ?. |
Group |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where uuid = ? and companyId = ?. |
Group |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where uuid = ? and companyId = ?. |
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 = ?. |
List<Group> |
findByUuid_C(String uuid,
long companyId)
Returns all the groups where uuid = ? and companyId = ?. |
List<Group> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the groups where uuid = ? and companyId = ?. |
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 = ?. |
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 = ?. |
Group |
findByUuid_First(String uuid,
OrderByComparator<Group> orderByComparator)
Returns the first group in the ordered set where uuid = ?. |
Group |
findByUUID_G(String uuid,
long groupId)
Returns the group where uuid = ? and groupId = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByUuid_Last(String uuid,
OrderByComparator<Group> orderByComparator)
Returns the last group in the ordered set where uuid = ?. |
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 = ?. |
List<Group> |
findByUuid(String uuid)
Returns all the groups where uuid = ?. |
List<Group> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the groups where uuid = ?. |
List<Group> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<Group> orderByComparator)
Returns an ordered range of all the groups where uuid = ?. |
List<Group> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<Group> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the groups where uuid = ?. |
Set<String> |
getBadColumnNames()
|
protected Group |
getByC_A_PrevAndNext(Session session,
Group group,
long companyId,
boolean active,
OrderByComparator<Group> orderByComparator,
boolean previous)
|
protected Group |
getByC_C_P_PrevAndNext(Session session,
Group group,
long companyId,
long classNameId,
long parentGroupId,
OrderByComparator<Group> orderByComparator,
boolean previous)
|
protected Group |
getByC_C_PrevAndNext(Session session,
Group group,
long companyId,
long classNameId,
OrderByComparator<Group> orderByComparator,
boolean previous)
|
protected Group |
getByC_P_PrevAndNext(Session session,
Group group,
long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator,
boolean previous)
|
protected Group |
getByC_P_S_I_PrevAndNext(Session session,
Group group,
long companyId,
long parentGroupId,
boolean site,
boolean inheritContent,
OrderByComparator<Group> orderByComparator,
boolean previous)
|
protected Group |
getByC_P_S_PrevAndNext(Session session,
Group group,
long companyId,
long parentGroupId,
boolean site,
OrderByComparator<Group> orderByComparator,
boolean previous)
|
protected Group |
getByC_S_PrevAndNext(Session session,
Group group,
long companyId,
boolean site,
OrderByComparator<Group> orderByComparator,
boolean previous)
|
protected Group |
getByCompanyId_PrevAndNext(Session session,
Group group,
long companyId,
OrderByComparator<Group> orderByComparator,
boolean previous)
|
protected Group |
getByT_A_PrevAndNext(Session session,
Group group,
int type,
boolean active,
OrderByComparator<Group> orderByComparator,
boolean previous)
|
protected Group |
getByUuid_C_PrevAndNext(Session session,
Group group,
String uuid,
long companyId,
OrderByComparator<Group> orderByComparator,
boolean previous)
|
protected Group |
getByUuid_PrevAndNext(Session session,
Group group,
String uuid,
OrderByComparator<Group> orderByComparator,
boolean previous)
|
long[] |
getOrganizationPrimaryKeys(long pk)
Returns the primaryKeys of organizations associated with the group. |
List<Organization> |
getOrganizations(long pk)
Returns all the organizations associated with the group. |
List<Organization> |
getOrganizations(long pk,
int start,
int end)
Returns a range of all the organizations associated with the group. |
List<Organization> |
getOrganizations(long pk,
int start,
int end,
OrderByComparator<Organization> orderByComparator)
Returns an ordered range of all the organizations associated with the group. |
int |
getOrganizationsSize(long pk)
Returns the number of organizations associated with the group. |
long[] |
getRolePrimaryKeys(long pk)
Returns the primaryKeys of roles associated with the group. |
List<Role> |
getRoles(long pk)
Returns all the roles associated with the group. |
List<Role> |
getRoles(long pk,
int start,
int end)
Returns a range of all the roles associated with the group. |
List<Role> |
getRoles(long pk,
int start,
int end,
OrderByComparator<Role> orderByComparator)
Returns an ordered range of all the roles associated with the group. |
int |
getRolesSize(long pk)
Returns the number of roles associated with the group. |
protected Map<String,Integer> |
getTableColumnsMap()
|
long[] |
getUserGroupPrimaryKeys(long pk)
Returns the primaryKeys of user groups associated with the group. |
List<UserGroup> |
getUserGroups(long pk)
Returns all the user groups associated with the group. |
List<UserGroup> |
getUserGroups(long pk,
int start,
int end)
Returns a range of all the user groups associated with the group. |
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. |
int |
getUserGroupsSize(long pk)
Returns the number of user groups associated with the group. |
long[] |
getUserPrimaryKeys(long pk)
Returns the primaryKeys of users associated with the group. |
List<User> |
getUsers(long pk)
Returns all the users associated with the group. |
List<User> |
getUsers(long pk,
int start,
int end)
Returns a range of all the users associated with the group. |
List<User> |
getUsers(long pk,
int start,
int end,
OrderByComparator<User> orderByComparator)
Returns an ordered range of all the users associated with the group. |
int |
getUsersSize(long pk)
Returns the number of users associated with the group. |
Group |
remove(long groupId)
Removes the group with the primary key from the database. |
Group |
remove(Serializable primaryKey)
Removes the group with the primary key from the database. |
void |
removeAll()
Removes all the groups from the database. |
void |
removeByC_A(long companyId,
boolean active)
Removes all the groups where companyId = ? and active = ? from the database. |
Group |
removeByC_C_C(long companyId,
long classNameId,
long classPK)
Removes the group where companyId = ? and classNameId = ? and classPK = ? from the database. |
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. |
void |
removeByC_C_P(long companyId,
long classNameId,
long parentGroupId)
Removes all the groups where companyId = ? and classNameId = ? and parentGroupId = ? from the database. |
void |
removeByC_C(long companyId,
long classNameId)
Removes all the groups where companyId = ? and classNameId = ? from the database. |
Group |
removeByC_F(long companyId,
String friendlyURL)
Removes the group where companyId = ? and friendlyURL = ? from the database. |
Group |
removeByC_GK(long companyId,
String groupKey)
Removes the group where companyId = ? and groupKey = ? from the database. |
Group |
removeByC_L_GK(long companyId,
long liveGroupId,
String groupKey)
Removes the group where companyId = ? and liveGroupId = ? and groupKey = ? from the database. |
void |
removeByC_P_S_I(long companyId,
long parentGroupId,
boolean site,
boolean inheritContent)
Removes all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ? from the database. |
void |
removeByC_P_S(long companyId,
long parentGroupId,
boolean site)
Removes all the groups where companyId = ? and parentGroupId = ? and site = ? from the database. |
void |
removeByC_P(long companyId,
long parentGroupId)
Removes all the groups where companyId = ? and parentGroupId = ? from the database. |
void |
removeByC_S(long companyId,
boolean site)
Removes all the groups where companyId = ? and site = ? from the database. |
void |
removeByCompanyId(long companyId)
Removes all the groups where companyId = ? from the database. |
void |
removeByG_C_P(long groupId,
long companyId,
long parentGroupId)
Removes all the groups where groupId > ? and companyId = ? and parentGroupId = ? from the database. |
Group |
removeByLiveGroupId(long liveGroupId)
Removes the group where liveGroupId = ? from the database. |
void |
removeByT_A(int type,
boolean active)
Removes all the groups where type = ? and active = ? from the database. |
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the groups where uuid = ? and companyId = ? from the database. |
Group |
removeByUUID_G(String uuid,
long groupId)
Removes the group where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the groups where uuid = ? from the database. |
protected Group |
removeImpl(Group group)
Removes the model instance from the database. |
void |
removeOrganization(long pk,
long organizationPK)
Removes the association between the group and the organization. |
void |
removeOrganization(long pk,
Organization organization)
Removes the association between the group and the organization. |
void |
removeOrganizations(long pk,
List<Organization> organizations)
Removes the association between the group and the organizations. |
void |
removeOrganizations(long pk,
long[] organizationPKs)
Removes the association between the group and the organizations. |
void |
removeRole(long pk,
long rolePK)
Removes the association between the group and the role. |
void |
removeRole(long pk,
Role role)
Removes the association between the group and the role. |
void |
removeRoles(long pk,
List<Role> roles)
Removes the association between the group and the roles. |
void |
removeRoles(long pk,
long[] rolePKs)
Removes the association between the group and the roles. |
void |
removeUser(long pk,
long userPK)
Removes the association between the group and the user. |
void |
removeUser(long pk,
User user)
Removes the association between the group and the user. |
void |
removeUserGroup(long pk,
long userGroupPK)
Removes the association between the group and the user group. |
void |
removeUserGroup(long pk,
UserGroup userGroup)
Removes the association between the group and the user group. |
void |
removeUserGroups(long pk,
List<UserGroup> userGroups)
Removes the association between the group and the user groups. |
void |
removeUserGroups(long pk,
long[] userGroupPKs)
Removes the association between the group and the user groups. |
void |
removeUsers(long pk,
List<User> users)
Removes the association between the group and the users. |
void |
removeUsers(long pk,
long[] userPKs)
Removes the association between the group and the users. |
void |
setOrganizations(long pk,
List<Organization> organizations)
Sets the organizations associated with the group, removing and adding associations as necessary. |
void |
setOrganizations(long pk,
long[] organizationPKs)
Sets the organizations associated with the group, removing and adding associations as necessary. |
void |
setRoles(long pk,
List<Role> roles)
Sets the roles associated with the group, removing and adding associations as necessary. |
void |
setRoles(long pk,
long[] rolePKs)
Sets the roles associated with the group, removing and adding associations as necessary. |
void |
setUserGroups(long pk,
List<UserGroup> userGroups)
Sets the user groups associated with the group, removing and adding associations as necessary. |
void |
setUserGroups(long pk,
long[] userGroupPKs)
Sets the user groups associated with the group, removing and adding associations as necessary. |
void |
setUsers(long pk,
List<User> users)
Sets the users associated with the group, removing and adding associations as necessary. |
void |
setUsers(long pk,
long[] userPKs)
Sets the users associated with the group, removing and adding associations as necessary. |
protected Group |
toUnwrappedModel(Group group)
|
Group |
updateImpl(Group group)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_FETCH_BY_LIVEGROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_LIVEGROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C
public static final FinderPath FINDER_PATH_COUNT_BY_C_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_P
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_P
public static final FinderPath FINDER_PATH_COUNT_BY_C_P
public static final FinderPath FINDER_PATH_FETCH_BY_C_GK
public static final FinderPath FINDER_PATH_COUNT_BY_C_GK
public static final FinderPath FINDER_PATH_FETCH_BY_C_F
public static final FinderPath FINDER_PATH_COUNT_BY_C_F
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_S
public static final FinderPath FINDER_PATH_COUNT_BY_C_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_A
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_A
public static final FinderPath FINDER_PATH_COUNT_BY_C_A
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_A
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_A
public static final FinderPath FINDER_PATH_COUNT_BY_T_A
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_P
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C_P
public static final FinderPath FINDER_PATH_FETCH_BY_C_C_C
public static final FinderPath FINDER_PATH_COUNT_BY_C_C_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C_P
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C_P
public static final FinderPath FINDER_PATH_COUNT_BY_C_C_P
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_P_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_P_S
public static final FinderPath FINDER_PATH_COUNT_BY_C_P_S
public static final FinderPath FINDER_PATH_FETCH_BY_C_L_GK
public static final FinderPath FINDER_PATH_COUNT_BY_C_L_GK
public static final FinderPath FINDER_PATH_FETCH_BY_C_C_L_GK
public static final FinderPath FINDER_PATH_COUNT_BY_C_C_L_GK
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_P_S_I
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_P_S_I
public static final FinderPath FINDER_PATH_COUNT_BY_C_P_S_I
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
@BeanReference(type=OrganizationPersistence.class) protected OrganizationPersistence organizationPersistence
protected TableMapper<Group,Organization> groupToOrganizationTableMapper
@BeanReference(type=RolePersistence.class) protected RolePersistence rolePersistence
protected TableMapper<Group,Role> groupToRoleTableMapper
@BeanReference(type=UserGroupPersistence.class) protected UserGroupPersistence userGroupPersistence
protected TableMapper<Group,UserGroup> groupToUserGroupTableMapper
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
protected TableMapper<Group,User> groupToUserTableMapper
| Constructor Detail |
|---|
public GroupPersistenceImpl()
| Method Detail |
|---|
public List<Group> findByUuid(String uuid)
findByUuid in interface GroupPersistenceuuid - the uuid
public 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.
findByUuid in interface GroupPersistenceuuid - the uuidstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)
public 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.
findByUuid in interface GroupPersistenceuuid - 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 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.
findByUuid in interface GroupPersistenceuuid - 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 cache
public Group findByUuid_First(String uuid,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByUuid_First in interface GroupPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByUuid_First(String uuid,
OrderByComparator<Group> orderByComparator)
fetchByUuid_First in interface GroupPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group findByUuid_Last(String uuid,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByUuid_Last in interface GroupPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByUuid_Last(String uuid,
OrderByComparator<Group> orderByComparator)
fetchByUuid_Last in interface GroupPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group[] findByUuid_PrevAndNext(long groupId,
String uuid,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByUuid_PrevAndNext in interface GroupPersistencegroupId - 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 found
protected Group getByUuid_PrevAndNext(Session session,
Group group,
String uuid,
OrderByComparator<Group> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface GroupPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface GroupPersistenceuuid - the uuid
public Group findByUUID_G(String uuid,
long groupId)
throws NoSuchGroupException
NoSuchGroupException if it could not be found.
findByUUID_G in interface GroupPersistenceuuid - the uuidgroupId - the group ID
NoSuchGroupException - if a matching group could not be found
public Group fetchByUUID_G(String uuid,
long groupId)
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface GroupPersistenceuuid - the uuidgroupId - the group ID
null if a matching group could not be found
public Group fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface GroupPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching group could not be found
public Group removeByUUID_G(String uuid,
long groupId)
throws NoSuchGroupException
removeByUUID_G in interface GroupPersistenceuuid - the uuidgroupId - the group ID
NoSuchGroupException
public int countByUUID_G(String uuid,
long groupId)
countByUUID_G in interface GroupPersistenceuuid - the uuidgroupId - the group ID
public List<Group> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface GroupPersistenceuuid - the uuidcompanyId - the company ID
public 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.
findByUuid_C in interface GroupPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)
public 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.
findByUuid_C in interface GroupPersistenceuuid - 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 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.
findByUuid_C in interface GroupPersistenceuuid - 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 cache
public Group findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByUuid_C_First in interface GroupPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<Group> orderByComparator)
fetchByUuid_C_First in interface GroupPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByUuid_C_Last in interface GroupPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<Group> orderByComparator)
fetchByUuid_C_Last in interface GroupPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group[] findByUuid_C_PrevAndNext(long groupId,
String uuid,
long companyId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByUuid_C_PrevAndNext in interface GroupPersistencegroupId - 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 found
protected Group getByUuid_C_PrevAndNext(Session session,
Group group,
String uuid,
long companyId,
OrderByComparator<Group> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface GroupPersistenceuuid - the uuidcompanyId - the company ID
public int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface GroupPersistenceuuid - the uuidcompanyId - the company ID
public List<Group> findByCompanyId(long companyId)
findByCompanyId in interface GroupPersistencecompanyId - the company ID
public 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.
findByCompanyId in interface GroupPersistencecompanyId - the company IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)
public 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.
findByCompanyId in interface GroupPersistencecompanyId - 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 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.
findByCompanyId in interface GroupPersistencecompanyId - 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 cache
public Group findByCompanyId_First(long companyId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByCompanyId_First in interface GroupPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByCompanyId_First(long companyId,
OrderByComparator<Group> orderByComparator)
fetchByCompanyId_First in interface GroupPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group findByCompanyId_Last(long companyId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByCompanyId_Last in interface GroupPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByCompanyId_Last(long companyId,
OrderByComparator<Group> orderByComparator)
fetchByCompanyId_Last in interface GroupPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group[] findByCompanyId_PrevAndNext(long groupId,
long companyId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByCompanyId_PrevAndNext in interface GroupPersistencegroupId - 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 found
protected Group getByCompanyId_PrevAndNext(Session session,
Group group,
long companyId,
OrderByComparator<Group> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface GroupPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface GroupPersistencecompanyId - the company ID
public Group findByLiveGroupId(long liveGroupId)
throws NoSuchGroupException
NoSuchGroupException if it could not be found.
findByLiveGroupId in interface GroupPersistenceliveGroupId - the live group ID
NoSuchGroupException - if a matching group could not be foundpublic Group fetchByLiveGroupId(long liveGroupId)
null if it could not be found. Uses the finder cache.
fetchByLiveGroupId in interface GroupPersistenceliveGroupId - the live group ID
null if a matching group could not be found
public Group fetchByLiveGroupId(long liveGroupId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByLiveGroupId in interface GroupPersistenceliveGroupId - the live group IDretrieveFromCache - whether to retrieve from the finder cache
null if a matching group could not be found
public Group removeByLiveGroupId(long liveGroupId)
throws NoSuchGroupException
removeByLiveGroupId in interface GroupPersistenceliveGroupId - the live group ID
NoSuchGroupExceptionpublic int countByLiveGroupId(long liveGroupId)
countByLiveGroupId in interface GroupPersistenceliveGroupId - the live group ID
public List<Group> findByC_C(long companyId,
long classNameId)
findByC_C in interface GroupPersistencecompanyId - the company IDclassNameId - the class name ID
public 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.
findByC_C in interface GroupPersistencecompanyId - 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 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.
findByC_C in interface GroupPersistencecompanyId - 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 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.
findByC_C in interface GroupPersistencecompanyId - 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 cache
public Group findByC_C_First(long companyId,
long classNameId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_C_First in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByC_C_First(long companyId,
long classNameId,
OrderByComparator<Group> orderByComparator)
fetchByC_C_First in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group findByC_C_Last(long companyId,
long classNameId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_C_Last in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByC_C_Last(long companyId,
long classNameId,
OrderByComparator<Group> orderByComparator)
fetchByC_C_Last in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group[] findByC_C_PrevAndNext(long groupId,
long companyId,
long classNameId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_C_PrevAndNext in interface GroupPersistencegroupId - 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 found
protected Group getByC_C_PrevAndNext(Session session,
Group group,
long companyId,
long classNameId,
OrderByComparator<Group> orderByComparator,
boolean previous)
public void removeByC_C(long companyId,
long classNameId)
removeByC_C in interface GroupPersistencecompanyId - the company IDclassNameId - the class name ID
public int countByC_C(long companyId,
long classNameId)
countByC_C in interface GroupPersistencecompanyId - the company IDclassNameId - the class name ID
public List<Group> findByC_P(long companyId,
long parentGroupId)
findByC_P in interface GroupPersistencecompanyId - the company IDparentGroupId - the parent group ID
public 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.
findByC_P in interface GroupPersistencecompanyId - 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 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.
findByC_P in interface GroupPersistencecompanyId - 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 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.
findByC_P in interface GroupPersistencecompanyId - 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 cache
public Group findByC_P_First(long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_P_First in interface GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByC_P_First(long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
fetchByC_P_First in interface GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group findByC_P_Last(long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_P_Last in interface GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByC_P_Last(long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
fetchByC_P_Last in interface GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group[] findByC_P_PrevAndNext(long groupId,
long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_P_PrevAndNext in interface GroupPersistencegroupId - 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 found
protected Group getByC_P_PrevAndNext(Session session,
Group group,
long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator,
boolean previous)
public void removeByC_P(long companyId,
long parentGroupId)
removeByC_P in interface GroupPersistencecompanyId - the company IDparentGroupId - the parent group ID
public int countByC_P(long companyId,
long parentGroupId)
countByC_P in interface GroupPersistencecompanyId - the company IDparentGroupId - the parent group ID
public Group findByC_GK(long companyId,
String groupKey)
throws NoSuchGroupException
NoSuchGroupException if it could not be found.
findByC_GK in interface GroupPersistencecompanyId - the company IDgroupKey - the group key
NoSuchGroupException - if a matching group could not be found
public Group fetchByC_GK(long companyId,
String groupKey)
null if it could not be found. Uses the finder cache.
fetchByC_GK in interface GroupPersistencecompanyId - the company IDgroupKey - the group key
null if a matching group could not be found
public Group fetchByC_GK(long companyId,
String groupKey,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByC_GK in interface GroupPersistencecompanyId - the company IDgroupKey - the group keyretrieveFromCache - whether to retrieve from the finder cache
null if a matching group could not be found
public Group removeByC_GK(long companyId,
String groupKey)
throws NoSuchGroupException
removeByC_GK in interface GroupPersistencecompanyId - the company IDgroupKey - the group key
NoSuchGroupException
public int countByC_GK(long companyId,
String groupKey)
countByC_GK in interface GroupPersistencecompanyId - the company IDgroupKey - the group key
public Group findByC_F(long companyId,
String friendlyURL)
throws NoSuchGroupException
NoSuchGroupException if it could not be found.
findByC_F in interface GroupPersistencecompanyId - the company IDfriendlyURL - the friendly u r l
NoSuchGroupException - if a matching group could not be found
public Group fetchByC_F(long companyId,
String friendlyURL)
null if it could not be found. Uses the finder cache.
fetchByC_F in interface GroupPersistencecompanyId - the company IDfriendlyURL - the friendly u r l
null if a matching group could not be found
public Group fetchByC_F(long companyId,
String friendlyURL,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByC_F in interface GroupPersistencecompanyId - the company IDfriendlyURL - the friendly u r lretrieveFromCache - whether to retrieve from the finder cache
null if a matching group could not be found
public Group removeByC_F(long companyId,
String friendlyURL)
throws NoSuchGroupException
removeByC_F in interface GroupPersistencecompanyId - the company IDfriendlyURL - the friendly u r l
NoSuchGroupException
public int countByC_F(long companyId,
String friendlyURL)
countByC_F in interface GroupPersistencecompanyId - the company IDfriendlyURL - the friendly u r l
public List<Group> findByC_S(long companyId,
boolean site)
findByC_S in interface GroupPersistencecompanyId - the company IDsite - the site
public 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.
findByC_S in interface GroupPersistencecompanyId - the company IDsite - the sitestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)
public 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.
findByC_S in interface GroupPersistencecompanyId - 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 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.
findByC_S in interface GroupPersistencecompanyId - 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 cache
public Group findByC_S_First(long companyId,
boolean site,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_S_First in interface GroupPersistencecompanyId - the company IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByC_S_First(long companyId,
boolean site,
OrderByComparator<Group> orderByComparator)
fetchByC_S_First in interface GroupPersistencecompanyId - the company IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group findByC_S_Last(long companyId,
boolean site,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_S_Last in interface GroupPersistencecompanyId - the company IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByC_S_Last(long companyId,
boolean site,
OrderByComparator<Group> orderByComparator)
fetchByC_S_Last in interface GroupPersistencecompanyId - the company IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group[] findByC_S_PrevAndNext(long groupId,
long companyId,
boolean site,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_S_PrevAndNext in interface GroupPersistencegroupId - 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 found
protected Group getByC_S_PrevAndNext(Session session,
Group group,
long companyId,
boolean site,
OrderByComparator<Group> orderByComparator,
boolean previous)
public void removeByC_S(long companyId,
boolean site)
removeByC_S in interface GroupPersistencecompanyId - the company IDsite - the site
public int countByC_S(long companyId,
boolean site)
countByC_S in interface GroupPersistencecompanyId - the company IDsite - the site
public List<Group> findByC_A(long companyId,
boolean active)
findByC_A in interface GroupPersistencecompanyId - the company IDactive - the active
public 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.
findByC_A in interface GroupPersistencecompanyId - the company IDactive - the activestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)
public 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.
findByC_A in interface GroupPersistencecompanyId - 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 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.
findByC_A in interface GroupPersistencecompanyId - 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 cache
public Group findByC_A_First(long companyId,
boolean active,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_A_First in interface GroupPersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByC_A_First(long companyId,
boolean active,
OrderByComparator<Group> orderByComparator)
fetchByC_A_First in interface GroupPersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group findByC_A_Last(long companyId,
boolean active,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_A_Last in interface GroupPersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByC_A_Last(long companyId,
boolean active,
OrderByComparator<Group> orderByComparator)
fetchByC_A_Last in interface GroupPersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group[] findByC_A_PrevAndNext(long groupId,
long companyId,
boolean active,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_A_PrevAndNext in interface GroupPersistencegroupId - 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 found
protected Group getByC_A_PrevAndNext(Session session,
Group group,
long companyId,
boolean active,
OrderByComparator<Group> orderByComparator,
boolean previous)
public void removeByC_A(long companyId,
boolean active)
removeByC_A in interface GroupPersistencecompanyId - the company IDactive - the active
public int countByC_A(long companyId,
boolean active)
countByC_A in interface GroupPersistencecompanyId - the company IDactive - the active
public List<Group> findByT_A(int type,
boolean active)
findByT_A in interface GroupPersistencetype - the typeactive - the active
public 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.
findByT_A in interface GroupPersistencetype - the typeactive - the activestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)
public 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.
findByT_A in interface GroupPersistencetype - 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 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.
findByT_A in interface GroupPersistencetype - 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 cache
public Group findByT_A_First(int type,
boolean active,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByT_A_First in interface GroupPersistencetype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByT_A_First(int type,
boolean active,
OrderByComparator<Group> orderByComparator)
fetchByT_A_First in interface GroupPersistencetype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group findByT_A_Last(int type,
boolean active,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByT_A_Last in interface GroupPersistencetype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchGroupException - if a matching group could not be found
public Group fetchByT_A_Last(int type,
boolean active,
OrderByComparator<Group> orderByComparator)
fetchByT_A_Last in interface GroupPersistencetype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)
null if a matching group could not be found
public Group[] findByT_A_PrevAndNext(long groupId,
int type,
boolean active,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByT_A_PrevAndNext in interface GroupPersistencegroupId - 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 found
protected Group getByT_A_PrevAndNext(Session session,
Group group,
int type,
boolean active,
OrderByComparator<Group> orderByComparator,
boolean previous)
public void removeByT_A(int type,
boolean active)
removeByT_A in interface GroupPersistencetype - the typeactive - the active
public int countByT_A(int type,
boolean active)
countByT_A in interface GroupPersistencetype - the typeactive - the active
public List<Group> findByG_C_P(long groupId,
long companyId,
long parentGroupId)
findByG_C_P in interface GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group ID
public 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.
findByG_C_P in interface GroupPersistencegroupId - 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 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.
findByG_C_P in interface GroupPersistencegroupId - 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 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.
findByG_C_P in interface GroupPersistencegroupId - 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 cache
public Group findByG_C_P_First(long groupId,
long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByG_C_P_First in interface GroupPersistencegroupId - 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 found
public Group fetchByG_C_P_First(long groupId,
long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
fetchByG_C_P_First in interface GroupPersistencegroupId - 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 found
public Group findByG_C_P_Last(long groupId,
long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByG_C_P_Last in interface GroupPersistencegroupId - 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 found
public Group fetchByG_C_P_Last(long groupId,
long companyId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
fetchByG_C_P_Last in interface GroupPersistencegroupId - 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 found
public void removeByG_C_P(long groupId,
long companyId,
long parentGroupId)
removeByG_C_P in interface GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group ID
public int countByG_C_P(long groupId,
long companyId,
long parentGroupId)
countByG_C_P in interface GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group ID
public Group findByC_C_C(long companyId,
long classNameId,
long classPK)
throws NoSuchGroupException
NoSuchGroupException if it could not be found.
findByC_C_C in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDclassPK - the class p k
NoSuchGroupException - if a matching group could not be found
public Group fetchByC_C_C(long companyId,
long classNameId,
long classPK)
null if it could not be found. Uses the finder cache.
fetchByC_C_C in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDclassPK - the class p k
null if a matching group could not be found
public Group fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByC_C_C in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDclassPK - the class p kretrieveFromCache - whether to retrieve from the finder cache
null if a matching group could not be found
public Group removeByC_C_C(long companyId,
long classNameId,
long classPK)
throws NoSuchGroupException
removeByC_C_C in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDclassPK - the class p k
NoSuchGroupException
public int countByC_C_C(long companyId,
long classNameId,
long classPK)
countByC_C_C in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDclassPK - the class p k
public List<Group> findByC_C_P(long companyId,
long classNameId,
long parentGroupId)
findByC_C_P in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group ID
public 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.
findByC_C_P in interface GroupPersistencecompanyId - 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 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.
findByC_C_P in interface GroupPersistencecompanyId - 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 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.
findByC_C_P in interface GroupPersistencecompanyId - 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 cache
public Group findByC_C_P_First(long companyId,
long classNameId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_C_P_First in interface GroupPersistencecompanyId - 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 found
public Group fetchByC_C_P_First(long companyId,
long classNameId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
fetchByC_C_P_First in interface GroupPersistencecompanyId - 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 found
public Group findByC_C_P_Last(long companyId,
long classNameId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_C_P_Last in interface GroupPersistencecompanyId - 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 found
public Group fetchByC_C_P_Last(long companyId,
long classNameId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
fetchByC_C_P_Last in interface GroupPersistencecompanyId - 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 found
public Group[] findByC_C_P_PrevAndNext(long groupId,
long companyId,
long classNameId,
long parentGroupId,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_C_P_PrevAndNext in interface GroupPersistencegroupId - 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 found
protected Group getByC_C_P_PrevAndNext(Session session,
Group group,
long companyId,
long classNameId,
long parentGroupId,
OrderByComparator<Group> orderByComparator,
boolean previous)
public void removeByC_C_P(long companyId,
long classNameId,
long parentGroupId)
removeByC_C_P in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group ID
public int countByC_C_P(long companyId,
long classNameId,
long parentGroupId)
countByC_C_P in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group ID
public List<Group> findByC_P_S(long companyId,
long parentGroupId,
boolean site)
findByC_P_S in interface GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the site
public 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.
findByC_P_S in interface GroupPersistencecompanyId - 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 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.
findByC_P_S in interface GroupPersistencecompanyId - 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 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.
findByC_P_S in interface GroupPersistencecompanyId - 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 cache
public Group findByC_P_S_First(long companyId,
long parentGroupId,
boolean site,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_P_S_First in interface GroupPersistencecompanyId - 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 found
public Group fetchByC_P_S_First(long companyId,
long parentGroupId,
boolean site,
OrderByComparator<Group> orderByComparator)
fetchByC_P_S_First in interface GroupPersistencecompanyId - 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 found
public Group findByC_P_S_Last(long companyId,
long parentGroupId,
boolean site,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_P_S_Last in interface GroupPersistencecompanyId - 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 found
public Group fetchByC_P_S_Last(long companyId,
long parentGroupId,
boolean site,
OrderByComparator<Group> orderByComparator)
fetchByC_P_S_Last in interface GroupPersistencecompanyId - 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 found
public Group[] findByC_P_S_PrevAndNext(long groupId,
long companyId,
long parentGroupId,
boolean site,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_P_S_PrevAndNext in interface GroupPersistencegroupId - 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 found
protected Group getByC_P_S_PrevAndNext(Session session,
Group group,
long companyId,
long parentGroupId,
boolean site,
OrderByComparator<Group> orderByComparator,
boolean previous)
public void removeByC_P_S(long companyId,
long parentGroupId,
boolean site)
removeByC_P_S in interface GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the site
public int countByC_P_S(long companyId,
long parentGroupId,
boolean site)
countByC_P_S in interface GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the site
public Group findByC_L_GK(long companyId,
long liveGroupId,
String groupKey)
throws NoSuchGroupException
NoSuchGroupException if it could not be found.
findByC_L_GK in interface GroupPersistencecompanyId - the company IDliveGroupId - the live group IDgroupKey - the group key
NoSuchGroupException - if a matching group could not be found
public Group fetchByC_L_GK(long companyId,
long liveGroupId,
String groupKey)
null if it could not be found. Uses the finder cache.
fetchByC_L_GK in interface GroupPersistencecompanyId - the company IDliveGroupId - the live group IDgroupKey - the group key
null if a matching group could not be found
public Group fetchByC_L_GK(long companyId,
long liveGroupId,
String groupKey,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByC_L_GK in interface GroupPersistencecompanyId - the company IDliveGroupId - the live group IDgroupKey - the group keyretrieveFromCache - whether to retrieve from the finder cache
null if a matching group could not be found
public Group removeByC_L_GK(long companyId,
long liveGroupId,
String groupKey)
throws NoSuchGroupException
removeByC_L_GK in interface GroupPersistencecompanyId - the company IDliveGroupId - the live group IDgroupKey - the group key
NoSuchGroupException
public int countByC_L_GK(long companyId,
long liveGroupId,
String groupKey)
countByC_L_GK in interface GroupPersistencecompanyId - the company IDliveGroupId - the live group IDgroupKey - the group key
public Group findByC_C_L_GK(long companyId,
long classNameId,
long liveGroupId,
String groupKey)
throws NoSuchGroupException
NoSuchGroupException if it could not be found.
findByC_C_L_GK in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDliveGroupId - the live group IDgroupKey - the group key
NoSuchGroupException - if a matching group could not be found
public Group fetchByC_C_L_GK(long companyId,
long classNameId,
long liveGroupId,
String groupKey)
null if it could not be found. Uses the finder cache.
fetchByC_C_L_GK in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDliveGroupId - the live group IDgroupKey - the group key
null if a matching group could not be found
public 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.
fetchByC_C_L_GK in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDliveGroupId - the live group IDgroupKey - the group keyretrieveFromCache - whether to retrieve from the finder cache
null if a matching group could not be found
public Group removeByC_C_L_GK(long companyId,
long classNameId,
long liveGroupId,
String groupKey)
throws NoSuchGroupException
removeByC_C_L_GK in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDliveGroupId - the live group IDgroupKey - the group key
NoSuchGroupException
public int countByC_C_L_GK(long companyId,
long classNameId,
long liveGroupId,
String groupKey)
countByC_C_L_GK in interface GroupPersistencecompanyId - the company IDclassNameId - the class name IDliveGroupId - the live group IDgroupKey - the group key
public List<Group> findByC_P_S_I(long companyId,
long parentGroupId,
boolean site,
boolean inheritContent)
findByC_P_S_I in interface GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteinheritContent - the inherit content
public 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.
findByC_P_S_I in interface GroupPersistencecompanyId - 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 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.
findByC_P_S_I in interface GroupPersistencecompanyId - 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 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.
findByC_P_S_I in interface GroupPersistencecompanyId - 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 cache
public Group findByC_P_S_I_First(long companyId,
long parentGroupId,
boolean site,
boolean inheritContent,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_P_S_I_First in interface GroupPersistencecompanyId - 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 found
public Group fetchByC_P_S_I_First(long companyId,
long parentGroupId,
boolean site,
boolean inheritContent,
OrderByComparator<Group> orderByComparator)
fetchByC_P_S_I_First in interface GroupPersistencecompanyId - 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 found
public Group findByC_P_S_I_Last(long companyId,
long parentGroupId,
boolean site,
boolean inheritContent,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_P_S_I_Last in interface GroupPersistencecompanyId - 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 found
public Group fetchByC_P_S_I_Last(long companyId,
long parentGroupId,
boolean site,
boolean inheritContent,
OrderByComparator<Group> orderByComparator)
fetchByC_P_S_I_Last in interface GroupPersistencecompanyId - 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 found
public Group[] findByC_P_S_I_PrevAndNext(long groupId,
long companyId,
long parentGroupId,
boolean site,
boolean inheritContent,
OrderByComparator<Group> orderByComparator)
throws NoSuchGroupException
findByC_P_S_I_PrevAndNext in interface GroupPersistencegroupId - 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 found
protected Group getByC_P_S_I_PrevAndNext(Session session,
Group group,
long companyId,
long parentGroupId,
boolean site,
boolean inheritContent,
OrderByComparator<Group> orderByComparator,
boolean previous)
public void removeByC_P_S_I(long companyId,
long parentGroupId,
boolean site,
boolean inheritContent)
removeByC_P_S_I in interface GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteinheritContent - the inherit content
public int countByC_P_S_I(long companyId,
long parentGroupId,
boolean site,
boolean inheritContent)
countByC_P_S_I in interface GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteinheritContent - the inherit content
public void cacheResult(Group group)
cacheResult in interface GroupPersistencegroup - the grouppublic void cacheResult(List<Group> groups)
cacheResult in interface GroupPersistencegroups - the groupspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<Group>clearCache in class BasePersistenceImpl<Group>public void clearCache(Group group)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<Group>clearCache in class BasePersistenceImpl<Group>group - the instance of this model to clear the cache forpublic void clearCache(List<Group> groups)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<Group>clearCache in class BasePersistenceImpl<Group>groups - the List instances of this model to clear the cache for
protected void cacheUniqueFindersCache(GroupModelImpl groupModelImpl,
boolean isNew)
protected void clearUniqueFindersCache(GroupModelImpl groupModelImpl)
public Group create(long groupId)
create in interface GroupPersistencegroupId - the primary key for the new group
public Group remove(long groupId)
throws NoSuchGroupException
remove in interface GroupPersistencegroupId - the primary key of the group
NoSuchGroupException - if a group with the primary key could not be found
public Group remove(Serializable primaryKey)
throws NoSuchGroupException
remove in interface BasePersistence<Group>remove in class BasePersistenceImpl<Group>primaryKey - the primary key of the group
NoSuchGroupException - if a group with the primary key could not be foundprotected Group removeImpl(Group group)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<Group>group - the model instance to remove
public Group updateImpl(Group group)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface GroupPersistenceupdateImpl in class BasePersistenceImpl<Group>group - the model instance to update
protected Group toUnwrappedModel(Group group)
public Group findByPrimaryKey(Serializable primaryKey)
throws NoSuchGroupException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<Group>findByPrimaryKey in class BasePersistenceImpl<Group>primaryKey - the primary key of the group
NoSuchGroupException - if a group with the primary key could not be found
public Group findByPrimaryKey(long groupId)
throws NoSuchGroupException
NoSuchGroupException if it could not be found.
findByPrimaryKey in interface GroupPersistencegroupId - the primary key of the group
NoSuchGroupException - if a group with the primary key could not be foundpublic Group fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<Group>fetchByPrimaryKey in class BasePersistenceImpl<Group>primaryKey - the primary key of the group
null if a group with the primary key could not be foundpublic Group fetchByPrimaryKey(long groupId)
null if it could not be found.
fetchByPrimaryKey in interface GroupPersistencegroupId - the primary key of the group
null if a group with the primary key could not be foundpublic Map<Serializable,Group> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<Group>fetchByPrimaryKeys in interface GroupPersistencefetchByPrimaryKeys in class BasePersistenceImpl<Group>public List<Group> findAll()
findAll in interface GroupPersistence
public 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.
findAll in interface GroupPersistencestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)
public 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.
findAll in interface GroupPersistencestart - 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 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.
findAll in interface GroupPersistencestart - 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 cache
public void removeAll()
removeAll in interface GroupPersistencepublic int countAll()
countAll in interface GroupPersistencepublic long[] getOrganizationPrimaryKeys(long pk)
getOrganizationPrimaryKeys in interface GroupPersistencepk - the primary key of the group
public List<Organization> getOrganizations(long pk)
getOrganizations in interface GroupPersistencepk - the primary key of the group
public 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.
getOrganizations in interface GroupPersistencepk - 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 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.
getOrganizations in interface GroupPersistencepk - 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 int getOrganizationsSize(long pk)
getOrganizationsSize in interface GroupPersistencepk - the primary key of the group
public boolean containsOrganization(long pk,
long organizationPK)
true if the organization is associated with the group.
containsOrganization in interface GroupPersistencepk - the primary key of the grouporganizationPK - the primary key of the organization
true if the organization is associated with the group; false otherwisepublic boolean containsOrganizations(long pk)
true if the group has any organizations associated with it.
containsOrganizations in interface GroupPersistencepk - the primary key of the group to check for associations with organizations
true if the group has any organizations associated with it; false otherwise
public void addOrganization(long pk,
long organizationPK)
addOrganization in interface GroupPersistencepk - the primary key of the grouporganizationPK - the primary key of the organization
public void addOrganization(long pk,
Organization organization)
addOrganization in interface GroupPersistencepk - the primary key of the grouporganization - the organization
public void addOrganizations(long pk,
long[] organizationPKs)
addOrganizations in interface GroupPersistencepk - the primary key of the grouporganizationPKs - the primary keys of the organizations
public void addOrganizations(long pk,
List<Organization> organizations)
addOrganizations in interface GroupPersistencepk - the primary key of the grouporganizations - the organizationspublic void clearOrganizations(long pk)
clearOrganizations in interface GroupPersistencepk - the primary key of the group to clear the associated organizations from
public void removeOrganization(long pk,
long organizationPK)
removeOrganization in interface GroupPersistencepk - the primary key of the grouporganizationPK - the primary key of the organization
public void removeOrganization(long pk,
Organization organization)
removeOrganization in interface GroupPersistencepk - the primary key of the grouporganization - the organization
public void removeOrganizations(long pk,
long[] organizationPKs)
removeOrganizations in interface GroupPersistencepk - the primary key of the grouporganizationPKs - the primary keys of the organizations
public void removeOrganizations(long pk,
List<Organization> organizations)
removeOrganizations in interface GroupPersistencepk - the primary key of the grouporganizations - the organizations
public void setOrganizations(long pk,
long[] organizationPKs)
setOrganizations in interface GroupPersistencepk - the primary key of the grouporganizationPKs - the primary keys of the organizations to be associated with the group
public void setOrganizations(long pk,
List<Organization> organizations)
setOrganizations in interface GroupPersistencepk - the primary key of the grouporganizations - the organizations to be associated with the grouppublic long[] getRolePrimaryKeys(long pk)
getRolePrimaryKeys in interface GroupPersistencepk - the primary key of the group
public List<Role> getRoles(long pk)
getRoles in interface GroupPersistencepk - the primary key of the group
public 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.
getRoles in interface GroupPersistencepk - 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 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.
getRoles in interface GroupPersistencepk - 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 int getRolesSize(long pk)
getRolesSize in interface GroupPersistencepk - the primary key of the group
public boolean containsRole(long pk,
long rolePK)
true if the role is associated with the group.
containsRole in interface GroupPersistencepk - the primary key of the grouprolePK - the primary key of the role
true if the role is associated with the group; false otherwisepublic boolean containsRoles(long pk)
true if the group has any roles associated with it.
containsRoles in interface GroupPersistencepk - the primary key of the group to check for associations with roles
true if the group has any roles associated with it; false otherwise
public void addRole(long pk,
long rolePK)
addRole in interface GroupPersistencepk - the primary key of the grouprolePK - the primary key of the role
public void addRole(long pk,
Role role)
addRole in interface GroupPersistencepk - the primary key of the grouprole - the role
public void addRoles(long pk,
long[] rolePKs)
addRoles in interface GroupPersistencepk - the primary key of the grouprolePKs - the primary keys of the roles
public void addRoles(long pk,
List<Role> roles)
addRoles in interface GroupPersistencepk - the primary key of the grouproles - the rolespublic void clearRoles(long pk)
clearRoles in interface GroupPersistencepk - the primary key of the group to clear the associated roles from
public void removeRole(long pk,
long rolePK)
removeRole in interface GroupPersistencepk - the primary key of the grouprolePK - the primary key of the role
public void removeRole(long pk,
Role role)
removeRole in interface GroupPersistencepk - the primary key of the grouprole - the role
public void removeRoles(long pk,
long[] rolePKs)
removeRoles in interface GroupPersistencepk - the primary key of the grouprolePKs - the primary keys of the roles
public void removeRoles(long pk,
List<Role> roles)
removeRoles in interface GroupPersistencepk - the primary key of the grouproles - the roles
public void setRoles(long pk,
long[] rolePKs)
setRoles in interface GroupPersistencepk - the primary key of the grouprolePKs - the primary keys of the roles to be associated with the group
public void setRoles(long pk,
List<Role> roles)
setRoles in interface GroupPersistencepk - the primary key of the grouproles - the roles to be associated with the grouppublic long[] getUserGroupPrimaryKeys(long pk)
getUserGroupPrimaryKeys in interface GroupPersistencepk - the primary key of the group
public List<UserGroup> getUserGroups(long pk)
getUserGroups in interface GroupPersistencepk - the primary key of the group
public 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.
getUserGroups in interface GroupPersistencepk - 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 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.
getUserGroups in interface GroupPersistencepk - 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 int getUserGroupsSize(long pk)
getUserGroupsSize in interface GroupPersistencepk - the primary key of the group
public boolean containsUserGroup(long pk,
long userGroupPK)
true if the user group is associated with the group.
containsUserGroup in interface GroupPersistencepk - the primary key of the groupuserGroupPK - the primary key of the user group
true if the user group is associated with the group; false otherwisepublic boolean containsUserGroups(long pk)
true if the group has any user groups associated with it.
containsUserGroups in interface GroupPersistencepk - the primary key of the group to check for associations with user groups
true if the group has any user groups associated with it; false otherwise
public void addUserGroup(long pk,
long userGroupPK)
addUserGroup in interface GroupPersistencepk - the primary key of the groupuserGroupPK - the primary key of the user group
public void addUserGroup(long pk,
UserGroup userGroup)
addUserGroup in interface GroupPersistencepk - the primary key of the groupuserGroup - the user group
public void addUserGroups(long pk,
long[] userGroupPKs)
addUserGroups in interface GroupPersistencepk - the primary key of the groupuserGroupPKs - the primary keys of the user groups
public void addUserGroups(long pk,
List<UserGroup> userGroups)
addUserGroups in interface GroupPersistencepk - the primary key of the groupuserGroups - the user groupspublic void clearUserGroups(long pk)
clearUserGroups in interface GroupPersistencepk - the primary key of the group to clear the associated user groups from
public void removeUserGroup(long pk,
long userGroupPK)
removeUserGroup in interface GroupPersistencepk - the primary key of the groupuserGroupPK - the primary key of the user group
public void removeUserGroup(long pk,
UserGroup userGroup)
removeUserGroup in interface GroupPersistencepk - the primary key of the groupuserGroup - the user group
public void removeUserGroups(long pk,
long[] userGroupPKs)
removeUserGroups in interface GroupPersistencepk - the primary key of the groupuserGroupPKs - the primary keys of the user groups
public void removeUserGroups(long pk,
List<UserGroup> userGroups)
removeUserGroups in interface GroupPersistencepk - the primary key of the groupuserGroups - the user groups
public void setUserGroups(long pk,
long[] userGroupPKs)
setUserGroups in interface GroupPersistencepk - the primary key of the groupuserGroupPKs - the primary keys of the user groups to be associated with the group
public void setUserGroups(long pk,
List<UserGroup> userGroups)
setUserGroups in interface GroupPersistencepk - the primary key of the groupuserGroups - the user groups to be associated with the grouppublic long[] getUserPrimaryKeys(long pk)
getUserPrimaryKeys in interface GroupPersistencepk - the primary key of the group
public List<User> getUsers(long pk)
getUsers in interface GroupPersistencepk - the primary key of the group
public 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.
getUsers in interface GroupPersistencepk - 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 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.
getUsers in interface GroupPersistencepk - 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 int getUsersSize(long pk)
getUsersSize in interface GroupPersistencepk - the primary key of the group
public boolean containsUser(long pk,
long userPK)
true if the user is associated with the group.
containsUser in interface GroupPersistencepk - the primary key of the groupuserPK - the primary key of the user
true if the user is associated with the group; false otherwisepublic boolean containsUsers(long pk)
true if the group has any users associated with it.
containsUsers in interface GroupPersistencepk - the primary key of the group to check for associations with users
true if the group has any users associated with it; false otherwise
public void addUser(long pk,
long userPK)
addUser in interface GroupPersistencepk - the primary key of the groupuserPK - the primary key of the user
public void addUser(long pk,
User user)
addUser in interface GroupPersistencepk - the primary key of the groupuser - the user
public void addUsers(long pk,
long[] userPKs)
addUsers in interface GroupPersistencepk - the primary key of the groupuserPKs - the primary keys of the users
public void addUsers(long pk,
List<User> users)
addUsers in interface GroupPersistencepk - the primary key of the groupusers - the userspublic void clearUsers(long pk)
clearUsers in interface GroupPersistencepk - the primary key of the group to clear the associated users from
public void removeUser(long pk,
long userPK)
removeUser in interface GroupPersistencepk - the primary key of the groupuserPK - the primary key of the user
public void removeUser(long pk,
User user)
removeUser in interface GroupPersistencepk - the primary key of the groupuser - the user
public void removeUsers(long pk,
long[] userPKs)
removeUsers in interface GroupPersistencepk - the primary key of the groupuserPKs - the primary keys of the users
public void removeUsers(long pk,
List<User> users)
removeUsers in interface GroupPersistencepk - the primary key of the groupusers - the users
public void setUsers(long pk,
long[] userPKs)
setUsers in interface GroupPersistencepk - the primary key of the groupuserPKs - the primary keys of the users to be associated with the group
public void setUsers(long pk,
List<User> users)
setUsers in interface GroupPersistencepk - the primary key of the groupusers - the users to be associated with the grouppublic Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<Group>getBadColumnNames in interface GroupPersistencegetBadColumnNames in class BasePersistenceImpl<Group>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<Group>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||