|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserGroupPersistence
Method Summary | |
---|---|
void |
addUser(long pk,
long userPK)
|
void |
addUser(long pk,
User user)
|
void |
addUsers(long pk,
java.util.List<User> 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)
|
UserGroup |
create(long userGroupId)
|
UserGroup |
fetchByC_N(long companyId,
java.lang.String name)
|
UserGroup |
fetchByPrimaryKey(long userGroupId)
|
java.util.List<UserGroup> |
findAll()
|
java.util.List<UserGroup> |
findAll(int begin,
int end)
|
java.util.List<UserGroup> |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroup |
findByC_N(long companyId,
java.lang.String name)
|
UserGroup |
findByC_P_First(long companyId,
long parentUserGroupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroup |
findByC_P_Last(long companyId,
long parentUserGroupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroup[] |
findByC_P_PrevAndNext(long userGroupId,
long companyId,
long parentUserGroupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<UserGroup> |
findByC_P(long companyId,
long parentUserGroupId)
|
java.util.List<UserGroup> |
findByC_P(long companyId,
long parentUserGroupId,
int begin,
int end)
|
java.util.List<UserGroup> |
findByC_P(long companyId,
long parentUserGroupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroup |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroup |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroup[] |
findByCompanyId_PrevAndNext(long userGroupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<UserGroup> |
findByCompanyId(long companyId)
|
java.util.List<UserGroup> |
findByCompanyId(long companyId,
int begin,
int end)
|
java.util.List<UserGroup> |
findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroup |
findByPrimaryKey(long userGroupId)
|
java.util.List<UserGroup> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List<UserGroup> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
java.util.List<User> |
getUsers(long pk)
|
java.util.List<User> |
getUsers(long pk,
int begin,
int end)
|
java.util.List<User> |
getUsers(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getUsersSize(long pk)
|
UserGroup |
remove(long userGroupId)
|
UserGroup |
remove(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,
User user)
|
void |
removeUsers(long pk,
java.util.List<User> users)
|
void |
removeUsers(long pk,
long[] userPKs)
|
void |
setUsers(long pk,
java.util.List<User> users)
|
void |
setUsers(long pk,
long[] userPKs)
|
UserGroup |
update(UserGroup userGroup)
Deprecated. Use update(UserGroup userGroup, boolean merge) . |
UserGroup |
update(UserGroup userGroup,
boolean merge)
Add, update, or merge, the entity. |
UserGroup |
updateImpl(UserGroup userGroup,
boolean merge)
|
Method Detail |
---|
UserGroup create(long userGroupId)
UserGroup remove(long userGroupId) throws com.liferay.portal.SystemException, NoSuchUserGroupException
com.liferay.portal.SystemException
NoSuchUserGroupException
UserGroup remove(UserGroup userGroup) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
UserGroup update(UserGroup userGroup) throws com.liferay.portal.SystemException
update(UserGroup userGroup, boolean merge)
.
com.liferay.portal.SystemException
UserGroup update(UserGroup userGroup, boolean merge) throws com.liferay.portal.SystemException
userGroup
- 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 userGroup is
transient. See LEP-5473 for a detailed discussion of this
method.
com.liferay.portal.SystemException
UserGroup updateImpl(UserGroup userGroup, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
UserGroup findByPrimaryKey(long userGroupId) throws com.liferay.portal.SystemException, NoSuchUserGroupException
com.liferay.portal.SystemException
NoSuchUserGroupException
UserGroup fetchByPrimaryKey(long userGroupId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<UserGroup> findByCompanyId(long companyId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<UserGroup> findByCompanyId(long companyId, int begin, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<UserGroup> findByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
UserGroup findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchUserGroupException
com.liferay.portal.SystemException
NoSuchUserGroupException
UserGroup findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchUserGroupException
com.liferay.portal.SystemException
NoSuchUserGroupException
UserGroup[] findByCompanyId_PrevAndNext(long userGroupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchUserGroupException
com.liferay.portal.SystemException
NoSuchUserGroupException
java.util.List<UserGroup> findByC_P(long companyId, long parentUserGroupId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<UserGroup> findByC_P(long companyId, long parentUserGroupId, int begin, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<UserGroup> findByC_P(long companyId, long parentUserGroupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
UserGroup findByC_P_First(long companyId, long parentUserGroupId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchUserGroupException
com.liferay.portal.SystemException
NoSuchUserGroupException
UserGroup findByC_P_Last(long companyId, long parentUserGroupId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchUserGroupException
com.liferay.portal.SystemException
NoSuchUserGroupException
UserGroup[] findByC_P_PrevAndNext(long userGroupId, long companyId, long parentUserGroupId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchUserGroupException
com.liferay.portal.SystemException
NoSuchUserGroupException
UserGroup findByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException, NoSuchUserGroupException
com.liferay.portal.SystemException
NoSuchUserGroupException
UserGroup fetchByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<UserGroup> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<UserGroup> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<UserGroup> findAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<UserGroup> findAll(int begin, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<UserGroup> findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByCompanyId(long companyId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByC_P(long companyId, long parentUserGroupId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException, NoSuchUserGroupException
com.liferay.portal.SystemException
NoSuchUserGroupException
void removeAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByCompanyId(long companyId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByC_P(long companyId, long parentUserGroupId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<User> getUsers(long pk) throws com.liferay.portal.SystemException, NoSuchUserGroupException
com.liferay.portal.SystemException
NoSuchUserGroupException
java.util.List<User> getUsers(long pk, int begin, int end) throws com.liferay.portal.SystemException, NoSuchUserGroupException
com.liferay.portal.SystemException
NoSuchUserGroupException
java.util.List<User> getUsers(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, NoSuchUserGroupException
com.liferay.portal.SystemException
NoSuchUserGroupException
int getUsersSize(long pk) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
boolean containsUser(long pk, long userPK) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
boolean containsUsers(long pk) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void addUser(long pk, long userPK) throws com.liferay.portal.SystemException, NoSuchUserGroupException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchUserGroupException
NoSuchUserException
void addUser(long pk, User user) throws com.liferay.portal.SystemException, NoSuchUserGroupException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchUserGroupException
NoSuchUserException
void addUsers(long pk, long[] userPKs) throws com.liferay.portal.SystemException, NoSuchUserGroupException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchUserGroupException
NoSuchUserException
void addUsers(long pk, java.util.List<User> users) throws com.liferay.portal.SystemException, NoSuchUserGroupException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchUserGroupException
NoSuchUserException
void clearUsers(long pk) throws com.liferay.portal.SystemException, NoSuchUserGroupException
com.liferay.portal.SystemException
NoSuchUserGroupException
void removeUser(long pk, long userPK) throws com.liferay.portal.SystemException, NoSuchUserGroupException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchUserGroupException
NoSuchUserException
void removeUser(long pk, User user) throws com.liferay.portal.SystemException, NoSuchUserGroupException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchUserGroupException
NoSuchUserException
void removeUsers(long pk, long[] userPKs) throws com.liferay.portal.SystemException, NoSuchUserGroupException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchUserGroupException
NoSuchUserException
void removeUsers(long pk, java.util.List<User> users) throws com.liferay.portal.SystemException, NoSuchUserGroupException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchUserGroupException
NoSuchUserException
void setUsers(long pk, long[] userPKs) throws com.liferay.portal.SystemException, NoSuchUserGroupException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchUserGroupException
NoSuchUserException
void setUsers(long pk, java.util.List<User> users) throws com.liferay.portal.SystemException, NoSuchUserGroupException, NoSuchUserException
com.liferay.portal.SystemException
NoSuchUserGroupException
NoSuchUserException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |