com.liferay.portal.service.impl
Class GroupLocalServiceImpl
java.lang.Object
com.liferay.portal.service.base.GroupLocalServiceBaseImpl
com.liferay.portal.service.impl.GroupLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portal.service.GroupLocalService
public class GroupLocalServiceImpl
- extends GroupLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan, Alexander Chow, Bruno Farache
Fields inherited from class com.liferay.portal.service.base.GroupLocalServiceBaseImpl |
accountLocalService, accountPersistence, accountService, addressLocalService, addressPersistence, addressService, blogsEntryFinder, blogsEntryLocalService, blogsEntryPersistence, blogsEntryService, blogsStatsUserFinder, blogsStatsUserLocalService, blogsStatsUserPersistence, bookmarksFolderLocalService, bookmarksFolderPersistence, bookmarksFolderService, browserTrackerLocalService, browserTrackerPersistence, calEventFinder, calEventLocalService, calEventPersistence, calEventService, classNameLocalService, classNamePersistence, classNameService, companyLocalService, companyPersistence, companyService, contactLocalService, contactPersistence, contactService, counterLocalService, counterService, countryPersistence, countryService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, emailAddressLocalService, emailAddressPersistence, emailAddressService, groupFinder, groupLocalService, groupPersistence, groupService, igFolderLocalService, igFolderPersistence, igFolderService, imageLocalService, imagePersistence, journalArticleFinder, journalArticleLocalService, journalArticlePersistence, journalArticleService, journalStructureFinder, journalStructureLocalService, journalStructurePersistence, journalStructureService, journalTemplateFinder, journalTemplateLocalService, journalTemplatePersistence, journalTemplateService, layoutFinder, layoutLocalService, layoutPersistence, layoutService, layoutSetLocalService, layoutSetPersistence, layoutSetService, layoutTemplateLocalService, listTypePersistence, listTypeService, mbBanLocalService, mbBanPersistence, mbBanService, mbCategoryFinder, mbCategoryLocalService, mbCategoryPersistence, mbCategoryService, mbStatsUserLocalService, mbStatsUserPersistence, membershipRequestLocalService, membershipRequestPersistence, membershipRequestService, organizationFinder, organizationLocalService, organizationPersistence, organizationService, orgGroupPermissionFinder, orgGroupPermissionPersistence, orgGroupRolePersistence, orgLaborLocalService, orgLaborPersistence, orgLaborService, passwordPolicyFinder, passwordPolicyLocalService, passwordPolicyPersistence, passwordPolicyRelLocalService, passwordPolicyRelPersistence, passwordPolicyService, passwordTrackerLocalService, passwordTrackerPersistence, permissionFinder, permissionLocalService, permissionPersistence, permissionService, permissionUserFinder, phoneLocalService, phonePersistence, phoneService, pluginSettingLocalService, pluginSettingPersistence, pluginSettingService, pollsQuestionLocalService, pollsQuestionPersistence, pollsQuestionService, portalLocalService, portalService, portletItemLocalService, portletItemPersistence, portletLocalService, portletPersistence, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, portletService, quartzLocalService, regionPersistence, regionService, releaseLocalService, releasePersistence, resourceActionLocalService, resourceActionPersistence, resourceCodeLocalService, resourceCodePersistence, resourceFinder, resourceLocalService, resourcePermissionLocalService, resourcePermissionPersistence, resourcePermissionService, resourcePersistence, resourceService, roleFinder, roleLocalService, rolePersistence, roleService, scFrameworkVersionLocalService, scFrameworkVersionPersistence, scFrameworkVersionService, scProductEntryLocalService, scProductEntryPersistence, scProductEntryService, serviceComponentLocalService, serviceComponentPersistence, shardLocalService, shardPersistence, shoppingCartLocalService, shoppingCartPersistence, shoppingCategoryLocalService, shoppingCategoryPersistence, shoppingCategoryService, shoppingCouponFinder, shoppingCouponLocalService, shoppingCouponPersistence, shoppingCouponService, shoppingOrderFinder, shoppingOrderLocalService, shoppingOrderPersistence, shoppingOrderService, subscriptionLocalService, subscriptionPersistence, tagsAssetFinder, tagsAssetLocalService, tagsAssetPersistence, tagsAssetService, tasksProposalFinder, tasksProposalLocalService, tasksProposalPersistence, tasksProposalService, themeLocalService, themeService, userFinder, userGroupFinder, userGroupLocalService, userGroupPersistence, userGroupRoleLocalService, userGroupRolePersistence, userGroupRoleService, userGroupService, userIdMapperLocalService, userIdMapperPersistence, userLocalService, userPersistence, userService, userTrackerLocalService, userTrackerPathLocalService, userTrackerPathPersistence, userTrackerPersistence, webDAVPropsLocalService, webDAVPropsPersistence, websiteLocalService, websitePersistence, websiteService, wikiNodeLocalService, wikiNodePersistence, wikiNodeService |
Method Summary |
protected void |
addControlPanelLayouts(com.liferay.portal.model.Group group)
|
protected void |
addDefaultGuestPublicLayoutByProperties(com.liferay.portal.model.Group group)
|
protected void |
addDefaultGuestPublicLayouts(com.liferay.portal.model.Group group)
|
protected void |
addDefaultGuestPublicLayoutsByLAR(com.liferay.portal.model.Group group,
java.io.File larFile)
|
com.liferay.portal.model.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,
com.liferay.portal.service.ServiceContext serviceContext)
|
com.liferay.portal.model.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,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
addRoleGroups(long roleId,
long[] groupIds)
|
void |
addUserGroups(long userId,
long[] groupIds)
|
void |
checkSystemGroups(long companyId)
|
void |
deleteGroup(long groupId)
|
protected java.lang.String |
getFriendlyURL(long companyId,
long groupId,
long classNameId,
long classPK,
java.lang.String friendlyName,
java.lang.String friendlyURL)
|
protected java.lang.String |
getFriendlyURL(java.lang.String friendlyURL)
|
com.liferay.portal.model.Group |
getFriendlyURLGroup(long companyId,
java.lang.String friendlyURL)
|
com.liferay.portal.model.Group |
getGroup(long groupId)
|
com.liferay.portal.model.Group |
getGroup(long companyId,
java.lang.String name)
|
java.util.List<com.liferay.portal.model.Group> |
getGroups(long[] groupIds)
|
com.liferay.portal.model.Group |
getLayoutGroup(long companyId,
long plid)
|
java.util.List<com.liferay.portal.model.Group> |
getNoLayoutsGroups(java.lang.String className,
boolean privateLayout,
int start,
int end)
|
java.util.List<com.liferay.portal.model.Group> |
getNullFriendlyURLGroups()
|
com.liferay.portal.model.Group |
getOrganizationGroup(long companyId,
long organizationId)
|
java.util.List<com.liferay.portal.model.Group> |
getOrganizationsGroups(java.util.List<com.liferay.portal.model.Organization> organizations)
|
java.util.List<com.liferay.portal.model.Group> |
getRoleGroups(long roleId)
|
com.liferay.portal.model.Group |
getStagingGroup(long liveGroupId)
|
com.liferay.portal.model.Group |
getUserGroup(long companyId,
long userId)
|
com.liferay.portal.model.Group |
getUserGroupGroup(long companyId,
long userGroupId)
|
java.util.List<com.liferay.portal.model.Group> |
getUserGroups(long userId)
|
java.util.List<com.liferay.portal.model.Group> |
getUserGroupsGroups(java.util.List<com.liferay.portal.model.UserGroup> userGroups)
|
java.util.List<com.liferay.portal.model.Group> |
getUserOrganizationsGroups(long userId,
int start,
int end)
|
boolean |
hasRoleGroup(long roleId,
long groupId)
|
boolean |
hasStagingGroup(long liveGroupId)
|
boolean |
hasUserGroup(long userId,
long groupId)
|
protected void |
initImportLARFile()
|
java.util.List<com.liferay.portal.model.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<com.liferay.portal.model.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)
|
protected void |
unscheduleStaging(com.liferay.portal.model.Group group)
|
void |
unsetRoleGroups(long roleId,
long[] groupIds)
|
void |
unsetUserGroups(long userId,
long[] groupIds)
|
com.liferay.portal.model.Group |
updateFriendlyURL(long groupId,
java.lang.String friendlyURL)
|
com.liferay.portal.model.Group |
updateGroup(long groupId,
java.lang.String typeSettings)
|
com.liferay.portal.model.Group |
updateGroup(long groupId,
java.lang.String name,
java.lang.String description,
int type,
java.lang.String friendlyURL,
boolean active,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
updateTagsAsset(long userId,
com.liferay.portal.model.Group group,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries)
|
com.liferay.portal.model.Group |
updateWorkflow(long groupId,
boolean workflowEnabled,
int workflowStages,
java.lang.String workflowRoleNames)
|
protected void |
validateFriendlyURL(long companyId,
long groupId,
long classNameId,
long classPK,
java.lang.String friendlyURL)
|
protected void |
validateName(long groupId,
long companyId,
java.lang.String name)
|
Methods inherited from class com.liferay.portal.service.base.GroupLocalServiceBaseImpl |
addGroup, createGroup, deleteGroup, dynamicQuery, dynamicQuery, getAccountLocalService, getAccountPersistence, getAccountService, getAddressLocalService, getAddressPersistence, getAddressService, getBlogsEntryFinder, getBlogsEntryLocalService, getBlogsEntryPersistence, getBlogsEntryService, getBlogsStatsUserFinder, getBlogsStatsUserLocalService, getBlogsStatsUserPersistence, getBookmarksFolderLocalService, getBookmarksFolderPersistence, getBookmarksFolderService, getBrowserTrackerLocalService, getBrowserTrackerPersistence, getCalEventFinder, getCalEventLocalService, getCalEventPersistence, getCalEventService, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getContactLocalService, getContactPersistence, getContactService, getCounterLocalService, getCounterService, getCountryPersistence, getCountryService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getEmailAddressLocalService, getEmailAddressPersistence, getEmailAddressService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroups, getGroupsCount, getGroupService, getIGFolderLocalService, getIGFolderPersistence, getIGFolderService, getImageLocalService, getImagePersistence, getJournalArticleFinder, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleService, getJournalStructureFinder, getJournalStructureLocalService, getJournalStructurePersistence, getJournalStructureService, getJournalTemplateFinder, getJournalTemplateLocalService, getJournalTemplatePersistence, getJournalTemplateService, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutService, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSetService, getLayoutTemplateLocalService, getListTypePersistence, getListTypeService, getMBBanLocalService, getMBBanPersistence, getMBBanService, getMBCategoryFinder, getMBCategoryLocalService, getMBCategoryPersistence, getMBCategoryService, getMBStatsUserLocalService, getMBStatsUserPersistence, getMembershipRequestLocalService, getMembershipRequestPersistence, getMembershipRequestService, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, getOrgGroupPermissionFinder, getOrgGroupPermissionPersistence, getOrgGroupRolePersistence, getOrgLaborLocalService, getOrgLaborPersistence, getOrgLaborService, getPasswordPolicyFinder, getPasswordPolicyLocalService, getPasswordPolicyPersistence, getPasswordPolicyRelLocalService, getPasswordPolicyRelPersistence, getPasswordPolicyService, getPasswordTrackerLocalService, getPasswordTrackerPersistence, getPermissionFinder, getPermissionLocalService, getPermissionPersistence, getPermissionService, getPermissionUserFinder, getPhoneLocalService, getPhonePersistence, getPhoneService, getPluginSettingLocalService, getPluginSettingPersistence, getPluginSettingService, getPollsQuestionLocalService, getPollsQuestionPersistence, getPollsQuestionService, getPortalLocalService, getPortalService, getPortletItemLocalService, getPortletItemPersistence, getPortletLocalService, getPortletPersistence, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getPortletService, getQuartzLocalService, getRegionPersistence, getRegionService, getReleaseLocalService, getReleasePersistence, getResourceActionLocalService, getResourceActionPersistence, getResourceCodeLocalService, getResourceCodePersistence, getResourceFinder, getResourceLocalService, getResourcePermissionLocalService, getResourcePermissionPersistence, getResourcePermissionService, getResourcePersistence, getResourceService, getRoleFinder, getRoleLocalService, getRolePersistence, getRoleService, getSCFrameworkVersionLocalService, getSCFrameworkVersionPersistence, getSCFrameworkVersionService, getSCProductEntryLocalService, getSCProductEntryPersistence, getSCProductEntryService, getServiceComponentLocalService, getServiceComponentPersistence, getShardLocalService, getShardPersistence, getShoppingCartLocalService, getShoppingCartPersistence, getShoppingCategoryLocalService, getShoppingCategoryPersistence, getShoppingCategoryService, getShoppingCouponFinder, getShoppingCouponLocalService, getShoppingCouponPersistence, getShoppingCouponService, getShoppingOrderFinder, getShoppingOrderLocalService, getShoppingOrderPersistence, getShoppingOrderService, getSubscriptionLocalService, getSubscriptionPersistence, getTagsAssetFinder, getTagsAssetLocalService, getTagsAssetPersistence, getTagsAssetService, getTasksProposalFinder, getTasksProposalLocalService, getTasksProposalPersistence, getTasksProposalService, getThemeLocalService, getThemeService, getUserFinder, getUserGroupFinder, getUserGroupLocalService, getUserGroupPersistence, getUserGroupRoleLocalService, getUserGroupRolePersistence, getUserGroupRoleService, getUserGroupService, getUserIdMapperLocalService, getUserIdMapperPersistence, getUserLocalService, getUserPersistence, getUserService, getUserTrackerLocalService, getUserTrackerPathLocalService, getUserTrackerPathPersistence, getUserTrackerPersistence, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWebsiteLocalService, getWebsitePersistence, getWebsiteService, getWikiNodeLocalService, getWikiNodePersistence, getWikiNodeService, runSQL, setAccountLocalService, setAccountPersistence, setAccountService, setAddressLocalService, setAddressPersistence, setAddressService, setBlogsEntryFinder, setBlogsEntryLocalService, setBlogsEntryPersistence, setBlogsEntryService, setBlogsStatsUserFinder, setBlogsStatsUserLocalService, setBlogsStatsUserPersistence, setBookmarksFolderLocalService, setBookmarksFolderPersistence, setBookmarksFolderService, setBrowserTrackerLocalService, setBrowserTrackerPersistence, setCalEventFinder, setCalEventLocalService, setCalEventPersistence, setCalEventService, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setContactLocalService, setContactPersistence, setContactService, setCounterLocalService, setCounterService, setCountryPersistence, setCountryService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setEmailAddressLocalService, setEmailAddressPersistence, setEmailAddressService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setIGFolderLocalService, setIGFolderPersistence, setIGFolderService, setImageLocalService, setImagePersistence, setJournalArticleFinder, setJournalArticleLocalService, setJournalArticlePersistence, setJournalArticleService, setJournalStructureFinder, setJournalStructureLocalService, setJournalStructurePersistence, setJournalStructureService, setJournalTemplateFinder, setJournalTemplateLocalService, setJournalTemplatePersistence, setJournalTemplateService, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutService, setLayoutSetLocalService, setLayoutSetPersistence, setLayoutSetService, setLayoutTemplateLocalService, setListTypePersistence, setListTypeService, setMBBanLocalService, setMBBanPersistence, setMBBanService, setMBCategoryFinder, setMBCategoryLocalService, setMBCategoryPersistence, setMBCategoryService, setMBStatsUserLocalService, setMBStatsUserPersistence, setMembershipRequestLocalService, setMembershipRequestPersistence, setMembershipRequestService, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setOrganizationService, setOrgGroupPermissionFinder, setOrgGroupPermissionPersistence, setOrgGroupRolePersistence, setOrgLaborLocalService, setOrgLaborPersistence, setOrgLaborService, setPasswordPolicyFinder, setPasswordPolicyLocalService, setPasswordPolicyPersistence, setPasswordPolicyRelLocalService, setPasswordPolicyRelPersistence, setPasswordPolicyService, setPasswordTrackerLocalService, setPasswordTrackerPersistence, setPermissionFinder, setPermissionLocalService, setPermissionPersistence, setPermissionService, setPermissionUserFinder, setPhoneLocalService, setPhonePersistence, setPhoneService, setPluginSettingLocalService, setPluginSettingPersistence, setPluginSettingService, setPollsQuestionLocalService, setPollsQuestionPersistence, setPollsQuestionService, setPortalLocalService, setPortalService, setPortletItemLocalService, setPortletItemPersistence, setPortletLocalService, setPortletPersistence, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setPortletService, setQuartzLocalService, setRegionPersistence, setRegionService, setReleaseLocalService, setReleasePersistence, setResourceActionLocalService, setResourceActionPersistence, setResourceCodeLocalService, setResourceCodePersistence, setResourceFinder, setResourceLocalService, setResourcePermissionLocalService, setResourcePermissionPersistence, setResourcePermissionService, setResourcePersistence, setResourceService, setRoleFinder, setRoleLocalService, setRolePersistence, setRoleService, setSCFrameworkVersionLocalService, setSCFrameworkVersionPersistence, setSCFrameworkVersionService, setSCProductEntryLocalService, setSCProductEntryPersistence, setSCProductEntryService, setServiceComponentLocalService, setServiceComponentPersistence, setShardLocalService, setShardPersistence, setShoppingCartLocalService, setShoppingCartPersistence, setShoppingCategoryLocalService, setShoppingCategoryPersistence, setShoppingCategoryService, setShoppingCouponFinder, setShoppingCouponLocalService, setShoppingCouponPersistence, setShoppingCouponService, setShoppingOrderFinder, setShoppingOrderLocalService, setShoppingOrderPersistence, setShoppingOrderService, setSubscriptionLocalService, setSubscriptionPersistence, setTagsAssetFinder, setTagsAssetLocalService, setTagsAssetPersistence, setTagsAssetService, setTasksProposalFinder, setTasksProposalLocalService, setTasksProposalPersistence, setTasksProposalService, setThemeLocalService, setThemeService, setUserFinder, setUserGroupFinder, setUserGroupLocalService, setUserGroupPersistence, setUserGroupRoleLocalService, setUserGroupRolePersistence, setUserGroupRoleService, setUserGroupService, setUserIdMapperLocalService, setUserIdMapperPersistence, setUserLocalService, setUserPersistence, setUserService, setUserTrackerLocalService, setUserTrackerPathLocalService, setUserTrackerPathPersistence, setUserTrackerPersistence, setWebDAVPropsLocalService, setWebDAVPropsPersistence, setWebsiteLocalService, setWebsitePersistence, setWebsiteService, setWikiNodeLocalService, setWikiNodePersistence, setWikiNodeService, updateGroup, updateGroup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
publicLARFile
protected java.io.File publicLARFile
GroupLocalServiceImpl
public GroupLocalServiceImpl()
addGroup
public com.liferay.portal.model.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,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addGroup
public com.liferay.portal.model.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,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addRoleGroups
public void addRoleGroups(long roleId,
long[] groupIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUserGroups
public void addUserGroups(long userId,
long[] groupIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkSystemGroups
@Transactional(propagation=SUPPORTS,
readOnly=true)
public void checkSystemGroups(long companyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteGroup
public void deleteGroup(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteGroup
in interface com.liferay.portal.service.GroupLocalService
- Overrides:
deleteGroup
in class GroupLocalServiceBaseImpl
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFriendlyURLGroup
public com.liferay.portal.model.Group getFriendlyURLGroup(long companyId,
java.lang.String friendlyURL)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroup
public com.liferay.portal.model.Group getGroup(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getGroup
in interface com.liferay.portal.service.GroupLocalService
- Overrides:
getGroup
in class GroupLocalServiceBaseImpl
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroup
public com.liferay.portal.model.Group getGroup(long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroups
public java.util.List<com.liferay.portal.model.Group> getGroups(long[] groupIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getLayoutGroup
public com.liferay.portal.model.Group getLayoutGroup(long companyId,
long plid)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getNoLayoutsGroups
public java.util.List<com.liferay.portal.model.Group> getNoLayoutsGroups(java.lang.String className,
boolean privateLayout,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getNullFriendlyURLGroups
public java.util.List<com.liferay.portal.model.Group> getNullFriendlyURLGroups()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizationGroup
public com.liferay.portal.model.Group getOrganizationGroup(long companyId,
long organizationId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getOrganizationsGroups
public java.util.List<com.liferay.portal.model.Group> getOrganizationsGroups(java.util.List<com.liferay.portal.model.Organization> organizations)
getRoleGroups
public java.util.List<com.liferay.portal.model.Group> getRoleGroups(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getStagingGroup
public com.liferay.portal.model.Group getStagingGroup(long liveGroupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserGroup
public com.liferay.portal.model.Group getUserGroup(long companyId,
long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserGroupGroup
public com.liferay.portal.model.Group getUserGroupGroup(long companyId,
long userGroupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserGroups
public java.util.List<com.liferay.portal.model.Group> getUserGroups(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroupsGroups
public java.util.List<com.liferay.portal.model.Group> getUserGroupsGroups(java.util.List<com.liferay.portal.model.UserGroup> userGroups)
getUserOrganizationsGroups
public java.util.List<com.liferay.portal.model.Group> getUserOrganizationsGroups(long userId,
int start,
int end)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
hasRoleGroup
public boolean hasRoleGroup(long roleId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasStagingGroup
public boolean hasStagingGroup(long liveGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasUserGroup
public boolean hasUserGroup(long userId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public java.util.List<com.liferay.portal.model.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.SystemException
- Throws:
com.liferay.portal.SystemException
search
public java.util.List<com.liferay.portal.model.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.SystemException
- 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
- Throws:
com.liferay.portal.SystemException
setRoleGroups
public void setRoleGroups(long roleId,
long[] groupIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
unsetRoleGroups
public void unsetRoleGroups(long roleId,
long[] groupIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
unsetUserGroups
public void unsetUserGroups(long userId,
long[] groupIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateFriendlyURL
public com.liferay.portal.model.Group updateFriendlyURL(long groupId,
java.lang.String friendlyURL)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateGroup
public com.liferay.portal.model.Group updateGroup(long groupId,
java.lang.String name,
java.lang.String description,
int type,
java.lang.String friendlyURL,
boolean active,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateGroup
public com.liferay.portal.model.Group updateGroup(long groupId,
java.lang.String typeSettings)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateTagsAsset
public void updateTagsAsset(long userId,
com.liferay.portal.model.Group group,
java.lang.String[] tagsCategories,
java.lang.String[] tagsEntries)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateWorkflow
public com.liferay.portal.model.Group updateWorkflow(long groupId,
boolean workflowEnabled,
int workflowStages,
java.lang.String workflowRoleNames)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addControlPanelLayouts
protected void addControlPanelLayouts(com.liferay.portal.model.Group group)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addDefaultGuestPublicLayoutByProperties
protected void addDefaultGuestPublicLayoutByProperties(com.liferay.portal.model.Group group)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addDefaultGuestPublicLayouts
protected void addDefaultGuestPublicLayouts(com.liferay.portal.model.Group group)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addDefaultGuestPublicLayoutsByLAR
protected void addDefaultGuestPublicLayoutsByLAR(com.liferay.portal.model.Group group,
java.io.File larFile)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getFriendlyURL
protected java.lang.String getFriendlyURL(java.lang.String friendlyURL)
getFriendlyURL
protected java.lang.String getFriendlyURL(long companyId,
long groupId,
long classNameId,
long classPK,
java.lang.String friendlyName,
java.lang.String friendlyURL)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
initImportLARFile
protected void initImportLARFile()
unscheduleStaging
protected void unscheduleStaging(com.liferay.portal.model.Group group)
validateFriendlyURL
protected void validateFriendlyURL(long companyId,
long groupId,
long classNameId,
long classPK,
java.lang.String friendlyURL)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validateName
protected void validateName(long groupId,
long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException