writes the specified way change to the database . concode_field_sep RelationDao relationDao concode_elem_sep DatabaseContext dbCtx concode_elem_sep NodeDao nodeDao concode_elem_sep WayDao wayDao concode_elem_sep ActionDao actionDao concode_elem_sep UserDao userDao concode_elem_sep Set<Integer> userSet concode_field_sep void release concode_elem_sep void writeUser concode_elem_sep void processEntityPrerequisites concode_elem_sep void complete
void function ( Way arg0 , ChangeAction arg1 ) { processEntityPrerequisites ( arg0 ) ; if ( ChangeAction . Create . equals ( arg1 ) || ChangeAction . Modify . equals ( arg1 ) ) { if ( wayDao . exists ( arg0 . getId ( ) ) ) { wayDao . modifyEntity ( arg0 ) ; } else { wayDao . addEntity ( arg0 ) ; } } else { wayDao . removeEntity ( arg0 . getId ( ) ) ; } }