001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.expando.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.annotation.ImplementationClassName;
020    import com.liferay.portal.kernel.util.Accessor;
021    import com.liferay.portal.model.PersistedModel;
022    
023    /**
024     * The extended model interface for the ExpandoValue service. Represents a row in the "ExpandoValue" database table, with each column mapped to a property of this class.
025     *
026     * @author Brian Wing Shun Chan
027     * @see ExpandoValueModel
028     * @see com.liferay.portlet.expando.model.impl.ExpandoValueImpl
029     * @see com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl
030     * @generated
031     */
032    @ImplementationClassName("com.liferay.portlet.expando.model.impl.ExpandoValueImpl")
033    @ProviderType
034    public interface ExpandoValue extends ExpandoValueModel, PersistedModel {
035            /*
036             * NOTE FOR DEVELOPERS:
037             *
038             * Never modify this interface directly. Add methods to {@link com.liferay.portlet.expando.model.impl.ExpandoValueImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
039             */
040            public static final Accessor<ExpandoValue, Long> VALUE_ID_ACCESSOR = new Accessor<ExpandoValue, Long>() {
041                            @Override
042                            public Long get(ExpandoValue expandoValue) {
043                                    return expandoValue.getValueId();
044                            }
045    
046                            @Override
047                            public Class<Long> getAttributeClass() {
048                                    return Long.class;
049                            }
050    
051                            @Override
052                            public Class<ExpandoValue> getTypeClass() {
053                                    return ExpandoValue.class;
054                            }
055                    };
056    
057            public java.util.List<java.util.Locale> getAvailableLocales()
058                    throws com.liferay.portal.kernel.exception.PortalException;
059    
060            public boolean getBoolean()
061                    throws com.liferay.portal.kernel.exception.PortalException;
062    
063            public boolean[] getBooleanArray()
064                    throws com.liferay.portal.kernel.exception.PortalException;
065    
066            public com.liferay.portlet.expando.model.ExpandoColumn getColumn()
067                    throws com.liferay.portal.kernel.exception.PortalException;
068    
069            public java.util.Date getDate()
070                    throws com.liferay.portal.kernel.exception.PortalException;
071    
072            public java.util.Date[] getDateArray()
073                    throws com.liferay.portal.kernel.exception.PortalException;
074    
075            public java.util.Locale getDefaultLocale()
076                    throws com.liferay.portal.kernel.exception.PortalException;
077    
078            public double getDouble()
079                    throws com.liferay.portal.kernel.exception.PortalException;
080    
081            public double[] getDoubleArray()
082                    throws com.liferay.portal.kernel.exception.PortalException;
083    
084            public float getFloat()
085                    throws com.liferay.portal.kernel.exception.PortalException;
086    
087            public float[] getFloatArray()
088                    throws com.liferay.portal.kernel.exception.PortalException;
089    
090            public int getInteger()
091                    throws com.liferay.portal.kernel.exception.PortalException;
092    
093            public int[] getIntegerArray()
094                    throws com.liferay.portal.kernel.exception.PortalException;
095    
096            public long getLong()
097                    throws com.liferay.portal.kernel.exception.PortalException;
098    
099            public long[] getLongArray()
100                    throws com.liferay.portal.kernel.exception.PortalException;
101    
102            public java.lang.Number getNumber()
103                    throws com.liferay.portal.kernel.exception.PortalException;
104    
105            public java.lang.Number[] getNumberArray()
106                    throws com.liferay.portal.kernel.exception.PortalException;
107    
108            public java.io.Serializable getSerializable()
109                    throws com.liferay.portal.kernel.exception.PortalException;
110    
111            public short getShort()
112                    throws com.liferay.portal.kernel.exception.PortalException;
113    
114            public short[] getShortArray()
115                    throws com.liferay.portal.kernel.exception.PortalException;
116    
117            public java.lang.String getString()
118                    throws com.liferay.portal.kernel.exception.PortalException;
119    
120            public java.lang.String getString(java.util.Locale locale)
121                    throws com.liferay.portal.kernel.exception.PortalException;
122    
123            public java.lang.String[] getStringArray()
124                    throws com.liferay.portal.kernel.exception.PortalException;
125    
126            public java.lang.String[] getStringArray(java.util.Locale locale)
127                    throws com.liferay.portal.kernel.exception.PortalException;
128    
129            public java.util.Map<java.util.Locale, java.lang.String[]> getStringArrayMap()
130                    throws com.liferay.portal.kernel.exception.PortalException;
131    
132            public java.util.Map<java.util.Locale, java.lang.String> getStringMap()
133                    throws com.liferay.portal.kernel.exception.PortalException;
134    
135            public void setBoolean(boolean data)
136                    throws com.liferay.portal.kernel.exception.PortalException;
137    
138            public void setBooleanArray(boolean[] data)
139                    throws com.liferay.portal.kernel.exception.PortalException;
140    
141            public void setColumn(
142                    com.liferay.portlet.expando.model.ExpandoColumn column);
143    
144            public void setDate(java.util.Date data)
145                    throws com.liferay.portal.kernel.exception.PortalException;
146    
147            public void setDateArray(java.util.Date[] data)
148                    throws com.liferay.portal.kernel.exception.PortalException;
149    
150            public void setDouble(double data)
151                    throws com.liferay.portal.kernel.exception.PortalException;
152    
153            public void setDoubleArray(double[] data)
154                    throws com.liferay.portal.kernel.exception.PortalException;
155    
156            public void setFloat(float data)
157                    throws com.liferay.portal.kernel.exception.PortalException;
158    
159            public void setFloatArray(float[] data)
160                    throws com.liferay.portal.kernel.exception.PortalException;
161    
162            public void setInteger(int data)
163                    throws com.liferay.portal.kernel.exception.PortalException;
164    
165            public void setIntegerArray(int[] data)
166                    throws com.liferay.portal.kernel.exception.PortalException;
167    
168            public void setLong(long data)
169                    throws com.liferay.portal.kernel.exception.PortalException;
170    
171            public void setLongArray(long[] data)
172                    throws com.liferay.portal.kernel.exception.PortalException;
173    
174            public void setNumber(java.lang.Number data)
175                    throws com.liferay.portal.kernel.exception.PortalException;
176    
177            public void setNumberArray(java.lang.Number[] data)
178                    throws com.liferay.portal.kernel.exception.PortalException;
179    
180            public void setShort(short data)
181                    throws com.liferay.portal.kernel.exception.PortalException;
182    
183            public void setShortArray(short[] data)
184                    throws com.liferay.portal.kernel.exception.PortalException;
185    
186            public void setString(java.lang.String data)
187                    throws com.liferay.portal.kernel.exception.PortalException;
188    
189            public void setString(java.lang.String data, java.util.Locale locale,
190                    java.util.Locale defaultLocale)
191                    throws com.liferay.portal.kernel.exception.PortalException;
192    
193            public void setStringArray(java.lang.String[] data)
194                    throws com.liferay.portal.kernel.exception.PortalException;
195    
196            public void setStringArray(java.lang.String[] data,
197                    java.util.Locale locale, java.util.Locale defaultLocale)
198                    throws com.liferay.portal.kernel.exception.PortalException;
199    
200            public void setStringArrayMap(
201                    java.util.Map<java.util.Locale, java.lang.String[]> dataMap,
202                    java.util.Locale defaultLocale)
203                    throws com.liferay.portal.kernel.exception.PortalException;
204    
205            public void setStringMap(
206                    java.util.Map<java.util.Locale, java.lang.String> dataMap,
207                    java.util.Locale defaultLocale)
208                    throws com.liferay.portal.kernel.exception.PortalException;
209    }