public class UserPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.User>
implements com.liferay.portal.kernel.service.persistence.UserPersistence
Caching information and settings can be found in portal.properties
| Modifier and Type | Field and Description |
|---|---|
static String |
FINDER_CLASS_NAME_ENTITY
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
protected com.liferay.portal.kernel.service.persistence.GroupPersistence |
groupPersistence |
protected com.liferay.portal.kernel.service.persistence.OrganizationPersistence |
organizationPersistence |
protected com.liferay.portal.kernel.service.persistence.RolePersistence |
rolePersistence |
protected com.liferay.portal.kernel.service.persistence.TeamPersistence |
teamPersistence |
protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence |
userGroupPersistence |
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.User,com.liferay.portal.kernel.model.Group> |
userToGroupTableMapper |
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.User,com.liferay.portal.kernel.model.Organization> |
userToOrganizationTableMapper |
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.User,com.liferay.portal.kernel.model.Role> |
userToRoleTableMapper |
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.User,com.liferay.portal.kernel.model.Team> |
userToTeamTableMapper |
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.User,com.liferay.portal.kernel.model.UserGroup> |
userToUserGroupTableMapper |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, 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 and Description |
|---|
UserPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroup(long pk,
com.liferay.portal.kernel.model.Group group)
Adds an association between the user and the group.
|
void |
addGroup(long pk,
long groupPK)
Adds an association between the user and the group.
|
void |
addGroups(long pk,
List<com.liferay.portal.kernel.model.Group> groups)
Adds an association between the user and the groups.
|
void |
addGroups(long pk,
long[] groupPKs)
Adds an association between the user and the groups.
|
void |
addOrganization(long pk,
long organizationPK)
Adds an association between the user and the organization.
|
void |
addOrganization(long pk,
com.liferay.portal.kernel.model.Organization organization)
Adds an association between the user and the organization.
|
void |
addOrganizations(long pk,
List<com.liferay.portal.kernel.model.Organization> organizations)
Adds an association between the user and the organizations.
|
void |
addOrganizations(long pk,
long[] organizationPKs)
Adds an association between the user and the organizations.
|
void |
addRole(long pk,
long rolePK)
Adds an association between the user and the role.
|
void |
addRole(long pk,
com.liferay.portal.kernel.model.Role role)
Adds an association between the user and the role.
|
void |
addRoles(long pk,
List<com.liferay.portal.kernel.model.Role> roles)
Adds an association between the user and the roles.
|
void |
addRoles(long pk,
long[] rolePKs)
Adds an association between the user and the roles.
|
void |
addTeam(long pk,
long teamPK)
Adds an association between the user and the team.
|
void |
addTeam(long pk,
com.liferay.portal.kernel.model.Team team)
Adds an association between the user and the team.
|
void |
addTeams(long pk,
List<com.liferay.portal.kernel.model.Team> teams)
Adds an association between the user and the teams.
|
void |
addTeams(long pk,
long[] teamPKs)
Adds an association between the user and the teams.
|
void |
addUserGroup(long pk,
long userGroupPK)
Adds an association between the user and the user group.
|
void |
addUserGroup(long pk,
com.liferay.portal.kernel.model.UserGroup userGroup)
Adds an association between the user and the user group.
|
void |
addUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
Adds an association between the user and the user groups.
|
void |
addUserGroups(long pk,
long[] userGroupPKs)
Adds an association between the user and the user groups.
|
void |
afterPropertiesSet()
Initializes the user persistence.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.User> users)
Caches the users in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.portal.kernel.model.User user)
Caches the user in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(UserModelImpl userModelImpl) |
void |
clearCache()
Clears the cache for all users.
|
void |
clearCache(List<com.liferay.portal.kernel.model.User> users) |
void |
clearCache(com.liferay.portal.kernel.model.User user)
Clears the cache for the user.
|
void |
clearGroups(long pk)
Clears all associations between the user and its groups.
|
void |
clearOrganizations(long pk)
Clears all associations between the user and its organizations.
|
void |
clearRoles(long pk)
Clears all associations between the user and its roles.
|
void |
clearTeams(long pk)
Clears all associations between the user and its teams.
|
protected void |
clearUniqueFindersCache(UserModelImpl userModelImpl,
boolean clearCurrent) |
void |
clearUserGroups(long pk)
Clears all associations between the user and its user groups.
|
boolean |
containsGroup(long pk,
long groupPK)
Returns
true if the group is associated with the user. |
boolean |
containsGroups(long pk)
Returns
true if the user has any groups associated with it. |
boolean |
containsOrganization(long pk,
long organizationPK)
Returns
true if the organization is associated with the user. |
boolean |
containsOrganizations(long pk)
Returns
true if the user has any organizations associated with it. |
boolean |
containsRole(long pk,
long rolePK)
Returns
true if the role is associated with the user. |
boolean |
containsRoles(long pk)
Returns
true if the user has any roles associated with it. |
boolean |
containsTeam(long pk,
long teamPK)
Returns
true if the team is associated with the user. |
boolean |
containsTeams(long pk)
Returns
true if the user has any teams associated with it. |
boolean |
containsUserGroup(long pk,
long userGroupPK)
Returns
true if the user group is associated with the user. |
boolean |
containsUserGroups(long pk)
Returns
true if the user has any user groups associated with it. |
int |
countAll()
Returns the number of users.
|
int |
countByC_CD_MD(long companyId,
Date createDate,
Date modifiedDate)
Returns the number of users where companyId = ? and createDate = ? and modifiedDate = ?.
|
int |
countByC_CD(long companyId,
Date createDate)
Returns the number of users where companyId = ? and createDate = ?.
|
int |
countByC_DU_S(long companyId,
boolean defaultUser,
int status)
Returns the number of users where companyId = ? and defaultUser = ? and status = ?.
|
int |
countByC_DU(long companyId,
boolean defaultUser)
Returns the number of users where companyId = ? and defaultUser = ?.
|
int |
countByC_EA(long companyId,
String emailAddress)
Returns the number of users where companyId = ? and emailAddress = ?.
|
int |
countByC_ERC(long companyId,
String externalReferenceCode)
Returns the number of users where companyId = ? and externalReferenceCode = ?.
|
int |
countByC_FID(long companyId,
long facebookId)
Returns the number of users where companyId = ? and facebookId = ?.
|
int |
countByC_GUID(long companyId,
String googleUserId)
Returns the number of users where companyId = ? and googleUserId = ?.
|
int |
countByC_MD(long companyId,
Date modifiedDate)
Returns the number of users where companyId = ? and modifiedDate = ?.
|
int |
countByC_O(long companyId,
String openId)
Returns the number of users where companyId = ? and openId = ?.
|
int |
countByC_S(long companyId,
int status)
Returns the number of users where companyId = ? and status = ?.
|
int |
countByC_SN(long companyId,
String screenName)
Returns the number of users where companyId = ? and screenName = ?.
|
int |
countByC_U(long companyId,
long userId)
Returns the number of users where companyId = ? and userId = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of users where companyId = ?.
|
int |
countByContactId(long contactId)
Returns the number of users where contactId = ?.
|
int |
countByEmailAddress(String emailAddress)
Returns the number of users where emailAddress = ?.
|
int |
countByPortraitId(long portraitId)
Returns the number of users where portraitId = ?.
|
int |
countByU_C(long userId,
long companyId)
Returns the number of users where userId > ? and companyId = ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of users where uuid = ? and companyId = ?.
|
int |
countByUuid(String uuid)
Returns the number of users where uuid = ?.
|
com.liferay.portal.kernel.model.User |
create(long userId)
Creates a new user with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.User |
fetchByC_CD_First(long companyId,
Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where companyId = ? and createDate = ?.
|
com.liferay.portal.kernel.model.User |
fetchByC_CD_Last(long companyId,
Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where companyId = ? and createDate = ?.
|
com.liferay.portal.kernel.model.User |
fetchByC_CD_MD_First(long companyId,
Date createDate,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where companyId = ? and createDate = ? and modifiedDate = ?.
|
com.liferay.portal.kernel.model.User |
fetchByC_CD_MD_Last(long companyId,
Date createDate,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where companyId = ? and createDate = ? and modifiedDate = ?.
|
com.liferay.portal.kernel.model.User |
fetchByC_DU_S_First(long companyId,
boolean defaultUser,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where companyId = ? and defaultUser = ? and status = ?.
|
com.liferay.portal.kernel.model.User |
fetchByC_DU_S_Last(long companyId,
boolean defaultUser,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where companyId = ? and defaultUser = ? and status = ?.
|
com.liferay.portal.kernel.model.User |
fetchByC_DU(long companyId,
boolean defaultUser)
Returns the user where companyId = ? and defaultUser = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.User |
fetchByC_DU(long companyId,
boolean defaultUser,
boolean useFinderCache)
Returns the user where companyId = ? and defaultUser = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.User |
fetchByC_EA(long companyId,
String emailAddress)
Returns the user where companyId = ? and emailAddress = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.User |
fetchByC_EA(long companyId,
String emailAddress,
boolean useFinderCache)
Returns the user where companyId = ? and emailAddress = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.User |
fetchByC_ERC(long companyId,
String externalReferenceCode)
Returns the user where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.User |
fetchByC_ERC(long companyId,
String externalReferenceCode,
boolean useFinderCache)
Returns the user where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.User |
fetchByC_FID(long companyId,
long facebookId)
Returns the user where companyId = ? and facebookId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.User |
fetchByC_FID(long companyId,
long facebookId,
boolean useFinderCache)
Returns the user where companyId = ? and facebookId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.User |
fetchByC_GUID(long companyId,
String googleUserId)
Returns the user where companyId = ? and googleUserId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.User |
fetchByC_GUID(long companyId,
String googleUserId,
boolean useFinderCache)
Returns the user where companyId = ? and googleUserId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.User |
fetchByC_MD_First(long companyId,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where companyId = ? and modifiedDate = ?.
|
com.liferay.portal.kernel.model.User |
fetchByC_MD_Last(long companyId,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where companyId = ? and modifiedDate = ?.
|
com.liferay.portal.kernel.model.User |
fetchByC_O(long companyId,
String openId)
Returns the user where companyId = ? and openId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.User |
fetchByC_O(long companyId,
String openId,
boolean useFinderCache)
Returns the user where companyId = ? and openId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.User |
fetchByC_S_First(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where companyId = ? and status = ?.
|
com.liferay.portal.kernel.model.User |
fetchByC_S_Last(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where companyId = ? and status = ?.
|
com.liferay.portal.kernel.model.User |
fetchByC_SN(long companyId,
String screenName)
Returns the user where companyId = ? and screenName = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.User |
fetchByC_SN(long companyId,
String screenName,
boolean useFinderCache)
Returns the user where companyId = ? and screenName = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.User |
fetchByC_U(long companyId,
long userId)
Returns the user where companyId = ? and userId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.User |
fetchByC_U(long companyId,
long userId,
boolean useFinderCache)
Returns the user where companyId = ? and userId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.User |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.User |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.User |
fetchByContactId(long contactId)
Returns the user where contactId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.User |
fetchByContactId(long contactId,
boolean useFinderCache)
Returns the user where contactId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.User |
fetchByEmailAddress_First(String emailAddress,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where emailAddress = ?.
|
com.liferay.portal.kernel.model.User |
fetchByEmailAddress_Last(String emailAddress,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where emailAddress = ?.
|
com.liferay.portal.kernel.model.User |
fetchByPortraitId(long portraitId)
Returns the user where portraitId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.User |
fetchByPortraitId(long portraitId,
boolean useFinderCache)
Returns the user where portraitId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.User |
fetchByPrimaryKey(long userId)
Returns the user with the primary key or returns
null if it could not be found. |
com.liferay.portal.kernel.model.User |
fetchByU_C_First(long userId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where userId > ? and companyId = ?.
|
com.liferay.portal.kernel.model.User |
fetchByU_C_Last(long userId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where userId > ? and companyId = ?.
|
com.liferay.portal.kernel.model.User |
fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.User |
fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.User |
fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.User |
fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where uuid = ?.
|
List<com.liferay.portal.kernel.model.User> |
findAll()
Returns all the users.
|
List<com.liferay.portal.kernel.model.User> |
findAll(int start,
int end)
Returns a range of all the users.
|
List<com.liferay.portal.kernel.model.User> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns an ordered range of all the users.
|
List<com.liferay.portal.kernel.model.User> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the users.
|
com.liferay.portal.kernel.model.User |
findByC_CD_First(long companyId,
Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where companyId = ? and createDate = ?.
|
com.liferay.portal.kernel.model.User |
findByC_CD_Last(long companyId,
Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where companyId = ? and createDate = ?.
|
com.liferay.portal.kernel.model.User |
findByC_CD_MD_First(long companyId,
Date createDate,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where companyId = ? and createDate = ? and modifiedDate = ?.
|
com.liferay.portal.kernel.model.User |
findByC_CD_MD_Last(long companyId,
Date createDate,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where companyId = ? and createDate = ? and modifiedDate = ?.
|
com.liferay.portal.kernel.model.User[] |
findByC_CD_MD_PrevAndNext(long userId,
long companyId,
Date createDate,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the users before and after the current user in the ordered set where companyId = ? and createDate = ? and modifiedDate = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_CD_MD(long companyId,
Date createDate,
Date modifiedDate)
Returns all the users where companyId = ? and createDate = ? and modifiedDate = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_CD_MD(long companyId,
Date createDate,
Date modifiedDate,
int start,
int end)
Returns a range of all the users where companyId = ? and createDate = ? and modifiedDate = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_CD_MD(long companyId,
Date createDate,
Date modifiedDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns an ordered range of all the users where companyId = ? and createDate = ? and modifiedDate = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_CD_MD(long companyId,
Date createDate,
Date modifiedDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the users where companyId = ? and createDate = ? and modifiedDate = ?.
|
com.liferay.portal.kernel.model.User[] |
findByC_CD_PrevAndNext(long userId,
long companyId,
Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the users before and after the current user in the ordered set where companyId = ? and createDate = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_CD(long companyId,
Date createDate)
Returns all the users where companyId = ? and createDate = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_CD(long companyId,
Date createDate,
int start,
int end)
Returns a range of all the users where companyId = ? and createDate = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_CD(long companyId,
Date createDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns an ordered range of all the users where companyId = ? and createDate = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_CD(long companyId,
Date createDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the users where companyId = ? and createDate = ?.
|
com.liferay.portal.kernel.model.User |
findByC_DU_S_First(long companyId,
boolean defaultUser,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where companyId = ? and defaultUser = ? and status = ?.
|
com.liferay.portal.kernel.model.User |
findByC_DU_S_Last(long companyId,
boolean defaultUser,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where companyId = ? and defaultUser = ? and status = ?.
|
com.liferay.portal.kernel.model.User[] |
findByC_DU_S_PrevAndNext(long userId,
long companyId,
boolean defaultUser,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the users before and after the current user in the ordered set where companyId = ? and defaultUser = ? and status = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_DU_S(long companyId,
boolean defaultUser,
int status)
Returns all the users where companyId = ? and defaultUser = ? and status = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_DU_S(long companyId,
boolean defaultUser,
int status,
int start,
int end)
Returns a range of all the users where companyId = ? and defaultUser = ? and status = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_DU_S(long companyId,
boolean defaultUser,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns an ordered range of all the users where companyId = ? and defaultUser = ? and status = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_DU_S(long companyId,
boolean defaultUser,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the users where companyId = ? and defaultUser = ? and status = ?.
|
com.liferay.portal.kernel.model.User |
findByC_DU(long companyId,
boolean defaultUser)
Returns the user where companyId = ? and defaultUser = ? or throws a
NoSuchUserException if it could not be found. |
com.liferay.portal.kernel.model.User |
findByC_EA(long companyId,
String emailAddress)
Returns the user where companyId = ? and emailAddress = ? or throws a
NoSuchUserException if it could not be found. |
com.liferay.portal.kernel.model.User |
findByC_ERC(long companyId,
String externalReferenceCode)
Returns the user where companyId = ? and externalReferenceCode = ? or throws a
NoSuchUserException if it could not be found. |
com.liferay.portal.kernel.model.User |
findByC_FID(long companyId,
long facebookId)
Returns the user where companyId = ? and facebookId = ? or throws a
NoSuchUserException if it could not be found. |
com.liferay.portal.kernel.model.User |
findByC_GUID(long companyId,
String googleUserId)
Returns the user where companyId = ? and googleUserId = ? or throws a
NoSuchUserException if it could not be found. |
com.liferay.portal.kernel.model.User |
findByC_MD_First(long companyId,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where companyId = ? and modifiedDate = ?.
|
com.liferay.portal.kernel.model.User |
findByC_MD_Last(long companyId,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where companyId = ? and modifiedDate = ?.
|
com.liferay.portal.kernel.model.User[] |
findByC_MD_PrevAndNext(long userId,
long companyId,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the users before and after the current user in the ordered set where companyId = ? and modifiedDate = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_MD(long companyId,
Date modifiedDate)
Returns all the users where companyId = ? and modifiedDate = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_MD(long companyId,
Date modifiedDate,
int start,
int end)
Returns a range of all the users where companyId = ? and modifiedDate = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_MD(long companyId,
Date modifiedDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns an ordered range of all the users where companyId = ? and modifiedDate = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_MD(long companyId,
Date modifiedDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the users where companyId = ? and modifiedDate = ?.
|
com.liferay.portal.kernel.model.User |
findByC_O(long companyId,
String openId)
Returns the user where companyId = ? and openId = ? or throws a
NoSuchUserException if it could not be found. |
com.liferay.portal.kernel.model.User |
findByC_S_First(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where companyId = ? and status = ?.
|
com.liferay.portal.kernel.model.User |
findByC_S_Last(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where companyId = ? and status = ?.
|
com.liferay.portal.kernel.model.User[] |
findByC_S_PrevAndNext(long userId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the users before and after the current user in the ordered set where companyId = ? and status = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_S(long companyId,
int status)
Returns all the users where companyId = ? and status = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_S(long companyId,
int status,
int start,
int end)
Returns a range of all the users where companyId = ? and status = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_S(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns an ordered range of all the users where companyId = ? and status = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByC_S(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the users where companyId = ? and status = ?.
|
com.liferay.portal.kernel.model.User |
findByC_SN(long companyId,
String screenName)
Returns the user where companyId = ? and screenName = ? or throws a
NoSuchUserException if it could not be found. |
com.liferay.portal.kernel.model.User |
findByC_U(long companyId,
long userId)
Returns the user where companyId = ? and userId = ? or throws a
NoSuchUserException if it could not be found. |
com.liferay.portal.kernel.model.User |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.User |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.User[] |
findByCompanyId_PrevAndNext(long userId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the users before and after the current user in the ordered set where companyId = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByCompanyId(long companyId)
Returns all the users where companyId = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the users where companyId = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns an ordered range of all the users where companyId = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the users where companyId = ?.
|
com.liferay.portal.kernel.model.User |
findByContactId(long contactId)
Returns the user where contactId = ? or throws a
NoSuchUserException if it could not be found. |
com.liferay.portal.kernel.model.User |
findByEmailAddress_First(String emailAddress,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where emailAddress = ?.
|
com.liferay.portal.kernel.model.User |
findByEmailAddress_Last(String emailAddress,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where emailAddress = ?.
|
com.liferay.portal.kernel.model.User[] |
findByEmailAddress_PrevAndNext(long userId,
String emailAddress,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the users before and after the current user in the ordered set where emailAddress = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByEmailAddress(String emailAddress)
Returns all the users where emailAddress = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByEmailAddress(String emailAddress,
int start,
int end)
Returns a range of all the users where emailAddress = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByEmailAddress(String emailAddress,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns an ordered range of all the users where emailAddress = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByEmailAddress(String emailAddress,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the users where emailAddress = ?.
|
com.liferay.portal.kernel.model.User |
findByPortraitId(long portraitId)
Returns the user where portraitId = ? or throws a
NoSuchUserException if it could not be found. |
com.liferay.portal.kernel.model.User |
findByPrimaryKey(long userId)
Returns the user with the primary key or throws a
NoSuchUserException if it could not be found. |
com.liferay.portal.kernel.model.User |
findByPrimaryKey(Serializable primaryKey)
Returns the user with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
com.liferay.portal.kernel.model.User |
findByU_C_First(long userId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where userId > ? and companyId = ?.
|
com.liferay.portal.kernel.model.User |
findByU_C_Last(long userId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where userId > ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByU_C(long userId,
long companyId)
Returns all the users where userId > ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByU_C(long userId,
long companyId,
int start,
int end)
Returns a range of all the users where userId > ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByU_C(long userId,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns an ordered range of all the users where userId > ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByU_C(long userId,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the users where userId > ? and companyId = ?.
|
com.liferay.portal.kernel.model.User |
findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.User |
findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.User[] |
findByUuid_C_PrevAndNext(long userId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the users before and after the current user in the ordered set where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByUuid_C(String uuid,
long companyId)
Returns all the users where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the users where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns an ordered range of all the users where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the users where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.User |
findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the first user in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.User |
findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the last user in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.User[] |
findByUuid_PrevAndNext(long userId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns the users before and after the current user in the ordered set where uuid = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByUuid(String uuid)
Returns all the users where uuid = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the users where uuid = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
Returns an ordered range of all the users where uuid = ?.
|
List<com.liferay.portal.kernel.model.User> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the users where uuid = ?.
|
Set<String> |
getBadColumnNames() |
protected com.liferay.portal.kernel.model.User |
getByC_CD_MD_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
long companyId,
Date createDate,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.User |
getByC_CD_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
long companyId,
Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.User |
getByC_DU_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
long companyId,
boolean defaultUser,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.User |
getByC_MD_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
long companyId,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.User |
getByC_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.User |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.User |
getByEmailAddress_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
String emailAddress,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.User |
getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.User |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
long[] |
getGroupPrimaryKeys(long pk)
Returns the primaryKeys of groups associated with the user.
|
List<com.liferay.portal.kernel.model.Group> |
getGroups(long pk)
Returns all the groups associated with the user.
|
List<com.liferay.portal.kernel.model.Group> |
getGroups(long pk,
int start,
int end)
Returns a range of all the groups associated with the user.
|
List<com.liferay.portal.kernel.model.Group> |
getGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator)
Returns an ordered range of all the groups associated with the user.
|
int |
getGroupsSize(long pk)
Returns the number of groups associated with the user.
|
long[] |
getOrganizationPrimaryKeys(long pk)
Returns the primaryKeys of organizations associated with the user.
|
List<com.liferay.portal.kernel.model.Organization> |
getOrganizations(long pk)
Returns all the organizations associated with the user.
|
List<com.liferay.portal.kernel.model.Organization> |
getOrganizations(long pk,
int start,
int end)
Returns a range of all the organizations associated with the user.
|
List<com.liferay.portal.kernel.model.Organization> |
getOrganizations(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator)
Returns an ordered range of all the organizations associated with the user.
|
int |
getOrganizationsSize(long pk)
Returns the number of organizations associated with the user.
|
protected String |
getPKDBName() |
long[] |
getRolePrimaryKeys(long pk)
Returns the primaryKeys of roles associated with the user.
|
List<com.liferay.portal.kernel.model.Role> |
getRoles(long pk)
Returns all the roles associated with the user.
|
List<com.liferay.portal.kernel.model.Role> |
getRoles(long pk,
int start,
int end)
Returns a range of all the roles associated with the user.
|
List<com.liferay.portal.kernel.model.Role> |
getRoles(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator)
Returns an ordered range of all the roles associated with the user.
|
int |
getRolesSize(long pk)
Returns the number of roles associated with the user.
|
protected String |
getSelectSQL() |
protected Map<String,Integer> |
getTableColumnsMap() |
long[] |
getTeamPrimaryKeys(long pk)
Returns the primaryKeys of teams associated with the user.
|
List<com.liferay.portal.kernel.model.Team> |
getTeams(long pk)
Returns all the teams associated with the user.
|
List<com.liferay.portal.kernel.model.Team> |
getTeams(long pk,
int start,
int end)
Returns a range of all the teams associated with the user.
|
List<com.liferay.portal.kernel.model.Team> |
getTeams(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Returns an ordered range of all the teams associated with the user.
|
int |
getTeamsSize(long pk)
Returns the number of teams associated with the user.
|
long[] |
getUserGroupPrimaryKeys(long pk)
Returns the primaryKeys of user groups associated with the user.
|
List<com.liferay.portal.kernel.model.UserGroup> |
getUserGroups(long pk)
Returns all the user groups associated with the user.
|
List<com.liferay.portal.kernel.model.UserGroup> |
getUserGroups(long pk,
int start,
int end)
Returns a range of all the user groups associated with the user.
|
List<com.liferay.portal.kernel.model.UserGroup> |
getUserGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserGroup> orderByComparator)
Returns an ordered range of all the user groups associated with the user.
|
int |
getUserGroupsSize(long pk)
Returns the number of user groups associated with the user.
|
com.liferay.portal.kernel.model.User |
remove(long userId)
Removes the user with the primary key from the database.
|
com.liferay.portal.kernel.model.User |
remove(Serializable primaryKey)
Removes the user with the primary key from the database.
|
void |
removeAll()
Removes all the users from the database.
|
void |
removeByC_CD_MD(long companyId,
Date createDate,
Date modifiedDate)
Removes all the users where companyId = ? and createDate = ? and modifiedDate = ? from the database.
|
void |
removeByC_CD(long companyId,
Date createDate)
Removes all the users where companyId = ? and createDate = ? from the database.
|
void |
removeByC_DU_S(long companyId,
boolean defaultUser,
int status)
Removes all the users where companyId = ? and defaultUser = ? and status = ? from the database.
|
com.liferay.portal.kernel.model.User |
removeByC_DU(long companyId,
boolean defaultUser)
Removes the user where companyId = ? and defaultUser = ? from the database.
|
com.liferay.portal.kernel.model.User |
removeByC_EA(long companyId,
String emailAddress)
Removes the user where companyId = ? and emailAddress = ? from the database.
|
com.liferay.portal.kernel.model.User |
removeByC_ERC(long companyId,
String externalReferenceCode)
Removes the user where companyId = ? and externalReferenceCode = ? from the database.
|
com.liferay.portal.kernel.model.User |
removeByC_FID(long companyId,
long facebookId)
Removes the user where companyId = ? and facebookId = ? from the database.
|
com.liferay.portal.kernel.model.User |
removeByC_GUID(long companyId,
String googleUserId)
Removes the user where companyId = ? and googleUserId = ? from the database.
|
void |
removeByC_MD(long companyId,
Date modifiedDate)
Removes all the users where companyId = ? and modifiedDate = ? from the database.
|
com.liferay.portal.kernel.model.User |
removeByC_O(long companyId,
String openId)
Removes the user where companyId = ? and openId = ? from the database.
|
void |
removeByC_S(long companyId,
int status)
Removes all the users where companyId = ? and status = ? from the database.
|
com.liferay.portal.kernel.model.User |
removeByC_SN(long companyId,
String screenName)
Removes the user where companyId = ? and screenName = ? from the database.
|
com.liferay.portal.kernel.model.User |
removeByC_U(long companyId,
long userId)
Removes the user where companyId = ? and userId = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the users where companyId = ? from the database.
|
com.liferay.portal.kernel.model.User |
removeByContactId(long contactId)
Removes the user where contactId = ? from the database.
|
void |
removeByEmailAddress(String emailAddress)
Removes all the users where emailAddress = ? from the database.
|
com.liferay.portal.kernel.model.User |
removeByPortraitId(long portraitId)
Removes the user where portraitId = ? from the database.
|
void |
removeByU_C(long userId,
long companyId)
Removes all the users where userId > ? and companyId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the users where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the users where uuid = ? from the database.
|
void |
removeGroup(long pk,
com.liferay.portal.kernel.model.Group group)
Removes the association between the user and the group.
|
void |
removeGroup(long pk,
long groupPK)
Removes the association between the user and the group.
|
void |
removeGroups(long pk,
List<com.liferay.portal.kernel.model.Group> groups)
Removes the association between the user and the groups.
|
void |
removeGroups(long pk,
long[] groupPKs)
Removes the association between the user and the groups.
|
protected com.liferay.portal.kernel.model.User |
removeImpl(com.liferay.portal.kernel.model.User user) |
void |
removeOrganization(long pk,
long organizationPK)
Removes the association between the user and the organization.
|
void |
removeOrganization(long pk,
com.liferay.portal.kernel.model.Organization organization)
Removes the association between the user and the organization.
|
void |
removeOrganizations(long pk,
List<com.liferay.portal.kernel.model.Organization> organizations)
Removes the association between the user and the organizations.
|
void |
removeOrganizations(long pk,
long[] organizationPKs)
Removes the association between the user and the organizations.
|
void |
removeRole(long pk,
long rolePK)
Removes the association between the user and the role.
|
void |
removeRole(long pk,
com.liferay.portal.kernel.model.Role role)
Removes the association between the user and the role.
|
void |
removeRoles(long pk,
List<com.liferay.portal.kernel.model.Role> roles)
Removes the association between the user and the roles.
|
void |
removeRoles(long pk,
long[] rolePKs)
Removes the association between the user and the roles.
|
void |
removeTeam(long pk,
long teamPK)
Removes the association between the user and the team.
|
void |
removeTeam(long pk,
com.liferay.portal.kernel.model.Team team)
Removes the association between the user and the team.
|
void |
removeTeams(long pk,
List<com.liferay.portal.kernel.model.Team> teams)
Removes the association between the user and the teams.
|
void |
removeTeams(long pk,
long[] teamPKs)
Removes the association between the user and the teams.
|
void |
removeUserGroup(long pk,
long userGroupPK)
Removes the association between the user and the user group.
|
void |
removeUserGroup(long pk,
com.liferay.portal.kernel.model.UserGroup userGroup)
Removes the association between the user and the user group.
|
void |
removeUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
Removes the association between the user and the user groups.
|
void |
removeUserGroups(long pk,
long[] userGroupPKs)
Removes the association between the user and the user groups.
|
void |
setGroups(long pk,
List<com.liferay.portal.kernel.model.Group> groups)
Sets the groups associated with the user, removing and adding associations as necessary.
|
void |
setGroups(long pk,
long[] groupPKs)
Sets the groups associated with the user, removing and adding associations as necessary.
|
void |
setOrganizations(long pk,
List<com.liferay.portal.kernel.model.Organization> organizations)
Sets the organizations associated with the user, removing and adding associations as necessary.
|
void |
setOrganizations(long pk,
long[] organizationPKs)
Sets the organizations associated with the user, removing and adding associations as necessary.
|
void |
setRoles(long pk,
List<com.liferay.portal.kernel.model.Role> roles)
Sets the roles associated with the user, removing and adding associations as necessary.
|
void |
setRoles(long pk,
long[] rolePKs)
Sets the roles associated with the user, removing and adding associations as necessary.
|
void |
setTeams(long pk,
List<com.liferay.portal.kernel.model.Team> teams)
Sets the teams associated with the user, removing and adding associations as necessary.
|
void |
setTeams(long pk,
long[] teamPKs)
Sets the teams associated with the user, removing and adding associations as necessary.
|
void |
setUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
Sets the user groups associated with the user, removing and adding associations as necessary.
|
void |
setUserGroups(long pk,
long[] userGroupPKs)
Sets the user groups associated with the user, removing and adding associations as necessary.
|
com.liferay.portal.kernel.model.User |
updateImpl(com.liferay.portal.kernel.model.User user) |
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final String FINDER_CLASS_NAME_ENTITY
UserUtil to access the user persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
@BeanReference(type=com.liferay.portal.kernel.service.persistence.GroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.User,com.liferay.portal.kernel.model.Group> userToGroupTableMapper
@BeanReference(type=com.liferay.portal.kernel.service.persistence.OrganizationPersistence.class) protected com.liferay.portal.kernel.service.persistence.OrganizationPersistence organizationPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.User,com.liferay.portal.kernel.model.Organization> userToOrganizationTableMapper
@BeanReference(type=com.liferay.portal.kernel.service.persistence.RolePersistence.class) protected com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.User,com.liferay.portal.kernel.model.Role> userToRoleTableMapper
@BeanReference(type=com.liferay.portal.kernel.service.persistence.TeamPersistence.class) protected com.liferay.portal.kernel.service.persistence.TeamPersistence teamPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.User,com.liferay.portal.kernel.model.Team> userToTeamTableMapper
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence userGroupPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.User,com.liferay.portal.kernel.model.UserGroup> userToUserGroupTableMapper
public List<com.liferay.portal.kernel.model.User> findByUuid(String uuid)
findByUuid in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidpublic List<com.liferay.portal.kernel.model.User> 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, then the query will include the default ORDER BY logic from UserModelImpl.
findByUuid in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.User> findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
findByUuid in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.User> findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByUuid in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.User findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByUuid_First in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByUuid_First in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByUuid_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByUuid_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User[] findByUuid_PrevAndNext(long userId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByUuid_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the primary key of the current useruuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a user with the primary key could not be foundprotected com.liferay.portal.kernel.model.User getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidpublic List<com.liferay.portal.kernel.model.User> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidcompanyId - the company IDpublic List<com.liferay.portal.kernel.model.User> 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, then the query will include the default ORDER BY logic from UserModelImpl.
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.User> findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.User> findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.User findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User[] findByUuid_C_PrevAndNext(long userId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByUuid_C_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the primary key of the current useruuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a user with the primary key could not be foundprotected com.liferay.portal.kernel.model.User getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidcompanyId - the company IDpublic int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuuid - the uuidcompanyId - the company IDpublic List<com.liferay.portal.kernel.model.User> findByCompanyId(long companyId)
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDpublic List<com.liferay.portal.kernel.model.User> 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, then the query will include the default ORDER BY logic from UserModelImpl.
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.User> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.User> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.User findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByCompanyId_First in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByCompanyId_First in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByCompanyId_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByCompanyId_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User[] findByCompanyId_PrevAndNext(long userId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByCompanyId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the primary key of the current usercompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a user with the primary key could not be foundprotected com.liferay.portal.kernel.model.User getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDpublic com.liferay.portal.kernel.model.User findByContactId(long contactId)
throws com.liferay.portal.kernel.exception.NoSuchUserException
NoSuchUserException if it could not be found.findByContactId in interface com.liferay.portal.kernel.service.persistence.UserPersistencecontactId - the contact IDcom.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByContactId(long contactId)
null if it could not be found. Uses the finder cache.fetchByContactId in interface com.liferay.portal.kernel.service.persistence.UserPersistencecontactId - the contact IDnull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByContactId(long contactId,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByContactId in interface com.liferay.portal.kernel.service.persistence.UserPersistencecontactId - the contact IDuseFinderCache - whether to use the finder cachenull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User removeByContactId(long contactId)
throws com.liferay.portal.kernel.exception.NoSuchUserException
removeByContactId in interface com.liferay.portal.kernel.service.persistence.UserPersistencecontactId - the contact IDcom.liferay.portal.kernel.exception.NoSuchUserExceptionpublic int countByContactId(long contactId)
countByContactId in interface com.liferay.portal.kernel.service.persistence.UserPersistencecontactId - the contact IDpublic List<com.liferay.portal.kernel.model.User> findByEmailAddress(String emailAddress)
findByEmailAddress in interface com.liferay.portal.kernel.service.persistence.UserPersistenceemailAddress - the email addresspublic List<com.liferay.portal.kernel.model.User> findByEmailAddress(String emailAddress,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByEmailAddress in interface com.liferay.portal.kernel.service.persistence.UserPersistenceemailAddress - the email addressstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.User> findByEmailAddress(String emailAddress,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
findByEmailAddress in interface com.liferay.portal.kernel.service.persistence.UserPersistenceemailAddress - the email addressstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.User> findByEmailAddress(String emailAddress,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByEmailAddress in interface com.liferay.portal.kernel.service.persistence.UserPersistenceemailAddress - the email addressstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.User findByEmailAddress_First(String emailAddress,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByEmailAddress_First in interface com.liferay.portal.kernel.service.persistence.UserPersistenceemailAddress - the email addressorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByEmailAddress_First(String emailAddress,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByEmailAddress_First in interface com.liferay.portal.kernel.service.persistence.UserPersistenceemailAddress - the email addressorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User findByEmailAddress_Last(String emailAddress,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByEmailAddress_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistenceemailAddress - the email addressorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByEmailAddress_Last(String emailAddress,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByEmailAddress_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistenceemailAddress - the email addressorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User[] findByEmailAddress_PrevAndNext(long userId,
String emailAddress,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByEmailAddress_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the primary key of the current useremailAddress - the email addressorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a user with the primary key could not be foundprotected com.liferay.portal.kernel.model.User getByEmailAddress_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
String emailAddress,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous)
public void removeByEmailAddress(String emailAddress)
removeByEmailAddress in interface com.liferay.portal.kernel.service.persistence.UserPersistenceemailAddress - the email addresspublic int countByEmailAddress(String emailAddress)
countByEmailAddress in interface com.liferay.portal.kernel.service.persistence.UserPersistenceemailAddress - the email addresspublic com.liferay.portal.kernel.model.User findByPortraitId(long portraitId)
throws com.liferay.portal.kernel.exception.NoSuchUserException
NoSuchUserException if it could not be found.findByPortraitId in interface com.liferay.portal.kernel.service.persistence.UserPersistenceportraitId - the portrait IDcom.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByPortraitId(long portraitId)
null if it could not be found. Uses the finder cache.fetchByPortraitId in interface com.liferay.portal.kernel.service.persistence.UserPersistenceportraitId - the portrait IDnull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByPortraitId(long portraitId,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByPortraitId in interface com.liferay.portal.kernel.service.persistence.UserPersistenceportraitId - the portrait IDuseFinderCache - whether to use the finder cachenull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User removeByPortraitId(long portraitId)
throws com.liferay.portal.kernel.exception.NoSuchUserException
removeByPortraitId in interface com.liferay.portal.kernel.service.persistence.UserPersistenceportraitId - the portrait IDcom.liferay.portal.kernel.exception.NoSuchUserExceptionpublic int countByPortraitId(long portraitId)
countByPortraitId in interface com.liferay.portal.kernel.service.persistence.UserPersistenceportraitId - the portrait IDpublic List<com.liferay.portal.kernel.model.User> findByU_C(long userId,
long companyId)
findByU_C in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the user IDcompanyId - the company IDpublic List<com.liferay.portal.kernel.model.User> findByU_C(long userId,
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, then the query will include the default ORDER BY logic from UserModelImpl.
findByU_C in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the user IDcompanyId - the company IDstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.User> findByU_C(long userId,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
findByU_C in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the user IDcompanyId - the company IDstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.User> findByU_C(long userId,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByU_C in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the user IDcompanyId - the company IDstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.User findByU_C_First(long userId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByU_C_First in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the user IDcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByU_C_First(long userId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByU_C_First in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the user IDcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User findByU_C_Last(long userId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByU_C_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the user IDcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByU_C_Last(long userId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByU_C_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the user IDcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic void removeByU_C(long userId,
long companyId)
removeByU_C in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the user IDcompanyId - the company IDpublic int countByU_C(long userId,
long companyId)
countByU_C in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the user IDcompanyId - the company IDpublic com.liferay.portal.kernel.model.User findByC_U(long companyId,
long userId)
throws com.liferay.portal.kernel.exception.NoSuchUserException
NoSuchUserException if it could not be found.findByC_U in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDuserId - the user IDcom.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_U(long companyId,
long userId)
null if it could not be found. Uses the finder cache.fetchByC_U in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDuserId - the user IDnull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_U(long companyId,
long userId,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_U in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDuserId - the user IDuseFinderCache - whether to use the finder cachenull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User removeByC_U(long companyId,
long userId)
throws com.liferay.portal.kernel.exception.NoSuchUserException
removeByC_U in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDuserId - the user IDcom.liferay.portal.kernel.exception.NoSuchUserExceptionpublic int countByC_U(long companyId,
long userId)
countByC_U in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDuserId - the user IDpublic List<com.liferay.portal.kernel.model.User> findByC_CD(long companyId,
Date createDate)
findByC_CD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datepublic List<com.liferay.portal.kernel.model.User> findByC_CD(long companyId,
Date createDate,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByC_CD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datestart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.User> findByC_CD(long companyId,
Date createDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
findByC_CD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datestart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.User> findByC_CD(long companyId,
Date createDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByC_CD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datestart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.User findByC_CD_First(long companyId,
Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByC_CD_First in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_CD_First(long companyId,
Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByC_CD_First in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create dateorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User findByC_CD_Last(long companyId,
Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByC_CD_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_CD_Last(long companyId,
Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByC_CD_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create dateorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User[] findByC_CD_PrevAndNext(long userId,
long companyId,
Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByC_CD_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the primary key of the current usercompanyId - the company IDcreateDate - the create dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a user with the primary key could not be foundprotected com.liferay.portal.kernel.model.User getByC_CD_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
long companyId,
Date createDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous)
public void removeByC_CD(long companyId,
Date createDate)
removeByC_CD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datepublic int countByC_CD(long companyId,
Date createDate)
countByC_CD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datepublic List<com.liferay.portal.kernel.model.User> findByC_MD(long companyId,
Date modifiedDate)
findByC_MD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDmodifiedDate - the modified datepublic List<com.liferay.portal.kernel.model.User> findByC_MD(long companyId,
Date modifiedDate,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByC_MD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDmodifiedDate - the modified datestart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.User> findByC_MD(long companyId,
Date modifiedDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
findByC_MD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDmodifiedDate - the modified datestart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.User> findByC_MD(long companyId,
Date modifiedDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByC_MD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDmodifiedDate - the modified datestart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.User findByC_MD_First(long companyId,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByC_MD_First in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDmodifiedDate - the modified dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_MD_First(long companyId,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByC_MD_First in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDmodifiedDate - the modified dateorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User findByC_MD_Last(long companyId,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByC_MD_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDmodifiedDate - the modified dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_MD_Last(long companyId,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByC_MD_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDmodifiedDate - the modified dateorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User[] findByC_MD_PrevAndNext(long userId,
long companyId,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByC_MD_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the primary key of the current usercompanyId - the company IDmodifiedDate - the modified dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a user with the primary key could not be foundprotected com.liferay.portal.kernel.model.User getByC_MD_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
long companyId,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous)
public void removeByC_MD(long companyId,
Date modifiedDate)
removeByC_MD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDmodifiedDate - the modified datepublic int countByC_MD(long companyId,
Date modifiedDate)
countByC_MD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDmodifiedDate - the modified datepublic com.liferay.portal.kernel.model.User findByC_DU(long companyId,
boolean defaultUser)
throws com.liferay.portal.kernel.exception.NoSuchUserException
NoSuchUserException if it could not be found.findByC_DU in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDdefaultUser - the default usercom.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_DU(long companyId,
boolean defaultUser)
null if it could not be found. Uses the finder cache.fetchByC_DU in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDdefaultUser - the default usernull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_DU(long companyId,
boolean defaultUser,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_DU in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDdefaultUser - the default useruseFinderCache - whether to use the finder cachenull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User removeByC_DU(long companyId,
boolean defaultUser)
throws com.liferay.portal.kernel.exception.NoSuchUserException
removeByC_DU in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDdefaultUser - the default usercom.liferay.portal.kernel.exception.NoSuchUserExceptionpublic int countByC_DU(long companyId,
boolean defaultUser)
countByC_DU in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDdefaultUser - the default userpublic com.liferay.portal.kernel.model.User findByC_SN(long companyId,
String screenName)
throws com.liferay.portal.kernel.exception.NoSuchUserException
NoSuchUserException if it could not be found.findByC_SN in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDscreenName - the screen namecom.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_SN(long companyId,
String screenName)
null if it could not be found. Uses the finder cache.fetchByC_SN in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDscreenName - the screen namenull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_SN(long companyId,
String screenName,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_SN in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDscreenName - the screen nameuseFinderCache - whether to use the finder cachenull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User removeByC_SN(long companyId,
String screenName)
throws com.liferay.portal.kernel.exception.NoSuchUserException
removeByC_SN in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDscreenName - the screen namecom.liferay.portal.kernel.exception.NoSuchUserExceptionpublic int countByC_SN(long companyId,
String screenName)
countByC_SN in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDscreenName - the screen namepublic com.liferay.portal.kernel.model.User findByC_EA(long companyId,
String emailAddress)
throws com.liferay.portal.kernel.exception.NoSuchUserException
NoSuchUserException if it could not be found.findByC_EA in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDemailAddress - the email addresscom.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_EA(long companyId,
String emailAddress)
null if it could not be found. Uses the finder cache.fetchByC_EA in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDemailAddress - the email addressnull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_EA(long companyId,
String emailAddress,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_EA in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDemailAddress - the email addressuseFinderCache - whether to use the finder cachenull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User removeByC_EA(long companyId,
String emailAddress)
throws com.liferay.portal.kernel.exception.NoSuchUserException
removeByC_EA in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDemailAddress - the email addresscom.liferay.portal.kernel.exception.NoSuchUserExceptionpublic int countByC_EA(long companyId,
String emailAddress)
countByC_EA in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDemailAddress - the email addresspublic com.liferay.portal.kernel.model.User findByC_FID(long companyId,
long facebookId)
throws com.liferay.portal.kernel.exception.NoSuchUserException
NoSuchUserException if it could not be found.findByC_FID in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDfacebookId - the facebook IDcom.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_FID(long companyId,
long facebookId)
null if it could not be found. Uses the finder cache.fetchByC_FID in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDfacebookId - the facebook IDnull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_FID(long companyId,
long facebookId,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_FID in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDfacebookId - the facebook IDuseFinderCache - whether to use the finder cachenull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User removeByC_FID(long companyId,
long facebookId)
throws com.liferay.portal.kernel.exception.NoSuchUserException
removeByC_FID in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDfacebookId - the facebook IDcom.liferay.portal.kernel.exception.NoSuchUserExceptionpublic int countByC_FID(long companyId,
long facebookId)
countByC_FID in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDfacebookId - the facebook IDpublic com.liferay.portal.kernel.model.User findByC_GUID(long companyId,
String googleUserId)
throws com.liferay.portal.kernel.exception.NoSuchUserException
NoSuchUserException if it could not be found.findByC_GUID in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDgoogleUserId - the google user IDcom.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_GUID(long companyId,
String googleUserId)
null if it could not be found. Uses the finder cache.fetchByC_GUID in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDgoogleUserId - the google user IDnull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_GUID(long companyId,
String googleUserId,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_GUID in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDgoogleUserId - the google user IDuseFinderCache - whether to use the finder cachenull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User removeByC_GUID(long companyId,
String googleUserId)
throws com.liferay.portal.kernel.exception.NoSuchUserException
removeByC_GUID in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDgoogleUserId - the google user IDcom.liferay.portal.kernel.exception.NoSuchUserExceptionpublic int countByC_GUID(long companyId,
String googleUserId)
countByC_GUID in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDgoogleUserId - the google user IDpublic com.liferay.portal.kernel.model.User findByC_O(long companyId,
String openId)
throws com.liferay.portal.kernel.exception.NoSuchUserException
NoSuchUserException if it could not be found.findByC_O in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDopenId - the open IDcom.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_O(long companyId,
String openId)
null if it could not be found. Uses the finder cache.fetchByC_O in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDopenId - the open IDnull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_O(long companyId,
String openId,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_O in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDopenId - the open IDuseFinderCache - whether to use the finder cachenull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User removeByC_O(long companyId,
String openId)
throws com.liferay.portal.kernel.exception.NoSuchUserException
removeByC_O in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDopenId - the open IDcom.liferay.portal.kernel.exception.NoSuchUserExceptionpublic int countByC_O(long companyId,
String openId)
countByC_O in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDopenId - the open IDpublic List<com.liferay.portal.kernel.model.User> findByC_S(long companyId,
int status)
findByC_S in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDstatus - the statuspublic List<com.liferay.portal.kernel.model.User> findByC_S(long companyId,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByC_S in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDstatus - the statusstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.User> findByC_S(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
findByC_S in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDstatus - the statusstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.User> findByC_S(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByC_S in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDstatus - the statusstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.User findByC_S_First(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByC_S_First in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_S_First(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByC_S_First in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User findByC_S_Last(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByC_S_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_S_Last(long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByC_S_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User[] findByC_S_PrevAndNext(long userId,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByC_S_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the primary key of the current usercompanyId - the company IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a user with the primary key could not be foundprotected com.liferay.portal.kernel.model.User getByC_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
long companyId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous)
public void removeByC_S(long companyId,
int status)
removeByC_S in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDstatus - the statuspublic int countByC_S(long companyId,
int status)
countByC_S in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDstatus - the statuspublic List<com.liferay.portal.kernel.model.User> findByC_CD_MD(long companyId,
Date createDate,
Date modifiedDate)
findByC_CD_MD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datemodifiedDate - the modified datepublic List<com.liferay.portal.kernel.model.User> findByC_CD_MD(long companyId,
Date createDate,
Date modifiedDate,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByC_CD_MD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datemodifiedDate - the modified datestart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.User> findByC_CD_MD(long companyId,
Date createDate,
Date modifiedDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
findByC_CD_MD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datemodifiedDate - the modified datestart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.User> findByC_CD_MD(long companyId,
Date createDate,
Date modifiedDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByC_CD_MD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datemodifiedDate - the modified datestart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.User findByC_CD_MD_First(long companyId,
Date createDate,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByC_CD_MD_First in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datemodifiedDate - the modified dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_CD_MD_First(long companyId,
Date createDate,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByC_CD_MD_First in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datemodifiedDate - the modified dateorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User findByC_CD_MD_Last(long companyId,
Date createDate,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByC_CD_MD_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datemodifiedDate - the modified dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_CD_MD_Last(long companyId,
Date createDate,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByC_CD_MD_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datemodifiedDate - the modified dateorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User[] findByC_CD_MD_PrevAndNext(long userId,
long companyId,
Date createDate,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByC_CD_MD_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the primary key of the current usercompanyId - the company IDcreateDate - the create datemodifiedDate - the modified dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a user with the primary key could not be foundprotected com.liferay.portal.kernel.model.User getByC_CD_MD_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
long companyId,
Date createDate,
Date modifiedDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous)
public void removeByC_CD_MD(long companyId,
Date createDate,
Date modifiedDate)
removeByC_CD_MD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datemodifiedDate - the modified datepublic int countByC_CD_MD(long companyId,
Date createDate,
Date modifiedDate)
countByC_CD_MD in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDcreateDate - the create datemodifiedDate - the modified datepublic List<com.liferay.portal.kernel.model.User> findByC_DU_S(long companyId,
boolean defaultUser,
int status)
findByC_DU_S in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDdefaultUser - the default userstatus - the statuspublic List<com.liferay.portal.kernel.model.User> findByC_DU_S(long companyId,
boolean defaultUser,
int status,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByC_DU_S in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDdefaultUser - the default userstatus - the statusstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.User> findByC_DU_S(long companyId,
boolean defaultUser,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
findByC_DU_S in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDdefaultUser - the default userstatus - the statusstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.User> findByC_DU_S(long companyId,
boolean defaultUser,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findByC_DU_S in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDdefaultUser - the default userstatus - the statusstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.User findByC_DU_S_First(long companyId,
boolean defaultUser,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByC_DU_S_First in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDdefaultUser - the default userstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_DU_S_First(long companyId,
boolean defaultUser,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByC_DU_S_First in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDdefaultUser - the default userstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User findByC_DU_S_Last(long companyId,
boolean defaultUser,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByC_DU_S_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDdefaultUser - the default userstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_DU_S_Last(long companyId,
boolean defaultUser,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
fetchByC_DU_S_Last in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDdefaultUser - the default userstatus - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching user could not be foundpublic com.liferay.portal.kernel.model.User[] findByC_DU_S_PrevAndNext(long userId,
long companyId,
boolean defaultUser,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchUserException
findByC_DU_S_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the primary key of the current usercompanyId - the company IDdefaultUser - the default userstatus - the statusorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchUserException - if a user with the primary key could not be foundprotected com.liferay.portal.kernel.model.User getByC_DU_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.User user,
long companyId,
boolean defaultUser,
int status,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean previous)
public void removeByC_DU_S(long companyId,
boolean defaultUser,
int status)
removeByC_DU_S in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDdefaultUser - the default userstatus - the statuspublic int countByC_DU_S(long companyId,
boolean defaultUser,
int status)
countByC_DU_S in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDdefaultUser - the default userstatus - the statuspublic com.liferay.portal.kernel.model.User findByC_ERC(long companyId,
String externalReferenceCode)
throws com.liferay.portal.kernel.exception.NoSuchUserException
NoSuchUserException if it could not be found.findByC_ERC in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDexternalReferenceCode - the external reference codecom.liferay.portal.kernel.exception.NoSuchUserException - if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_ERC(long companyId,
String externalReferenceCode)
null if it could not be found. Uses the finder cache.fetchByC_ERC in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDexternalReferenceCode - the external reference codenull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User fetchByC_ERC(long companyId,
String externalReferenceCode,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_ERC in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDexternalReferenceCode - the external reference codeuseFinderCache - whether to use the finder cachenull if a matching user could not be foundpublic com.liferay.portal.kernel.model.User removeByC_ERC(long companyId,
String externalReferenceCode)
throws com.liferay.portal.kernel.exception.NoSuchUserException
removeByC_ERC in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDexternalReferenceCode - the external reference codecom.liferay.portal.kernel.exception.NoSuchUserExceptionpublic int countByC_ERC(long companyId,
String externalReferenceCode)
countByC_ERC in interface com.liferay.portal.kernel.service.persistence.UserPersistencecompanyId - the company IDexternalReferenceCode - the external reference codepublic void cacheResult(com.liferay.portal.kernel.model.User user)
cacheResult in interface com.liferay.portal.kernel.service.persistence.UserPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.User>user - the userpublic void cacheResult(List<com.liferay.portal.kernel.model.User> users)
cacheResult in interface com.liferay.portal.kernel.service.persistence.UserPersistenceusers - the userspublic void clearCache()
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.User>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.User>public void clearCache(com.liferay.portal.kernel.model.User user)
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.User>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.User>public void clearCache(List<com.liferay.portal.kernel.model.User> users)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.User>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.User>protected void cacheUniqueFindersCache(UserModelImpl userModelImpl)
protected void clearUniqueFindersCache(UserModelImpl userModelImpl, boolean clearCurrent)
public com.liferay.portal.kernel.model.User create(long userId)
create in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the primary key for the new userpublic com.liferay.portal.kernel.model.User remove(long userId)
throws com.liferay.portal.kernel.exception.NoSuchUserException
remove in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the primary key of the usercom.liferay.portal.kernel.exception.NoSuchUserException - if a user with the primary key could not be foundpublic com.liferay.portal.kernel.model.User remove(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchUserException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.User>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.User>primaryKey - the primary key of the usercom.liferay.portal.kernel.exception.NoSuchUserException - if a user with the primary key could not be foundprotected com.liferay.portal.kernel.model.User removeImpl(com.liferay.portal.kernel.model.User user)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.User>public com.liferay.portal.kernel.model.User updateImpl(com.liferay.portal.kernel.model.User user)
updateImpl in interface com.liferay.portal.kernel.service.persistence.UserPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.User>public com.liferay.portal.kernel.model.User findByPrimaryKey(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchUserException
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.User>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.User>primaryKey - the primary key of the usercom.liferay.portal.kernel.exception.NoSuchUserException - if a user with the primary key could not be foundpublic com.liferay.portal.kernel.model.User findByPrimaryKey(long userId)
throws com.liferay.portal.kernel.exception.NoSuchUserException
NoSuchUserException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the primary key of the usercom.liferay.portal.kernel.exception.NoSuchUserException - if a user with the primary key could not be foundpublic com.liferay.portal.kernel.model.User fetchByPrimaryKey(long userId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.UserPersistenceuserId - the primary key of the usernull if a user with the primary key could not be foundpublic List<com.liferay.portal.kernel.model.User> findAll()
findAll in interface com.liferay.portal.kernel.service.persistence.UserPersistencepublic List<com.liferay.portal.kernel.model.User> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.UserPersistencestart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.User> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.UserPersistencestart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.User> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator,
boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.UserPersistencestart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic void removeAll()
removeAll in interface com.liferay.portal.kernel.service.persistence.UserPersistencepublic int countAll()
countAll in interface com.liferay.portal.kernel.service.persistence.UserPersistencepublic long[] getGroupPrimaryKeys(long pk)
getGroupPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userpublic List<com.liferay.portal.kernel.model.Group> getGroups(long pk)
getGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userpublic List<com.liferay.portal.kernel.model.Group> getGroups(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, then the query will include the default ORDER BY logic from UserModelImpl.
getGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.Group> getGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
getGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getGroupsSize(long pk)
getGroupsSize in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userpublic boolean containsGroup(long pk,
long groupPK)
true if the group is associated with the user.containsGroup in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the usergroupPK - the primary key of the grouptrue if the group is associated with the user; false otherwisepublic boolean containsGroups(long pk)
true if the user has any groups associated with it.containsGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the user to check for associations with groupstrue if the user has any groups associated with it; false otherwisepublic void addGroup(long pk,
long groupPK)
addGroup in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the usergroupPK - the primary key of the grouppublic void addGroup(long pk,
com.liferay.portal.kernel.model.Group group)
addGroup in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the usergroup - the grouppublic void addGroups(long pk,
long[] groupPKs)
addGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the usergroupPKs - the primary keys of the groupspublic void addGroups(long pk,
List<com.liferay.portal.kernel.model.Group> groups)
addGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the usergroups - the groupspublic void clearGroups(long pk)
clearGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the user to clear the associated groups frompublic void removeGroup(long pk,
long groupPK)
removeGroup in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the usergroupPK - the primary key of the grouppublic void removeGroup(long pk,
com.liferay.portal.kernel.model.Group group)
removeGroup in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the usergroup - the grouppublic void removeGroups(long pk,
long[] groupPKs)
removeGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the usergroupPKs - the primary keys of the groupspublic void removeGroups(long pk,
List<com.liferay.portal.kernel.model.Group> groups)
removeGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the usergroups - the groupspublic void setGroups(long pk,
long[] groupPKs)
setGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the usergroupPKs - the primary keys of the groups to be associated with the userpublic void setGroups(long pk,
List<com.liferay.portal.kernel.model.Group> groups)
setGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the usergroups - the groups to be associated with the userpublic long[] getOrganizationPrimaryKeys(long pk)
getOrganizationPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userpublic List<com.liferay.portal.kernel.model.Organization> getOrganizations(long pk)
getOrganizations in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userpublic List<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
getOrganizations in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.Organization> getOrganizations(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
getOrganizations in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getOrganizationsSize(long pk)
getOrganizationsSize in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userpublic boolean containsOrganization(long pk,
long organizationPK)
true if the organization is associated with the user.containsOrganization in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userorganizationPK - the primary key of the organizationtrue if the organization is associated with the user; false otherwisepublic boolean containsOrganizations(long pk)
true if the user has any organizations associated with it.containsOrganizations in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the user to check for associations with organizationstrue if the user has any organizations associated with it; false otherwisepublic void addOrganization(long pk,
long organizationPK)
addOrganization in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userorganizationPK - the primary key of the organizationpublic void addOrganization(long pk,
com.liferay.portal.kernel.model.Organization organization)
addOrganization in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userorganization - the organizationpublic void addOrganizations(long pk,
long[] organizationPKs)
addOrganizations in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userorganizationPKs - the primary keys of the organizationspublic void addOrganizations(long pk,
List<com.liferay.portal.kernel.model.Organization> organizations)
addOrganizations in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userorganizations - the organizationspublic void clearOrganizations(long pk)
clearOrganizations in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the user to clear the associated organizations frompublic void removeOrganization(long pk,
long organizationPK)
removeOrganization in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userorganizationPK - the primary key of the organizationpublic void removeOrganization(long pk,
com.liferay.portal.kernel.model.Organization organization)
removeOrganization in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userorganization - the organizationpublic void removeOrganizations(long pk,
long[] organizationPKs)
removeOrganizations in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userorganizationPKs - the primary keys of the organizationspublic void removeOrganizations(long pk,
List<com.liferay.portal.kernel.model.Organization> organizations)
removeOrganizations in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userorganizations - the organizationspublic void setOrganizations(long pk,
long[] organizationPKs)
setOrganizations in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userorganizationPKs - the primary keys of the organizations to be associated with the userpublic void setOrganizations(long pk,
List<com.liferay.portal.kernel.model.Organization> organizations)
setOrganizations in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userorganizations - the organizations to be associated with the userpublic long[] getRolePrimaryKeys(long pk)
getRolePrimaryKeys in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userpublic List<com.liferay.portal.kernel.model.Role> getRoles(long pk)
getRoles in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userpublic List<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
getRoles in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.Role> getRoles(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
getRoles in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getRolesSize(long pk)
getRolesSize in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userpublic boolean containsRole(long pk,
long rolePK)
true if the role is associated with the user.containsRole in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userrolePK - the primary key of the roletrue if the role is associated with the user; false otherwisepublic boolean containsRoles(long pk)
true if the user has any roles associated with it.containsRoles in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the user to check for associations with rolestrue if the user has any roles associated with it; false otherwisepublic void addRole(long pk,
long rolePK)
addRole in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userrolePK - the primary key of the rolepublic void addRole(long pk,
com.liferay.portal.kernel.model.Role role)
addRole in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userrole - the rolepublic void addRoles(long pk,
long[] rolePKs)
addRoles in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userrolePKs - the primary keys of the rolespublic void addRoles(long pk,
List<com.liferay.portal.kernel.model.Role> roles)
addRoles in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userroles - the rolespublic void clearRoles(long pk)
clearRoles in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the user to clear the associated roles frompublic void removeRole(long pk,
long rolePK)
removeRole in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userrolePK - the primary key of the rolepublic void removeRole(long pk,
com.liferay.portal.kernel.model.Role role)
removeRole in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userrole - the rolepublic void removeRoles(long pk,
long[] rolePKs)
removeRoles in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userrolePKs - the primary keys of the rolespublic void removeRoles(long pk,
List<com.liferay.portal.kernel.model.Role> roles)
removeRoles in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userroles - the rolespublic void setRoles(long pk,
long[] rolePKs)
setRoles in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userrolePKs - the primary keys of the roles to be associated with the userpublic void setRoles(long pk,
List<com.liferay.portal.kernel.model.Role> roles)
setRoles in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userroles - the roles to be associated with the userpublic long[] getTeamPrimaryKeys(long pk)
getTeamPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userpublic List<com.liferay.portal.kernel.model.Team> getTeams(long pk)
getTeams in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userpublic List<com.liferay.portal.kernel.model.Team> getTeams(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, then the query will include the default ORDER BY logic from UserModelImpl.
getTeams in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.Team> getTeams(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Team> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from UserModelImpl.
getTeams in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getTeamsSize(long pk)
getTeamsSize in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userpublic boolean containsTeam(long pk,
long teamPK)
true if the team is associated with the user.containsTeam in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userteamPK - the primary key of the teamtrue if the team is associated with the user; false otherwisepublic boolean containsTeams(long pk)
true if the user has any teams associated with it.containsTeams in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the user to check for associations with teamstrue if the user has any teams associated with it; false otherwisepublic void addTeam(long pk,
long teamPK)
addTeam in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userteamPK - the primary key of the teampublic void addTeam(long pk,
com.liferay.portal.kernel.model.Team team)
addTeam in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userteam - the teampublic void addTeams(long pk,
long[] teamPKs)
addTeams in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userteamPKs - the primary keys of the teamspublic void addTeams(long pk,
List<com.liferay.portal.kernel.model.Team> teams)
addTeams in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userteams - the teamspublic void clearTeams(long pk)
clearTeams in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the user to clear the associated teams frompublic void removeTeam(long pk,
long teamPK)
removeTeam in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userteamPK - the primary key of the teampublic void removeTeam(long pk,
com.liferay.portal.kernel.model.Team team)
removeTeam in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userteam - the teampublic void removeTeams(long pk,
long[] teamPKs)
removeTeams in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userteamPKs - the primary keys of the teamspublic void removeTeams(long pk,
List<com.liferay.portal.kernel.model.Team> teams)
removeTeams in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userteams - the teamspublic void setTeams(long pk,
long[] teamPKs)
setTeams in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userteamPKs - the primary keys of the teams to be associated with the userpublic void setTeams(long pk,
List<com.liferay.portal.kernel.model.Team> teams)
setTeams in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userteams - the teams to be associated with the userpublic long[] getUserGroupPrimaryKeys(long pk)
getUserGroupPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userpublic List<com.liferay.portal.kernel.model.UserGroup> getUserGroups(long pk)
getUserGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userpublic List<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
getUserGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)public List<com.liferay.portal.kernel.model.UserGroup> getUserGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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, then the query will include the default ORDER BY logic from UserModelImpl.
getUserGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userstart - the lower bound of the range of usersend - the upper bound of the range of users (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getUserGroupsSize(long pk)
getUserGroupsSize in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the userpublic boolean containsUserGroup(long pk,
long userGroupPK)
true if the user group is associated with the user.containsUserGroup in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the useruserGroupPK - the primary key of the user grouptrue if the user group is associated with the user; false otherwisepublic boolean containsUserGroups(long pk)
true if the user has any user groups associated with it.containsUserGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the user to check for associations with user groupstrue if the user has any user groups associated with it; false otherwisepublic void addUserGroup(long pk,
long userGroupPK)
addUserGroup in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the useruserGroupPK - the primary key of the user grouppublic void addUserGroup(long pk,
com.liferay.portal.kernel.model.UserGroup userGroup)
addUserGroup in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the useruserGroup - the user grouppublic void addUserGroups(long pk,
long[] userGroupPKs)
addUserGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the useruserGroupPKs - the primary keys of the user groupspublic void addUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
addUserGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the useruserGroups - the user groupspublic void clearUserGroups(long pk)
clearUserGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the user to clear the associated user groups frompublic void removeUserGroup(long pk,
long userGroupPK)
removeUserGroup in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the useruserGroupPK - the primary key of the user grouppublic void removeUserGroup(long pk,
com.liferay.portal.kernel.model.UserGroup userGroup)
removeUserGroup in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the useruserGroup - the user grouppublic void removeUserGroups(long pk,
long[] userGroupPKs)
removeUserGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the useruserGroupPKs - the primary keys of the user groupspublic void removeUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
removeUserGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the useruserGroups - the user groupspublic void setUserGroups(long pk,
long[] userGroupPKs)
setUserGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the useruserGroupPKs - the primary keys of the user groups to be associated with the userpublic void setUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
setUserGroups in interface com.liferay.portal.kernel.service.persistence.UserPersistencepk - the primary key of the useruserGroups - the user groups to be associated with the userpublic Set<String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.User>getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.User>protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.User>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.User>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.User>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.User>public void afterPropertiesSet()
public void destroy()