001
014
015 package com.liferay.portlet.expando.model;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.util.Accessor;
020 import com.liferay.portal.model.PersistedModel;
021
022
031 @ProviderType
032 public interface ExpandoValue extends ExpandoValueModel, PersistedModel {
033
038 public static final Accessor<ExpandoValue, Long> VALUE_ID_ACCESSOR = new Accessor<ExpandoValue, Long>() {
039 @Override
040 public Long get(ExpandoValue expandoValue) {
041 return expandoValue.getValueId();
042 }
043
044 @Override
045 public Class<Long> getAttributeClass() {
046 return Long.class;
047 }
048
049 @Override
050 public Class<ExpandoValue> getTypeClass() {
051 return ExpandoValue.class;
052 }
053 };
054
055 public java.util.List<java.util.Locale> getAvailableLocales()
056 throws com.liferay.portal.kernel.exception.PortalException;
057
058 public boolean getBoolean()
059 throws com.liferay.portal.kernel.exception.PortalException;
060
061 public boolean[] getBooleanArray()
062 throws com.liferay.portal.kernel.exception.PortalException;
063
064 public com.liferay.portlet.expando.model.ExpandoColumn getColumn()
065 throws com.liferay.portal.kernel.exception.PortalException;
066
067 public java.util.Date getDate()
068 throws com.liferay.portal.kernel.exception.PortalException;
069
070 public java.util.Date[] getDateArray()
071 throws com.liferay.portal.kernel.exception.PortalException;
072
073 public java.util.Locale getDefaultLocale()
074 throws com.liferay.portal.kernel.exception.PortalException;
075
076 public double getDouble()
077 throws com.liferay.portal.kernel.exception.PortalException;
078
079 public double[] getDoubleArray()
080 throws com.liferay.portal.kernel.exception.PortalException;
081
082 public float getFloat()
083 throws com.liferay.portal.kernel.exception.PortalException;
084
085 public float[] getFloatArray()
086 throws com.liferay.portal.kernel.exception.PortalException;
087
088 public int getInteger()
089 throws com.liferay.portal.kernel.exception.PortalException;
090
091 public int[] getIntegerArray()
092 throws com.liferay.portal.kernel.exception.PortalException;
093
094 public long getLong()
095 throws com.liferay.portal.kernel.exception.PortalException;
096
097 public long[] getLongArray()
098 throws com.liferay.portal.kernel.exception.PortalException;
099
100 public java.lang.Number getNumber()
101 throws com.liferay.portal.kernel.exception.PortalException;
102
103 public java.lang.Number[] getNumberArray()
104 throws com.liferay.portal.kernel.exception.PortalException;
105
106 public java.io.Serializable getSerializable()
107 throws com.liferay.portal.kernel.exception.PortalException;
108
109 public short getShort()
110 throws com.liferay.portal.kernel.exception.PortalException;
111
112 public short[] getShortArray()
113 throws com.liferay.portal.kernel.exception.PortalException;
114
115 public java.lang.String getString()
116 throws com.liferay.portal.kernel.exception.PortalException;
117
118 public java.lang.String getString(java.util.Locale locale)
119 throws com.liferay.portal.kernel.exception.PortalException;
120
121 public java.lang.String[] getStringArray()
122 throws com.liferay.portal.kernel.exception.PortalException;
123
124 public java.lang.String[] getStringArray(java.util.Locale locale)
125 throws com.liferay.portal.kernel.exception.PortalException;
126
127 public java.util.Map<java.util.Locale, java.lang.String[]> getStringArrayMap()
128 throws com.liferay.portal.kernel.exception.PortalException;
129
130 public java.util.Map<java.util.Locale, java.lang.String> getStringMap()
131 throws com.liferay.portal.kernel.exception.PortalException;
132
133 public void setBoolean(boolean data)
134 throws com.liferay.portal.kernel.exception.PortalException;
135
136 public void setBooleanArray(boolean[] data)
137 throws com.liferay.portal.kernel.exception.PortalException;
138
139 public void setColumn(
140 com.liferay.portlet.expando.model.ExpandoColumn column);
141
142 public void setDate(java.util.Date data)
143 throws com.liferay.portal.kernel.exception.PortalException;
144
145 public void setDateArray(java.util.Date[] data)
146 throws com.liferay.portal.kernel.exception.PortalException;
147
148 public void setDouble(double data)
149 throws com.liferay.portal.kernel.exception.PortalException;
150
151 public void setDoubleArray(double[] data)
152 throws com.liferay.portal.kernel.exception.PortalException;
153
154 public void setFloat(float data)
155 throws com.liferay.portal.kernel.exception.PortalException;
156
157 public void setFloatArray(float[] data)
158 throws com.liferay.portal.kernel.exception.PortalException;
159
160 public void setInteger(int data)
161 throws com.liferay.portal.kernel.exception.PortalException;
162
163 public void setIntegerArray(int[] data)
164 throws com.liferay.portal.kernel.exception.PortalException;
165
166 public void setLong(long data)
167 throws com.liferay.portal.kernel.exception.PortalException;
168
169 public void setLongArray(long[] data)
170 throws com.liferay.portal.kernel.exception.PortalException;
171
172 public void setNumber(java.lang.Number data)
173 throws com.liferay.portal.kernel.exception.PortalException;
174
175 public void setNumberArray(java.lang.Number[] data)
176 throws com.liferay.portal.kernel.exception.PortalException;
177
178 public void setShort(short data)
179 throws com.liferay.portal.kernel.exception.PortalException;
180
181 public void setShortArray(short[] data)
182 throws com.liferay.portal.kernel.exception.PortalException;
183
184 public void setString(java.lang.String data)
185 throws com.liferay.portal.kernel.exception.PortalException;
186
187 public void setString(java.lang.String data, java.util.Locale locale,
188 java.util.Locale defaultLocale)
189 throws com.liferay.portal.kernel.exception.PortalException;
190
191 public void setStringArray(java.lang.String[] data)
192 throws com.liferay.portal.kernel.exception.PortalException;
193
194 public void setStringArray(java.lang.String[] data,
195 java.util.Locale locale, java.util.Locale defaultLocale)
196 throws com.liferay.portal.kernel.exception.PortalException;
197
198 public void setStringArrayMap(
199 java.util.Map<java.util.Locale, java.lang.String[]> dataMap,
200 java.util.Locale defaultLocale)
201 throws com.liferay.portal.kernel.exception.PortalException;
202
203 public void setStringMap(
204 java.util.Map<java.util.Locale, java.lang.String> dataMap,
205 java.util.Locale defaultLocale)
206 throws com.liferay.portal.kernel.exception.PortalException;
207 }