com.liferay.portal.service
Class GroupLocalServiceWrapper
java.lang.Object
com.liferay.portal.service.GroupLocalServiceWrapper
- All Implemented Interfaces:
- GroupLocalService
public class GroupLocalServiceWrapper
- extends java.lang.Object
- implements GroupLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for GroupLocalService
.
- Author:
- Brian Wing Shun Chan
- See Also:
GroupLocalService
- Generated:
Method Summary |
Group |
addGroup(Group group)
|
Group |
addGroup(long userId,
java.lang.String className,
long classPK,
long liveGroupId,
java.lang.String name,
java.lang.String description,
int type,
java.lang.String friendlyURL,
boolean active,
ServiceContext serviceContext)
|
Group |
addGroup(long userId,
java.lang.String className,
long classPK,
java.lang.String name,
java.lang.String description,
int type,
java.lang.String friendlyURL,
boolean active,
ServiceContext serviceContext)
|
void |
addRoleGroups(long roleId,
long[] groupIds)
|
void |
addUserGroups(long userId,
long[] groupIds)
|
void |
checkCompanyGroup(long companyId)
|
void |
checkSystemGroups(long companyId)
|
Group |
createGroup(long groupId)
|
void |
deleteGroup(Group group)
|
void |
deleteGroup(long groupId)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
Group |
getCompanyGroup(long companyId)
|
java.util.List<Group> |
getCompanyGroups(long companyId,
int start,
int end)
|
int |
getCompanyGroupsCount(long companyId)
|
Group |
getFriendlyURLGroup(long companyId,
java.lang.String friendlyURL)
|
Group |
getGroup(long groupId)
|
Group |
getGroup(long companyId,
java.lang.String name)
|
java.util.List<Group> |
getGroups(int start,
int end)
|
java.util.List<Group> |
getGroups(long[] groupIds)
|
int |
getGroupsCount()
|
Group |
getLayoutGroup(long companyId,
long plid)
|
Group |
getLayoutPrototypeGroup(long companyId,
long layoutPrototypeId)
|
Group |
getLayoutSetPrototypeGroup(long companyId,
long layoutSetPrototypeId)
|
java.util.List<Group> |
getNoLayoutsGroups(java.lang.String className,
boolean privateLayout,
int start,
int end)
|
java.util.List<Group> |
getNullFriendlyURLGroups()
|
Group |
getOrganizationGroup(long companyId,
long organizationId)
|
java.util.List<Group> |
getOrganizationsGroups(java.util.List<Organization> organizations)
|
java.util.List<Group> |
getRoleGroups(long roleId)
|
Group |
getStagingGroup(long liveGroupId)
|
Group |
getUserGroup(long companyId,
long userId)
|
Group |
getUserGroupGroup(long companyId,
long userGroupId)
|
java.util.List<Group> |
getUserGroups(long userId)
|
java.util.List<Group> |
getUserGroups(long userId,
boolean inherit)
|
java.util.List<Group> |
getUserGroups(long userId,
boolean inherit,
int start,
int end)
|
java.util.List<Group> |
getUserGroups(long userId,
int start,
int end)
|
java.util.List<Group> |
getUserGroupsGroups(java.util.List<UserGroup> userGroups)
|
java.util.List<Group> |
getUserOrganizationsGroups(long userId,
int start,
int end)
|
GroupLocalService |
getWrappedGroupLocalService()
|
boolean |
hasRoleGroup(long roleId,
long groupId)
|
boolean |
hasStagingGroup(long liveGroupId)
|
boolean |
hasUserGroup(long userId,
long groupId)
|
java.util.List<Group> |
search(long companyId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int start,
int end)
|
java.util.List<Group> |
search(long companyId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
searchCount(long companyId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
|
void |
setRoleGroups(long roleId,
long[] groupIds)
|
void |
unsetRoleGroups(long roleId,
long[] groupIds)
|
void |
unsetUserGroups(long userId,
long[] groupIds)
|
void |
updateAsset(long userId,
Group group,
long[] assetCategoryIds,
java.lang.String[] assetTagNames)
|
Group |
updateFriendlyURL(long groupId,
java.lang.String friendlyURL)
|
Group |
updateGroup(Group group)
|
Group |
updateGroup(Group group,
boolean merge)
|
Group |
updateGroup(long groupId,
java.lang.String typeSettings)
|
Group |
updateGroup(long groupId,
java.lang.String name,
java.lang.String description,
int type,
java.lang.String friendlyURL,
boolean active,
ServiceContext serviceContext)
|
Group |
updateWorkflow(long groupId,
boolean workflowEnabled,
int workflowStages,
java.lang.String workflowRoleNames)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupLocalServiceWrapper
public GroupLocalServiceWrapper(GroupLocalService groupLocalService)
addGroup
public Group addGroup(Group group)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
addGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
createGroup
public Group createGroup(long groupId)
- Specified by:
createGroup
in interface GroupLocalService
deleteGroup
public void deleteGroup(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteGroup
public void deleteGroup(Group group)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
dynamicQuery
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
dynamicQuery
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroup
public Group getGroup(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getGroups
public java.util.List<Group> getGroups(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupsCount
public int getGroupsCount()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGroupsCount
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateGroup
public Group updateGroup(Group group)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateGroup
public Group updateGroup(Group group,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
addGroup
public Group addGroup(long userId,
java.lang.String className,
long classPK,
java.lang.String name,
java.lang.String description,
int type,
java.lang.String friendlyURL,
boolean active,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addGroup
public Group addGroup(long userId,
java.lang.String className,
long classPK,
long liveGroupId,
java.lang.String name,
java.lang.String description,
int type,
java.lang.String friendlyURL,
boolean active,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addRoleGroups
public void addRoleGroups(long roleId,
long[] groupIds)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
addRoleGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
addUserGroups
public void addUserGroups(long userId,
long[] groupIds)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
addUserGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
checkCompanyGroup
public void checkCompanyGroup(long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
checkCompanyGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
checkSystemGroups
public void checkSystemGroups(long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
checkSystemGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getCompanyGroup
public Group getCompanyGroup(long companyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCompanyGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getCompanyGroups
public java.util.List<Group> getCompanyGroups(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCompanyGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyGroupsCount
public int getCompanyGroupsCount(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCompanyGroupsCount
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getFriendlyURLGroup
public Group getFriendlyURLGroup(long companyId,
java.lang.String friendlyURL)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getFriendlyURLGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getGroup
public Group getGroup(long companyId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getGroups
public java.util.List<Group> getGroups(long[] groupIds)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getLayoutGroup
public Group getLayoutGroup(long companyId,
long plid)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getLayoutGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getLayoutPrototypeGroup
public Group getLayoutPrototypeGroup(long companyId,
long layoutPrototypeId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getLayoutPrototypeGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getLayoutSetPrototypeGroup
public Group getLayoutSetPrototypeGroup(long companyId,
long layoutSetPrototypeId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getLayoutSetPrototypeGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getNoLayoutsGroups
public java.util.List<Group> getNoLayoutsGroups(java.lang.String className,
boolean privateLayout,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getNoLayoutsGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getNullFriendlyURLGroups
public java.util.List<Group> getNullFriendlyURLGroups()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getNullFriendlyURLGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getOrganizationGroup
public Group getOrganizationGroup(long companyId,
long organizationId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getOrganizationGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getOrganizationsGroups
public java.util.List<Group> getOrganizationsGroups(java.util.List<Organization> organizations)
- Specified by:
getOrganizationsGroups
in interface GroupLocalService
getRoleGroups
public java.util.List<Group> getRoleGroups(long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getRoleGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getStagingGroup
public Group getStagingGroup(long liveGroupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getStagingGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getUserGroup
public Group getUserGroup(long companyId,
long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getUserGroupGroup
public Group getUserGroupGroup(long companyId,
long userGroupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserGroupGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getUserGroups
public java.util.List<Group> getUserGroups(long userId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getUserGroups
public java.util.List<Group> getUserGroups(long userId,
boolean inherit)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getUserGroups
public java.util.List<Group> getUserGroups(long userId,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getUserGroups
public java.util.List<Group> getUserGroups(long userId,
boolean inherit,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getUserGroupsGroups
public java.util.List<Group> getUserGroupsGroups(java.util.List<UserGroup> userGroups)
- Specified by:
getUserGroupsGroups
in interface GroupLocalService
getUserOrganizationsGroups
public java.util.List<Group> getUserOrganizationsGroups(long userId,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserOrganizationsGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
hasRoleGroup
public boolean hasRoleGroup(long roleId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
hasRoleGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
hasStagingGroup
public boolean hasStagingGroup(long liveGroupId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
hasStagingGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
hasUserGroup
public boolean hasUserGroup(long userId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
hasUserGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
search
public java.util.List<Group> search(long companyId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
search
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
search
public java.util.List<Group> search(long companyId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
search
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
searchCount
public int searchCount(long companyId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
searchCount
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
setRoleGroups
public void setRoleGroups(long roleId,
long[] groupIds)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
setRoleGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
unsetRoleGroups
public void unsetRoleGroups(long roleId,
long[] groupIds)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
unsetRoleGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
unsetUserGroups
public void unsetUserGroups(long userId,
long[] groupIds)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
unsetUserGroups
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateAsset
public void updateAsset(long userId,
Group group,
long[] assetCategoryIds,
java.lang.String[] assetTagNames)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateAsset
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateFriendlyURL
public Group updateFriendlyURL(long groupId,
java.lang.String friendlyURL)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateFriendlyURL
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateGroup
public Group updateGroup(long groupId,
java.lang.String name,
java.lang.String description,
int type,
java.lang.String friendlyURL,
boolean active,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateGroup
public Group updateGroup(long groupId,
java.lang.String typeSettings)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateGroup
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateWorkflow
public Group updateWorkflow(long groupId,
boolean workflowEnabled,
int workflowStages,
java.lang.String workflowRoleNames)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateWorkflow
in interface GroupLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getWrappedGroupLocalService
public GroupLocalService getWrappedGroupLocalService()