@ Indexable ( type = IndexableType . DELETE ) @ Override public CommerceShippingMethod deleteCommerceShippingMethod ( long commerceShippingMethodId ) throws PortalException { return commerceShippingMethodPersistence . remove ( commerceShippingMethodId ) ; }
Deletes the commerce shipping method with the primary key from the database . Also notifies the appropriate model listeners .