public void unsetDirty ( final Object iPojo ) { if ( iPojo == null ) return ; final ODocument record = getRecordByUserObject ( iPojo , false ) ; if ( record == null ) return ; ORecordInternal . unsetDirty ( record ) ; }
Sets as not dirty a POJO . This is useful when you change some other object and need to tell to the engine to treat this one as not dirty .