inserts the entity into app engine datastore . it uses http post method . concode_field_sep Logger LOG concode_field_sep CheckIn updateCheckIn concode_elem_sep List<CheckIn> listCheckIn concode_elem_sep CheckIn findCheckIn concode_elem_sep void pushPersonalizedOffers concode_elem_sep void removeCheckIn concode_elem_sep CheckIn getCheckIn
CheckIn function ( final CheckIn arg0 , final User arg1 ) { EndpointUtil . throwIfNotAuthenticated ( arg1 ) ; arg0 . setUserEmail ( arg1 . getEmail ( ) ) ; arg0 . setCheckInDate ( new Date ( ) ) ; arg0 . clearKey ( ) ; ofy ( ) . save ( ) . entity ( arg0 ) . now ( ) ; pushPersonalizedOffers ( arg0 . getPlaceId ( ) , arg1 ) ; return arg0 ; }