/** * Returns the group with the primary key. * * @param groupId the primary key of the group * @return the group with the primary key * @throws PortalException if a portal exception occurred */ @Override public com.liferay.portal.kernel.model.Group getGroup(long groupId) throws com.liferay.portal.kernel.exception.PortalException { return _groupService.getGroup(groupId); }
/** * Returns the group with the name. * * @param companyId the primary key of the company * @param groupKey the group key * @return the group with the group key * @throws PortalException if a portal exception occurred */ @Override public com.liferay.portal.kernel.model.Group getGroup(long companyId, String groupKey) throws com.liferay.portal.kernel.exception.PortalException { return _groupService.getGroup(companyId, groupKey); }
/** * Returns the group with the primary key. * * @param groupId the primary key of the group * @return the group with the primary key * @throws PortalException if a portal exception occurred */ public static com.liferay.portal.kernel.model.Group getGroup(long groupId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getGroup(groupId); }
/** * Returns the group with the name. * * @param companyId the primary key of the company * @param groupKey the group key * @return the group with the group key * @throws PortalException if a portal exception occurred */ public static com.liferay.portal.kernel.model.Group getGroup( long companyId, String groupKey) throws com.liferay.portal.kernel.exception.PortalException { return getService().getGroup(companyId, groupKey); }