001/* 002 * Licensed to the Apache Software Foundation (ASF) under one 003 * or more contributor license agreements. See the NOTICE file 004 * distributed with this work for additional information 005 * regarding copyright ownership. The ASF licenses this file 006 * to you under the Apache License, Version 2.0 (the 007 * "License"); you may not use this file except in compliance 008 * with the License. You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, 013 * software distributed under the License is distributed on an 014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 015 * KIND, either express or implied. See the License for the 016 * specific language governing permissions and limitations 017 * under the License. 018 */ 019 020package org.apache.isis.objectstore.jdo.applib.service.settings; 021 022import java.util.List; 023 024import org.joda.time.LocalDate; 025 026import org.apache.isis.applib.annotation.Hidden; 027import org.apache.isis.applib.services.settings.UserSetting; 028 029/** 030 * An implementation intended to be hidden in the UI, and delegated to by other services. 031 */ 032public class UserSettingsServiceJdoHidden extends UserSettingsServiceJdo { 033 034 @Hidden 035 @Override 036 public UserSetting find(String user, String key) { 037 return super.find(user, key); 038 } 039 040 // ////////////////////////////////////// 041 042 @Hidden 043 @Override 044 public List<UserSetting> listAll() { 045 return super.listAll(); 046 } 047 048 @Hidden 049 @Override 050 public List<UserSetting> listAllFor(String user) { 051 return super.listAllFor(user); 052 } 053 054 // ////////////////////////////////////// 055 056 @Hidden 057 @Override 058 public UserSettingJdo newString(String user, String key, String description, String value) { 059 return super.newString(user, key, description, value); 060 } 061 062 @Hidden 063 @Override 064 public UserSettingJdo newInt(String user, String key, String description, Integer value) { 065 return super.newInt(user, key, description, value); 066 } 067 068 @Hidden 069 @Override 070 public UserSettingJdo newLong(String user, String key, String description, Long value) { 071 return super.newLong(user, key, description, value); 072 } 073 074 @Hidden 075 @Override 076 public UserSettingJdo newLocalDate(String user, String key, String description, LocalDate value) { 077 return super.newLocalDate(user, key, description, value); 078 } 079 080 @Hidden 081 @Override 082 public UserSettingJdo newBoolean(String user, String key, String description, Boolean value) { 083 return super.newBoolean(user, key, description, value); 084 } 085 086 087 088}