public void saveImplementedVersion ( Page page , Integer version ) { Integer previousImplementedVersion = getImplementedVersion ( page ) ; if ( previousImplementedVersion != null && version != null && previousImplementedVersion == version ) return ; if ( previousImplementedVersion != null ) savePreviousImplementedVersion ( page , previousImplementedVersion ) ; String value = version != null ? String . valueOf ( version ) : null ; ContentEntityObject entityObject = getContentEntityManager ( ) . getById ( page . getId ( ) ) ; getContentPropertyManager ( ) . setStringProperty ( entityObject , IMPLEMENTED_VERSION , value ) ; }
Saves the sprecified version as the Iimplemented version