com.liferay.portal.service
Class UserGroupLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.UserGroupLocalServiceWrapper
All Implemented Interfaces:
UserGroupLocalService

public class UserGroupLocalServiceWrapper
extends java.lang.Object
implements UserGroupLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for UserGroupLocalService.

Author:
Brian Wing Shun Chan
See Also:
UserGroupLocalService
Generated:

Constructor Summary
UserGroupLocalServiceWrapper(UserGroupLocalService userGroupLocalService)
           
 
Method Summary
 void addGroupUserGroups(long groupId, long[] userGroupIds)
           
 UserGroup addUserGroup(long userId, long companyId, java.lang.String name, java.lang.String description)
           
 UserGroup addUserGroup(UserGroup userGroup)
           
 void clearUserUserGroups(long userId)
           
 void copyUserGroupLayouts(long[] userGroupIds, long userId)
           
 void copyUserGroupLayouts(long userGroupId, long userId)
           
 void copyUserGroupLayouts(long userGroupId, long[] userIds)
           
 UserGroup createUserGroup(long userGroupId)
           
 void deleteUserGroup(long userGroupId)
           
 void deleteUserGroup(UserGroup userGroup)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 UserGroup getUserGroup(long userGroupId)
           
 UserGroup getUserGroup(long companyId, java.lang.String name)
           
 java.util.List<UserGroup> getUserGroups(int start, int end)
           
 java.util.List<UserGroup> getUserGroups(long companyId)
           
 java.util.List<UserGroup> getUserGroups(long[] userGroupIds)
           
 int getUserGroupsCount()
           
 java.util.List<UserGroup> getUserUserGroups(long userId)
           
 UserGroupLocalService getWrappedUserGroupLocalService()
           
 boolean hasGroupUserGroup(long groupId, long userGroupId)
           
 java.util.List<UserGroup> 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 setUserUserGroups(long userId, long[] userGroupIds)
           
 void unsetGroupUserGroups(long groupId, long[] userGroupIds)
           
 UserGroup updateUserGroup(long companyId, long userGroupId, java.lang.String name, java.lang.String description)
           
 UserGroup updateUserGroup(UserGroup userGroup)
           
 UserGroup updateUserGroup(UserGroup userGroup, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserGroupLocalServiceWrapper

public UserGroupLocalServiceWrapper(UserGroupLocalService userGroupLocalService)
Method Detail

addUserGroup

public UserGroup addUserGroup(UserGroup userGroup)
                       throws com.liferay.portal.SystemException
Specified by:
addUserGroup in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

createUserGroup

public UserGroup createUserGroup(long userGroupId)
Specified by:
createUserGroup in interface UserGroupLocalService

deleteUserGroup

public void deleteUserGroup(long userGroupId)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Specified by:
deleteUserGroup in interface UserGroupLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteUserGroup

public void deleteUserGroup(UserGroup userGroup)
                     throws com.liferay.portal.SystemException
Specified by:
deleteUserGroup in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

dynamicQueryCount

public int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                      throws com.liferay.portal.SystemException
Specified by:
dynamicQueryCount in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

getUserGroup

public UserGroup getUserGroup(long userGroupId)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Specified by:
getUserGroup in interface UserGroupLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getUserGroups

public java.util.List<UserGroup> getUserGroups(int start,
                                               int end)
                                        throws com.liferay.portal.SystemException
Specified by:
getUserGroups in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

getUserGroupsCount

public int getUserGroupsCount()
                       throws com.liferay.portal.SystemException
Specified by:
getUserGroupsCount in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

updateUserGroup

public UserGroup updateUserGroup(UserGroup userGroup)
                          throws com.liferay.portal.SystemException
Specified by:
updateUserGroup in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

updateUserGroup

public UserGroup updateUserGroup(UserGroup userGroup,
                                 boolean merge)
                          throws com.liferay.portal.SystemException
Specified by:
updateUserGroup in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

addGroupUserGroups

public void addGroupUserGroups(long groupId,
                               long[] userGroupIds)
                        throws com.liferay.portal.SystemException
Specified by:
addGroupUserGroups in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

addUserGroup

public UserGroup addUserGroup(long userId,
                              long companyId,
                              java.lang.String name,
                              java.lang.String description)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Specified by:
addUserGroup in interface UserGroupLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

clearUserUserGroups

public void clearUserUserGroups(long userId)
                         throws com.liferay.portal.SystemException
Specified by:
clearUserUserGroups in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

copyUserGroupLayouts

public void copyUserGroupLayouts(long userGroupId,
                                 long[] userIds)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Specified by:
copyUserGroupLayouts in interface UserGroupLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

copyUserGroupLayouts

public void copyUserGroupLayouts(long[] userGroupIds,
                                 long userId)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Specified by:
copyUserGroupLayouts in interface UserGroupLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

copyUserGroupLayouts

public void copyUserGroupLayouts(long userGroupId,
                                 long userId)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Specified by:
copyUserGroupLayouts in interface UserGroupLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getUserGroup

public UserGroup getUserGroup(long companyId,
                              java.lang.String name)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Specified by:
getUserGroup in interface UserGroupLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getUserGroups

public java.util.List<UserGroup> getUserGroups(long companyId)
                                        throws com.liferay.portal.SystemException
Specified by:
getUserGroups in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

getUserGroups

public java.util.List<UserGroup> getUserGroups(long[] userGroupIds)
                                        throws com.liferay.portal.PortalException,
                                               com.liferay.portal.SystemException
Specified by:
getUserGroups in interface UserGroupLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getUserUserGroups

public java.util.List<UserGroup> getUserUserGroups(long userId)
                                            throws com.liferay.portal.SystemException
Specified by:
getUserUserGroups in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

hasGroupUserGroup

public boolean hasGroupUserGroup(long groupId,
                                 long userGroupId)
                          throws com.liferay.portal.SystemException
Specified by:
hasGroupUserGroup in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

search

public java.util.List<UserGroup> 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.SystemException
Specified by:
search in interface UserGroupLocalService
Throws:
com.liferay.portal.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.SystemException
Specified by:
searchCount in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

setUserUserGroups

public void setUserUserGroups(long userId,
                              long[] userGroupIds)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Specified by:
setUserUserGroups in interface UserGroupLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

unsetGroupUserGroups

public void unsetGroupUserGroups(long groupId,
                                 long[] userGroupIds)
                          throws com.liferay.portal.SystemException
Specified by:
unsetGroupUserGroups in interface UserGroupLocalService
Throws:
com.liferay.portal.SystemException

updateUserGroup

public UserGroup updateUserGroup(long companyId,
                                 long userGroupId,
                                 java.lang.String name,
                                 java.lang.String description)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Specified by:
updateUserGroup in interface UserGroupLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWrappedUserGroupLocalService

public UserGroupLocalService getWrappedUserGroupLocalService()