com.liferay.portal.service.persistence
Class UserPersistenceImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
com.liferay.portal.service.persistence.BasePersistence
com.liferay.portal.service.persistence.UserPersistenceImpl
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, UserPersistence
- public class UserPersistenceImpl
- extends BasePersistence
- implements UserPersistence
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
void |
addGroup(long pk,
com.liferay.portal.model.Group group)
|
void |
addGroup(long pk,
long groupPK)
|
void |
addGroups(long pk,
java.util.List groups)
|
void |
addGroups(long pk,
long[] groupPKs)
|
void |
addOrganization(long pk,
long organizationPK)
|
void |
addOrganization(long pk,
com.liferay.portal.model.Organization organization)
|
void |
addOrganizations(long pk,
java.util.List organizations)
|
void |
addOrganizations(long pk,
long[] organizationPKs)
|
void |
addPermission(long pk,
long permissionPK)
|
void |
addPermission(long pk,
com.liferay.portal.model.Permission permission)
|
void |
addPermissions(long pk,
java.util.List permissions)
|
void |
addPermissions(long pk,
long[] permissionPKs)
|
void |
addRole(long pk,
long rolePK)
|
void |
addRole(long pk,
com.liferay.portal.model.Role role)
|
void |
addRoles(long pk,
java.util.List roles)
|
void |
addRoles(long pk,
long[] rolePKs)
|
void |
addUserGroup(long pk,
long userGroupPK)
|
void |
addUserGroup(long pk,
com.liferay.portal.model.UserGroup userGroup)
|
void |
addUserGroups(long pk,
java.util.List userGroups)
|
void |
addUserGroups(long pk,
long[] userGroupPKs)
|
void |
clearGroups(long pk)
|
void |
clearOrganizations(long pk)
|
void |
clearPermissions(long pk)
|
void |
clearRoles(long pk)
|
void |
clearUserGroups(long pk)
|
boolean |
containsGroup(long pk,
long groupPK)
|
boolean |
containsGroups(long pk)
|
boolean |
containsOrganization(long pk,
long organizationPK)
|
boolean |
containsOrganizations(long pk)
|
boolean |
containsPermission(long pk,
long permissionPK)
|
boolean |
containsPermissions(long pk)
|
boolean |
containsRole(long pk,
long rolePK)
|
boolean |
containsRoles(long pk)
|
boolean |
containsUserGroup(long pk,
long userGroupPK)
|
boolean |
containsUserGroups(long pk)
|
int |
countAll()
|
int |
countByC_DU(long companyId,
boolean defaultUser)
|
int |
countByC_EA(long companyId,
java.lang.String emailAddress)
|
int |
countByC_P(long companyId,
java.lang.String password)
|
int |
countByC_SN(long companyId,
java.lang.String screenName)
|
int |
countByC_U(long companyId,
long userId)
|
int |
countByCompanyId(long companyId)
|
int |
countByContactId(long contactId)
|
int |
countByPortraitId(long portraitId)
|
com.liferay.portal.model.User |
create(long userId)
|
com.liferay.portal.model.User |
fetchByC_DU(long companyId,
boolean defaultUser)
|
com.liferay.portal.model.User |
fetchByC_EA(long companyId,
java.lang.String emailAddress)
|
com.liferay.portal.model.User |
fetchByC_SN(long companyId,
java.lang.String screenName)
|
com.liferay.portal.model.User |
fetchByC_U(long companyId,
long userId)
|
com.liferay.portal.model.User |
fetchByContactId(long contactId)
|
com.liferay.portal.model.User |
fetchByPortraitId(long portraitId)
|
com.liferay.portal.model.User |
fetchByPrimaryKey(long userId)
|
java.util.List |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.User |
findByC_DU(long companyId,
boolean defaultUser)
|
com.liferay.portal.model.User |
findByC_EA(long companyId,
java.lang.String emailAddress)
|
com.liferay.portal.model.User |
findByC_P_First(long companyId,
java.lang.String password,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.User |
findByC_P_Last(long companyId,
java.lang.String password,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.User[] |
findByC_P_PrevAndNext(long userId,
long companyId,
java.lang.String password,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByC_P(long companyId,
java.lang.String password)
|
java.util.List |
findByC_P(long companyId,
java.lang.String password,
int begin,
int end)
|
java.util.List |
findByC_P(long companyId,
java.lang.String password,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.User |
findByC_SN(long companyId,
java.lang.String screenName)
|
com.liferay.portal.model.User |
findByC_U(long companyId,
long userId)
|
com.liferay.portal.model.User |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.User |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.User[] |
findByCompanyId_PrevAndNext(long userId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByCompanyId(long companyId)
|
java.util.List |
findByCompanyId(long companyId,
int begin,
int end)
|
java.util.List |
findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.User |
findByContactId(long contactId)
|
com.liferay.portal.model.User |
findByPortraitId(long portraitId)
|
com.liferay.portal.model.User |
findByPrimaryKey(long userId)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
java.util.List |
getGroups(long pk)
|
java.util.List |
getGroups(long pk,
int begin,
int end)
|
java.util.List |
getGroups(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getGroupsSize(long pk)
|
java.util.List |
getOrganizations(long pk)
|
java.util.List |
getOrganizations(long pk,
int begin,
int end)
|
java.util.List |
getOrganizations(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getOrganizationsSize(long pk)
|
java.util.List |
getPermissions(long pk)
|
java.util.List |
getPermissions(long pk,
int begin,
int end)
|
java.util.List |
getPermissions(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getPermissionsSize(long pk)
|
java.util.List |
getRoles(long pk)
|
java.util.List |
getRoles(long pk,
int begin,
int end)
|
java.util.List |
getRoles(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getRolesSize(long pk)
|
java.util.List |
getUserGroups(long pk)
|
java.util.List |
getUserGroups(long pk,
int begin,
int end)
|
java.util.List |
getUserGroups(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getUserGroupsSize(long pk)
|
protected void |
initDao()
|
com.liferay.portal.model.User |
remove(long userId)
|
com.liferay.portal.model.User |
remove(com.liferay.portal.model.User user)
|
void |
removeAll()
|
void |
removeByC_DU(long companyId,
boolean defaultUser)
|
void |
removeByC_EA(long companyId,
java.lang.String emailAddress)
|
void |
removeByC_P(long companyId,
java.lang.String password)
|
void |
removeByC_SN(long companyId,
java.lang.String screenName)
|
void |
removeByC_U(long companyId,
long userId)
|
void |
removeByCompanyId(long companyId)
|
void |
removeByContactId(long contactId)
|
void |
removeByPortraitId(long portraitId)
|
void |
removeGroup(long pk,
com.liferay.portal.model.Group group)
|
void |
removeGroup(long pk,
long groupPK)
|
void |
removeGroups(long pk,
java.util.List groups)
|
void |
removeGroups(long pk,
long[] groupPKs)
|
void |
removeOrganization(long pk,
long organizationPK)
|
void |
removeOrganization(long pk,
com.liferay.portal.model.Organization organization)
|
void |
removeOrganizations(long pk,
java.util.List organizations)
|
void |
removeOrganizations(long pk,
long[] organizationPKs)
|
void |
removePermission(long pk,
long permissionPK)
|
void |
removePermission(long pk,
com.liferay.portal.model.Permission permission)
|
void |
removePermissions(long pk,
java.util.List permissions)
|
void |
removePermissions(long pk,
long[] permissionPKs)
|
void |
removeRole(long pk,
long rolePK)
|
void |
removeRole(long pk,
com.liferay.portal.model.Role role)
|
void |
removeRoles(long pk,
java.util.List roles)
|
void |
removeRoles(long pk,
long[] rolePKs)
|
void |
removeUserGroup(long pk,
long userGroupPK)
|
void |
removeUserGroup(long pk,
com.liferay.portal.model.UserGroup userGroup)
|
void |
removeUserGroups(long pk,
java.util.List userGroups)
|
void |
removeUserGroups(long pk,
long[] userGroupPKs)
|
void |
setGroups(long pk,
java.util.List groups)
|
void |
setGroups(long pk,
long[] groupPKs)
|
void |
setOrganizations(long pk,
java.util.List organizations)
|
void |
setOrganizations(long pk,
long[] organizationPKs)
|
void |
setPermissions(long pk,
java.util.List permissions)
|
void |
setPermissions(long pk,
long[] permissionPKs)
|
void |
setRoles(long pk,
java.util.List roles)
|
void |
setRoles(long pk,
long[] rolePKs)
|
void |
setUserGroups(long pk,
java.util.List userGroups)
|
void |
setUserGroups(long pk,
long[] userGroupPKs)
|
com.liferay.portal.model.User |
update(com.liferay.portal.model.User user)
|
com.liferay.portal.model.User |
update(com.liferay.portal.model.User user,
boolean merge)
|
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
containsGroup
protected UserPersistenceImpl.ContainsGroup containsGroup
addGroup
protected UserPersistenceImpl.AddGroup addGroup
clearGroups
protected UserPersistenceImpl.ClearGroups clearGroups
removeGroup
protected UserPersistenceImpl.RemoveGroup removeGroup
containsOrganization
protected UserPersistenceImpl.ContainsOrganization containsOrganization
addOrganization
protected UserPersistenceImpl.AddOrganization addOrganization
clearOrganizations
protected UserPersistenceImpl.ClearOrganizations clearOrganizations
removeOrganization
protected UserPersistenceImpl.RemoveOrganization removeOrganization
containsPermission
protected UserPersistenceImpl.ContainsPermission containsPermission
addPermission
protected UserPersistenceImpl.AddPermission addPermission
clearPermissions
protected UserPersistenceImpl.ClearPermissions clearPermissions
removePermission
protected UserPersistenceImpl.RemovePermission removePermission
containsRole
protected UserPersistenceImpl.ContainsRole containsRole
addRole
protected UserPersistenceImpl.AddRole addRole
clearRoles
protected UserPersistenceImpl.ClearRoles clearRoles
removeRole
protected UserPersistenceImpl.RemoveRole removeRole
containsUserGroup
protected UserPersistenceImpl.ContainsUserGroup containsUserGroup
addUserGroup
protected UserPersistenceImpl.AddUserGroup addUserGroup
clearUserGroups
protected UserPersistenceImpl.ClearUserGroups clearUserGroups
removeUserGroup
protected UserPersistenceImpl.RemoveUserGroup removeUserGroup
UserPersistenceImpl
public UserPersistenceImpl()
create
public com.liferay.portal.model.User create(long userId)
- Specified by:
create
in interface UserPersistence
remove
public com.liferay.portal.model.User remove(long userId)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
remove
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
remove
public com.liferay.portal.model.User remove(com.liferay.portal.model.User user)
throws com.liferay.portal.SystemException
- Specified by:
remove
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portal.model.User update(com.liferay.portal.model.User user)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portal.model.User update(com.liferay.portal.model.User user,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portal.model.User findByPrimaryKey(long userId)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByPrimaryKey
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
fetchByPrimaryKey
public com.liferay.portal.model.User fetchByPrimaryKey(long userId)
throws com.liferay.portal.SystemException
- Specified by:
fetchByPrimaryKey
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
findByCompanyId
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByCompanyId
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByCompanyId
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public com.liferay.portal.model.User findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByCompanyId_First
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
findByCompanyId_Last
public com.liferay.portal.model.User findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByCompanyId_Last
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
findByCompanyId_PrevAndNext
public com.liferay.portal.model.User[] findByCompanyId_PrevAndNext(long userId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByCompanyId_PrevAndNext
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
findByContactId
public com.liferay.portal.model.User findByContactId(long contactId)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByContactId
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
fetchByContactId
public com.liferay.portal.model.User fetchByContactId(long contactId)
throws com.liferay.portal.SystemException
- Specified by:
fetchByContactId
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findByPortraitId
public com.liferay.portal.model.User findByPortraitId(long portraitId)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByPortraitId
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
fetchByPortraitId
public com.liferay.portal.model.User fetchByPortraitId(long portraitId)
throws com.liferay.portal.SystemException
- Specified by:
fetchByPortraitId
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findByC_U
public com.liferay.portal.model.User findByC_U(long companyId,
long userId)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByC_U
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
fetchByC_U
public com.liferay.portal.model.User fetchByC_U(long companyId,
long userId)
throws com.liferay.portal.SystemException
- Specified by:
fetchByC_U
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findByC_DU
public com.liferay.portal.model.User findByC_DU(long companyId,
boolean defaultUser)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByC_DU
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
fetchByC_DU
public com.liferay.portal.model.User fetchByC_DU(long companyId,
boolean defaultUser)
throws com.liferay.portal.SystemException
- Specified by:
fetchByC_DU
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findByC_P
public java.util.List findByC_P(long companyId,
java.lang.String password)
throws com.liferay.portal.SystemException
- Specified by:
findByC_P
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findByC_P
public java.util.List findByC_P(long companyId,
java.lang.String password,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByC_P
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findByC_P
public java.util.List findByC_P(long companyId,
java.lang.String password,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByC_P
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findByC_P_First
public com.liferay.portal.model.User findByC_P_First(long companyId,
java.lang.String password,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByC_P_First
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
findByC_P_Last
public com.liferay.portal.model.User findByC_P_Last(long companyId,
java.lang.String password,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByC_P_Last
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
findByC_P_PrevAndNext
public com.liferay.portal.model.User[] findByC_P_PrevAndNext(long userId,
long companyId,
java.lang.String password,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByC_P_PrevAndNext
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
findByC_SN
public com.liferay.portal.model.User findByC_SN(long companyId,
java.lang.String screenName)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByC_SN
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
fetchByC_SN
public com.liferay.portal.model.User fetchByC_SN(long companyId,
java.lang.String screenName)
throws com.liferay.portal.SystemException
- Specified by:
fetchByC_SN
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findByC_EA
public com.liferay.portal.model.User findByC_EA(long companyId,
java.lang.String emailAddress)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByC_EA
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
fetchByC_EA
public com.liferay.portal.model.User fetchByC_EA(long companyId,
java.lang.String emailAddress)
throws com.liferay.portal.SystemException
- Specified by:
fetchByC_EA
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
removeByCompanyId
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
removeByContactId
public void removeByContactId(long contactId)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
removeByContactId
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
removeByPortraitId
public void removeByPortraitId(long portraitId)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
removeByPortraitId
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
removeByC_U
public void removeByC_U(long companyId,
long userId)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
removeByC_U
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
removeByC_DU
public void removeByC_DU(long companyId,
boolean defaultUser)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
removeByC_DU
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
removeByC_P
public void removeByC_P(long companyId,
java.lang.String password)
throws com.liferay.portal.SystemException
- Specified by:
removeByC_P
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
removeByC_SN
public void removeByC_SN(long companyId,
java.lang.String screenName)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
removeByC_SN
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
removeByC_EA
public void removeByC_EA(long companyId,
java.lang.String emailAddress)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
removeByC_EA
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Specified by:
removeAll
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
countByCompanyId
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
countByContactId
public int countByContactId(long contactId)
throws com.liferay.portal.SystemException
- Specified by:
countByContactId
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
countByPortraitId
public int countByPortraitId(long portraitId)
throws com.liferay.portal.SystemException
- Specified by:
countByPortraitId
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
countByC_U
public int countByC_U(long companyId,
long userId)
throws com.liferay.portal.SystemException
- Specified by:
countByC_U
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
countByC_DU
public int countByC_DU(long companyId,
boolean defaultUser)
throws com.liferay.portal.SystemException
- Specified by:
countByC_DU
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
countByC_P
public int countByC_P(long companyId,
java.lang.String password)
throws com.liferay.portal.SystemException
- Specified by:
countByC_P
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
countByC_SN
public int countByC_SN(long companyId,
java.lang.String screenName)
throws com.liferay.portal.SystemException
- Specified by:
countByC_SN
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
countByC_EA
public int countByC_EA(long companyId,
java.lang.String emailAddress)
throws com.liferay.portal.SystemException
- Specified by:
countByC_EA
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Specified by:
countAll
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
getGroups
public java.util.List getGroups(long pk)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getGroups
public java.util.List getGroups(long pk,
int begin,
int end)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getGroups
public java.util.List getGroups(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getGroupsSize
public int getGroupsSize(long pk)
throws com.liferay.portal.SystemException
- Specified by:
getGroupsSize
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
containsGroup
public boolean containsGroup(long pk,
long groupPK)
throws com.liferay.portal.SystemException
- Specified by:
containsGroup
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
containsGroups
public boolean containsGroups(long pk)
throws com.liferay.portal.SystemException
- Specified by:
containsGroups
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
addGroup
public void addGroup(long pk,
long groupPK)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.SystemException
- Specified by:
addGroup
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.SystemException
addGroup
public void addGroup(long pk,
com.liferay.portal.model.Group group)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.SystemException
- Specified by:
addGroup
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.SystemException
addGroups
public void addGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.SystemException
- Specified by:
addGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.SystemException
addGroups
public void addGroups(long pk,
java.util.List groups)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.SystemException
- Specified by:
addGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.SystemException
clearGroups
public void clearGroups(long pk)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
clearGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
removeGroup
public void removeGroup(long pk,
long groupPK)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.SystemException
- Specified by:
removeGroup
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.SystemException
removeGroup
public void removeGroup(long pk,
com.liferay.portal.model.Group group)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.SystemException
- Specified by:
removeGroup
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.SystemException
removeGroups
public void removeGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.SystemException
- Specified by:
removeGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.SystemException
removeGroups
public void removeGroups(long pk,
java.util.List groups)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.SystemException
- Specified by:
removeGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.SystemException
setGroups
public void setGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.SystemException
- Specified by:
setGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.SystemException
setGroups
public void setGroups(long pk,
java.util.List groups)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.SystemException
- Specified by:
setGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.SystemException
getOrganizations
public java.util.List getOrganizations(long pk)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getOrganizations
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getOrganizations
public java.util.List getOrganizations(long pk,
int begin,
int end)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getOrganizations
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getOrganizations
public java.util.List getOrganizations(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getOrganizations
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getOrganizationsSize
public int getOrganizationsSize(long pk)
throws com.liferay.portal.SystemException
- Specified by:
getOrganizationsSize
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
containsOrganization
public boolean containsOrganization(long pk,
long organizationPK)
throws com.liferay.portal.SystemException
- Specified by:
containsOrganization
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
containsOrganizations
public boolean containsOrganizations(long pk)
throws com.liferay.portal.SystemException
- Specified by:
containsOrganizations
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
addOrganization
public void addOrganization(long pk,
long organizationPK)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchOrganizationException,
com.liferay.portal.SystemException
- Specified by:
addOrganization
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchOrganizationException
com.liferay.portal.SystemException
addOrganization
public void addOrganization(long pk,
com.liferay.portal.model.Organization organization)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchOrganizationException,
com.liferay.portal.SystemException
- Specified by:
addOrganization
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchOrganizationException
com.liferay.portal.SystemException
addOrganizations
public void addOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchOrganizationException,
com.liferay.portal.SystemException
- Specified by:
addOrganizations
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchOrganizationException
com.liferay.portal.SystemException
addOrganizations
public void addOrganizations(long pk,
java.util.List organizations)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchOrganizationException,
com.liferay.portal.SystemException
- Specified by:
addOrganizations
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchOrganizationException
com.liferay.portal.SystemException
clearOrganizations
public void clearOrganizations(long pk)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
clearOrganizations
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
removeOrganization
public void removeOrganization(long pk,
long organizationPK)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchOrganizationException,
com.liferay.portal.SystemException
- Specified by:
removeOrganization
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchOrganizationException
com.liferay.portal.SystemException
removeOrganization
public void removeOrganization(long pk,
com.liferay.portal.model.Organization organization)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchOrganizationException,
com.liferay.portal.SystemException
- Specified by:
removeOrganization
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchOrganizationException
com.liferay.portal.SystemException
removeOrganizations
public void removeOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchOrganizationException,
com.liferay.portal.SystemException
- Specified by:
removeOrganizations
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchOrganizationException
com.liferay.portal.SystemException
removeOrganizations
public void removeOrganizations(long pk,
java.util.List organizations)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchOrganizationException,
com.liferay.portal.SystemException
- Specified by:
removeOrganizations
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchOrganizationException
com.liferay.portal.SystemException
setOrganizations
public void setOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchOrganizationException,
com.liferay.portal.SystemException
- Specified by:
setOrganizations
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchOrganizationException
com.liferay.portal.SystemException
setOrganizations
public void setOrganizations(long pk,
java.util.List organizations)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchOrganizationException,
com.liferay.portal.SystemException
- Specified by:
setOrganizations
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchOrganizationException
com.liferay.portal.SystemException
getPermissions
public java.util.List getPermissions(long pk)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getPermissions
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getPermissions
public java.util.List getPermissions(long pk,
int begin,
int end)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getPermissions
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getPermissions
public java.util.List getPermissions(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getPermissions
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getPermissionsSize
public int getPermissionsSize(long pk)
throws com.liferay.portal.SystemException
- Specified by:
getPermissionsSize
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
containsPermission
public boolean containsPermission(long pk,
long permissionPK)
throws com.liferay.portal.SystemException
- Specified by:
containsPermission
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
containsPermissions
public boolean containsPermissions(long pk)
throws com.liferay.portal.SystemException
- Specified by:
containsPermissions
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
addPermission
public void addPermission(long pk,
long permissionPK)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.SystemException
- Specified by:
addPermission
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.SystemException
addPermission
public void addPermission(long pk,
com.liferay.portal.model.Permission permission)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.SystemException
- Specified by:
addPermission
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.SystemException
addPermissions
public void addPermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.SystemException
- Specified by:
addPermissions
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.SystemException
addPermissions
public void addPermissions(long pk,
java.util.List permissions)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.SystemException
- Specified by:
addPermissions
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.SystemException
clearPermissions
public void clearPermissions(long pk)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
clearPermissions
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
removePermission
public void removePermission(long pk,
long permissionPK)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.SystemException
- Specified by:
removePermission
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.SystemException
removePermission
public void removePermission(long pk,
com.liferay.portal.model.Permission permission)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.SystemException
- Specified by:
removePermission
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.SystemException
removePermissions
public void removePermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.SystemException
- Specified by:
removePermissions
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.SystemException
removePermissions
public void removePermissions(long pk,
java.util.List permissions)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.SystemException
- Specified by:
removePermissions
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.SystemException
setPermissions
public void setPermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.SystemException
- Specified by:
setPermissions
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.SystemException
setPermissions
public void setPermissions(long pk,
java.util.List permissions)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.SystemException
- Specified by:
setPermissions
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.SystemException
getRoles
public java.util.List getRoles(long pk)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getRoles
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getRoles
public java.util.List getRoles(long pk,
int begin,
int end)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getRoles
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getRoles
public java.util.List getRoles(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getRoles
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getRolesSize
public int getRolesSize(long pk)
throws com.liferay.portal.SystemException
- Specified by:
getRolesSize
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
containsRole
public boolean containsRole(long pk,
long rolePK)
throws com.liferay.portal.SystemException
- Specified by:
containsRole
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
containsRoles
public boolean containsRoles(long pk)
throws com.liferay.portal.SystemException
- Specified by:
containsRoles
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
addRole
public void addRole(long pk,
long rolePK)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
- Specified by:
addRole
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
addRole
public void addRole(long pk,
com.liferay.portal.model.Role role)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
- Specified by:
addRole
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
addRoles
public void addRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
- Specified by:
addRoles
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
addRoles
public void addRoles(long pk,
java.util.List roles)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
- Specified by:
addRoles
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
clearRoles
public void clearRoles(long pk)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
clearRoles
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
removeRole
public void removeRole(long pk,
long rolePK)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
- Specified by:
removeRole
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
removeRole
public void removeRole(long pk,
com.liferay.portal.model.Role role)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
- Specified by:
removeRole
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
removeRoles
public void removeRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
- Specified by:
removeRoles
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
removeRoles
public void removeRoles(long pk,
java.util.List roles)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
- Specified by:
removeRoles
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
setRoles
public void setRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
- Specified by:
setRoles
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
setRoles
public void setRoles(long pk,
java.util.List roles)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
- Specified by:
setRoles
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
getUserGroups
public java.util.List getUserGroups(long pk)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getUserGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getUserGroups
public java.util.List getUserGroups(long pk,
int begin,
int end)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getUserGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getUserGroups
public java.util.List getUserGroups(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getUserGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getUserGroupsSize
public int getUserGroupsSize(long pk)
throws com.liferay.portal.SystemException
- Specified by:
getUserGroupsSize
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
containsUserGroup
public boolean containsUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.SystemException
- Specified by:
containsUserGroup
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
containsUserGroups
public boolean containsUserGroups(long pk)
throws com.liferay.portal.SystemException
- Specified by:
containsUserGroups
in interface UserPersistence
- Throws:
com.liferay.portal.SystemException
addUserGroup
public void addUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.SystemException
- Specified by:
addUserGroup
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.SystemException
addUserGroup
public void addUserGroup(long pk,
com.liferay.portal.model.UserGroup userGroup)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.SystemException
- Specified by:
addUserGroup
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.SystemException
addUserGroups
public void addUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.SystemException
- Specified by:
addUserGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.SystemException
addUserGroups
public void addUserGroups(long pk,
java.util.List userGroups)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.SystemException
- Specified by:
addUserGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.SystemException
clearUserGroups
public void clearUserGroups(long pk)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
clearUserGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
removeUserGroup
public void removeUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.SystemException
- Specified by:
removeUserGroup
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.SystemException
removeUserGroup
public void removeUserGroup(long pk,
com.liferay.portal.model.UserGroup userGroup)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.SystemException
- Specified by:
removeUserGroup
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.SystemException
removeUserGroups
public void removeUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.SystemException
- Specified by:
removeUserGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.SystemException
removeUserGroups
public void removeUserGroups(long pk,
java.util.List userGroups)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.SystemException
- Specified by:
removeUserGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.SystemException
setUserGroups
public void setUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.SystemException
- Specified by:
setUserGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.SystemException
setUserGroups
public void setUserGroups(long pk,
java.util.List userGroups)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.SystemException
- Specified by:
setUserGroups
in interface UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.SystemException
initDao
protected void initDao()