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:
- com.liferay.portal.service.persistence.UserPersistence, org.springframework.beans.factory.InitializingBean
public class UserPersistenceImpl
- extends BasePersistence
- implements com.liferay.portal.service.persistence.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<com.liferay.portal.model.Group> 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<com.liferay.portal.model.Organization> 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<com.liferay.portal.model.Permission> 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<com.liferay.portal.model.Role> 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<com.liferay.portal.model.UserGroup> 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)
|
int |
countByUuid(java.lang.String uuid)
|
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<com.liferay.portal.model.User> |
findAll()
|
java.util.List<com.liferay.portal.model.User> |
findAll(int begin,
int end)
|
java.util.List<com.liferay.portal.model.User> |
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<com.liferay.portal.model.User> |
findByC_P(long companyId,
java.lang.String password)
|
java.util.List<com.liferay.portal.model.User> |
findByC_P(long companyId,
java.lang.String password,
int begin,
int end)
|
java.util.List<com.liferay.portal.model.User> |
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<com.liferay.portal.model.User> |
findByCompanyId(long companyId)
|
java.util.List<com.liferay.portal.model.User> |
findByCompanyId(long companyId,
int begin,
int end)
|
java.util.List<com.liferay.portal.model.User> |
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)
|
com.liferay.portal.model.User |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.User |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.User[] |
findByUuid_PrevAndNext(long userId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portal.model.User> |
findByUuid(java.lang.String uuid)
|
java.util.List<com.liferay.portal.model.User> |
findByUuid(java.lang.String uuid,
int begin,
int end)
|
java.util.List<com.liferay.portal.model.User> |
findByUuid(java.lang.String uuid,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portal.model.User> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List<com.liferay.portal.model.User> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
java.util.List<com.liferay.portal.model.Group> |
getGroups(long pk)
|
java.util.List<com.liferay.portal.model.Group> |
getGroups(long pk,
int begin,
int end)
|
java.util.List<com.liferay.portal.model.Group> |
getGroups(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getGroupsSize(long pk)
|
java.util.List<com.liferay.portal.model.Organization> |
getOrganizations(long pk)
|
java.util.List<com.liferay.portal.model.Organization> |
getOrganizations(long pk,
int begin,
int end)
|
java.util.List<com.liferay.portal.model.Organization> |
getOrganizations(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getOrganizationsSize(long pk)
|
java.util.List<com.liferay.portal.model.Permission> |
getPermissions(long pk)
|
java.util.List<com.liferay.portal.model.Permission> |
getPermissions(long pk,
int begin,
int end)
|
java.util.List<com.liferay.portal.model.Permission> |
getPermissions(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getPermissionsSize(long pk)
|
java.util.List<com.liferay.portal.model.Role> |
getRoles(long pk)
|
java.util.List<com.liferay.portal.model.Role> |
getRoles(long pk,
int begin,
int end)
|
java.util.List<com.liferay.portal.model.Role> |
getRoles(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getRolesSize(long pk)
|
java.util.List<com.liferay.portal.model.UserGroup> |
getUserGroups(long pk)
|
java.util.List<com.liferay.portal.model.UserGroup> |
getUserGroups(long pk,
int begin,
int end)
|
java.util.List<com.liferay.portal.model.UserGroup> |
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 |
removeByUuid(java.lang.String uuid)
|
void |
removeGroup(long pk,
com.liferay.portal.model.Group group)
|
void |
removeGroup(long pk,
long groupPK)
|
void |
removeGroups(long pk,
java.util.List<com.liferay.portal.model.Group> groups)
|
void |
removeGroups(long pk,
long[] groupPKs)
|
protected com.liferay.portal.model.User |
removeImpl(com.liferay.portal.model.User user)
|
void |
removeOrganization(long pk,
long organizationPK)
|
void |
removeOrganization(long pk,
com.liferay.portal.model.Organization organization)
|
void |
removeOrganizations(long pk,
java.util.List<com.liferay.portal.model.Organization> 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<com.liferay.portal.model.Permission> 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<com.liferay.portal.model.Role> 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<com.liferay.portal.model.UserGroup> userGroups)
|
void |
removeUserGroups(long pk,
long[] userGroupPKs)
|
void |
setGroups(long pk,
java.util.List<com.liferay.portal.model.Group> groups)
|
void |
setGroups(long pk,
long[] groupPKs)
|
void |
setOrganizations(long pk,
java.util.List<com.liferay.portal.model.Organization> organizations)
|
void |
setOrganizations(long pk,
long[] organizationPKs)
|
void |
setPermissions(long pk,
java.util.List<com.liferay.portal.model.Permission> permissions)
|
void |
setPermissions(long pk,
long[] permissionPKs)
|
void |
setRoles(long pk,
java.util.List<com.liferay.portal.model.Role> roles)
|
void |
setRoles(long pk,
long[] rolePKs)
|
void |
setUserGroups(long pk,
java.util.List<com.liferay.portal.model.UserGroup> userGroups)
|
void |
setUserGroups(long pk,
long[] userGroupPKs)
|
com.liferay.portal.model.User |
update(com.liferay.portal.model.User user)
Deprecated. Use update(User user, boolean merge). |
com.liferay.portal.model.User |
update(com.liferay.portal.model.User user,
boolean merge)
Add, update, or merge, the entity. |
com.liferay.portal.model.User |
updateImpl(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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
removeImpl
protected com.liferay.portal.model.User removeImpl(com.liferay.portal.model.User user)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portal.model.User update(com.liferay.portal.model.User user)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(User user, boolean merge).
- Specified by:
update in interface com.liferay.portal.service.persistence.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
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Specified by:
update in interface com.liferay.portal.service.persistence.UserPersistence
- Parameters:
user - the entity to add, update, or mergemerge - boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when user is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
public com.liferay.portal.model.User updateImpl(com.liferay.portal.model.User user,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
updateImpl in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
findByUuid
public java.util.List<com.liferay.portal.model.User> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Specified by:
findByUuid in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
findByUuid
public java.util.List<com.liferay.portal.model.User> findByUuid(java.lang.String uuid,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByUuid in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
findByUuid
public java.util.List<com.liferay.portal.model.User> findByUuid(java.lang.String uuid,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByUuid in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
findByUuid_First
public com.liferay.portal.model.User findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByUuid_First in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
findByUuid_Last
public com.liferay.portal.model.User findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByUuid_Last in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
findByUuid_PrevAndNext
public com.liferay.portal.model.User[] findByUuid_PrevAndNext(long userId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
findByUuid_PrevAndNext in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
findByCompanyId
public java.util.List<com.liferay.portal.model.User> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
findByCompanyId in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List<com.liferay.portal.model.User> findByCompanyId(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByCompanyId in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List<com.liferay.portal.model.User> findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByCompanyId in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
findByC_P
public java.util.List<com.liferay.portal.model.User> findByC_P(long companyId,
java.lang.String password)
throws com.liferay.portal.SystemException
- Specified by:
findByC_P in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
findByC_P
public java.util.List<com.liferay.portal.model.User> findByC_P(long companyId,
java.lang.String password,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByC_P in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
findByC_P
public java.util.List<com.liferay.portal.model.User> 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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List<com.liferay.portal.model.User> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List<com.liferay.portal.model.User> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List<com.liferay.portal.model.User> findAll()
throws com.liferay.portal.SystemException
- Specified by:
findAll in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List<com.liferay.portal.model.User> findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findAll in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List<com.liferay.portal.model.User> findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findAll in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
removeByUuid
public void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Specified by:
removeByUuid in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
removeByCompanyId in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Specified by:
removeAll in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
countByUuid
public int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Specified by:
countByUuid in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
countByCompanyId in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
countByContactId
public int countByContactId(long contactId)
throws com.liferay.portal.SystemException
- Specified by:
countByContactId in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
countByPortraitId
public int countByPortraitId(long portraitId)
throws com.liferay.portal.SystemException
- Specified by:
countByPortraitId in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Specified by:
countAll in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
getGroups
public java.util.List<com.liferay.portal.model.Group> getGroups(long pk)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getGroups in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getGroups
public java.util.List<com.liferay.portal.model.Group> getGroups(long pk,
int begin,
int end)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getGroups in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getGroups
public java.util.List<com.liferay.portal.model.Group> 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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
containsGroup
public boolean containsGroup(long pk,
long groupPK)
throws com.liferay.portal.SystemException
- Specified by:
containsGroup in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
containsGroups
public boolean containsGroups(long pk)
throws com.liferay.portal.SystemException
- Specified by:
containsGroups in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.SystemException
addGroups
public void addGroups(long pk,
java.util.List<com.liferay.portal.model.Group> groups)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.SystemException
- Specified by:
addGroups in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.SystemException
removeGroups
public void removeGroups(long pk,
java.util.List<com.liferay.portal.model.Group> groups)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.SystemException
- Specified by:
removeGroups in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.SystemException
setGroups
public void setGroups(long pk,
java.util.List<com.liferay.portal.model.Group> groups)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.SystemException
- Specified by:
setGroups in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.SystemException
getOrganizations
public java.util.List<com.liferay.portal.model.Organization> getOrganizations(long pk)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getOrganizations in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getOrganizations
public java.util.List<com.liferay.portal.model.Organization> getOrganizations(long pk,
int begin,
int end)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getOrganizations in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getOrganizations
public java.util.List<com.liferay.portal.model.Organization> 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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
containsOrganization
public boolean containsOrganization(long pk,
long organizationPK)
throws com.liferay.portal.SystemException
- Specified by:
containsOrganization in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
containsOrganizations
public boolean containsOrganizations(long pk)
throws com.liferay.portal.SystemException
- Specified by:
containsOrganizations in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchOrganizationException
com.liferay.portal.SystemException
addOrganizations
public void addOrganizations(long pk,
java.util.List<com.liferay.portal.model.Organization> organizations)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchOrganizationException,
com.liferay.portal.SystemException
- Specified by:
addOrganizations in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchOrganizationException
com.liferay.portal.SystemException
removeOrganizations
public void removeOrganizations(long pk,
java.util.List<com.liferay.portal.model.Organization> organizations)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchOrganizationException,
com.liferay.portal.SystemException
- Specified by:
removeOrganizations in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchOrganizationException
com.liferay.portal.SystemException
setOrganizations
public void setOrganizations(long pk,
java.util.List<com.liferay.portal.model.Organization> organizations)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchOrganizationException,
com.liferay.portal.SystemException
- Specified by:
setOrganizations in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchOrganizationException
com.liferay.portal.SystemException
getPermissions
public java.util.List<com.liferay.portal.model.Permission> getPermissions(long pk)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getPermissions in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getPermissions
public java.util.List<com.liferay.portal.model.Permission> getPermissions(long pk,
int begin,
int end)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getPermissions in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getPermissions
public java.util.List<com.liferay.portal.model.Permission> 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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
containsPermission
public boolean containsPermission(long pk,
long permissionPK)
throws com.liferay.portal.SystemException
- Specified by:
containsPermission in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
containsPermissions
public boolean containsPermissions(long pk)
throws com.liferay.portal.SystemException
- Specified by:
containsPermissions in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.SystemException
addPermissions
public void addPermissions(long pk,
java.util.List<com.liferay.portal.model.Permission> permissions)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.SystemException
- Specified by:
addPermissions in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.SystemException
removePermissions
public void removePermissions(long pk,
java.util.List<com.liferay.portal.model.Permission> permissions)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.SystemException
- Specified by:
removePermissions in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.SystemException
setPermissions
public void setPermissions(long pk,
java.util.List<com.liferay.portal.model.Permission> permissions)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.SystemException
- Specified by:
setPermissions in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.SystemException
getRoles
public java.util.List<com.liferay.portal.model.Role> getRoles(long pk)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getRoles in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getRoles
public java.util.List<com.liferay.portal.model.Role> getRoles(long pk,
int begin,
int end)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getRoles in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getRoles
public java.util.List<com.liferay.portal.model.Role> 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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
containsRole
public boolean containsRole(long pk,
long rolePK)
throws com.liferay.portal.SystemException
- Specified by:
containsRole in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
containsRoles
public boolean containsRoles(long pk)
throws com.liferay.portal.SystemException
- Specified by:
containsRoles in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
addRoles
public void addRoles(long pk,
java.util.List<com.liferay.portal.model.Role> roles)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
- Specified by:
addRoles in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
removeRoles
public void removeRoles(long pk,
java.util.List<com.liferay.portal.model.Role> roles)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
- Specified by:
removeRoles in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
setRoles
public void setRoles(long pk,
java.util.List<com.liferay.portal.model.Role> roles)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
- Specified by:
setRoles in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
getUserGroups
public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(long pk)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getUserGroups in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getUserGroups
public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(long pk,
int begin,
int end)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.SystemException
- Specified by:
getUserGroups in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.SystemException
getUserGroups
public java.util.List<com.liferay.portal.model.UserGroup> 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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
containsUserGroup
public boolean containsUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.SystemException
- Specified by:
containsUserGroup in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.SystemException
containsUserGroups
public boolean containsUserGroups(long pk)
throws com.liferay.portal.SystemException
- Specified by:
containsUserGroups in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.SystemException
addUserGroups
public void addUserGroups(long pk,
java.util.List<com.liferay.portal.model.UserGroup> userGroups)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.SystemException
- Specified by:
addUserGroups in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.SystemException
removeUserGroups
public void removeUserGroups(long pk,
java.util.List<com.liferay.portal.model.UserGroup> userGroups)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.SystemException
- Specified by:
removeUserGroups in interface com.liferay.portal.service.persistence.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 com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.SystemException
setUserGroups
public void setUserGroups(long pk,
java.util.List<com.liferay.portal.model.UserGroup> userGroups)
throws com.liferay.portal.NoSuchUserException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.SystemException
- Specified by:
setUserGroups in interface com.liferay.portal.service.persistence.UserPersistence
- Throws:
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.SystemException
initDao
protected void initDao()
- Overrides:
initDao in class org.springframework.dao.support.DaoSupport