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.expando.kernel.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.annotation.ImplementationClassName;
020    import com.liferay.portal.kernel.model.PersistedModel;
021    import com.liferay.portal.kernel.util.Accessor;
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.expando.kernel.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(com.liferay.expando.kernel.model.ExpandoColumn column);
142    
143            public void setDate(java.util.Date data)
144                    throws com.liferay.portal.kernel.exception.PortalException;
145    
146            public void setDateArray(java.util.Date[] data)
147                    throws com.liferay.portal.kernel.exception.PortalException;
148    
149            public void setDouble(double data)
150                    throws com.liferay.portal.kernel.exception.PortalException;
151    
152            public void setDoubleArray(double[] data)
153                    throws com.liferay.portal.kernel.exception.PortalException;
154    
155            public void setFloat(float data)
156                    throws com.liferay.portal.kernel.exception.PortalException;
157    
158            public void setFloatArray(float[] data)
159                    throws com.liferay.portal.kernel.exception.PortalException;
160    
161            public void setInteger(int data)
162                    throws com.liferay.portal.kernel.exception.PortalException;
163    
164            public void setIntegerArray(int[] data)
165                    throws com.liferay.portal.kernel.exception.PortalException;
166    
167            public void setLong(long data)
168                    throws com.liferay.portal.kernel.exception.PortalException;
169    
170            public void setLongArray(long[] data)
171                    throws com.liferay.portal.kernel.exception.PortalException;
172    
173            public void setNumber(java.lang.Number data)
174                    throws com.liferay.portal.kernel.exception.PortalException;
175    
176            public void setNumberArray(java.lang.Number[] data)
177                    throws com.liferay.portal.kernel.exception.PortalException;
178    
179            public void setShort(short data)
180                    throws com.liferay.portal.kernel.exception.PortalException;
181    
182            public void setShortArray(short[] data)
183                    throws com.liferay.portal.kernel.exception.PortalException;
184    
185            public void setString(java.lang.String data)
186                    throws com.liferay.portal.kernel.exception.PortalException;
187    
188            public void setString(java.lang.String data, java.util.Locale locale,
189                    java.util.Locale defaultLocale)
190                    throws com.liferay.portal.kernel.exception.PortalException;
191    
192            public void setStringArray(java.lang.String[] data)
193                    throws com.liferay.portal.kernel.exception.PortalException;
194    
195            public void setStringArray(java.lang.String[] data,
196                    java.util.Locale locale, java.util.Locale defaultLocale)
197                    throws com.liferay.portal.kernel.exception.PortalException;
198    
199            public void setStringArrayMap(
200                    java.util.Map<java.util.Locale, java.lang.String[]> dataMap,
201                    java.util.Locale defaultLocale)
202                    throws com.liferay.portal.kernel.exception.PortalException;
203    
204            public void setStringMap(
205                    java.util.Map<java.util.Locale, java.lang.String> dataMap,
206                    java.util.Locale defaultLocale)
207                    throws com.liferay.portal.kernel.exception.PortalException;
208    }