001package co.codewizards.cloudstore.local.persistence; 002 003import javax.jdo.FetchPlan; 004 005import co.codewizards.cloudstore.core.dto.ChangeSetDto; 006import co.codewizards.cloudstore.local.transport.ChangeSetDtoBuilder; 007 008public interface FetchGroupConst { 009 010 /** 011 * Fetch-group to fetch the ID only. There is a bug in DN preventing it from loading the ID, if no fetch-group at all is specified. 012 * Therefore, we temporarily use this constant. Once we updated to a new DN which does not require this anymore, we 013 * can easily find all references and refactor them to use no fetch-group at all. 014 */ 015 String OBJECT_ID = FetchPlan.DEFAULT; // "ObjectId"; 016 017 /** 018 * Functional fetch-group used to load all data needed for a {@link ChangeSetDto}. 019 * <p> 020 * Specified by {@link ChangeSetDtoBuilder#buildChangeSetDto(Long)}. 021 */ 022 String CHANGE_SET_DTO = "ChangeSetDto"; 023 024}