check if image with specified path already exist in specified album concode_field_sep EntityManager em concode_field_sep void removeMetaTag concode_elem_sep void deleteComment concode_elem_sep void addImage concode_elem_sep List<MetaTag> getTagsLikeString concode_elem_sep void resetImage concode_elem_sep MetaTag getTagByName concode_elem_sep List<MetaTag> getPopularTags concode_elem_sep void deleteImage concode_elem_sep void addMetaTag concode_elem_sep List<Comment> findAllUserComments concode_elem_sep void editImage concode_elem_sep Long getCountIdenticalImages concode_elem_sep void addComment
boolean function ( Album arg0 , String arg1 ) { return em . createNamedQuery ( Constants . IMAGE_PATH_EXIST_QUERY ) . setParameter ( Constants . PATH_PARAMETER , arg1 ) . setParameter ( Constants . ALBUM_PARAMETER , arg0 ) . getResultList ( ) . size ( ) != 0 ; }