@ Indexable ( type = IndexableType . DELETE ) @ Override public CPDisplayLayout deleteCPDisplayLayout ( CPDisplayLayout cpDisplayLayout ) { return cpDisplayLayoutPersistence . remove ( cpDisplayLayout ) ; }
Deletes the cp display layout from the database . Also notifies the appropriate model listeners .