@ Indexable ( type = IndexableType . DELETE ) @ Override public CommerceAddressRestriction deleteCommerceAddressRestriction ( long commerceAddressRestrictionId ) throws PortalException { return commerceAddressRestrictionPersistence . remove ( commerceAddressRestrictionId ) ; }
Deletes the commerce address restriction with the primary key from the database . Also notifies the appropriate model listeners .