@ Override public void cacheResult ( CPAttachmentFileEntry cpAttachmentFileEntry ) { entityCache . putResult ( CPAttachmentFileEntryModelImpl . ENTITY_CACHE_ENABLED , CPAttachmentFileEntryImpl . class , cpAttachmentFileEntry . getPrimaryKey ( ) , cpAttachmentFileEntry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpAttachmentFileEntry . getUuid ( ) , cpAttachmentFileEntry . getGroupId ( ) } , cpAttachmentFileEntry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_C_F , new Object [ ] { cpAttachmentFileEntry . getClassNameId ( ) , cpAttachmentFileEntry . getClassPK ( ) , cpAttachmentFileEntry . getFileEntryId ( ) } , cpAttachmentFileEntry ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_ERC , new Object [ ] { cpAttachmentFileEntry . getCompanyId ( ) , cpAttachmentFileEntry . getExternalReferenceCode ( ) } , cpAttachmentFileEntry ) ; cpAttachmentFileEntry . resetOriginalValues ( ) ; }
Caches the cp attachment file entry in the entity cache if it is enabled .