/** * Creates a new role with the primary key. Does not add the role to the database. * * @param roleId the primary key for the new role * @return the new role */ @Override public com.liferay.portal.kernel.model.Role createRole(long roleId) { return _roleLocalService.createRole(roleId); }
/** * Creates a new role with the primary key. Does not add the role to the database. * * @param roleId the primary key for the new role * @return the new role */ public static com.liferay.portal.kernel.model.Role createRole(long roleId) { return getService().createRole(roleId); }