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.annotation.Named;
028import org.apache.isis.applib.services.settings.ApplicationSetting;
029
030/**
031 * An implementation intended to be hidden in the UI, and delegated to by other services.
032 */
033public class ApplicationSettingsServiceJdoHidden extends ApplicationSettingsServiceJdo {
034
035    @Hidden
036    @Override
037    public ApplicationSetting find(@Named("Key") String key) {
038        return super.find(key);
039    }
040
041    // //////////////////////////////////////
042
043    @Hidden
044    @Override
045    public List<ApplicationSetting> listAll() {
046        return super.listAll();
047    }
048
049    // //////////////////////////////////////
050
051    @Hidden
052    @Override
053    public ApplicationSetting newString(String key, String description, String value) {
054        return super.newString(key, description, value);
055    }
056    
057    @Hidden
058    @Override
059    public ApplicationSettingJdo newInt(String key, String description, Integer value) {
060        return super.newInt(key, description, value);
061    }
062    
063    @Hidden
064    @Override
065    public ApplicationSettingJdo newLong(String key, String description, Long value) {
066        return super.newLong(key, description, value);
067    }
068    
069    @Hidden
070    @Override
071    public ApplicationSettingJdo newLocalDate(String key, String description, LocalDate value) {
072        return super.newLocalDate(key, description, value);
073    }
074    
075    @Hidden
076    @Override
077    public ApplicationSettingJdo newBoolean(String key, String description, Boolean value) {
078        return super.newBoolean(key, description, value);
079    }
080
081}