@ Indexable ( type = IndexableType . DELETE ) @ Override public CPAttachmentFileEntry deleteCPAttachmentFileEntry ( long CPAttachmentFileEntryId ) throws PortalException { return cpAttachmentFileEntryPersistence . remove ( CPAttachmentFileEntryId ) ; }
Deletes the cp attachment file entry with the primary key from the database . Also notifies the appropriate model listeners .