{
MembershipCriteriaDTO mcdto = (MembershipCriteriaDTO) inTransformType.getParams();
Long themeId = mcdto.getThemeId();
Long gttId = mcdto.getGalleryTabTemplateId();
MembershipCriteria mc = new MembershipCriteria();
mc.setTheme(themeId == null || themeId == -1 ? null : themeProxyMapper.execute(themeId));
mc.setGalleryTabTemplate(gttId == null || gttId == -1 ? null : galleryTabTemplateProxyMapper.execute(gttId));
mc.setCriteria(mcdto.getCriteria());
return new PersistenceRequest<MembershipCriteria>(mc);
}