@ Indexable ( type = IndexableType . DELETE ) @ Override public CommerceOrder deleteCommerceOrder ( long commerceOrderId ) throws PortalException { return commerceOrderPersistence . remove ( commerceOrderId ) ; }
Deletes the commerce order with the primary key from the database . Also notifies the appropriate model listeners .