com.liferay.portal.service.persistence
Class GroupUtil
java.lang.Object
com.liferay.portal.service.persistence.GroupUtil
public class GroupUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
GroupPersistence
,
GroupPersistenceImpl
- Generated:
Method Summary |
static void |
addOrganization(long pk,
long organizationPK)
|
static void |
addOrganization(long pk,
Organization organization)
|
static void |
addOrganizations(long pk,
java.util.List<Organization> organizations)
|
static void |
addOrganizations(long pk,
long[] organizationPKs)
|
static void |
addPermission(long pk,
long permissionPK)
|
static void |
addPermission(long pk,
Permission permission)
|
static void |
addPermissions(long pk,
java.util.List<Permission> permissions)
|
static void |
addPermissions(long pk,
long[] permissionPKs)
|
static void |
addRole(long pk,
long rolePK)
|
static void |
addRole(long pk,
Role role)
|
static void |
addRoles(long pk,
java.util.List<Role> roles)
|
static void |
addRoles(long pk,
long[] rolePKs)
|
static void |
addUser(long pk,
long userPK)
|
static void |
addUser(long pk,
User user)
|
static void |
addUserGroup(long pk,
long userGroupPK)
|
static void |
addUserGroup(long pk,
UserGroup userGroup)
|
static void |
addUserGroups(long pk,
java.util.List<UserGroup> userGroups)
|
static void |
addUserGroups(long pk,
long[] userGroupPKs)
|
static void |
addUsers(long pk,
java.util.List<User> users)
|
static void |
addUsers(long pk,
long[] userPKs)
|
static void |
cacheResult(Group group)
|
static void |
cacheResult(java.util.List<Group> groups)
|
static void |
clearCache()
|
static void |
clearCache(Group group)
|
static void |
clearOrganizations(long pk)
|
static void |
clearPermissions(long pk)
|
static void |
clearRoles(long pk)
|
static void |
clearUserGroups(long pk)
|
static void |
clearUsers(long pk)
|
static boolean |
containsOrganization(long pk,
long organizationPK)
|
static boolean |
containsOrganizations(long pk)
|
static boolean |
containsPermission(long pk,
long permissionPK)
|
static boolean |
containsPermissions(long pk)
|
static boolean |
containsRole(long pk,
long rolePK)
|
static boolean |
containsRoles(long pk)
|
static boolean |
containsUser(long pk,
long userPK)
|
static boolean |
containsUserGroup(long pk,
long userGroupPK)
|
static boolean |
containsUserGroups(long pk)
|
static boolean |
containsUsers(long pk)
|
static int |
countAll()
|
static int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
|
static int |
countByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
|
static int |
countByC_F(long companyId,
java.lang.String friendlyURL)
|
static int |
countByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
|
static int |
countByC_N(long companyId,
java.lang.String name)
|
static int |
countByCompanyId(long companyId)
|
static int |
countByLiveGroupId(long liveGroupId)
|
static int |
countByT_A(int type,
boolean active)
|
int |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static Group |
create(long groupId)
|
static Group |
fetchByC_C_C(long companyId,
long classNameId,
long classPK)
|
static Group |
fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
|
static Group |
fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
|
static Group |
fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name,
boolean retrieveFromCache)
|
static Group |
fetchByC_F(long companyId,
java.lang.String friendlyURL)
|
static Group |
fetchByC_F(long companyId,
java.lang.String friendlyURL,
boolean retrieveFromCache)
|
static Group |
fetchByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
|
static Group |
fetchByC_L_N(long companyId,
long liveGroupId,
java.lang.String name,
boolean retrieveFromCache)
|
static Group |
fetchByC_N(long companyId,
java.lang.String name)
|
static Group |
fetchByC_N(long companyId,
java.lang.String name,
boolean retrieveFromCache)
|
static Group |
fetchByLiveGroupId(long liveGroupId)
|
static Group |
fetchByLiveGroupId(long liveGroupId,
boolean retrieveFromCache)
|
static Group |
fetchByPrimaryKey(long groupId)
|
static java.util.List<Group> |
findAll()
|
static java.util.List<Group> |
findAll(int start,
int end)
|
static java.util.List<Group> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Group |
findByC_C_C(long companyId,
long classNameId,
long classPK)
|
static Group |
findByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
|
static Group |
findByC_F(long companyId,
java.lang.String friendlyURL)
|
static Group |
findByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
|
static Group |
findByC_N(long companyId,
java.lang.String name)
|
static Group |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Group |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Group[] |
findByCompanyId_PrevAndNext(long groupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<Group> |
findByCompanyId(long companyId)
|
static java.util.List<Group> |
findByCompanyId(long companyId,
int start,
int end)
|
static java.util.List<Group> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Group |
findByLiveGroupId(long liveGroupId)
|
static Group |
findByPrimaryKey(long groupId)
|
static Group |
findByT_A_First(int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Group |
findByT_A_Last(int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Group[] |
findByT_A_PrevAndNext(long groupId,
int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<Group> |
findByT_A(int type,
boolean active)
|
static java.util.List<Group> |
findByT_A(int type,
boolean active,
int start,
int end)
|
static java.util.List<Group> |
findByT_A(int type,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List<Organization> |
getOrganizations(long pk)
|
static java.util.List<Organization> |
getOrganizations(long pk,
int start,
int end)
|
static java.util.List<Organization> |
getOrganizations(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
getOrganizationsSize(long pk)
|
static java.util.List<Permission> |
getPermissions(long pk)
|
static java.util.List<Permission> |
getPermissions(long pk,
int start,
int end)
|
static java.util.List<Permission> |
getPermissions(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
getPermissionsSize(long pk)
|
static GroupPersistence |
getPersistence()
|
static java.util.List<Role> |
getRoles(long pk)
|
static java.util.List<Role> |
getRoles(long pk,
int start,
int end)
|
static java.util.List<Role> |
getRoles(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
getRolesSize(long pk)
|
static java.util.List<UserGroup> |
getUserGroups(long pk)
|
static java.util.List<UserGroup> |
getUserGroups(long pk,
int start,
int end)
|
static java.util.List<UserGroup> |
getUserGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
getUserGroupsSize(long pk)
|
static java.util.List<User> |
getUsers(long pk)
|
static java.util.List<User> |
getUsers(long pk,
int start,
int end)
|
static java.util.List<User> |
getUsers(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
getUsersSize(long pk)
|
static Group |
remove(Group group)
|
static Group |
remove(long groupId)
|
static void |
removeAll()
|
static void |
removeByC_C_C(long companyId,
long classNameId,
long classPK)
|
static void |
removeByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
|
static void |
removeByC_F(long companyId,
java.lang.String friendlyURL)
|
static void |
removeByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
|
static void |
removeByC_N(long companyId,
java.lang.String name)
|
static void |
removeByCompanyId(long companyId)
|
static void |
removeByLiveGroupId(long liveGroupId)
|
static void |
removeByT_A(int type,
boolean active)
|
static void |
removeOrganization(long pk,
long organizationPK)
|
static void |
removeOrganization(long pk,
Organization organization)
|
static void |
removeOrganizations(long pk,
java.util.List<Organization> organizations)
|
static void |
removeOrganizations(long pk,
long[] organizationPKs)
|
static void |
removePermission(long pk,
long permissionPK)
|
static void |
removePermission(long pk,
Permission permission)
|
static void |
removePermissions(long pk,
java.util.List<Permission> permissions)
|
static void |
removePermissions(long pk,
long[] permissionPKs)
|
static void |
removeRole(long pk,
long rolePK)
|
static void |
removeRole(long pk,
Role role)
|
static void |
removeRoles(long pk,
java.util.List<Role> roles)
|
static void |
removeRoles(long pk,
long[] rolePKs)
|
static void |
removeUser(long pk,
long userPK)
|
static void |
removeUser(long pk,
User user)
|
static void |
removeUserGroup(long pk,
long userGroupPK)
|
static void |
removeUserGroup(long pk,
UserGroup userGroup)
|
static void |
removeUserGroups(long pk,
java.util.List<UserGroup> userGroups)
|
static void |
removeUserGroups(long pk,
long[] userGroupPKs)
|
static void |
removeUsers(long pk,
java.util.List<User> users)
|
static void |
removeUsers(long pk,
long[] userPKs)
|
static void |
setOrganizations(long pk,
java.util.List<Organization> organizations)
|
static void |
setOrganizations(long pk,
long[] organizationPKs)
|
static void |
setPermissions(long pk,
java.util.List<Permission> permissions)
|
static void |
setPermissions(long pk,
long[] permissionPKs)
|
void |
setPersistence(GroupPersistence persistence)
|
static void |
setRoles(long pk,
java.util.List<Role> roles)
|
static void |
setRoles(long pk,
long[] rolePKs)
|
static void |
setUserGroups(long pk,
java.util.List<UserGroup> userGroups)
|
static void |
setUserGroups(long pk,
long[] userGroupPKs)
|
static void |
setUsers(long pk,
java.util.List<User> users)
|
static void |
setUsers(long pk,
long[] userPKs)
|
static Group |
update(Group group)
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean) . |
static Group |
update(Group group,
boolean merge)
|
static Group |
updateImpl(Group group,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupUtil
public GroupUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(Group group)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(Group)
countWithDynamicQuery
public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static Group remove(Group group)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static Group update(Group group,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(Group group)
cacheResult
public static void cacheResult(java.util.List<Group> groups)
create
public static Group create(long groupId)
remove
public static Group remove(long groupId)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
update
public static Group update(Group group)
throws com.liferay.portal.SystemException
- Deprecated. Use
com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
public static Group updateImpl(Group group,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static Group findByPrimaryKey(long groupId)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
fetchByPrimaryKey
public static Group fetchByPrimaryKey(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<Group> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<Group> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<Group> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public static Group findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
findByCompanyId_Last
public static Group findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
findByCompanyId_PrevAndNext
public static Group[] findByCompanyId_PrevAndNext(long groupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
findByLiveGroupId
public static Group findByLiveGroupId(long liveGroupId)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
fetchByLiveGroupId
public static Group fetchByLiveGroupId(long liveGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByLiveGroupId
public static Group fetchByLiveGroupId(long liveGroupId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_N
public static Group findByC_N(long companyId,
java.lang.String name)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
fetchByC_N
public static Group fetchByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_N
public static Group fetchByC_N(long companyId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_F
public static Group findByC_F(long companyId,
java.lang.String friendlyURL)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
fetchByC_F
public static Group fetchByC_F(long companyId,
java.lang.String friendlyURL)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_F
public static Group fetchByC_F(long companyId,
java.lang.String friendlyURL,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByT_A
public static java.util.List<Group> findByT_A(int type,
boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByT_A
public static java.util.List<Group> findByT_A(int type,
boolean active,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByT_A
public static java.util.List<Group> findByT_A(int type,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByT_A_First
public static Group findByT_A_First(int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
findByT_A_Last
public static Group findByT_A_Last(int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
findByT_A_PrevAndNext
public static Group[] findByT_A_PrevAndNext(long groupId,
int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
findByC_C_C
public static Group findByC_C_C(long companyId,
long classNameId,
long classPK)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
fetchByC_C_C
public static Group fetchByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_C_C
public static Group fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_L_N
public static Group findByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
fetchByC_L_N
public static Group fetchByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_L_N
public static Group fetchByC_L_N(long companyId,
long liveGroupId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C_L_N
public static Group findByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
fetchByC_C_L_N
public static Group fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_C_L_N
public static Group fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<Group> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<Group> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<Group> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public static void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByLiveGroupId
public static void removeByLiveGroupId(long liveGroupId)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
removeByC_N
public static void removeByC_N(long companyId,
java.lang.String name)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
removeByC_F
public static void removeByC_F(long companyId,
java.lang.String friendlyURL)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
removeByT_A
public static void removeByT_A(int type,
boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_C_C
public static void removeByC_C_C(long companyId,
long classNameId,
long classPK)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
removeByC_L_N
public static void removeByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
removeByC_C_L_N
public static void removeByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByLiveGroupId
public static int countByLiveGroupId(long liveGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_N
public static int countByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_F
public static int countByC_F(long companyId,
java.lang.String friendlyURL)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByT_A
public static int countByT_A(int type,
boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_C_C
public static int countByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_L_N
public static int countByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_C_L_N
public static int countByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizations
public static java.util.List<Organization> getOrganizations(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizations
public static java.util.List<Organization> getOrganizations(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizations
public static java.util.List<Organization> getOrganizations(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizationsSize
public static int getOrganizationsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsOrganization
public static boolean containsOrganization(long pk,
long organizationPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsOrganizations
public static boolean containsOrganizations(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addOrganization
public static void addOrganization(long pk,
long organizationPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addOrganization
public static void addOrganization(long pk,
Organization organization)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addOrganizations
public static void addOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addOrganizations
public static void addOrganizations(long pk,
java.util.List<Organization> organizations)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearOrganizations
public static void clearOrganizations(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeOrganization
public static void removeOrganization(long pk,
long organizationPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeOrganization
public static void removeOrganization(long pk,
Organization organization)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeOrganizations
public static void removeOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeOrganizations
public static void removeOrganizations(long pk,
java.util.List<Organization> organizations)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setOrganizations
public static void setOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setOrganizations
public static void setOrganizations(long pk,
java.util.List<Organization> organizations)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPermissions
public static java.util.List<Permission> getPermissions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPermissions
public static java.util.List<Permission> getPermissions(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPermissions
public static java.util.List<Permission> getPermissions(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPermissionsSize
public static int getPermissionsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsPermission
public static boolean containsPermission(long pk,
long permissionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsPermissions
public static boolean containsPermissions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addPermission
public static void addPermission(long pk,
long permissionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addPermission
public static void addPermission(long pk,
Permission permission)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addPermissions
public static void addPermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addPermissions
public static void addPermissions(long pk,
java.util.List<Permission> permissions)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearPermissions
public static void clearPermissions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removePermission
public static void removePermission(long pk,
long permissionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removePermission
public static void removePermission(long pk,
Permission permission)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removePermissions
public static void removePermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removePermissions
public static void removePermissions(long pk,
java.util.List<Permission> permissions)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setPermissions
public static void setPermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setPermissions
public static void setPermissions(long pk,
java.util.List<Permission> permissions)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRoles
public static java.util.List<Role> getRoles(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRoles
public static java.util.List<Role> getRoles(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRoles
public static java.util.List<Role> getRoles(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRolesSize
public static int getRolesSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsRole
public static boolean containsRole(long pk,
long rolePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsRoles
public static boolean containsRoles(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addRole
public static void addRole(long pk,
long rolePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addRole
public static void addRole(long pk,
Role role)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addRoles
public static void addRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addRoles
public static void addRoles(long pk,
java.util.List<Role> roles)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearRoles
public static void clearRoles(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeRole
public static void removeRole(long pk,
long rolePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeRole
public static void removeRole(long pk,
Role role)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeRoles
public static void removeRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeRoles
public static void removeRoles(long pk,
java.util.List<Role> roles)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setRoles
public static void setRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setRoles
public static void setRoles(long pk,
java.util.List<Role> roles)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroups
public static java.util.List<UserGroup> getUserGroups(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroups
public static java.util.List<UserGroup> getUserGroups(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroups
public static java.util.List<UserGroup> getUserGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroupsSize
public static int getUserGroupsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsUserGroup
public static boolean containsUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsUserGroups
public static boolean containsUserGroups(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUserGroup
public static void addUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUserGroup
public static void addUserGroup(long pk,
UserGroup userGroup)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUserGroups
public static void addUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUserGroups
public static void addUserGroups(long pk,
java.util.List<UserGroup> userGroups)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearUserGroups
public static void clearUserGroups(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUserGroup
public static void removeUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUserGroup
public static void removeUserGroup(long pk,
UserGroup userGroup)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUserGroups
public static void removeUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUserGroups
public static void removeUserGroups(long pk,
java.util.List<UserGroup> userGroups)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setUserGroups
public static void setUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setUserGroups
public static void setUserGroups(long pk,
java.util.List<UserGroup> userGroups)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUsers
public static java.util.List<User> getUsers(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUsers
public static java.util.List<User> getUsers(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUsers
public static java.util.List<User> getUsers(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUsersSize
public static int getUsersSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsUser
public static boolean containsUser(long pk,
long userPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsUsers
public static boolean containsUsers(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUser
public static void addUser(long pk,
long userPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUser
public static void addUser(long pk,
User user)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUsers
public static void addUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUsers
public static void addUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearUsers
public static void clearUsers(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUser
public static void removeUser(long pk,
long userPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUser
public static void removeUser(long pk,
User user)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUsers
public static void removeUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUsers
public static void removeUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setUsers
public static void setUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setUsers
public static void setUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static GroupPersistence getPersistence()
setPersistence
public void setPersistence(GroupPersistence persistence)