/** * Returns the team role in the company. * * @param companyId the primary key of the company * @param teamId the primary key of the team * @return the team role in the company */ @Override public com.liferay.portal.kernel.model.Role getTeamRole(long companyId, long teamId) throws com.liferay.portal.kernel.exception.PortalException { return _roleLocalService.getTeamRole(companyId, teamId); }
/** * Returns the team role in the company. * * @param companyId the primary key of the company * @param teamId the primary key of the team * @return the team role in the company */ public static com.liferay.portal.kernel.model.Role getTeamRole( long companyId, long teamId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getTeamRole(companyId, teamId); }
role = _roleLocalService.getTeamRole(companyId, team.getTeamId());