com.liferay.portal.service.persistence
Interface UserGroupPersistence
- All Known Implementing Classes:
- UserGroupPersistenceImpl
- public interface UserGroupPersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
addUser(long pk,
long userPK)
|
void |
addUser(long pk,
com.liferay.portal.model.User user)
|
void |
addUsers(long pk,
java.util.List users)
|
void |
addUsers(long pk,
long[] userPKs)
|
void |
clearUsers(long pk)
|
boolean |
containsUser(long pk,
long userPK)
|
boolean |
containsUsers(long pk)
|
int |
countAll()
|
int |
countByC_N(long companyId,
java.lang.String name)
|
int |
countByC_P(long companyId,
long parentUserGroupId)
|
int |
countByCompanyId(long companyId)
|
com.liferay.portal.model.UserGroup |
create(long userGroupId)
|
com.liferay.portal.model.UserGroup |
fetchByC_N(long companyId,
java.lang.String name)
|
com.liferay.portal.model.UserGroup |
fetchByPrimaryKey(long userGroupId)
|
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.UserGroup |
findByC_N(long companyId,
java.lang.String name)
|
com.liferay.portal.model.UserGroup |
findByC_P_First(long companyId,
long parentUserGroupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.UserGroup |
findByC_P_Last(long companyId,
long parentUserGroupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.UserGroup[] |
findByC_P_PrevAndNext(long userGroupId,
long companyId,
long parentUserGroupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByC_P(long companyId,
long parentUserGroupId)
|
java.util.List |
findByC_P(long companyId,
long parentUserGroupId,
int begin,
int end)
|
java.util.List |
findByC_P(long companyId,
long parentUserGroupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.UserGroup |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.UserGroup |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portal.model.UserGroup[] |
findByCompanyId_PrevAndNext(long userGroupId,
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.UserGroup |
findByPrimaryKey(long userGroupId)
|
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 |
getUsers(long pk)
|
java.util.List |
getUsers(long pk,
int begin,
int end)
|
java.util.List |
getUsers(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getUsersSize(long pk)
|
com.liferay.portal.model.UserGroup |
remove(long userGroupId)
|
com.liferay.portal.model.UserGroup |
remove(com.liferay.portal.model.UserGroup userGroup)
|
void |
removeAll()
|
void |
removeByC_N(long companyId,
java.lang.String name)
|
void |
removeByC_P(long companyId,
long parentUserGroupId)
|
void |
removeByCompanyId(long companyId)
|
void |
removeUser(long pk,
long userPK)
|
void |
removeUser(long pk,
com.liferay.portal.model.User user)
|
void |
removeUsers(long pk,
java.util.List users)
|
void |
removeUsers(long pk,
long[] userPKs)
|
void |
setUsers(long pk,
java.util.List users)
|
void |
setUsers(long pk,
long[] userPKs)
|
com.liferay.portal.model.UserGroup |
update(com.liferay.portal.model.UserGroup userGroup)
|
com.liferay.portal.model.UserGroup |
update(com.liferay.portal.model.UserGroup userGroup,
boolean merge)
|
create
public com.liferay.portal.model.UserGroup create(long userGroupId)
remove
public com.liferay.portal.model.UserGroup remove(long userGroupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
remove
public com.liferay.portal.model.UserGroup remove(com.liferay.portal.model.UserGroup userGroup)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portal.model.UserGroup update(com.liferay.portal.model.UserGroup userGroup)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portal.model.UserGroup update(com.liferay.portal.model.UserGroup userGroup,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portal.model.UserGroup findByPrimaryKey(long userGroupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
fetchByPrimaryKey
public com.liferay.portal.model.UserGroup fetchByPrimaryKey(long userGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- 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
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public com.liferay.portal.model.UserGroup findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
findByCompanyId_Last
public com.liferay.portal.model.UserGroup findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
findByCompanyId_PrevAndNext
public com.liferay.portal.model.UserGroup[] findByCompanyId_PrevAndNext(long userGroupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
findByC_P
public java.util.List findByC_P(long companyId,
long parentUserGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_P
public java.util.List findByC_P(long companyId,
long parentUserGroupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_P
public java.util.List findByC_P(long companyId,
long parentUserGroupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_P_First
public com.liferay.portal.model.UserGroup findByC_P_First(long companyId,
long parentUserGroupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
findByC_P_Last
public com.liferay.portal.model.UserGroup findByC_P_Last(long companyId,
long parentUserGroupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
findByC_P_PrevAndNext
public com.liferay.portal.model.UserGroup[] findByC_P_PrevAndNext(long userGroupId,
long companyId,
long parentUserGroupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
findByC_N
public com.liferay.portal.model.UserGroup findByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
fetchByC_N
public com.liferay.portal.model.UserGroup fetchByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- 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
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- 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
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_P
public void removeByC_P(long companyId,
long parentUserGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_N
public void removeByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_P
public int countByC_P(long companyId,
long parentUserGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_N
public int countByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUsers
public java.util.List getUsers(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
getUsers
public java.util.List getUsers(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
getUsers
public java.util.List getUsers(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
getUsersSize
public int getUsersSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsUser
public boolean containsUser(long pk,
long userPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsUsers
public boolean containsUsers(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUser
public void addUser(long pk,
long userPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.NoSuchUserException
addUser
public void addUser(long pk,
com.liferay.portal.model.User user)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.NoSuchUserException
addUsers
public void addUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.NoSuchUserException
addUsers
public void addUsers(long pk,
java.util.List users)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.NoSuchUserException
clearUsers
public void clearUsers(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
removeUser
public void removeUser(long pk,
long userPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.NoSuchUserException
removeUser
public void removeUser(long pk,
com.liferay.portal.model.User user)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.NoSuchUserException
removeUsers
public void removeUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.NoSuchUserException
removeUsers
public void removeUsers(long pk,
java.util.List users)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.NoSuchUserException
setUsers
public void setUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.NoSuchUserException
setUsers
public void setUsers(long pk,
java.util.List users)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserGroupException
com.liferay.portal.NoSuchUserException