modules/liferay-travel/liferay-travel-service/src/main/java/com/liferay/travel/service/persistence/impl/StagePersistenceImpl.java
/**
	 * Caches the stages in the entity cache if it is enabled.
	 *
	 * @param stages the stages
	 */
Caches the stages in the entity cache if it is enabled.
@param stages the stages
Caches the stages in the entity cache if it is enabled . @param stages the stages
@Override
	public void cacheResult(List<Stage> stages) {
		for (Stage stage : stages) {
			if (entityCache.getResult(StageImpl.class, stage.getPrimaryKey()) ==
					null) {
				cacheResult(stage);
			}
			else {
				stage.resetOriginalValues();
			}
		}
	}
@ Override public void cacheResult ( List < Stage > stages ) { for ( Stage stage : stages ) { if ( entityCache . getResult ( StageImpl . class , stage . getPrimaryKey ( ) ) == null ) { cacheResult ( stage ) ; } else { stage . resetOriginalValues ( ) ; } } }
Caches the stages in the entity cache if it is enabled.
Caches the stages in the entity cache if it is enabled .