/** * Deletes the role with the primary key from the database. Also notifies the appropriate model listeners. * * @param roleId the primary key of the role * @return the role that was removed * @throws PortalException if a role with the primary key could not be found */ @Override public com.liferay.portal.kernel.model.Role deleteRole(long roleId) throws com.liferay.portal.kernel.exception.PortalException { return _roleLocalService.deleteRole(roleId); }
/** * Deletes the role from the database. Also notifies the appropriate model listeners. * * @param role the role * @return the role that was removed * @throws PortalException */ @Override public com.liferay.portal.kernel.model.Role deleteRole( com.liferay.portal.kernel.model.Role role) throws com.liferay.portal.kernel.exception.PortalException { return _roleLocalService.deleteRole(role); }
/** * Deletes the role with the primary key from the database. Also notifies the appropriate model listeners. * * @param roleId the primary key of the role * @return the role that was removed * @throws PortalException if a role with the primary key could not be found */ public static com.liferay.portal.kernel.model.Role deleteRole(long roleId) throws com.liferay.portal.kernel.exception.PortalException { return getService().deleteRole(roleId); }
/** * Deletes the role from the database. Also notifies the appropriate model listeners. * * @param role the role * @return the role that was removed * @throws PortalException */ public static com.liferay.portal.kernel.model.Role deleteRole( com.liferay.portal.kernel.model.Role role) throws com.liferay.portal.kernel.exception.PortalException { return getService().deleteRole(role); }