001
014
015 package com.liferay.portal.kernel.settings;
016
017 import java.lang.annotation.ElementType;
018 import java.lang.annotation.Retention;
019 import java.lang.annotation.RetentionPolicy;
020 import java.lang.annotation.Target;
021
022
027 public interface Settings {
028
029 public ModifiableSettings getModifiableSettings();
030
031 public Settings getParentSettings();
032
033 public String getValue(String key, String defaultValue);
034
035 public String[] getValues(String key, String[] defaultValue);
036
037 @Retention(RetentionPolicy.RUNTIME)
038 @Target(ElementType.TYPE)
039 public @interface Config {
040
041 public String[] settingsIds();
042
043 }
044
045 @Retention(RetentionPolicy.RUNTIME)
046 @Target(ElementType.TYPE)
047 public @interface OverrideClass {
048
049 public Class<?> value() default Object.class;
050
051 }
052
053 @Retention(RetentionPolicy.RUNTIME)
054 @Target(ElementType.METHOD)
055 public @interface Property {
056
057 public boolean ignore() default false;
058
059 public String name() default "";
060
061 }
062
063 }