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